2 # SSLeay/rsaref/Makefile
8 INCLUDES= -I../crypto -I../include
11 OPENSSLDIR= /usr/local/ssl
12 INSTALLTOP=/usr/local/ssl
13 MAKE= make -f Makefile.ssl
14 MAKEDEPEND= $(TOP)/util/domd $(TOP)
15 MAKEFILE= Makefile.ssl
18 CFLAGS= $(INCLUDES) $(CFLAG)
20 GENERAL=Makefile rsaref-lib.com install.com
24 LIB=$(TOP)/libRSAglue.a
25 LIBSRC= rsaref.c rsar_err.c
26 LIBOBJ= rsaref.o rsar_err.o
33 ALL= $(GENERAL) $(SRC) $(HEADER)
36 (cd ..; $(MAKE) DIRS=rsaref all)
41 $(AR) $(LIB) $(LIBOBJ)
46 $(PERL) $(TOP)/util/files.pl Makefile.ssl >> $(TOP)/MINFO
49 @$(TOP)/util/point.sh Makefile.ssl Makefile
50 @$(PERL) $(TOP)/util/mklink.pl ../include/openssl $(EXHEADER)
51 @$(PERL) $(TOP)/util/mklink.pl ../test $(TEST)
52 @$(PERL) $(TOP)/util/mklink.pl ../apps $(APPS)
55 -@if [ "x`echo x $(EX_LIBS) | grep RSAglue`" != x ]; then \
56 echo "installing libRSAglue.a"; \
57 cp $(LIB) $(INSTALL_PREFIX)$(INSTALLTOP)/lib/libRSAglue.a; \
58 $(RANLIB) $(INSTALL_PREFIX)$(INSTALLTOP)/lib/libRSAglue.a; \
59 chmod 644 $(INSTALL_PREFIX)$(INSTALLTOP)/lib/libRSAglue.a; \
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) $(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 rsar_err.o: ../include/openssl/bn.h ../include/openssl/crypto.h
89 rsar_err.o: ../include/openssl/err.h ../include/openssl/opensslconf.h
90 rsar_err.o: ../include/openssl/opensslv.h ../include/openssl/rsa.h
91 rsar_err.o: ../include/openssl/rsaref.h ../include/openssl/safestack.h
92 rsar_err.o: ../include/openssl/stack.h
93 rsaref.o: ../crypto/cryptlib.h ../include/openssl/bio.h ../include/openssl/bn.h
94 rsaref.o: ../include/openssl/buffer.h ../include/openssl/crypto.h
95 rsaref.o: ../include/openssl/e_os.h ../include/openssl/e_os2.h
96 rsaref.o: ../include/openssl/err.h ../include/openssl/opensslconf.h
97 rsaref.o: ../include/openssl/opensslv.h ../include/openssl/rand.h
98 rsaref.o: ../include/openssl/rsa.h ../include/openssl/rsaref.h
99 rsaref.o: ../include/openssl/safestack.h ../include/openssl/stack.h