7a4907fa65456fc27760a883df68fdda35e532fb
[openssl.git] / crypto / pem / Makefile.ssl
1 #
2 # SSLeay/crypto/pem/Makefile
3 #
4
5 DIR=    pem
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=pem
19 ERRC=pem_err
20 GENERAL=Makefile
21 TEST=
22 APPS=
23
24 LIB=$(TOP)/libcrypto.a
25 LIBSRC= pem_sign.c pem_seal.c pem_info.c pem_lib.c pem_all.c $(ERRC).c
26
27 LIBOBJ= pem_sign.o pem_seal.o pem_info.o pem_lib.o pem_all.o $(ERRC).o
28
29 SRC= $(LIBSRC)
30
31 EXHEADER= pem.h pem2.h
32 HEADER= $(EXHEADER)
33
34 ALL=    $(GENERAL) $(SRC) $(HEADER)
35
36 top:
37         (cd ../..; $(MAKE) DIRS=crypto SDIRS=$(DIR) sub_all)
38
39 all:    lib
40
41 lib:    $(LIBOBJ)
42         $(AR) $(LIB) $(LIBOBJ)
43         $(RANLIB) $(LIB)
44         @touch lib
45
46 files:
47         $(PERL) $(TOP)/util/files.pl Makefile.ssl >> $(TOP)/MINFO
48
49 links: $(EXHEADER)
50         @$(TOP)/util/point.sh Makefile.ssl Makefile
51         @$(TOP)/util/mklink.sh ../../include $(EXHEADER)
52         @$(TOP)/util/mklink.sh ../../test $(TEST)
53         @$(TOP)/util/mklink.sh ../../apps $(APPS)
54
55 install:
56         @for i in $(EXHEADER) ; \
57         do  \
58         (cp $$i $(INSTALLTOP)/include/$$i; \
59         chmod 644 $(INSTALLTOP)/include/$$i ); \
60         done;
61
62 tags:
63         ctags $(SRC)
64
65 tests:
66
67 lint:
68         lint -DLINT $(INCLUDES) $(SRC)>fluff
69
70 depend:
71         $(MAKEDEPEND) $(INCLUDES) $(LIBSRC)
72
73 dclean:
74         $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new
75         mv -f Makefile.new $(MAKEFILE)
76
77 clean:
78         rm -f *.o *.obj lib tags core .pure .nfs* *.old *.bak fluff
79
80 errors: $(ERRC).c
81
82 $(ERRC).c: $(ERR).err
83         $(PERL) $(TOP)/util/err-ins.pl $(ERR).err $(ERR).org # SPECIAL CASE .org
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 ctx_size.o: ../../include/asn1.h ../../include/bio.h ../../include/blowfish.h
90 ctx_size.o: ../../include/bn.h ../../include/cast.h ../../include/crypto.h
91 ctx_size.o: ../../include/des.h ../../include/dh.h ../../include/dsa.h
92 ctx_size.o: ../../include/evp.h ../../include/idea.h ../../include/md2.h
93 ctx_size.o: ../../include/md5.h ../../include/mdc2.h ../../include/objects.h
94 ctx_size.o: ../../include/opensslv.h ../../include/rc2.h ../../include/rc4.h
95 ctx_size.o: ../../include/rc5.h ../../include/ripemd.h ../../include/rsa.h
96 ctx_size.o: ../../include/sha.h ../../include/stack.h
97 pem_all.o: ../../include/asn1.h ../../include/bio.h ../../include/blowfish.h
98 pem_all.o: ../../include/bn.h ../../include/buffer.h ../../include/cast.h
99 pem_all.o: ../../include/crypto.h ../../include/des.h ../../include/dh.h
100 pem_all.o: ../../include/dsa.h ../../include/e_os.h ../../include/err.h
101 pem_all.o: ../../include/evp.h ../../include/idea.h ../../include/md2.h
102 pem_all.o: ../../include/md5.h ../../include/mdc2.h ../../include/objects.h
103 pem_all.o: ../../include/opensslv.h ../../include/pkcs7.h ../../include/rc2.h
104 pem_all.o: ../../include/rc4.h ../../include/rc5.h ../../include/ripemd.h
105 pem_all.o: ../../include/rsa.h ../../include/safestack.h ../../include/sha.h
106 pem_all.o: ../../include/stack.h ../../include/x509.h ../../include/x509_vfy.h
107 pem_all.o: ../cryptlib.h pem.h pem2.h
108 pem_err.o: ../../include/asn1.h ../../include/bio.h ../../include/blowfish.h
109 pem_err.o: ../../include/bn.h ../../include/cast.h ../../include/crypto.h
110 pem_err.o: ../../include/des.h ../../include/dh.h ../../include/dsa.h
111 pem_err.o: ../../include/err.h ../../include/evp.h ../../include/idea.h
112 pem_err.o: ../../include/md2.h ../../include/md5.h ../../include/mdc2.h
113 pem_err.o: ../../include/objects.h ../../include/opensslv.h
114 pem_err.o: ../../include/pkcs7.h ../../include/rc2.h ../../include/rc4.h
115 pem_err.o: ../../include/rc5.h ../../include/ripemd.h ../../include/rsa.h
116 pem_err.o: ../../include/safestack.h ../../include/sha.h ../../include/stack.h
117 pem_err.o: ../../include/x509.h ../../include/x509_vfy.h pem.h pem2.h
118 pem_info.o: ../../include/asn1.h ../../include/bio.h ../../include/blowfish.h
119 pem_info.o: ../../include/bn.h ../../include/buffer.h ../../include/cast.h
120 pem_info.o: ../../include/crypto.h ../../include/des.h ../../include/dh.h
121 pem_info.o: ../../include/dsa.h ../../include/e_os.h ../../include/err.h
122 pem_info.o: ../../include/evp.h ../../include/idea.h ../../include/md2.h
123 pem_info.o: ../../include/md5.h ../../include/mdc2.h ../../include/objects.h
124 pem_info.o: ../../include/opensslv.h ../../include/pkcs7.h ../../include/rc2.h
125 pem_info.o: ../../include/rc4.h ../../include/rc5.h ../../include/ripemd.h
126 pem_info.o: ../../include/rsa.h ../../include/safestack.h ../../include/sha.h
127 pem_info.o: ../../include/stack.h ../../include/x509.h ../../include/x509_vfy.h
128 pem_info.o: ../cryptlib.h pem.h pem2.h
129 pem_lib.o: ../../include/asn1.h ../../include/bio.h ../../include/blowfish.h
130 pem_lib.o: ../../include/bn.h ../../include/buffer.h ../../include/cast.h
131 pem_lib.o: ../../include/crypto.h ../../include/des.h ../../include/dh.h
132 pem_lib.o: ../../include/dsa.h ../../include/e_os.h ../../include/err.h
133 pem_lib.o: ../../include/evp.h ../../include/idea.h ../../include/md2.h
134 pem_lib.o: ../../include/md5.h ../../include/mdc2.h ../../include/objects.h
135 pem_lib.o: ../../include/opensslv.h ../../include/pkcs7.h ../../include/rand.h
136 pem_lib.o: ../../include/rc2.h ../../include/rc4.h ../../include/rc5.h
137 pem_lib.o: ../../include/ripemd.h ../../include/rsa.h ../../include/safestack.h
138 pem_lib.o: ../../include/sha.h ../../include/stack.h ../../include/x509.h
139 pem_lib.o: ../../include/x509_vfy.h ../cryptlib.h pem.h pem2.h
140 pem_seal.o: ../../include/asn1.h ../../include/bio.h ../../include/blowfish.h
141 pem_seal.o: ../../include/bn.h ../../include/buffer.h ../../include/cast.h
142 pem_seal.o: ../../include/crypto.h ../../include/des.h ../../include/dh.h
143 pem_seal.o: ../../include/dsa.h ../../include/e_os.h ../../include/err.h
144 pem_seal.o: ../../include/evp.h ../../include/idea.h ../../include/md2.h
145 pem_seal.o: ../../include/md5.h ../../include/mdc2.h ../../include/objects.h
146 pem_seal.o: ../../include/opensslv.h ../../include/pkcs7.h ../../include/rand.h
147 pem_seal.o: ../../include/rc2.h ../../include/rc4.h ../../include/rc5.h
148 pem_seal.o: ../../include/ripemd.h ../../include/rsa.h
149 pem_seal.o: ../../include/safestack.h ../../include/sha.h ../../include/stack.h
150 pem_seal.o: ../../include/x509.h ../../include/x509_vfy.h ../cryptlib.h pem.h
151 pem_seal.o: pem2.h
152 pem_sign.o: ../../include/asn1.h ../../include/bio.h ../../include/blowfish.h
153 pem_sign.o: ../../include/bn.h ../../include/buffer.h ../../include/cast.h
154 pem_sign.o: ../../include/crypto.h ../../include/des.h ../../include/dh.h
155 pem_sign.o: ../../include/dsa.h ../../include/e_os.h ../../include/err.h
156 pem_sign.o: ../../include/evp.h ../../include/idea.h ../../include/md2.h
157 pem_sign.o: ../../include/md5.h ../../include/mdc2.h ../../include/objects.h
158 pem_sign.o: ../../include/opensslv.h ../../include/pkcs7.h ../../include/rand.h
159 pem_sign.o: ../../include/rc2.h ../../include/rc4.h ../../include/rc5.h
160 pem_sign.o: ../../include/ripemd.h ../../include/rsa.h
161 pem_sign.o: ../../include/safestack.h ../../include/sha.h ../../include/stack.h
162 pem_sign.o: ../../include/x509.h ../../include/x509_vfy.h ../cryptlib.h pem.h
163 pem_sign.o: pem2.h