12 OPENSSLDIR= /usr/local/ssl
13 INSTALLTOP= /usr/local/ssl
14 MAKE= make -f Makefile.ssl
15 MAKEDEPPROG= makedepend
16 MAKEDEPEND= $(TOP)/util/domd $(TOP) -MD $(MAKEDEPPROG)
17 MAKEFILE= Makefile.ssl
20 # CFLAGS= -mpentiumpro $(INCLUDES) $(CFLAG) -O3 -fexpensive-optimizations -funroll-loops -fforce-addr
21 CFLAGS= $(INCLUDES) $(CFLAG)
27 LIB=$(TOP)/libcrypto.a
28 LIBSRC=aes_core.c aes_misc.c aes_ecb.c aes_cbc.c
29 LIBOBJ=aes_core.o aes_misc.o aes_ecb.o aes_cbc.o
34 HEADER= aes_locl.h $(EXHEADER)
36 ALL= $(GENERAL) $(SRC) $(HEADER)
39 (cd ../..; $(MAKE) DIRS=crypto SDIRS=$(DIR) sub_all)
44 $(AR) $(LIB) $(LIBOBJ)
45 $(RANLIB) $(LIB) || echo Never mind.
51 $(PERL) $(TOP)/util/files.pl Makefile.ssl >> $(TOP)/MINFO
54 @$(TOP)/util/point.sh Makefile.ssl Makefile
55 @$(PERL) $(TOP)/util/mklink.pl ../../include/openssl $(EXHEADER)
56 @$(PERL) $(TOP)/util/mklink.pl ../../test $(TEST)
57 @$(PERL) $(TOP)/util/mklink.pl ../../apps $(APPS)
62 @for i in $(EXHEADER) ; \
64 (cp $$i $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i; \
65 chmod 644 $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i ); \
74 lint -DLINT $(INCLUDES) $(SRC)>fluff
77 $(MAKEDEPEND) $(INCLUDES) $(DEPFLAG) $(PROGS) $(LIBSRC)
80 $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new
81 mv -f Makefile.new $(MAKEFILE)
84 rm -f *.o *.obj lib tags core .pure .nfs* *.old *.bak fluff
86 # DO NOT DELETE THIS LINE -- make depend depends on it.
88 aes_cbc.o: ../../include/openssl/aes.h ../../include/openssl/e_os2.h
89 aes_cbc.o: ../../include/openssl/opensslconf.h aes_cbc.c aes_locl.h
90 aes_core.o: ../../include/openssl/aes.h ../../include/openssl/e_os2.h
91 aes_core.o: ../../include/openssl/opensslconf.h aes_core.c aes_locl.h
92 aes_ecb.o: ../../include/openssl/aes.h ../../include/openssl/e_os2.h
93 aes_ecb.o: ../../include/openssl/opensslconf.h aes_ecb.c aes_locl.h
94 aes_misc.o: ../../include/openssl/aes.h ../../include/openssl/e_os2.h
95 aes_misc.o: ../../include/openssl/opensslconf.h
96 aes_misc.o: ../../include/openssl/opensslv.h aes_locl.h aes_misc.c