2 # SSLeay/crypto/rc2/Makefile
11 OPENSSLDIR= /usr/local/ssl
12 INSTALLTOP=/usr/local/ssl
13 MAKEDEPPROG= makedepend
14 MAKEDEPEND= $(TOP)/util/domd $(TOP) -MD $(MAKEDEPPROG)
18 CFLAGS= $(INCLUDES) $(CFLAG)
24 LIB=$(TOP)/libcrypto.a
25 LIBSRC=rc2_ecb.c rc2_skey.c rc2_cbc.c rc2cfb64.c rc2ofb64.c
26 LIBOBJ=rc2_ecb.o rc2_skey.o rc2_cbc.o rc2cfb64.o rc2ofb64.o
31 HEADER= rc2_locl.h $(EXHEADER)
33 ALL= $(GENERAL) $(SRC) $(HEADER)
36 (cd ../..; $(MAKE) DIRS=crypto SDIRS=$(DIR) sub_all)
41 $(AR) $(LIB) $(LIBOBJ)
42 $(RANLIB) $(LIB) || echo Never mind.
46 $(PERL) $(TOP)/util/files.pl Makefile >> $(TOP)/MINFO
49 @$(PERL) $(TOP)/util/mklink.pl ../../include/openssl $(EXHEADER)
50 @$(PERL) $(TOP)/util/mklink.pl ../../test $(TEST)
51 @$(PERL) $(TOP)/util/mklink.pl ../../apps $(APPS)
54 @for i in $(EXHEADER) ; \
56 (cp $$i $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i; \
57 chmod 644 $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i ); \
66 lint -DLINT $(INCLUDES) $(SRC)>fluff
69 $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(PROGS) $(LIBSRC)
72 $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new
73 mv -f Makefile.new $(MAKEFILE)
76 rm -f *.o *.obj lib tags core .pure .nfs* *.old *.bak fluff
78 # DO NOT DELETE THIS LINE -- make depend depends on it.
80 rc2_cbc.o: ../../include/openssl/opensslconf.h ../../include/openssl/rc2.h
81 rc2_cbc.o: rc2_cbc.c rc2_locl.h
82 rc2_ecb.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
83 rc2_ecb.o: ../../include/openssl/rc2.h rc2_ecb.c rc2_locl.h
84 rc2_skey.o: ../../include/openssl/opensslconf.h ../../include/openssl/rc2.h
85 rc2_skey.o: rc2_locl.h rc2_skey.c
86 rc2cfb64.o: ../../include/openssl/opensslconf.h ../../include/openssl/rc2.h
87 rc2cfb64.o: rc2_locl.h rc2cfb64.c
88 rc2ofb64.o: ../../include/openssl/opensslconf.h ../../include/openssl/rc2.h
89 rc2ofb64.o: rc2_locl.h rc2ofb64.c