c0cf9f987abce4404485b180add49152e39ce3c8
[openssl.git] / crypto / conf / Makefile.ssl
1 #
2 # SSLeay/crypto/conf/Makefile
3 #
4
5 DIR=    conf
6 TOP=    ../..
7 CC=     cc
8 INCLUDES= -I.. -I$(TOP) -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 MAKEDEPPROG=    makedepend
15 MAKEDEPEND=     $(TOP)/util/domd $(TOP) -MD $(MAKEDEPPROG)
16 MAKEFILE=       Makefile.ssl
17 AR=             ar r
18
19 CFLAGS= $(INCLUDES) $(CFLAG)
20
21 GENERAL=Makefile
22 TEST=
23 APPS=
24
25 LIB=$(TOP)/libcrypto.a
26 LIBSRC= conf_err.c conf_lib.c conf_api.c conf_def.c conf_mod.c \
27          conf_mall.c conf_sap.c
28
29 LIBOBJ= conf_err.o conf_lib.o conf_api.o conf_def.o conf_mod.o \
30         conf_mall.o conf_sap.o
31
32 SRC= $(LIBSRC)
33
34 EXHEADER= conf.h conf_api.h
35 HEADER= conf_def.h $(EXHEADER)
36
37 ALL=    $(GENERAL) $(SRC) $(HEADER)
38
39 top:
40         (cd ../..; $(MAKE) DIRS=crypto SDIRS=$(DIR) sub_all)
41
42 all:    lib
43
44 lib:    $(LIBOBJ)
45         $(AR) $(LIB) $(LIBOBJ)
46         $(RANLIB) $(LIB) || echo Never mind.
47         @touch lib
48
49 files:
50         $(PERL) $(TOP)/util/files.pl Makefile.ssl >> $(TOP)/MINFO
51
52 links:
53         @$(TOP)/util/point.sh Makefile.ssl Makefile
54         @$(PERL) $(TOP)/util/mklink.pl ../../include/openssl $(EXHEADER)
55         @$(PERL) $(TOP)/util/mklink.pl ../../test $(TEST)
56         @$(PERL) $(TOP)/util/mklink.pl ../../apps $(APPS)
57
58 install:
59         @for i in $(EXHEADER) ; \
60         do  \
61         (cp $$i $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i; \
62         chmod 644 $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i ); \
63         done;
64
65 tags:
66         ctags $(SRC)
67
68 tests:
69
70 lint:
71         lint -DLINT $(INCLUDES) $(SRC)>fluff
72
73 depend:
74         $(MAKEDEPEND) $(CFLAG) $(INCLUDES) $(DEPFLAG) $(LIBSRC)
75
76 dclean:
77         $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new
78         mv -f Makefile.new $(MAKEFILE)
79
80 clean:
81         rm -f *.o *.obj lib tags core .pure .nfs* *.old *.bak fluff
82
83 # DO NOT DELETE THIS LINE -- make depend depends on it.
84
85 conf_api.o: ../../e_os.h ../../include/openssl/bio.h
86 conf_api.o: ../../include/openssl/conf.h ../../include/openssl/conf_api.h
87 conf_api.o: ../../include/openssl/crypto.h ../../include/openssl/e_os2.h
88 conf_api.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h
89 conf_api.o: ../../include/openssl/opensslv.h ../../include/openssl/safestack.h
90 conf_api.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
91 conf_api.o: conf_api.c
92 conf_def.o: ../../e_os.h ../../include/openssl/bio.h
93 conf_def.o: ../../include/openssl/buffer.h ../../include/openssl/conf.h
94 conf_def.o: ../../include/openssl/conf_api.h ../../include/openssl/crypto.h
95 conf_def.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
96 conf_def.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h
97 conf_def.o: ../../include/openssl/opensslv.h ../../include/openssl/safestack.h
98 conf_def.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
99 conf_def.o: ../cryptlib.h conf_def.c conf_def.h
100 conf_err.o: ../../include/openssl/bio.h ../../include/openssl/conf.h
101 conf_err.o: ../../include/openssl/crypto.h ../../include/openssl/e_os2.h
102 conf_err.o: ../../include/openssl/err.h ../../include/openssl/lhash.h
103 conf_err.o: ../../include/openssl/opensslconf.h
104 conf_err.o: ../../include/openssl/opensslv.h ../../include/openssl/safestack.h
105 conf_err.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
106 conf_err.o: conf_err.c
107 conf_lib.o: ../../include/openssl/bio.h ../../include/openssl/conf.h
108 conf_lib.o: ../../include/openssl/conf_api.h ../../include/openssl/crypto.h
109 conf_lib.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
110 conf_lib.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h
111 conf_lib.o: ../../include/openssl/opensslv.h ../../include/openssl/safestack.h
112 conf_lib.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
113 conf_lib.o: conf_lib.c
114 conf_mall.o: ../../e_os.h ../../include/openssl/aes.h
115 conf_mall.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
116 conf_mall.o: ../../include/openssl/blowfish.h ../../include/openssl/bn.h
117 conf_mall.o: ../../include/openssl/buffer.h ../../include/openssl/cast.h
118 conf_mall.o: ../../include/openssl/conf.h ../../include/openssl/crypto.h
119 conf_mall.o: ../../include/openssl/des.h ../../include/openssl/des_old.h
120 conf_mall.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h
121 conf_mall.o: ../../include/openssl/dso.h ../../include/openssl/e_os2.h
122 conf_mall.o: ../../include/openssl/ec.h ../../include/openssl/ecdsa.h
123 conf_mall.o: ../../include/openssl/engine.h ../../include/openssl/err.h
124 conf_mall.o: ../../include/openssl/evp.h ../../include/openssl/idea.h
125 conf_mall.o: ../../include/openssl/lhash.h ../../include/openssl/md2.h
126 conf_mall.o: ../../include/openssl/md4.h ../../include/openssl/md5.h
127 conf_mall.o: ../../include/openssl/mdc2.h ../../include/openssl/obj_mac.h
128 conf_mall.o: ../../include/openssl/objects.h
129 conf_mall.o: ../../include/openssl/opensslconf.h
130 conf_mall.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
131 conf_mall.o: ../../include/openssl/pkcs7.h ../../include/openssl/rand.h
132 conf_mall.o: ../../include/openssl/rc2.h ../../include/openssl/rc4.h
133 conf_mall.o: ../../include/openssl/rc5.h ../../include/openssl/ripemd.h
134 conf_mall.o: ../../include/openssl/rsa.h ../../include/openssl/safestack.h
135 conf_mall.o: ../../include/openssl/sha.h ../../include/openssl/stack.h
136 conf_mall.o: ../../include/openssl/symhacks.h ../../include/openssl/ui.h
137 conf_mall.o: ../../include/openssl/ui_compat.h ../../include/openssl/x509.h
138 conf_mall.o: ../../include/openssl/x509_vfy.h ../cryptlib.h conf_mall.c
139 conf_mod.o: ../../e_os.h ../../include/openssl/aes.h
140 conf_mod.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
141 conf_mod.o: ../../include/openssl/blowfish.h ../../include/openssl/bn.h
142 conf_mod.o: ../../include/openssl/buffer.h ../../include/openssl/cast.h
143 conf_mod.o: ../../include/openssl/conf.h ../../include/openssl/crypto.h
144 conf_mod.o: ../../include/openssl/des.h ../../include/openssl/des_old.h
145 conf_mod.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h
146 conf_mod.o: ../../include/openssl/dso.h ../../include/openssl/e_os2.h
147 conf_mod.o: ../../include/openssl/ec.h ../../include/openssl/ecdsa.h
148 conf_mod.o: ../../include/openssl/err.h ../../include/openssl/evp.h
149 conf_mod.o: ../../include/openssl/idea.h ../../include/openssl/lhash.h
150 conf_mod.o: ../../include/openssl/md2.h ../../include/openssl/md4.h
151 conf_mod.o: ../../include/openssl/md5.h ../../include/openssl/mdc2.h
152 conf_mod.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h
153 conf_mod.o: ../../include/openssl/opensslconf.h
154 conf_mod.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
155 conf_mod.o: ../../include/openssl/pkcs7.h ../../include/openssl/rc2.h
156 conf_mod.o: ../../include/openssl/rc4.h ../../include/openssl/rc5.h
157 conf_mod.o: ../../include/openssl/ripemd.h ../../include/openssl/rsa.h
158 conf_mod.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h
159 conf_mod.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
160 conf_mod.o: ../../include/openssl/ui.h ../../include/openssl/ui_compat.h
161 conf_mod.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h
162 conf_mod.o: ../cryptlib.h conf_mod.c
163 conf_sap.o: ../../e_os.h ../../include/openssl/aes.h
164 conf_sap.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
165 conf_sap.o: ../../include/openssl/blowfish.h ../../include/openssl/bn.h
166 conf_sap.o: ../../include/openssl/buffer.h ../../include/openssl/cast.h
167 conf_sap.o: ../../include/openssl/conf.h ../../include/openssl/crypto.h
168 conf_sap.o: ../../include/openssl/des.h ../../include/openssl/des_old.h
169 conf_sap.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h
170 conf_sap.o: ../../include/openssl/dso.h ../../include/openssl/e_os2.h
171 conf_sap.o: ../../include/openssl/ec.h ../../include/openssl/ecdsa.h
172 conf_sap.o: ../../include/openssl/engine.h ../../include/openssl/err.h
173 conf_sap.o: ../../include/openssl/evp.h ../../include/openssl/idea.h
174 conf_sap.o: ../../include/openssl/lhash.h ../../include/openssl/md2.h
175 conf_sap.o: ../../include/openssl/md4.h ../../include/openssl/md5.h
176 conf_sap.o: ../../include/openssl/mdc2.h ../../include/openssl/obj_mac.h
177 conf_sap.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h
178 conf_sap.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
179 conf_sap.o: ../../include/openssl/pkcs7.h ../../include/openssl/rand.h
180 conf_sap.o: ../../include/openssl/rc2.h ../../include/openssl/rc4.h
181 conf_sap.o: ../../include/openssl/rc5.h ../../include/openssl/ripemd.h
182 conf_sap.o: ../../include/openssl/rsa.h ../../include/openssl/safestack.h
183 conf_sap.o: ../../include/openssl/sha.h ../../include/openssl/stack.h
184 conf_sap.o: ../../include/openssl/symhacks.h ../../include/openssl/ui.h
185 conf_sap.o: ../../include/openssl/ui_compat.h ../../include/openssl/x509.h
186 conf_sap.o: ../../include/openssl/x509_vfy.h ../cryptlib.h conf_sap.c