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)
28 LIB=$(TOP)/libcrypto.a
29 LIBSRC=aes_core.c aes_misc.c aes_ecb.c aes_cbc.c aes_cfb.c aes_ofb.c aes_ctr.c
30 LIBOBJ=aes_core.o aes_misc.o aes_ecb.o aes_cbc.o aes_cfb.o aes_ofb.o aes_ctr.o
35 HEADER= aes_locl.h $(EXHEADER)
37 ALL= $(GENERAL) $(SRC) $(HEADER)
40 (cd ../..; $(MAKE) DIRS=crypto SDIRS=$(DIR) sub_all)
45 $(AR) $(LIB) $(LIBOBJ)
46 $(RANLIB) $(LIB) || echo Never mind.
52 $(PERL) $(TOP)/util/files.pl Makefile.ssl >> $(TOP)/MINFO
55 @sh $(TOP)/util/point.sh Makefile.ssl Makefile
56 @$(PERL) $(TOP)/util/mklink.pl ../../include/openssl $(EXHEADER)
57 @$(PERL) $(TOP)/util/mklink.pl ../../test $(TEST)
58 @$(PERL) $(TOP)/util/mklink.pl ../../apps $(APPS)
63 @for i in $(EXHEADER) ; \
65 (cp $$i $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i; \
66 chmod 644 $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i ); \
75 lint -DLINT $(INCLUDES) $(SRC)>fluff
78 $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(PROGS) $(LIBSRC)
81 $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new
82 mv -f Makefile.new $(MAKEFILE)
85 rm -f *.o *.obj lib tags core .pure .nfs* *.old *.bak fluff
87 # DO NOT DELETE THIS LINE -- make depend depends on it.
89 aes_cbc.o: ../../include/openssl/aes.h ../../include/openssl/e_os2.h
90 aes_cbc.o: ../../include/openssl/opensslconf.h aes_cbc.c aes_locl.h
91 aes_cfb.o: ../../include/openssl/aes.h ../../include/openssl/e_os2.h
92 aes_cfb.o: ../../include/openssl/opensslconf.h aes_cfb.c aes_locl.h
93 aes_core.o: ../../include/openssl/aes.h ../../include/openssl/e_os2.h
94 aes_core.o: ../../include/openssl/opensslconf.h aes_core.c aes_locl.h
95 aes_ctr.o: ../../include/openssl/aes.h ../../include/openssl/e_os2.h
96 aes_ctr.o: ../../include/openssl/opensslconf.h aes_ctr.c aes_locl.h
97 aes_ecb.o: ../../include/openssl/aes.h ../../include/openssl/e_os2.h
98 aes_ecb.o: ../../include/openssl/opensslconf.h aes_ecb.c aes_locl.h
99 aes_misc.o: ../../include/openssl/aes.h ../../include/openssl/e_os2.h
100 aes_misc.o: ../../include/openssl/opensslconf.h
101 aes_misc.o: ../../include/openssl/opensslv.h aes_locl.h aes_misc.c
102 aes_ofb.o: ../../include/openssl/aes.h ../../include/openssl/e_os2.h
103 aes_ofb.o: ../../include/openssl/opensslconf.h aes_locl.h aes_ofb.c