37 lines
1.3 KiB
Makefile
37 lines
1.3 KiB
Makefile
|
#ident "@(#)shlmdigest.mk 1.4 10/06/23 "
|
||
|
###########################################################################
|
||
|
SRCROOT= ..
|
||
|
RULESDIR= RULES
|
||
|
include $(SRCROOT)/$(RULESDIR)/rules.top
|
||
|
###########################################################################
|
||
|
|
||
|
SUBARCHDIR= /pic
|
||
|
#.SEARCHLIST: . $(ARCHDIR) stdio $(ARCHDIR)
|
||
|
#VPATH= .:stdio:$(ARCHDIR)
|
||
|
INSDIR= lib
|
||
|
TARGETLIB= mdigest
|
||
|
#CPPOPTS += -Ispecincl
|
||
|
CPPOPTS += -DUSE_PG
|
||
|
#
|
||
|
# Selectively increase the opimisation for libmdigest for better performance
|
||
|
#
|
||
|
# The code has been tested for correctness with this level of optimisation
|
||
|
# If your GCC creates defective code, you found a GCC bug that should
|
||
|
# be reported to the GCC people. As a workaround, you may remove the next
|
||
|
# lines to fall back to the standard optimisation level.
|
||
|
#
|
||
|
_XARCH_OPT= $(OARCH:%cc64=$(SUNPROCOPT64))
|
||
|
XARCH_OPT= $(_XARCH_OPT:%cc=$(XARCH_GEN))
|
||
|
|
||
|
SUNPROCOPTOPT= -fast $(XARCH_OPT)
|
||
|
GCCOPTOPT= -O3 -fexpensive-optimizations
|
||
|
#
|
||
|
include Targets
|
||
|
LIBS= -lschily -lc
|
||
|
|
||
|
###########################################################################
|
||
|
include $(SRCROOT)/$(RULESDIR)/rules.shl
|
||
|
###########################################################################
|
||
|
#CC= echo " ==> COMPILING \"$@\""; cc
|
||
|
###########################################################################
|