2 # SSLeay/crypto/blowfish/Makefile
11 INSTALLTOP=/usr/local/ssl
12 MAKE= make -f Makefile.ssl
13 MAKEDEPEND= $(TOP)/util/domd $(TOP)
14 MAKEFILE= Makefile.ssl
21 CFLAGS= $(INCLUDES) $(CFLAG)
27 LIB=$(TOP)/libcrypto.a
28 LIBSRC=bf_skey.c bf_ecb.c bf_enc.c bf_cfb64.c bf_ofb64.c
29 LIBOBJ=bf_skey.o bf_ecb.o $(BF_ENC) bf_cfb64.o bf_ofb64.o
34 HEADER= bf_pi.h bf_locl.h $(EXHEADER)
36 ALL= $(GENERAL) $(SRC) $(HEADER)
39 (cd ../..; $(MAKE) DIRS=crypto SDIRS=$(DIR) sub_all)
44 $(AR) $(LIB) $(LIBOBJ)
49 asm/bx86-elf.o: asm/bx86unix.cpp
50 $(CPP) -DELF asm/bx86unix.cpp | as -o asm/bx86-elf.o
53 asm/bx86-sol.o: asm/bx86unix.cpp
54 $(CC) -E -DSOL asm/bx86unix.cpp | sed 's/^#.*//' > asm/bx86-sol.s
55 as -o asm/bx86-sol.o asm/bx86-sol.s
59 asm/bx86-out.o: asm/bx86unix.cpp
60 $(CPP) -DOUT asm/bx86unix.cpp | as -o asm/bx86-out.o
63 asm/bx86bsdi.o: asm/bx86unix.cpp
64 $(CPP) -DBSDI asm/bx86unix.cpp | sed 's/ :/:/' | as -o asm/bx86bsdi.o
67 (cd asm; $(PERL) bf-586.pl cpp $(PROCESSOR) >bx86unix.cpp)
70 $(PERL) $(TOP)/util/files.pl Makefile.ssl >> $(TOP)/MINFO
73 @$(TOP)/util/point.sh Makefile.ssl Makefile
74 @$(PERL) $(TOP)/util/mklink.pl ../../include/openssl $(EXHEADER)
75 @$(PERL) $(TOP)/util/mklink.pl ../../test $(TEST)
76 @$(PERL) $(TOP)/util/mklink.pl ../../apps $(APPS)
79 @for i in $(EXHEADER) ; \
81 (cp $$i $(INSTALLTOP)/include/openssl/$$i; \
82 chmod 644 $(INSTALLTOP)/include/openssl/$$i ); \
91 lint -DLINT $(INCLUDES) $(SRC)>fluff
94 $(MAKEDEPEND) $(INCLUDES) $(DEPFLAG) $(PROGS) $(LIBSRC)
97 $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new
98 mv -f Makefile.new $(MAKEFILE)
101 rm -f *.o asm/*.o *.obj lib tags core .pure .nfs* *.old *.bak fluff
103 # DO NOT DELETE THIS LINE -- make depend depends on it.
105 bf_cfb64.o: ../../include/openssl/blowfish.h
106 bf_cfb64.o: ../../include/openssl/opensslconf.h bf_locl.h
107 bf_ecb.o: ../../include/openssl/blowfish.h ../../include/openssl/opensslconf.h
108 bf_ecb.o: ../../include/openssl/opensslv.h bf_locl.h
109 bf_enc.o: ../../include/openssl/blowfish.h ../../include/openssl/opensslconf.h
111 bf_ofb64.o: ../../include/openssl/blowfish.h
112 bf_ofb64.o: ../../include/openssl/opensslconf.h bf_locl.h
113 bf_skey.o: ../../include/openssl/blowfish.h ../../include/openssl/opensslconf.h
114 bf_skey.o: bf_locl.h bf_pi.h