Makefile revision 160814
1142425Snectar#
2160814Ssimon# OpenSSL/crypto/pem/Makefile
3142425Snectar#
4142425Snectar
5142425SnectarDIR=	pem
6142425SnectarTOP=	../..
7142425SnectarCC=	cc
8142425SnectarINCLUDES= -I.. -I$(TOP) -I../../include
9142425SnectarCFLAG=-g
10142425SnectarMAKEFILE=	Makefile
11142425SnectarAR=		ar r
12142425Snectar
13142425SnectarCFLAGS= $(INCLUDES) $(CFLAG)
14142425Snectar
15142425SnectarGENERAL=Makefile
16142425SnectarTEST=
17142425SnectarAPPS=
18142425Snectar
19142425SnectarLIB=$(TOP)/libcrypto.a
20142425SnectarLIBSRC= pem_sign.c pem_seal.c pem_info.c pem_lib.c pem_all.c pem_err.c \
21142425Snectar	pem_x509.c pem_xaux.c pem_oth.c pem_pk8.c pem_pkey.c
22142425Snectar
23142425SnectarLIBOBJ=	pem_sign.o pem_seal.o pem_info.o pem_lib.o pem_all.o pem_err.o \
24142425Snectar	pem_x509.o pem_xaux.o pem_oth.o pem_pk8.o pem_pkey.o
25142425Snectar
26142425SnectarSRC= $(LIBSRC)
27142425Snectar
28142425SnectarEXHEADER= pem.h pem2.h
29142425SnectarHEADER=	$(EXHEADER)
30142425Snectar
31142425SnectarALL=    $(GENERAL) $(SRC) $(HEADER)
32142425Snectar
33142425Snectartop:
34142425Snectar	(cd ../..; $(MAKE) DIRS=crypto SDIRS=$(DIR) sub_all)
35142425Snectar
36142425Snectarall:	lib
37142425Snectar
38142425Snectarlib:	$(LIBOBJ)
39142425Snectar	$(AR) $(LIB) $(LIBOBJ)
40142425Snectar	$(RANLIB) $(LIB) || echo Never mind.
41142425Snectar	@touch lib
42142425Snectar
43142425Snectarfiles:
44142425Snectar	$(PERL) $(TOP)/util/files.pl Makefile >> $(TOP)/MINFO
45142425Snectar
46142425Snectarlinks: $(EXHEADER)
47142425Snectar	@$(PERL) $(TOP)/util/mklink.pl ../../include/openssl $(EXHEADER)
48142425Snectar	@$(PERL) $(TOP)/util/mklink.pl ../../test $(TEST)
49142425Snectar	@$(PERL) $(TOP)/util/mklink.pl ../../apps $(APPS)
50142425Snectar
51142425Snectarinstall:
52160814Ssimon	@[ -n "$(INSTALLTOP)" ] # should be set by top Makefile...
53160814Ssimon	@headerlist="$(EXHEADER)"; for i in $$headerlist ; \
54142425Snectar	do  \
55142425Snectar	(cp $$i $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i; \
56142425Snectar	chmod 644 $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i ); \
57142425Snectar	done;
58142425Snectar
59142425Snectartags:
60142425Snectar	ctags $(SRC)
61142425Snectar
62142425Snectartests:
63142425Snectar
64142425Snectarlint:
65142425Snectar	lint -DLINT $(INCLUDES) $(SRC)>fluff
66142425Snectar
67142425Snectardepend:
68160814Ssimon	@[ -n "$(MAKEDEPEND)" ] # should be set by upper Makefile...
69142425Snectar	$(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(LIBSRC)
70142425Snectar
71142425Snectardclean:
72142425Snectar	$(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new
73142425Snectar	mv -f Makefile.new $(MAKEFILE)
74142425Snectar
75142425Snectarclean:
76142425Snectar	rm -f *.o *.obj lib tags core .pure .nfs* *.old *.bak fluff
77142425Snectar
78142425Snectar# DO NOT DELETE THIS LINE -- make depend depends on it.
79142425Snectar
80160814Ssimonpem_all.o: ../../e_os.h ../../include/openssl/asn1.h
81160814Ssimonpem_all.o: ../../include/openssl/bio.h ../../include/openssl/buffer.h
82160814Ssimonpem_all.o: ../../include/openssl/crypto.h ../../include/openssl/dh.h
83142425Snectarpem_all.o: ../../include/openssl/dsa.h ../../include/openssl/e_os2.h
84160814Ssimonpem_all.o: ../../include/openssl/ec.h ../../include/openssl/ecdh.h
85160814Ssimonpem_all.o: ../../include/openssl/ecdsa.h ../../include/openssl/err.h
86160814Ssimonpem_all.o: ../../include/openssl/evp.h ../../include/openssl/lhash.h
87160814Ssimonpem_all.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h
88160814Ssimonpem_all.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
89160814Ssimonpem_all.o: ../../include/openssl/ossl_typ.h ../../include/openssl/pem.h
90160814Ssimonpem_all.o: ../../include/openssl/pem2.h ../../include/openssl/pkcs7.h
91160814Ssimonpem_all.o: ../../include/openssl/rsa.h ../../include/openssl/safestack.h
92160814Ssimonpem_all.o: ../../include/openssl/sha.h ../../include/openssl/stack.h
93160814Ssimonpem_all.o: ../../include/openssl/symhacks.h ../../include/openssl/x509.h
94160814Ssimonpem_all.o: ../../include/openssl/x509_vfy.h ../cryptlib.h pem_all.c
95160814Ssimonpem_err.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
96160814Ssimonpem_err.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
97160814Ssimonpem_err.o: ../../include/openssl/e_os2.h ../../include/openssl/ec.h
98160814Ssimonpem_err.o: ../../include/openssl/ecdh.h ../../include/openssl/ecdsa.h
99160814Ssimonpem_err.o: ../../include/openssl/err.h ../../include/openssl/evp.h
100160814Ssimonpem_err.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h
101142425Snectarpem_err.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h
102142425Snectarpem_err.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
103142425Snectarpem_err.o: ../../include/openssl/pem.h ../../include/openssl/pem2.h
104160814Ssimonpem_err.o: ../../include/openssl/pkcs7.h ../../include/openssl/safestack.h
105160814Ssimonpem_err.o: ../../include/openssl/sha.h ../../include/openssl/stack.h
106160814Ssimonpem_err.o: ../../include/openssl/symhacks.h ../../include/openssl/x509.h
107160814Ssimonpem_err.o: ../../include/openssl/x509_vfy.h pem_err.c
108160814Ssimonpem_info.o: ../../e_os.h ../../include/openssl/asn1.h
109160814Ssimonpem_info.o: ../../include/openssl/bio.h ../../include/openssl/buffer.h
110160814Ssimonpem_info.o: ../../include/openssl/crypto.h ../../include/openssl/dsa.h
111160814Ssimonpem_info.o: ../../include/openssl/e_os2.h ../../include/openssl/ec.h
112160814Ssimonpem_info.o: ../../include/openssl/ecdh.h ../../include/openssl/ecdsa.h
113142425Snectarpem_info.o: ../../include/openssl/err.h ../../include/openssl/evp.h
114160814Ssimonpem_info.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h
115160814Ssimonpem_info.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h
116142425Snectarpem_info.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
117142425Snectarpem_info.o: ../../include/openssl/pem.h ../../include/openssl/pem2.h
118160814Ssimonpem_info.o: ../../include/openssl/pkcs7.h ../../include/openssl/rsa.h
119142425Snectarpem_info.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h
120142425Snectarpem_info.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
121142425Snectarpem_info.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h
122142425Snectarpem_info.o: ../cryptlib.h pem_info.c
123160814Ssimonpem_lib.o: ../../e_os.h ../../include/openssl/asn1.h
124160814Ssimonpem_lib.o: ../../include/openssl/bio.h ../../include/openssl/buffer.h
125142425Snectarpem_lib.o: ../../include/openssl/crypto.h ../../include/openssl/des.h
126160814Ssimonpem_lib.o: ../../include/openssl/des_old.h ../../include/openssl/e_os2.h
127160814Ssimonpem_lib.o: ../../include/openssl/ec.h ../../include/openssl/ecdh.h
128160814Ssimonpem_lib.o: ../../include/openssl/ecdsa.h ../../include/openssl/err.h
129160814Ssimonpem_lib.o: ../../include/openssl/evp.h ../../include/openssl/lhash.h
130142425Snectarpem_lib.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h
131142425Snectarpem_lib.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
132142425Snectarpem_lib.o: ../../include/openssl/ossl_typ.h ../../include/openssl/pem.h
133142425Snectarpem_lib.o: ../../include/openssl/pem2.h ../../include/openssl/pkcs12.h
134142425Snectarpem_lib.o: ../../include/openssl/pkcs7.h ../../include/openssl/rand.h
135160814Ssimonpem_lib.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h
136160814Ssimonpem_lib.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
137160814Ssimonpem_lib.o: ../../include/openssl/ui.h ../../include/openssl/ui_compat.h
138160814Ssimonpem_lib.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h
139160814Ssimonpem_lib.o: ../cryptlib.h pem_lib.c
140160814Ssimonpem_oth.o: ../../e_os.h ../../include/openssl/asn1.h
141160814Ssimonpem_oth.o: ../../include/openssl/bio.h ../../include/openssl/buffer.h
142160814Ssimonpem_oth.o: ../../include/openssl/crypto.h ../../include/openssl/e_os2.h
143160814Ssimonpem_oth.o: ../../include/openssl/ec.h ../../include/openssl/ecdh.h
144160814Ssimonpem_oth.o: ../../include/openssl/ecdsa.h ../../include/openssl/err.h
145160814Ssimonpem_oth.o: ../../include/openssl/evp.h ../../include/openssl/lhash.h
146142425Snectarpem_oth.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h
147142425Snectarpem_oth.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
148142425Snectarpem_oth.o: ../../include/openssl/ossl_typ.h ../../include/openssl/pem.h
149142425Snectarpem_oth.o: ../../include/openssl/pem2.h ../../include/openssl/pkcs7.h
150160814Ssimonpem_oth.o: ../../include/openssl/rand.h ../../include/openssl/safestack.h
151160814Ssimonpem_oth.o: ../../include/openssl/sha.h ../../include/openssl/stack.h
152160814Ssimonpem_oth.o: ../../include/openssl/symhacks.h ../../include/openssl/x509.h
153160814Ssimonpem_oth.o: ../../include/openssl/x509_vfy.h ../cryptlib.h pem_oth.c
154160814Ssimonpem_pk8.o: ../../e_os.h ../../include/openssl/asn1.h
155160814Ssimonpem_pk8.o: ../../include/openssl/bio.h ../../include/openssl/buffer.h
156160814Ssimonpem_pk8.o: ../../include/openssl/crypto.h ../../include/openssl/e_os2.h
157160814Ssimonpem_pk8.o: ../../include/openssl/ec.h ../../include/openssl/ecdh.h
158160814Ssimonpem_pk8.o: ../../include/openssl/ecdsa.h ../../include/openssl/err.h
159160814Ssimonpem_pk8.o: ../../include/openssl/evp.h ../../include/openssl/lhash.h
160142425Snectarpem_pk8.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h
161142425Snectarpem_pk8.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
162142425Snectarpem_pk8.o: ../../include/openssl/ossl_typ.h ../../include/openssl/pem.h
163142425Snectarpem_pk8.o: ../../include/openssl/pem2.h ../../include/openssl/pkcs12.h
164142425Snectarpem_pk8.o: ../../include/openssl/pkcs7.h ../../include/openssl/rand.h
165160814Ssimonpem_pk8.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h
166160814Ssimonpem_pk8.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
167160814Ssimonpem_pk8.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h
168160814Ssimonpem_pk8.o: ../cryptlib.h pem_pk8.c
169160814Ssimonpem_pkey.o: ../../e_os.h ../../include/openssl/asn1.h
170160814Ssimonpem_pkey.o: ../../include/openssl/bio.h ../../include/openssl/buffer.h
171160814Ssimonpem_pkey.o: ../../include/openssl/crypto.h ../../include/openssl/e_os2.h
172160814Ssimonpem_pkey.o: ../../include/openssl/ec.h ../../include/openssl/ecdh.h
173160814Ssimonpem_pkey.o: ../../include/openssl/ecdsa.h ../../include/openssl/err.h
174160814Ssimonpem_pkey.o: ../../include/openssl/evp.h ../../include/openssl/lhash.h
175142425Snectarpem_pkey.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h
176142425Snectarpem_pkey.o: ../../include/openssl/opensslconf.h
177142425Snectarpem_pkey.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
178142425Snectarpem_pkey.o: ../../include/openssl/pem.h ../../include/openssl/pem2.h
179142425Snectarpem_pkey.o: ../../include/openssl/pkcs12.h ../../include/openssl/pkcs7.h
180160814Ssimonpem_pkey.o: ../../include/openssl/rand.h ../../include/openssl/safestack.h
181160814Ssimonpem_pkey.o: ../../include/openssl/sha.h ../../include/openssl/stack.h
182160814Ssimonpem_pkey.o: ../../include/openssl/symhacks.h ../../include/openssl/x509.h
183160814Ssimonpem_pkey.o: ../../include/openssl/x509_vfy.h ../cryptlib.h pem_pkey.c
184160814Ssimonpem_seal.o: ../../e_os.h ../../include/openssl/asn1.h
185160814Ssimonpem_seal.o: ../../include/openssl/bio.h ../../include/openssl/buffer.h
186160814Ssimonpem_seal.o: ../../include/openssl/crypto.h ../../include/openssl/e_os2.h
187160814Ssimonpem_seal.o: ../../include/openssl/ec.h ../../include/openssl/ecdh.h
188160814Ssimonpem_seal.o: ../../include/openssl/ecdsa.h ../../include/openssl/err.h
189160814Ssimonpem_seal.o: ../../include/openssl/evp.h ../../include/openssl/lhash.h
190142425Snectarpem_seal.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h
191142425Snectarpem_seal.o: ../../include/openssl/opensslconf.h
192142425Snectarpem_seal.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
193142425Snectarpem_seal.o: ../../include/openssl/pem.h ../../include/openssl/pem2.h
194142425Snectarpem_seal.o: ../../include/openssl/pkcs7.h ../../include/openssl/rand.h
195142425Snectarpem_seal.o: ../../include/openssl/rsa.h ../../include/openssl/safestack.h
196142425Snectarpem_seal.o: ../../include/openssl/sha.h ../../include/openssl/stack.h
197160814Ssimonpem_seal.o: ../../include/openssl/symhacks.h ../../include/openssl/x509.h
198142425Snectarpem_seal.o: ../../include/openssl/x509_vfy.h ../cryptlib.h pem_seal.c
199160814Ssimonpem_sign.o: ../../e_os.h ../../include/openssl/asn1.h
200160814Ssimonpem_sign.o: ../../include/openssl/bio.h ../../include/openssl/buffer.h
201160814Ssimonpem_sign.o: ../../include/openssl/crypto.h ../../include/openssl/e_os2.h
202160814Ssimonpem_sign.o: ../../include/openssl/ec.h ../../include/openssl/ecdh.h
203160814Ssimonpem_sign.o: ../../include/openssl/ecdsa.h ../../include/openssl/err.h
204160814Ssimonpem_sign.o: ../../include/openssl/evp.h ../../include/openssl/lhash.h
205142425Snectarpem_sign.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h
206142425Snectarpem_sign.o: ../../include/openssl/opensslconf.h
207142425Snectarpem_sign.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
208142425Snectarpem_sign.o: ../../include/openssl/pem.h ../../include/openssl/pem2.h
209142425Snectarpem_sign.o: ../../include/openssl/pkcs7.h ../../include/openssl/rand.h
210160814Ssimonpem_sign.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h
211160814Ssimonpem_sign.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
212160814Ssimonpem_sign.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h
213160814Ssimonpem_sign.o: ../cryptlib.h pem_sign.c
214160814Ssimonpem_x509.o: ../../e_os.h ../../include/openssl/asn1.h
215160814Ssimonpem_x509.o: ../../include/openssl/bio.h ../../include/openssl/buffer.h
216160814Ssimonpem_x509.o: ../../include/openssl/crypto.h ../../include/openssl/e_os2.h
217160814Ssimonpem_x509.o: ../../include/openssl/ec.h ../../include/openssl/ecdh.h
218160814Ssimonpem_x509.o: ../../include/openssl/ecdsa.h ../../include/openssl/err.h
219160814Ssimonpem_x509.o: ../../include/openssl/evp.h ../../include/openssl/lhash.h
220142425Snectarpem_x509.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h
221142425Snectarpem_x509.o: ../../include/openssl/opensslconf.h
222142425Snectarpem_x509.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
223142425Snectarpem_x509.o: ../../include/openssl/pem.h ../../include/openssl/pem2.h
224160814Ssimonpem_x509.o: ../../include/openssl/pkcs7.h ../../include/openssl/safestack.h
225160814Ssimonpem_x509.o: ../../include/openssl/sha.h ../../include/openssl/stack.h
226160814Ssimonpem_x509.o: ../../include/openssl/symhacks.h ../../include/openssl/x509.h
227160814Ssimonpem_x509.o: ../../include/openssl/x509_vfy.h ../cryptlib.h pem_x509.c
228160814Ssimonpem_xaux.o: ../../e_os.h ../../include/openssl/asn1.h
229160814Ssimonpem_xaux.o: ../../include/openssl/bio.h ../../include/openssl/buffer.h
230160814Ssimonpem_xaux.o: ../../include/openssl/crypto.h ../../include/openssl/e_os2.h
231160814Ssimonpem_xaux.o: ../../include/openssl/ec.h ../../include/openssl/ecdh.h
232160814Ssimonpem_xaux.o: ../../include/openssl/ecdsa.h ../../include/openssl/err.h
233160814Ssimonpem_xaux.o: ../../include/openssl/evp.h ../../include/openssl/lhash.h
234142425Snectarpem_xaux.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h
235142425Snectarpem_xaux.o: ../../include/openssl/opensslconf.h
236142425Snectarpem_xaux.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
237142425Snectarpem_xaux.o: ../../include/openssl/pem.h ../../include/openssl/pem2.h
238160814Ssimonpem_xaux.o: ../../include/openssl/pkcs7.h ../../include/openssl/safestack.h
239160814Ssimonpem_xaux.o: ../../include/openssl/sha.h ../../include/openssl/stack.h
240160814Ssimonpem_xaux.o: ../../include/openssl/symhacks.h ../../include/openssl/x509.h
241160814Ssimonpem_xaux.o: ../../include/openssl/x509_vfy.h ../cryptlib.h pem_xaux.c
242