2 # SSLeay/crypto/blowfish/Makefile
12 OPENSSLDIR= /usr/local/ssl
13 INSTALLTOP=/usr/local/ssl
14 MAKE= make -f Makefile.ssl
15 MAKEDEPEND= $(TOP)/util/domd $(TOP)
16 MAKEFILE= Makefile.ssl
23 CFLAGS= $(INCLUDES) $(CFLAG)
29 LIB=$(TOP)/libcrypto.a
30 LIBSRC=bf_skey.c bf_ecb.c bf_enc.c bf_cfb64.c bf_ofb64.c
31 LIBOBJ=bf_skey.o bf_ecb.o $(BF_ENC) bf_cfb64.o bf_ofb64.o
36 HEADER= bf_pi.h bf_locl.h $(EXHEADER)
38 ALL= $(GENERAL) $(SRC) $(HEADER)
41 (cd ../..; $(MAKE) DIRS=crypto SDIRS=$(DIR) sub_all)
46 $(AR) $(LIB) $(LIBOBJ)
51 asm/bx86-elf.o: asm/bx86unix.cpp
52 $(CPP) -DELF asm/bx86unix.cpp | as -o asm/bx86-elf.o
55 asm/bx86-sol.o: asm/bx86unix.cpp
56 $(CC) -E -DSOL asm/bx86unix.cpp | sed 's/^#.*//' > asm/bx86-sol.s
57 as -o asm/bx86-sol.o asm/bx86-sol.s
61 asm/bx86-out.o: asm/bx86unix.cpp
62 $(CPP) -DOUT asm/bx86unix.cpp | as -o asm/bx86-out.o
65 asm/bx86bsdi.o: asm/bx86unix.cpp
66 $(CPP) -DBSDI asm/bx86unix.cpp | sed 's/ :/:/' | as -o asm/bx86bsdi.o
69 (cd asm; $(PERL) bf-586.pl cpp $(PROCESSOR) >bx86unix.cpp)
72 $(PERL) $(TOP)/util/files.pl Makefile.ssl >> $(TOP)/MINFO
75 @$(TOP)/util/point.sh Makefile.ssl Makefile
76 @$(PERL) $(TOP)/util/mklink.pl ../../include/openssl $(EXHEADER)
77 @$(PERL) $(TOP)/util/mklink.pl ../../test $(TEST)
78 @$(PERL) $(TOP)/util/mklink.pl ../../apps $(APPS)
81 @for i in $(EXHEADER) ; \
83 (cp $$i $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i; \
84 chmod 644 $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i ); \
93 lint -DLINT $(INCLUDES) $(SRC)>fluff
96 $(MAKEDEPEND) $(INCLUDES) $(DEPFLAG) $(PROGS) $(LIBSRC)
99 $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new
100 mv -f Makefile.new $(MAKEFILE)
103 rm -f asm/bx86unix.cpp *.o asm/*.o *.obj lib tags core .pure .nfs* *.old *.bak fluff
105 # DO NOT DELETE THIS LINE -- make depend depends on it.
107 bf_cfb64.o: ../../include/openssl/blowfish.h
108 bf_cfb64.o: ../../include/openssl/opensslconf.h bf_locl.h
109 bf_ecb.o: ../../include/openssl/blowfish.h ../../include/openssl/opensslconf.h
110 bf_ecb.o: ../../include/openssl/opensslv.h bf_locl.h
111 bf_enc.o: ../../include/openssl/blowfish.h ../../include/openssl/opensslconf.h
113 bf_ofb64.o: ../../include/openssl/blowfish.h
114 bf_ofb64.o: ../../include/openssl/opensslconf.h bf_locl.h
115 bf_skey.o: ../../include/openssl/blowfish.h ../../include/openssl/opensslconf.h
116 bf_skey.o: bf_locl.h bf_pi.h