43bf1c08d85af094fc407923bae6182a9d400570
[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 INSTALL_PREFIX=
11 OPENSSLDIR=     /usr/local/ssl
12 INSTALLTOP=/usr/local/ssl
13 MAKE=           make -f Makefile.ssl
14 MAKEDEPEND=     $(TOP)/util/domd $(TOP)
15 MAKEFILE=       Makefile.ssl
16 AR=             ar r
17
18 CFLAGS= $(INCLUDES) $(CFLAG)
19
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 pem_err.c
26
27 LIBOBJ= pem_sign.o pem_seal.o pem_info.o pem_lib.o pem_all.o pem_err.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         @$(PERL) $(TOP)/util/mklink.pl ../../include/openssl $(EXHEADER)
52         @$(PERL) $(TOP)/util/mklink.pl ../../test $(TEST)
53         @$(PERL) $(TOP)/util/mklink.pl ../../apps $(APPS)
54
55 install:
56         @for i in $(EXHEADER) ; \
57         do  \
58         (cp $$i $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i; \
59         chmod 644 $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$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) $(DEPFLAG) $(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 # DO NOT DELETE THIS LINE -- make depend depends on it.
81
82 pem_all.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
83 pem_all.o: ../../include/openssl/blowfish.h ../../include/openssl/bn.h
84 pem_all.o: ../../include/openssl/buffer.h ../../include/openssl/cast.h
85 pem_all.o: ../../include/openssl/crypto.h ../../include/openssl/des.h
86 pem_all.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h
87 pem_all.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
88 pem_all.o: ../../include/openssl/evp.h ../../include/openssl/idea.h
89 pem_all.o: ../../include/openssl/md2.h ../../include/openssl/md5.h
90 pem_all.o: ../../include/openssl/mdc2.h ../../include/openssl/objects.h
91 pem_all.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
92 pem_all.o: ../../include/openssl/pem.h ../../include/openssl/pem2.h
93 pem_all.o: ../../include/openssl/pkcs7.h ../../include/openssl/rc2.h
94 pem_all.o: ../../include/openssl/rc4.h ../../include/openssl/rc5.h
95 pem_all.o: ../../include/openssl/ripemd.h ../../include/openssl/rsa.h
96 pem_all.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h
97 pem_all.o: ../../include/openssl/stack.h ../../include/openssl/x509.h
98 pem_all.o: ../../include/openssl/x509_vfy.h ../cryptlib.h ../e_os.h
99 pem_err.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
100 pem_err.o: ../../include/openssl/blowfish.h ../../include/openssl/bn.h
101 pem_err.o: ../../include/openssl/cast.h ../../include/openssl/crypto.h
102 pem_err.o: ../../include/openssl/des.h ../../include/openssl/dh.h
103 pem_err.o: ../../include/openssl/dsa.h ../../include/openssl/e_os2.h
104 pem_err.o: ../../include/openssl/err.h ../../include/openssl/evp.h
105 pem_err.o: ../../include/openssl/idea.h ../../include/openssl/md2.h
106 pem_err.o: ../../include/openssl/md5.h ../../include/openssl/mdc2.h
107 pem_err.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h
108 pem_err.o: ../../include/openssl/opensslv.h ../../include/openssl/pem.h
109 pem_err.o: ../../include/openssl/pem2.h ../../include/openssl/pkcs7.h
110 pem_err.o: ../../include/openssl/rc2.h ../../include/openssl/rc4.h
111 pem_err.o: ../../include/openssl/rc5.h ../../include/openssl/ripemd.h
112 pem_err.o: ../../include/openssl/rsa.h ../../include/openssl/safestack.h
113 pem_err.o: ../../include/openssl/sha.h ../../include/openssl/stack.h
114 pem_err.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h
115 pem_info.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
116 pem_info.o: ../../include/openssl/blowfish.h ../../include/openssl/bn.h
117 pem_info.o: ../../include/openssl/buffer.h ../../include/openssl/cast.h
118 pem_info.o: ../../include/openssl/crypto.h ../../include/openssl/des.h
119 pem_info.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h
120 pem_info.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
121 pem_info.o: ../../include/openssl/evp.h ../../include/openssl/idea.h
122 pem_info.o: ../../include/openssl/md2.h ../../include/openssl/md5.h
123 pem_info.o: ../../include/openssl/mdc2.h ../../include/openssl/objects.h
124 pem_info.o: ../../include/openssl/opensslconf.h
125 pem_info.o: ../../include/openssl/opensslv.h ../../include/openssl/pem.h
126 pem_info.o: ../../include/openssl/pem2.h ../../include/openssl/pkcs7.h
127 pem_info.o: ../../include/openssl/rc2.h ../../include/openssl/rc4.h
128 pem_info.o: ../../include/openssl/rc5.h ../../include/openssl/ripemd.h
129 pem_info.o: ../../include/openssl/rsa.h ../../include/openssl/safestack.h
130 pem_info.o: ../../include/openssl/sha.h ../../include/openssl/stack.h
131 pem_info.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h
132 pem_info.o: ../cryptlib.h ../e_os.h
133 pem_lib.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
134 pem_lib.o: ../../include/openssl/blowfish.h ../../include/openssl/bn.h
135 pem_lib.o: ../../include/openssl/buffer.h ../../include/openssl/cast.h
136 pem_lib.o: ../../include/openssl/crypto.h ../../include/openssl/des.h
137 pem_lib.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h
138 pem_lib.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
139 pem_lib.o: ../../include/openssl/evp.h ../../include/openssl/idea.h
140 pem_lib.o: ../../include/openssl/md2.h ../../include/openssl/md5.h
141 pem_lib.o: ../../include/openssl/mdc2.h ../../include/openssl/objects.h
142 pem_lib.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
143 pem_lib.o: ../../include/openssl/pem.h ../../include/openssl/pem2.h
144 pem_lib.o: ../../include/openssl/pkcs7.h ../../include/openssl/rand.h
145 pem_lib.o: ../../include/openssl/rc2.h ../../include/openssl/rc4.h
146 pem_lib.o: ../../include/openssl/rc5.h ../../include/openssl/ripemd.h
147 pem_lib.o: ../../include/openssl/rsa.h ../../include/openssl/safestack.h
148 pem_lib.o: ../../include/openssl/sha.h ../../include/openssl/stack.h
149 pem_lib.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h
150 pem_lib.o: ../cryptlib.h ../e_os.h
151 pem_seal.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
152 pem_seal.o: ../../include/openssl/blowfish.h ../../include/openssl/bn.h
153 pem_seal.o: ../../include/openssl/buffer.h ../../include/openssl/cast.h
154 pem_seal.o: ../../include/openssl/crypto.h ../../include/openssl/des.h
155 pem_seal.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h
156 pem_seal.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
157 pem_seal.o: ../../include/openssl/evp.h ../../include/openssl/idea.h
158 pem_seal.o: ../../include/openssl/md2.h ../../include/openssl/md5.h
159 pem_seal.o: ../../include/openssl/mdc2.h ../../include/openssl/objects.h
160 pem_seal.o: ../../include/openssl/opensslconf.h
161 pem_seal.o: ../../include/openssl/opensslv.h ../../include/openssl/pem.h
162 pem_seal.o: ../../include/openssl/pem2.h ../../include/openssl/pkcs7.h
163 pem_seal.o: ../../include/openssl/rand.h ../../include/openssl/rc2.h
164 pem_seal.o: ../../include/openssl/rc4.h ../../include/openssl/rc5.h
165 pem_seal.o: ../../include/openssl/ripemd.h ../../include/openssl/rsa.h
166 pem_seal.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h
167 pem_seal.o: ../../include/openssl/stack.h ../../include/openssl/x509.h
168 pem_seal.o: ../../include/openssl/x509_vfy.h ../cryptlib.h ../e_os.h
169 pem_sign.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
170 pem_sign.o: ../../include/openssl/blowfish.h ../../include/openssl/bn.h
171 pem_sign.o: ../../include/openssl/buffer.h ../../include/openssl/cast.h
172 pem_sign.o: ../../include/openssl/crypto.h ../../include/openssl/des.h
173 pem_sign.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h
174 pem_sign.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
175 pem_sign.o: ../../include/openssl/evp.h ../../include/openssl/idea.h
176 pem_sign.o: ../../include/openssl/md2.h ../../include/openssl/md5.h
177 pem_sign.o: ../../include/openssl/mdc2.h ../../include/openssl/objects.h
178 pem_sign.o: ../../include/openssl/opensslconf.h
179 pem_sign.o: ../../include/openssl/opensslv.h ../../include/openssl/pem.h
180 pem_sign.o: ../../include/openssl/pem2.h ../../include/openssl/pkcs7.h
181 pem_sign.o: ../../include/openssl/rand.h ../../include/openssl/rc2.h
182 pem_sign.o: ../../include/openssl/rc4.h ../../include/openssl/rc5.h
183 pem_sign.o: ../../include/openssl/ripemd.h ../../include/openssl/rsa.h
184 pem_sign.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h
185 pem_sign.o: ../../include/openssl/stack.h ../../include/openssl/x509.h
186 pem_sign.o: ../../include/openssl/x509_vfy.h ../cryptlib.h ../e_os.h