2 # SSLeay/rsaref/Makefile
8 INCLUDES= -I../crypto -I../include
10 INSTALLTOP=/usr/local/ssl
11 MAKE= make -f Makefile.ssl
12 MAKEDEPEND= $(TOP)/util/domd $(TOP)
13 MAKEFILE= Makefile.ssl
16 CFLAGS= $(INCLUDES) $(CFLAG)
24 LIB=$(TOP)/libRSAglue.a
25 LIBSRC= rsaref.c $(ERRC).c
26 LIBOBJ= rsaref.o $(ERRC).o
33 ALL= $(GENERAL) $(SRC) $(HEADER)
36 (cd ..; $(MAKE) DIRS=rsaref all)
41 $(AR) $(LIB) $(LIBOBJ)
42 sh $(TOP)/util/ranlib.sh $(LIB)
46 perl $(TOP)/util/files.pl Makefile.ssl >> $(TOP)/MINFO
49 @$(TOP)/util/point.sh Makefile.ssl Makefile
50 @$(TOP)/util/mklink.sh ../include $(EXHEADER)
51 @$(TOP)/util/mklink.sh ../test $(TEST)
52 @$(TOP)/util/mklink.sh ../apps $(APPS)
56 # @for i in $(EXHEADER) ; \
58 # (cp $$i $(INSTALLTOP)/include/$$i; \
59 # chmod 644 $(INSTALLTOP)/include/$$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
83 perl $(TOP)/util/err-ins.pl $(ERR).err $(ERR).h
84 perl ../crypto/err/err_genc.pl -s $(ERR).h $(ERRC).c
86 # DO NOT DELETE THIS LINE -- make depend depends on it.
88 rsar_err.o: ../crypto/crypto.h ../include/bn.h ../include/err.h
89 rsar_err.o: ../include/rsa.h ../include/stack.h rsaref.h
90 rsaref.o: ../crypto/cryptlib.h ../crypto/crypto.h ../include/bio.h
91 rsaref.o: ../include/bn.h ../include/buffer.h ../include/e_os.h
92 rsaref.o: ../include/err.h ../include/rand.h ../include/rsa.h
93 rsaref.o: ../include/stack.h rsaref.h