make update
[openssl.git] / crypto / cmac / Makefile
1 #
2 # OpenSSL/crypto/cmac/Makefile
3 #
4
5 DIR=    cmac
6 TOP=    ../..
7 CC=     cc
8 INCLUDES=
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=cmac.c cm_ameth.c cm_pmeth.c
19 LIBOBJ=cmac.o cm_ameth.o cm_pmeth.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 all:    lib
31
32 lib:    $(LIBOBJ)
33         $(AR) $(LIB) $(LIBOBJ)
34         $(RANLIB) $(LIB) || echo Never mind.
35         @touch lib
36
37 files:
38         $(PERL) $(TOP)/util/files.pl Makefile >> $(TOP)/MINFO
39
40 tags:
41         ctags $(SRC)
42
43 tests:
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 cm_ameth.o: ../../e_os.h ../../include/openssl/asn1.h
64 cm_ameth.o: ../../include/openssl/bio.h ../../include/openssl/buffer.h
65 cm_ameth.o: ../../include/openssl/cmac.h ../../include/openssl/crypto.h
66 cm_ameth.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
67 cm_ameth.o: ../../include/openssl/evp.h ../../include/openssl/lhash.h
68 cm_ameth.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h
69 cm_ameth.o: ../../include/openssl/opensslconf.h
70 cm_ameth.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
71 cm_ameth.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
72 cm_ameth.o: ../../include/openssl/symhacks.h ../include/internal/asn1_int.h
73 cm_ameth.o: ../include/internal/cryptlib.h cm_ameth.c
74 cm_pmeth.o: ../../e_os.h ../../include/openssl/asn1.h
75 cm_pmeth.o: ../../include/openssl/bio.h ../../include/openssl/buffer.h
76 cm_pmeth.o: ../../include/openssl/cmac.h ../../include/openssl/conf.h
77 cm_pmeth.o: ../../include/openssl/crypto.h ../../include/openssl/e_os2.h
78 cm_pmeth.o: ../../include/openssl/ec.h ../../include/openssl/err.h
79 cm_pmeth.o: ../../include/openssl/evp.h ../../include/openssl/lhash.h
80 cm_pmeth.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h
81 cm_pmeth.o: ../../include/openssl/opensslconf.h
82 cm_pmeth.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
83 cm_pmeth.o: ../../include/openssl/pkcs7.h ../../include/openssl/safestack.h
84 cm_pmeth.o: ../../include/openssl/sha.h ../../include/openssl/stack.h
85 cm_pmeth.o: ../../include/openssl/symhacks.h ../../include/openssl/x509.h
86 cm_pmeth.o: ../../include/openssl/x509_vfy.h ../../include/openssl/x509v3.h
87 cm_pmeth.o: ../include/internal/cryptlib.h ../include/internal/evp_int.h
88 cm_pmeth.o: cm_pmeth.c
89 cmac.o: ../../e_os.h ../../include/openssl/asn1.h ../../include/openssl/bio.h
90 cmac.o: ../../include/openssl/buffer.h ../../include/openssl/cmac.h
91 cmac.o: ../../include/openssl/crypto.h ../../include/openssl/e_os2.h
92 cmac.o: ../../include/openssl/err.h ../../include/openssl/evp.h
93 cmac.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h
94 cmac.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h
95 cmac.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
96 cmac.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
97 cmac.o: ../../include/openssl/symhacks.h ../include/internal/cryptlib.h cmac.c