2 # SSLeay/crypto/asn1/Makefile
8 INCLUDES= -I.. -I../../include
10 INSTALLTOP=/usr/local/ssl
11 MAKE= make -f Makefile.ssl
12 MAKEDEPEND= makedepend -f Makefile.ssl
13 MAKEFILE= Makefile.ssl
16 CFLAGS= $(INCLUDES) $(CFLAG)
20 GENERAL=Makefile README
24 LIB=$(TOP)/libcrypto.a
25 LIBSRC= pk7_lib.c pkcs7err.c pk7_doit.c
26 LIBOBJ= pk7_lib.o pkcs7err.o pk7_doit.o
33 ALL= $(GENERAL) $(SRC) $(HEADER)
36 (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
52 $(TOP)/util/point.sh Makefile.ssl Makefile ;
53 $(TOP)/util/mklink.sh ../../include $(EXHEADER)
54 $(TOP)/util/mklink.sh ../../test $(TEST)
55 $(TOP)/util/mklink.sh ../../apps $(APPS)
58 @for i in $(EXHEADER) ; \
60 (cp $$i $(INSTALLTOP)/include/$$i; \
61 chmod 644 $(INSTALLTOP)/include/$$i ); \
70 lint -DLINT $(INCLUDES) $(SRC)>fluff
73 $(MAKEDEPEND) $(INCLUDES) $(PROGS) $(LIBSRC)
76 perl -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new
77 mv -f Makefile.new $(MAKEFILE)
80 /bin/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 ../err/err_genc.pl $(ERR).h $(ERRC).c
86 # DO NOT DELETE THIS LINE -- make depend depends on it.