563c9fd3bf4835fd1464a1a6f134d71ffdddfdc6
[openssl.git] / crypto / pkcs7 / Makefile.ssl
1 #
2 # SSLeay/crypto/asn1/Makefile
3 #
4
5 DIR=    pkcs7
6 TOP=    ../..
7 CC=     cc
8 INCLUDES= -I.. -I../../include
9 CFLAG=-g
10 INSTALLTOP=/usr/local/ssl
11 MAKE=           make -f Makefile.ssl
12 MAKEDEPEND=     $(TOP)/util/domd $(TOP)
13 MAKEFILE=       Makefile.ssl
14 AR=             ar r
15
16 CFLAGS= $(INCLUDES) $(CFLAG)
17
18 ERR=pkcs7
19 ERRC=pkcs7err
20 GENERAL=Makefile README
21 TEST=
22 APPS=
23
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
27
28 SRC= $(LIBSRC)
29
30 EXHEADER=  pkcs7.h
31 HEADER= $(EXHEADER)
32
33 ALL=    $(GENERAL) $(SRC) $(HEADER)
34
35 top:
36         (cd ../..; $(MAKE) DIRS=crypto SDIRS=$(DIR) sub_all)
37
38 test:
39
40 all:    lib
41
42 lib:    $(LIBOBJ)
43         $(AR) $(LIB) $(LIBOBJ)
44         sh $(TOP)/util/ranlib.sh $(LIB)
45         @touch lib
46
47 files:
48         perl $(TOP)/util/files.pl Makefile.ssl >> $(TOP)/MINFO
49
50 links:
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)
55
56 install:
57         @for i in $(EXHEADER) ; \
58         do  \
59         (cp $$i $(INSTALLTOP)/include/$$i; \
60         chmod 644 $(INSTALLTOP)/include/$$i ); \
61         done;
62
63 tags:
64         ctags $(SRC)
65
66 tests:
67
68 lint:
69         lint -DLINT $(INCLUDES) $(SRC)>fluff
70
71 depend:
72         $(MAKEDEPEND) $(INCLUDES) $(PROGS) $(LIBSRC)
73
74 dclean:
75         perl -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new
76         mv -f Makefile.new $(MAKEFILE)
77
78 clean:
79         rm -f *.o *.obj lib tags core .pure .nfs* *.old *.bak fluff
80
81 errors: $(ERRC).c
82
83 $(ERRC).c: $(ERR).err
84         perl $(TOP)/util/err-ins.pl $(ERR).err $(ERR).h
85         perl ../err/err_genc.pl -s $(ERR).h $(ERRC).c
86
87 # DO NOT DELETE THIS LINE -- make depend depends on it.
88
89 pk7_doit.o: ../../include/asn1.h ../../include/bio.h ../../include/blowfish.h
90 pk7_doit.o: ../../include/bn.h ../../include/buffer.h ../../include/cast.h
91 pk7_doit.o: ../../include/des.h ../../include/dh.h ../../include/dsa.h
92 pk7_doit.o: ../../include/e_os.h ../../include/err.h ../../include/evp.h
93 pk7_doit.o: ../../include/idea.h ../../include/md2.h ../../include/md5.h
94 pk7_doit.o: ../../include/mdc2.h ../../include/objects.h ../../include/rand.h
95 pk7_doit.o: ../../include/rc2.h ../../include/rc4.h ../../include/rc5.h
96 pk7_doit.o: ../../include/ripemd.h ../../include/rsa.h ../../include/sha.h
97 pk7_doit.o: ../../include/stack.h ../../include/x509.h ../../include/x509_vfy.h
98 pk7_doit.o: ../cryptlib.h ../crypto.h ../opensslv.h pkcs7.h
99 pk7_lib.o: ../../include/asn1.h ../../include/bio.h ../../include/blowfish.h
100 pk7_lib.o: ../../include/bn.h ../../include/buffer.h ../../include/cast.h
101 pk7_lib.o: ../../include/des.h ../../include/dh.h ../../include/dsa.h
102 pk7_lib.o: ../../include/e_os.h ../../include/err.h ../../include/evp.h
103 pk7_lib.o: ../../include/idea.h ../../include/md2.h ../../include/md5.h
104 pk7_lib.o: ../../include/mdc2.h ../../include/objects.h ../../include/rc2.h
105 pk7_lib.o: ../../include/rc4.h ../../include/rc5.h ../../include/ripemd.h
106 pk7_lib.o: ../../include/rsa.h ../../include/sha.h ../../include/stack.h
107 pk7_lib.o: ../../include/x509.h ../../include/x509_vfy.h ../cryptlib.h
108 pk7_lib.o: ../crypto.h ../opensslv.h pkcs7.h
109 pkcs7err.o: ../../include/asn1.h ../../include/bio.h ../../include/blowfish.h
110 pkcs7err.o: ../../include/bn.h ../../include/cast.h ../../include/des.h
111 pkcs7err.o: ../../include/dh.h ../../include/dsa.h ../../include/err.h
112 pkcs7err.o: ../../include/evp.h ../../include/idea.h ../../include/md2.h
113 pkcs7err.o: ../../include/md5.h ../../include/mdc2.h ../../include/objects.h
114 pkcs7err.o: ../../include/rc2.h ../../include/rc4.h ../../include/rc5.h
115 pkcs7err.o: ../../include/ripemd.h ../../include/rsa.h ../../include/sha.h
116 pkcs7err.o: ../../include/stack.h ../../include/x509.h ../../include/x509_vfy.h
117 pkcs7err.o: ../crypto.h ../opensslv.h pkcs7.h