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)
42 @echo You may get an error following this line. Please ignore.
47 $(PERL) $(TOP)/util/files.pl Makefile.ssl >> $(TOP)/MINFO
50 @$(TOP)/util/point.sh Makefile.ssl Makefile
51 @$(PERL) $(TOP)/util/mklink.pl ../include/openssl $(EXHEADER)
52 @$(PERL) $(TOP)/util/mklink.pl ../test $(TEST)
53 @$(PERL) $(TOP)/util/mklink.pl ../apps $(APPS)
56 -@if [ "x`echo x $(EX_LIBS) | grep RSAglue`" != x ]; then \
57 echo "installing libRSAglue.a"; \
58 cp $(LIB) $(INSTALL_PREFIX)$(INSTALLTOP)/lib/libRSAglue.a; \
59 $(RANLIB) $(INSTALL_PREFIX)$(INSTALLTOP)/lib/libRSAglue.a; \
60 chmod 644 $(INSTALL_PREFIX)$(INSTALLTOP)/lib/libRSAglue.a; \
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) $(INCLUDES) $(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 rsar_err.o: ../include/openssl/bio.h ../include/openssl/bn.h
90 rsar_err.o: ../include/openssl/crypto.h ../include/openssl/err.h
91 rsar_err.o: ../include/openssl/lhash.h ../include/openssl/opensslconf.h
92 rsar_err.o: ../include/openssl/opensslv.h ../include/openssl/rsa.h
93 rsar_err.o: ../include/openssl/rsaref.h ../include/openssl/safestack.h
94 rsar_err.o: ../include/openssl/stack.h ../include/openssl/symhacks.h
95 rsaref.o: ../crypto/cryptlib.h ../include/openssl/bio.h ../include/openssl/bn.h
96 rsaref.o: ../include/openssl/buffer.h ../include/openssl/crypto.h
97 rsaref.o: ../include/openssl/e_os.h ../include/openssl/e_os2.h
98 rsaref.o: ../include/openssl/err.h ../include/openssl/lhash.h
99 rsaref.o: ../include/openssl/opensslconf.h ../include/openssl/opensslv.h
100 rsaref.o: ../include/openssl/rand.h ../include/openssl/rsa.h
101 rsaref.o: ../include/openssl/rsaref.h ../include/openssl/safestack.h
102 rsaref.o: ../include/openssl/stack.h ../include/openssl/symhacks.h