2 # SSLeay/crypto/rsa/Makefile
8 INCLUDES= -I.. -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)/libcrypto.a
25 LIBSRC= rsa_eay.c rsa_gen.c rsa_lib.c rsa_sign.c rsa_saos.c $(ERRC).c \
26 rsa_pk1.c rsa_ssl.c rsa_none.c rsa_oaep.c
27 LIBOBJ= rsa_eay.o rsa_gen.o rsa_lib.o rsa_sign.o rsa_saos.o $(ERRC).o \
28 rsa_pk1.o rsa_ssl.o rsa_none.o rsa_oaep.o
35 ALL= $(GENERAL) $(SRC) $(HEADER)
38 (cd ../..; $(MAKE) DIRS=crypto SDIRS=$(DIR) sub_all)
43 $(AR) $(LIB) $(LIBOBJ)
44 sh $(TOP)/util/ranlib.sh $(LIB)
48 perl $(TOP)/util/files.pl Makefile.ssl >> $(TOP)/MINFO
51 @$(TOP)/util/point.sh Makefile.ssl Makefile
52 @$(TOP)/util/mklink.sh ../../include $(EXHEADER)
53 @$(TOP)/util/mklink.sh ../../test $(TEST)
54 @$(TOP)/util/mklink.sh ../../apps $(APPS)
57 @for i in $(EXHEADER) ; \
59 (cp $$i $(INSTALLTOP)/include/$$i; \
60 chmod 644 $(INSTALLTOP)/include/$$i ); \
69 lint -DLINT $(INCLUDES) $(SRC)>fluff
72 $(MAKEDEPEND) $(INCLUDES) $(PROGS) $(LIBSRC)
75 perl -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new
76 mv -f Makefile.new $(MAKEFILE)
79 rm -f *.o */*.o *.obj lib tags core .pure .nfs* *.old *.bak fluff
83 $(ERRC).c: $(ERR).err $(ERR).h
84 perl $(TOP)/util/err-ins.pl $(ERR).err $(ERR).h
85 perl ../err/err_genc.pl -s $(ERR).h $(ERRC).c
87 # DO NOT DELETE THIS LINE -- make depend depends on it.