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)
56 # @for i in $(EXHEADER) ; \
58 # (cp $$i $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i; \
59 # chmod 644 $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i ); \
68 lint -DLINT $(INCLUDES) $(SRC)>fluff
71 $(MAKEDEPEND) $(INCLUDES) $(PROGS) $(LIBSRC)
74 $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new
75 mv -f Makefile.new $(MAKEFILE)
78 rm -f *.o *.obj lib tags core .pure .nfs* *.old *.bak fluff
80 # DO NOT DELETE THIS LINE -- make depend depends on it.
82 rsar_err.o: ../include/openssl/bn.h ../include/openssl/crypto.h
83 rsar_err.o: ../include/openssl/err.h ../include/openssl/opensslconf.h
84 rsar_err.o: ../include/openssl/opensslv.h ../include/openssl/rsa.h
85 rsar_err.o: ../include/openssl/rsaref.h ../include/openssl/stack.h
86 rsaref.o: ../crypto/cryptlib.h ../include/openssl/bio.h ../include/openssl/bn.h
87 rsaref.o: ../include/openssl/buffer.h ../include/openssl/crypto.h
88 rsaref.o: ../include/openssl/e_os.h ../include/openssl/err.h
89 rsaref.o: ../include/openssl/opensslconf.h ../include/openssl/opensslv.h
90 rsaref.o: ../include/openssl/rand.h ../include/openssl/rsa.h
91 rsaref.o: ../include/openssl/rsaref.h ../include/openssl/stack.h