12 OPENSSLDIR= /usr/local/ssl
13 INSTALLTOP= /usr/local/ssl
14 MAKEDEPPROG= makedepend
15 MAKEDEPEND= $(TOP)/util/domd $(TOP) -MD $(MAKEDEPPROG)
19 # CFLAGS= -mpentiumpro $(INCLUDES) $(CFLAG) -O3 -fexpensive-optimizations -funroll-loops -fforce-addr
20 CFLAGS= $(INCLUDES) $(CFLAG)
27 LIB=$(TOP)/libcrypto.a
28 LIBSRC=aes_core.c aes_misc.c aes_ecb.c aes_cbc.c aes_cfb.c aes_ofb.c aes_ctr.c
29 LIBOBJ=aes_core.o aes_misc.o aes_ecb.o aes_cbc.o aes_cfb.o aes_ofb.o aes_ctr.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 >> $(TOP)/MINFO
54 @$(PERL) $(TOP)/util/mklink.pl ../../include/openssl $(EXHEADER)
55 @$(PERL) $(TOP)/util/mklink.pl ../../test $(TEST)
56 @$(PERL) $(TOP)/util/mklink.pl ../../apps $(APPS)
61 @headerlist="$(EXHEADER)"; for i in $$headerlist ; \
63 (cp $$i $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i; \
64 chmod 644 $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i ); \
73 lint -DLINT $(INCLUDES) $(SRC)>fluff
76 $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(PROGS) $(LIBSRC)
79 $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new
80 mv -f Makefile.new $(MAKEFILE)
83 rm -f *.o *.obj lib tags core .pure .nfs* *.old *.bak fluff
85 # DO NOT DELETE THIS LINE -- make depend depends on it.
87 aes_cbc.o: ../../include/openssl/aes.h ../../include/openssl/e_os2.h
88 aes_cbc.o: ../../include/openssl/opensslconf.h aes_cbc.c aes_locl.h
89 aes_cfb.o: ../../include/openssl/aes.h ../../include/openssl/e_os2.h
90 aes_cfb.o: ../../include/openssl/opensslconf.h aes_cfb.c aes_locl.h
91 aes_core.o: ../../include/openssl/aes.h ../../include/openssl/e_os2.h
92 aes_core.o: ../../include/openssl/fips.h ../../include/openssl/opensslconf.h
93 aes_core.o: aes_core.c aes_locl.h
94 aes_ctr.o: ../../include/openssl/aes.h ../../include/openssl/e_os2.h
95 aes_ctr.o: ../../include/openssl/opensslconf.h aes_ctr.c aes_locl.h
96 aes_ecb.o: ../../include/openssl/aes.h ../../include/openssl/e_os2.h
97 aes_ecb.o: ../../include/openssl/opensslconf.h aes_ecb.c aes_locl.h
98 aes_misc.o: ../../include/openssl/aes.h ../../include/openssl/e_os2.h
99 aes_misc.o: ../../include/openssl/opensslconf.h
100 aes_misc.o: ../../include/openssl/opensslv.h aes_locl.h aes_misc.c
101 aes_ofb.o: ../../include/openssl/aes.h ../../include/openssl/e_os2.h
102 aes_ofb.o: ../../include/openssl/opensslconf.h aes_locl.h aes_ofb.c