ct_locl.h moved, reflect it in crypto/ct/Makefile
[openssl.git] / crypto / ct / Makefile
1 #
2 # OpenSSL/crypto/ct/Makefile
3 #
4
5 DIR=    ct
6 TOP=    ../..
7 CC=     cc
8 INCLUDES= -I.. -I$(TOP) -I../../include
9 CFLAG=-g
10 MAKEFILE=       Makefile
11 AR=             ar r
12
13 CFLAGS= $(INCLUDES) $(CFLAG)
14
15 GENERAL=Makefile
16
17 LIB=$(TOP)/libcrypto.a
18 LIBSRC= ct_lib.c
19 LIBOBJ= ct_lib.o
20
21 SRC= $(LIBSRC)
22
23 HEADER= 
24
25 ALL=    $(GENERAL) $(SRC) $(HEADER)
26
27 top:
28         (cd ../..; $(MAKE) DIRS=crypto SDIRS=$(DIR) sub_all)
29
30 test:
31
32 all:    lib
33
34 lib:    $(LIBOBJ)
35         $(AR) $(LIB) $(LIBOBJ)
36         $(RANLIB) $(LIB) || echo Never mind.
37         @touch lib
38
39 files:
40         $(PERL) $(TOP)/util/files.pl Makefile >> $(TOP)/MINFO
41
42 tags:
43         ctags $(SRC)
44
45 lint:
46         lint -DLINT $(INCLUDES) $(SRC)>fluff
47
48 update:  depend
49
50 depend:
51         @[ -n "$(MAKEDEPEND)" ] # should be set by upper Makefile...
52         $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(PROGS) $(LIBSRC)
53
54 dclean:
55         $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new
56         mv -f Makefile.new $(MAKEFILE)
57
58 clean:
59         rm -f *.o *.obj lib tags core .pure .nfs* *.old *.bak fluff
60
61 # DO NOT DELETE THIS LINE -- make depend depends on it.
62
63 ct_lib.o: ../../e_os.h ../../include/openssl/asn1.h ../../include/openssl/bio.h
64 ct_lib.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h
65 ct_lib.o: ../../include/openssl/comp.h ../../include/openssl/crypto.h
66 ct_lib.o: ../../include/openssl/dsa.h ../../include/openssl/dtls1.h
67 ct_lib.o: ../../include/openssl/e_os2.h ../../include/openssl/ec.h
68 ct_lib.o: ../../include/openssl/ecdh.h ../../include/openssl/ecdsa.h
69 ct_lib.o: ../../include/openssl/err.h ../../include/openssl/evp.h
70 ct_lib.o: ../../include/openssl/hmac.h ../../include/openssl/lhash.h
71 ct_lib.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h
72 ct_lib.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
73 ct_lib.o: ../../include/openssl/ossl_typ.h ../../include/openssl/pem.h
74 ct_lib.o: ../../include/openssl/pem2.h ../../include/openssl/pkcs7.h
75 ct_lib.o: ../../include/openssl/pqueue.h ../../include/openssl/rsa.h
76 ct_lib.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h
77 ct_lib.o: ../../include/openssl/srtp.h ../../include/openssl/ssl.h
78 ct_lib.o: ../../include/openssl/ssl2.h ../../include/openssl/ssl3.h
79 ct_lib.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
80 ct_lib.o: ../../include/openssl/tls1.h ../../include/openssl/x509.h
81 ct_lib.o: ../../include/openssl/x509_vfy.h ../../ssl/packet_locl.h
82 ct_lib.o: ../../ssl/record/record.h ../../ssl/ssl_locl.h
83 ct_lib.o: ../include/internal/cryptlib.h ../include/internal/ct_int.h ct_lib.c