make update
[openssl.git] / crypto / ts / Makefile
1 #
2 # SSLeay/crypto/ts/Makefile
3 #
4
5 DIR=    ts
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 MAKEDEPPROG=    makedepend
14 MAKEDEPEND=     $(TOP)/util/domd $(TOP) -MD $(MAKEDEPPROG)
15 MAKEFILE=       Makefile
16 AR=             ar r
17
18 PEX_LIBS=
19 EX_LIBS=
20  
21 CFLAGS= $(INCLUDES) $(CFLAG)
22
23 GENERAL= Makefile
24 TEST=
25 APPS=
26
27 LIB=$(TOP)/libcrypto.a
28 LIBSRC= ts_err.c ts_req_utils.c ts_req_print.c ts_rsp_utils.c ts_rsp_print.c \
29         ts_rsp_sign.c ts_rsp_verify.c ts_verify_ctx.c ts_lib.c ts_conf.c \
30         ts_asn1.c
31 LIBOBJ= ts_err.o ts_req_utils.o ts_req_print.o ts_rsp_utils.o ts_rsp_print.o \
32         ts_rsp_sign.o ts_rsp_verify.o ts_verify_ctx.o ts_lib.o ts_conf.o \
33         ts_asn1.o
34
35 SRC= $(LIBSRC)
36
37 EXHEADER= ts.h
38 HEADER= $(EXHEADER)
39
40 ALL=    $(GENERAL) $(SRC) $(HEADER)
41
42 top:
43         (cd ../..; $(MAKE) DIRS=crypto SDIRS=$(DIR) sub_all)
44
45 test:
46
47 all:    lib
48
49 lib:    $(LIBOBJ)
50         $(AR) $(LIB) $(LIBOBJ)
51         $(RANLIB) $(LIB) || echo Never mind.
52         @touch lib
53
54 files:
55         $(PERL) $(TOP)/util/files.pl Makefile >> $(TOP)/MINFO
56
57 links:
58         @$(PERL) $(TOP)/util/mklink.pl ../../include/openssl $(EXHEADER)
59         @$(PERL) $(TOP)/util/mklink.pl ../../test $(TEST)
60         @$(PERL) $(TOP)/util/mklink.pl ../../apps $(APPS)
61
62 install:
63         @[ -n "$(INSTALLTOP)" ] # should be set by top Makefile...
64         @headerlist="$(EXHEADER)"; for i in $$headerlist ; \
65         do  \
66         (cp $$i $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i; \
67         chmod 644 $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i ); \
68         done;
69
70 tags:
71         ctags $(SRC)
72
73 lint:
74         lint -DLINT $(INCLUDES) $(SRC)>fluff
75
76 depend:
77         $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(LIBSRC)
78
79 dclean:
80         $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new
81         mv -f Makefile.new $(MAKEFILE)
82
83 clean:
84         rm -f *.o *.obj lib tags core .pure .nfs* *.old *.bak fluff enc dec sign verify
85
86 # DO NOT DELETE THIS LINE -- make depend depends on it.
87
88 ts_asn1.o: ../../include/openssl/asn1.h ../../include/openssl/asn1t.h
89 ts_asn1.o: ../../include/openssl/bio.h ../../include/openssl/conf.h
90 ts_asn1.o: ../../include/openssl/err.h ../../include/openssl/lhash.h
91 ts_asn1.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h
92 ts_asn1.o: ../../include/openssl/pkcs7.h ../../include/openssl/safestack.h
93 ts_asn1.o: ../../include/openssl/stack.h ../../include/openssl/ts.h
94 ts_asn1.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h
95 ts_asn1.o: ../../include/openssl/x509v3.h ts_asn1.c
96 ts_conf.o: ../../e_os.h ../../include/openssl/asn1.h
97 ts_conf.o: ../../include/openssl/bio.h ../../include/openssl/conf.h
98 ts_conf.o: ../../include/openssl/engine.h ../../include/openssl/err.h
99 ts_conf.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h
100 ts_conf.o: ../../include/openssl/objects.h ../../include/openssl/pem.h
101 ts_conf.o: ../../include/openssl/pem2.h ../../include/openssl/pkcs7.h
102 ts_conf.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
103 ts_conf.o: ../../include/openssl/ts.h ../../include/openssl/x509.h
104 ts_conf.o: ../../include/openssl/x509_vfy.h ../../include/openssl/x509v3.h
105 ts_conf.o: ../cryptlib.h ts_conf.c
106 ts_err.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
107 ts_err.o: ../../include/openssl/conf.h ../../include/openssl/err.h
108 ts_err.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h
109 ts_err.o: ../../include/openssl/objects.h ../../include/openssl/pkcs7.h
110 ts_err.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
111 ts_err.o: ../../include/openssl/ts.h ../../include/openssl/x509.h
112 ts_err.o: ../../include/openssl/x509_vfy.h ../../include/openssl/x509v3.h
113 ts_err.o: ts_err.c
114 ts_lib.o: ../../e_os.h ../../include/openssl/asn1.h ../../include/openssl/bio.h
115 ts_lib.o: ../../include/openssl/conf.h ../../include/openssl/err.h
116 ts_lib.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h
117 ts_lib.o: ../../include/openssl/objects.h ../../include/openssl/pkcs7.h
118 ts_lib.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
119 ts_lib.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h
120 ts_lib.o: ../../include/openssl/x509v3.h ../cryptlib.h ts.h ts_lib.c
121 ts_req_print.o: ../../e_os.h ../../include/openssl/asn1.h
122 ts_req_print.o: ../../include/openssl/bio.h ../../include/openssl/conf.h
123 ts_req_print.o: ../../include/openssl/err.h ../../include/openssl/lhash.h
124 ts_req_print.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h
125 ts_req_print.o: ../../include/openssl/pkcs7.h ../../include/openssl/safestack.h
126 ts_req_print.o: ../../include/openssl/stack.h ../../include/openssl/ts.h
127 ts_req_print.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h
128 ts_req_print.o: ../../include/openssl/x509v3.h ../cryptlib.h ts_req_print.c
129 ts_req_utils.o: ../../e_os.h ../../include/openssl/asn1.h
130 ts_req_utils.o: ../../include/openssl/bio.h ../../include/openssl/conf.h
131 ts_req_utils.o: ../../include/openssl/err.h ../../include/openssl/lhash.h
132 ts_req_utils.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h
133 ts_req_utils.o: ../../include/openssl/pkcs7.h ../../include/openssl/safestack.h
134 ts_req_utils.o: ../../include/openssl/stack.h ../../include/openssl/ts.h
135 ts_req_utils.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h
136 ts_req_utils.o: ../../include/openssl/x509v3.h ../cryptlib.h ts_req_utils.c
137 ts_rsp_print.o: ../../e_os.h ../../include/openssl/asn1.h
138 ts_rsp_print.o: ../../include/openssl/bio.h ../../include/openssl/conf.h
139 ts_rsp_print.o: ../../include/openssl/err.h ../../include/openssl/lhash.h
140 ts_rsp_print.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h
141 ts_rsp_print.o: ../../include/openssl/pkcs7.h ../../include/openssl/safestack.h
142 ts_rsp_print.o: ../../include/openssl/stack.h ../../include/openssl/x509.h
143 ts_rsp_print.o: ../../include/openssl/x509_vfy.h ../../include/openssl/x509v3.h
144 ts_rsp_print.o: ../cryptlib.h ts.h ts_rsp_print.c
145 ts_rsp_sign.o: ../../e_os.h ../../include/openssl/asn1.h
146 ts_rsp_sign.o: ../../include/openssl/bio.h ../../include/openssl/conf.h
147 ts_rsp_sign.o: ../../include/openssl/err.h ../../include/openssl/lhash.h
148 ts_rsp_sign.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h
149 ts_rsp_sign.o: ../../include/openssl/pkcs7.h ../../include/openssl/safestack.h
150 ts_rsp_sign.o: ../../include/openssl/stack.h ../../include/openssl/ts.h
151 ts_rsp_sign.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h
152 ts_rsp_sign.o: ../../include/openssl/x509v3.h ../cryptlib.h ts_rsp_sign.c
153 ts_rsp_utils.o: ../../e_os.h ../../include/openssl/asn1.h
154 ts_rsp_utils.o: ../../include/openssl/bio.h ../../include/openssl/conf.h
155 ts_rsp_utils.o: ../../include/openssl/err.h ../../include/openssl/lhash.h
156 ts_rsp_utils.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h
157 ts_rsp_utils.o: ../../include/openssl/pkcs7.h ../../include/openssl/safestack.h
158 ts_rsp_utils.o: ../../include/openssl/stack.h ../../include/openssl/ts.h
159 ts_rsp_utils.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h
160 ts_rsp_utils.o: ../../include/openssl/x509v3.h ../cryptlib.h ts_rsp_utils.c
161 ts_rsp_verify.o: ../../e_os.h ../../include/openssl/asn1.h
162 ts_rsp_verify.o: ../../include/openssl/bio.h ../../include/openssl/conf.h
163 ts_rsp_verify.o: ../../include/openssl/err.h ../../include/openssl/lhash.h
164 ts_rsp_verify.o: ../../include/openssl/obj_mac.h
165 ts_rsp_verify.o: ../../include/openssl/objects.h ../../include/openssl/pkcs7.h
166 ts_rsp_verify.o: ../../include/openssl/safestack.h
167 ts_rsp_verify.o: ../../include/openssl/stack.h ../../include/openssl/ts.h
168 ts_rsp_verify.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h
169 ts_rsp_verify.o: ../../include/openssl/x509v3.h ../cryptlib.h ts_rsp_verify.c
170 ts_verify_ctx.o: ../../e_os.h ../../include/openssl/asn1.h
171 ts_verify_ctx.o: ../../include/openssl/bio.h ../../include/openssl/conf.h
172 ts_verify_ctx.o: ../../include/openssl/err.h ../../include/openssl/lhash.h
173 ts_verify_ctx.o: ../../include/openssl/obj_mac.h
174 ts_verify_ctx.o: ../../include/openssl/objects.h ../../include/openssl/pkcs7.h
175 ts_verify_ctx.o: ../../include/openssl/safestack.h
176 ts_verify_ctx.o: ../../include/openssl/stack.h ../../include/openssl/ts.h
177 ts_verify_ctx.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h
178 ts_verify_ctx.o: ../../include/openssl/x509v3.h ../cryptlib.h ts_verify_ctx.c