81cbbc0b5fb8aebf8a10fe774f0812cdfd688c9d
[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 conf_mall.c
27
28 LIBOBJ= conf_err.o conf_lib.o conf_api.o conf_def.o conf_mod.o conf_mall.o
29
30 SRC= $(LIBSRC)
31
32 EXHEADER= conf.h conf_api.h
33 HEADER= conf_def.h $(EXHEADER)
34
35 ALL=    $(GENERAL) $(SRC) $(HEADER)
36
37 top:
38         (cd ../..; $(MAKE) DIRS=crypto SDIRS=$(DIR) sub_all)
39
40 all:    lib
41
42 lib:    $(LIBOBJ)
43         $(AR) $(LIB) $(LIBOBJ)
44         $(RANLIB) $(LIB) || echo Never mind.
45         @touch lib
46
47 files:
48         $(PERL) $(TOP)/util/files.pl Makefile.ssl >> $(TOP)/MINFO
49
50 links:
51         @$(TOP)/util/point.sh Makefile.ssl Makefile
52         @$(PERL) $(TOP)/util/mklink.pl ../../include/openssl $(EXHEADER)
53         @$(PERL) $(TOP)/util/mklink.pl ../../test $(TEST)
54         @$(PERL) $(TOP)/util/mklink.pl ../../apps $(APPS)
55
56 install:
57         @for i in $(EXHEADER) ; \
58         do  \
59         (cp $$i $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i; \
60         chmod 644 $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i ); \
61         done;
62
63 tags:
64         ctags $(SRC)
65
66 tests:
67
68 lint:
69         lint -DLINT $(INCLUDES) $(SRC)>fluff
70
71 depend:
72         $(MAKEDEPEND) $(INCLUDES) $(DEPFLAG) $(LIBSRC)
73
74 dclean:
75         $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new
76         mv -f Makefile.new $(MAKEFILE)
77
78 clean:
79         rm -f *.o *.obj lib tags core .pure .nfs* *.old *.bak fluff
80
81 # DO NOT DELETE THIS LINE -- make depend depends on it.
82
83 conf_api.o: ../../e_os.h ../../include/openssl/bio.h
84 conf_api.o: ../../include/openssl/conf.h ../../include/openssl/conf_api.h
85 conf_api.o: ../../include/openssl/crypto.h ../../include/openssl/e_os2.h
86 conf_api.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h
87 conf_api.o: ../../include/openssl/opensslv.h ../../include/openssl/safestack.h
88 conf_api.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
89 conf_api.o: conf_api.c
90 conf_def.o: ../../include/openssl/bio.h ../../include/openssl/buffer.h
91 conf_def.o: ../../include/openssl/conf.h ../../include/openssl/conf_api.h
92 conf_def.o: ../../include/openssl/crypto.h ../../include/openssl/e_os2.h
93 conf_def.o: ../../include/openssl/err.h ../../include/openssl/lhash.h
94 conf_def.o: ../../include/openssl/opensslconf.h
95 conf_def.o: ../../include/openssl/opensslv.h ../../include/openssl/safestack.h
96 conf_def.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
97 conf_def.o: conf_def.c conf_def.h
98 conf_err.o: ../../include/openssl/bio.h ../../include/openssl/conf.h
99 conf_err.o: ../../include/openssl/crypto.h ../../include/openssl/e_os2.h
100 conf_err.o: ../../include/openssl/err.h ../../include/openssl/lhash.h
101 conf_err.o: ../../include/openssl/opensslconf.h
102 conf_err.o: ../../include/openssl/opensslv.h ../../include/openssl/safestack.h
103 conf_err.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
104 conf_err.o: conf_err.c
105 conf_lib.o: ../../include/openssl/bio.h ../../include/openssl/conf.h
106 conf_lib.o: ../../include/openssl/conf_api.h ../../include/openssl/crypto.h
107 conf_lib.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
108 conf_lib.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h
109 conf_lib.o: ../../include/openssl/opensslv.h ../../include/openssl/safestack.h
110 conf_lib.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
111 conf_lib.o: conf_lib.c
112 conf_mall.o: ../../e_os.h ../../include/openssl/asn1.h
113 conf_mall.o: ../../include/openssl/asn1t.h ../../include/openssl/bio.h
114 conf_mall.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h
115 conf_mall.o: ../../include/openssl/conf.h ../../include/openssl/crypto.h
116 conf_mall.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h
117 conf_mall.o: ../../include/openssl/dso.h ../../include/openssl/e_os2.h
118 conf_mall.o: ../../include/openssl/ec.h ../../include/openssl/ecdsa.h
119 conf_mall.o: ../../include/openssl/engine.h ../../include/openssl/err.h
120 conf_mall.o: ../../include/openssl/evp.h ../../include/openssl/lhash.h
121 conf_mall.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h
122 conf_mall.o: ../../include/openssl/opensslconf.h
123 conf_mall.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
124 conf_mall.o: ../../include/openssl/pkcs7.h ../../include/openssl/rand.h
125 conf_mall.o: ../../include/openssl/rsa.h ../../include/openssl/safestack.h
126 conf_mall.o: ../../include/openssl/sha.h ../../include/openssl/stack.h
127 conf_mall.o: ../../include/openssl/symhacks.h ../../include/openssl/ui.h
128 conf_mall.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h
129 conf_mall.o: ../cryptlib.h conf_mall.c
130 conf_mod.o: ../../e_os.h ../../include/openssl/asn1.h
131 conf_mod.o: ../../include/openssl/asn1t.h ../../include/openssl/bio.h
132 conf_mod.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h
133 conf_mod.o: ../../include/openssl/conf.h ../../include/openssl/crypto.h
134 conf_mod.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h
135 conf_mod.o: ../../include/openssl/dso.h ../../include/openssl/e_os2.h
136 conf_mod.o: ../../include/openssl/ec.h ../../include/openssl/ecdsa.h
137 conf_mod.o: ../../include/openssl/err.h ../../include/openssl/evp.h
138 conf_mod.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h
139 conf_mod.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h
140 conf_mod.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
141 conf_mod.o: ../../include/openssl/pkcs7.h ../../include/openssl/rsa.h
142 conf_mod.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h
143 conf_mod.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
144 conf_mod.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h
145 conf_mod.o: ../cryptlib.h conf_mod.c