1#
2# OpenSSL/crypto/conf/Makefile
3#
4
5DIR=	conf
6TOP=	../..
7CC=	cc
8INCLUDES= -I.. -I$(TOP) -I../../include
9CFLAG=-g
10MAKEFILE=	Makefile
11AR=		ar r
12
13CFLAGS= $(INCLUDES) $(CFLAG)
14
15GENERAL=Makefile
16TEST=
17APPS=
18
19LIB=$(TOP)/libcrypto.a
20LIBSRC= conf_err.c conf_lib.c conf_api.c conf_def.c conf_mod.c \
21	 conf_mall.c conf_sap.c
22
23LIBOBJ=	conf_err.o conf_lib.o conf_api.o conf_def.o conf_mod.o \
24	conf_mall.o conf_sap.o
25
26SRC= $(LIBSRC)
27
28EXHEADER= conf.h conf_api.h
29HEADER=	conf_def.h $(EXHEADER)
30
31ALL=    $(GENERAL) $(SRC) $(HEADER)
32
33top:
34	(cd ../..; $(MAKE) DIRS=crypto SDIRS=$(DIR) sub_all)
35
36all:	lib
37
38lib:	$(LIBOBJ)
39	$(AR) $(LIB) $(LIBOBJ)
40	$(RANLIB) $(LIB) || echo Never mind.
41	@touch lib
42
43files:
44	$(PERL) $(TOP)/util/files.pl Makefile >> $(TOP)/MINFO
45
46links:
47	@$(PERL) $(TOP)/util/mklink.pl ../../include/openssl $(EXHEADER)
48	@$(PERL) $(TOP)/util/mklink.pl ../../test $(TEST)
49	@$(PERL) $(TOP)/util/mklink.pl ../../apps $(APPS)
50
51install:
52	@[ -n "$(INSTALLTOP)" ] # should be set by top Makefile...
53	@headerlist="$(EXHEADER)"; for i in $$headerlist ; \
54	do  \
55	(cp $$i $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i; \
56	chmod 644 $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i ); \
57	done;
58
59tags:
60	ctags $(SRC)
61
62tests:
63
64lint:
65	lint -DLINT $(INCLUDES) $(SRC)>fluff
66
67update: depend
68
69depend:
70	@[ -n "$(MAKEDEPEND)" ] # should be set by upper Makefile...
71	$(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(LIBSRC)
72
73dclean:
74	$(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new
75	mv -f Makefile.new $(MAKEFILE)
76
77clean:
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
82conf_api.o: ../../e_os.h ../../include/openssl/bio.h
83conf_api.o: ../../include/openssl/buffer.h ../../include/openssl/conf.h
84conf_api.o: ../../include/openssl/conf_api.h ../../include/openssl/crypto.h
85conf_api.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
86conf_api.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h
87conf_api.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
88conf_api.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
89conf_api.o: ../../include/openssl/symhacks.h ../cryptlib.h conf_api.c
90conf_def.o: ../../e_os.h ../../include/openssl/bio.h
91conf_def.o: ../../include/openssl/buffer.h ../../include/openssl/conf.h
92conf_def.o: ../../include/openssl/conf_api.h ../../include/openssl/crypto.h
93conf_def.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
94conf_def.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h
95conf_def.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
96conf_def.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
97conf_def.o: ../../include/openssl/symhacks.h ../cryptlib.h conf_def.c
98conf_def.o: conf_def.h
99conf_err.o: ../../include/openssl/bio.h ../../include/openssl/conf.h
100conf_err.o: ../../include/openssl/crypto.h ../../include/openssl/e_os2.h
101conf_err.o: ../../include/openssl/err.h ../../include/openssl/lhash.h
102conf_err.o: ../../include/openssl/opensslconf.h
103conf_err.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
104conf_err.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
105conf_err.o: ../../include/openssl/symhacks.h conf_err.c
106conf_lib.o: ../../include/openssl/bio.h ../../include/openssl/conf.h
107conf_lib.o: ../../include/openssl/conf_api.h ../../include/openssl/crypto.h
108conf_lib.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
109conf_lib.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h
110conf_lib.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
111conf_lib.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
112conf_lib.o: ../../include/openssl/symhacks.h conf_lib.c
113conf_mall.o: ../../e_os.h ../../include/openssl/asn1.h
114conf_mall.o: ../../include/openssl/bio.h ../../include/openssl/buffer.h
115conf_mall.o: ../../include/openssl/conf.h ../../include/openssl/crypto.h
116conf_mall.o: ../../include/openssl/dso.h ../../include/openssl/e_os2.h
117conf_mall.o: ../../include/openssl/ec.h ../../include/openssl/ecdh.h
118conf_mall.o: ../../include/openssl/ecdsa.h ../../include/openssl/engine.h
119conf_mall.o: ../../include/openssl/err.h ../../include/openssl/evp.h
120conf_mall.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h
121conf_mall.o: ../../include/openssl/objects.h
122conf_mall.o: ../../include/openssl/opensslconf.h
123conf_mall.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
124conf_mall.o: ../../include/openssl/pkcs7.h ../../include/openssl/safestack.h
125conf_mall.o: ../../include/openssl/sha.h ../../include/openssl/stack.h
126conf_mall.o: ../../include/openssl/symhacks.h ../../include/openssl/x509.h
127conf_mall.o: ../../include/openssl/x509_vfy.h ../cryptlib.h conf_mall.c
128conf_mod.o: ../../e_os.h ../../include/openssl/asn1.h
129conf_mod.o: ../../include/openssl/bio.h ../../include/openssl/buffer.h
130conf_mod.o: ../../include/openssl/conf.h ../../include/openssl/crypto.h
131conf_mod.o: ../../include/openssl/dso.h ../../include/openssl/e_os2.h
132conf_mod.o: ../../include/openssl/ec.h ../../include/openssl/ecdh.h
133conf_mod.o: ../../include/openssl/ecdsa.h ../../include/openssl/err.h
134conf_mod.o: ../../include/openssl/evp.h ../../include/openssl/lhash.h
135conf_mod.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h
136conf_mod.o: ../../include/openssl/opensslconf.h
137conf_mod.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
138conf_mod.o: ../../include/openssl/pkcs7.h ../../include/openssl/safestack.h
139conf_mod.o: ../../include/openssl/sha.h ../../include/openssl/stack.h
140conf_mod.o: ../../include/openssl/symhacks.h ../../include/openssl/x509.h
141conf_mod.o: ../../include/openssl/x509_vfy.h ../cryptlib.h conf_mod.c
142conf_sap.o: ../../e_os.h ../../include/openssl/asn1.h
143conf_sap.o: ../../include/openssl/bio.h ../../include/openssl/buffer.h
144conf_sap.o: ../../include/openssl/conf.h ../../include/openssl/crypto.h
145conf_sap.o: ../../include/openssl/dso.h ../../include/openssl/e_os2.h
146conf_sap.o: ../../include/openssl/ec.h ../../include/openssl/ecdh.h
147conf_sap.o: ../../include/openssl/ecdsa.h ../../include/openssl/engine.h
148conf_sap.o: ../../include/openssl/err.h ../../include/openssl/evp.h
149conf_sap.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h
150conf_sap.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h
151conf_sap.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
152conf_sap.o: ../../include/openssl/pkcs7.h ../../include/openssl/safestack.h
153conf_sap.o: ../../include/openssl/sha.h ../../include/openssl/stack.h
154conf_sap.o: ../../include/openssl/symhacks.h ../../include/openssl/x509.h
155conf_sap.o: ../../include/openssl/x509_vfy.h ../cryptlib.h conf_sap.c
156