8
CFLAGS= -g -I../../../include $(PIC) -DENGINE_DYNAMIC_SUPPORT -DFLAT_INC
16
@echo 'Please choose a system to build on:'
18
@echo 'tru64: Tru64 Unix, Digital Unix, Digital OSF/1'
19
@echo 'solaris: Solaris'
21
@echo 'hpux32: 32-bit HP/UX'
22
@echo 'hpux64: 64-bit HP/UX'
24
@echo 'gnu: Generic GNU-based system (gcc and GNU ld)'
29
perl ../../../util/mkerr.pl -conf hw_ibmca.ec \
30
-nostatic -staticloader -write hw_ibmca.c
34
solaris: $(SHLIB).solaris
36
hpux32: $(SHLIB).hpux32
37
hpux64: $(SHLIB).hpux64
45
ld -r -o $(LIBNAME).o $$ALLSYMSFLAGS $(LIB) && \
46
(nm -Pg $(LIBNAME).o | grep ' [BDT] ' | cut -f1 -d' ' > $(LIBNAME).exp; \
47
$$SHAREDCMD $$SHAREDFLAGS -o $(SHLIB) $(LIBNAME).o -L ../../.. -lcrypto -lc)
50
ALLSYMSFLAGS='--whole-archive' \
51
SHAREDFLAGS='-shared -Wl,-soname=$(SHLIB)' \
55
$(SHLIB).tru64: $(LIB)
57
SHAREDFLAGS='-shared' \
61
$(SHLIB).solaris: $(LIB)
62
ALLSYMSFLAGS='-z allextract' \
63
SHAREDFLAGS='-G -h $(SHLIB)' \
66
touch $(SHLIB).solaris
69
SHAREDFLAGS='-shared -Wl,-soname,$(SHLIB)' \
73
$(SHLIB).hpux32: $(LIB)
75
SHAREDFLAGS='+vnocompatwarnings -b -z +s +h $(SHLIB)' \
76
SHAREDCMD='/usr/ccs/bin/ld'; \
79
$(SHLIB).hpux64: $(LIB)
80
ALLSYMSFLAGS='+forceload' \
81
SHAREDFLAGS='-b -z +h $(SHLIB)' \
82
SHAREDCMD='/usr/ccs/bin/ld'; \
86
ALLSYMSFLAGS='-bnogc' \
87
SHAREDFLAGS='-G -bE:$(LIBNAME).exp -bM:SRE' \
93
sed -e '/^# DO NOT DELETE.*/,$$d' < Makefile > Makefile.tmp
94
echo '# DO NOT DELETE THIS LINE -- make depend depends on it.' >> Makefile.tmp
95
gcc -M $(CFLAGS) $(SRC) >> Makefile.tmp
96
perl ../../../util/clean-depend.pl < Makefile.tmp > Makefile.new
97
rm -f Makefile.tmp Makefile
98
mv Makefile.new Makefile
100
# DO NOT DELETE THIS LINE -- make depend depends on it.
102
rsaref.o: ../../../include/openssl/asn1.h ../../../include/openssl/bio.h
103
rsaref.o: ../../../include/openssl/bn.h ../../../include/openssl/crypto.h
104
rsaref.o: ../../../include/openssl/dh.h ../../../include/openssl/dsa.h
105
rsaref.o: ../../../include/openssl/e_os2.h ../../../include/openssl/engine.h
106
rsaref.o: ../../../include/openssl/err.h ../../../include/openssl/lhash.h
107
rsaref.o: ../../../include/openssl/opensslconf.h
108
rsaref.o: ../../../include/openssl/opensslv.h
109
rsaref.o: ../../../include/openssl/ossl_typ.h ../../../include/openssl/rand.h
110
rsaref.o: ../../../include/openssl/rsa.h ../../../include/openssl/safestack.h
111
rsaref.o: ../../../include/openssl/stack.h ../../../include/openssl/symhacks.h
112
rsaref.o: ../../../include/openssl/ui.h rsaref.c rsaref_err.c rsaref_err.h
113
rsaref.o: source/des.h source/global.h source/md2.h source/md5.h source/rsa.h
114
rsaref.o: source/rsaref.h