Move Makefiles to Makefile.in
[openssl.git] / crypto / ts / Makefile.in
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
25 LIB=$(TOP)/libcrypto.a
26 LIBSRC= ts_err.c ts_req_utils.c ts_req_print.c ts_rsp_utils.c ts_rsp_print.c \
27         ts_rsp_sign.c ts_rsp_verify.c ts_verify_ctx.c ts_lib.c ts_conf.c \
28         ts_asn1.c
29 LIBOBJ= ts_err.o ts_req_utils.o ts_req_print.o ts_rsp_utils.o ts_rsp_print.o \
30         ts_rsp_sign.o ts_rsp_verify.o ts_verify_ctx.o ts_lib.o ts_conf.o \
31         ts_asn1.o
32
33 SRC= $(LIBSRC)
34
35 HEADER= 
36
37 ALL=    $(GENERAL) $(SRC) $(HEADER)
38
39 top:
40         (cd ../..; $(MAKE) DIRS=crypto SDIRS=$(DIR) sub_all)
41
42 test:
43
44 all:    lib
45
46 lib:    $(LIBOBJ)
47         $(AR) $(LIB) $(LIBOBJ)
48         $(RANLIB) $(LIB) || echo Never mind.
49         @touch lib
50
51 files:
52         $(PERL) $(TOP)/util/files.pl Makefile >> $(TOP)/MINFO
53
54 tags:
55         ctags $(SRC)
56
57 lint:
58         lint -DLINT $(INCLUDES) $(SRC)>fluff
59
60 update: depend
61
62 depend:
63         $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(LIBSRC)
64
65 dclean:
66         $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new
67         mv -f Makefile.new $(MAKEFILE)
68
69 clean:
70         rm -f *.o *.obj lib tags core .pure .nfs* *.old *.bak fluff enc dec sign verify
71
72 # DO NOT DELETE THIS LINE -- make depend depends on it.