time stamp Makefile, test files
[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_resp_utils.c ts_resp_print.c \
29         ts_resp_sign.c ts_resp_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_resp_utils.o ts_resp_print.o \
32         ts_resp_sign.o ts_resp_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         @for i in $(EXHEADER) ; \
64         do  \
65         (cp $$i $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i; \
66         chmod 644 $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i ); \
67         done;
68
69 tags:
70         ctags $(SRC)
71
72 lint:
73         lint -DLINT $(INCLUDES) $(SRC)>fluff
74
75 depend:
76         $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(LIBSRC)
77
78 dclean:
79         $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new
80         mv -f Makefile.new $(MAKEFILE)
81
82 clean:
83         rm -f *.o *.obj lib tags core .pure .nfs* *.old *.bak fluff enc dec sign verify
84
85 # DO NOT DELETE THIS LINE -- make depend depends on it.
86
87 ts_lib.o: ../../e_os.h ../../include/openssl/asn1.h ../../include/openssl/bio.h
88 ts_lib.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h
89 ts_lib.o: ../../include/openssl/conf.h ../../include/openssl/crypto.h
90 ts_lib.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h
91 ts_lib.o: ../../include/openssl/e_os2.h ../../include/openssl/ec.h
92 ts_lib.o: ../../include/openssl/ecdh.h ../../include/openssl/ecdsa.h
93 ts_lib.o: ../../include/openssl/err.h ../../include/openssl/evp.h
94 ts_lib.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h
95 ts_lib.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h
96 ts_lib.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
97 ts_lib.o: ../../include/openssl/pkcs7.h ../../include/openssl/rsa.h
98 ts_lib.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h
99 ts_lib.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
100 ts_lib.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h
101 ts_lib.o: ../../include/openssl/x509v3.h ../cryptlib.h ts.h ts_lib.c
102 ts_resp_print.o: ../../e_os.h ../../include/openssl/asn1.h
103 ts_resp_print.o: ../../include/openssl/bio.h ../../include/openssl/bn.h
104 ts_resp_print.o: ../../include/openssl/buffer.h ../../include/openssl/conf.h
105 ts_resp_print.o: ../../include/openssl/crypto.h ../../include/openssl/dh.h
106 ts_resp_print.o: ../../include/openssl/dsa.h ../../include/openssl/e_os2.h
107 ts_resp_print.o: ../../include/openssl/ec.h ../../include/openssl/ecdh.h
108 ts_resp_print.o: ../../include/openssl/ecdsa.h ../../include/openssl/err.h
109 ts_resp_print.o: ../../include/openssl/evp.h ../../include/openssl/lhash.h
110 ts_resp_print.o: ../../include/openssl/obj_mac.h
111 ts_resp_print.o: ../../include/openssl/objects.h
112 ts_resp_print.o: ../../include/openssl/opensslconf.h
113 ts_resp_print.o: ../../include/openssl/opensslv.h
114 ts_resp_print.o: ../../include/openssl/ossl_typ.h ../../include/openssl/pkcs7.h
115 ts_resp_print.o: ../../include/openssl/rsa.h ../../include/openssl/safestack.h
116 ts_resp_print.o: ../../include/openssl/sha.h ../../include/openssl/stack.h
117 ts_resp_print.o: ../../include/openssl/symhacks.h ../../include/openssl/x509.h
118 ts_resp_print.o: ../../include/openssl/x509_vfy.h
119 ts_resp_print.o: ../../include/openssl/x509v3.h ../cryptlib.h ts.h
120 ts_resp_print.o: ts_resp_print.c