dcd7347865c668d40e0f9ecb86795f81f4783cc8
[openssl.git] / crypto / err / Makefile
1 #
2 # OpenSSL/crypto/err/Makefile
3 #
4
5 DIR=    err
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=err.c err_all.c err_prn.c
19 LIBOBJ=err.o err_all.o err_prn.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 err.o: ../../e_os.h ../../include/openssl/bio.h ../../include/openssl/buffer.h
64 err.o: ../../include/openssl/crypto.h ../../include/openssl/e_os2.h
65 err.o: ../../include/openssl/err.h ../../include/openssl/lhash.h
66 err.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
67 err.o: ../../include/openssl/ossl_typ.h ../../include/openssl/safestack.h
68 err.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
69 err.o: ../include/internal/cryptlib.h err.c
70 err_all.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
71 err_all.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h
72 err_all.o: ../../include/openssl/cms.h ../../include/openssl/comp.h
73 err_all.o: ../../include/openssl/conf.h ../../include/openssl/crypto.h
74 err_all.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h
75 err_all.o: ../../include/openssl/dso.h ../../include/openssl/e_os2.h
76 err_all.o: ../../include/openssl/ec.h ../../include/openssl/ecdh.h
77 err_all.o: ../../include/openssl/ecdsa.h ../../include/openssl/engine.h
78 err_all.o: ../../include/openssl/err.h ../../include/openssl/evp.h
79 err_all.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h
80 err_all.o: ../../include/openssl/objects.h ../../include/openssl/ocsp.h
81 err_all.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
82 err_all.o: ../../include/openssl/ossl_typ.h ../../include/openssl/pem2.h
83 err_all.o: ../../include/openssl/pkcs12.h ../../include/openssl/pkcs7.h
84 err_all.o: ../../include/openssl/rand.h ../../include/openssl/rsa.h
85 err_all.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h
86 err_all.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
87 err_all.o: ../../include/openssl/ts.h ../../include/openssl/ui.h
88 err_all.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h
89 err_all.o: ../../include/openssl/x509v3.h ../include/internal/ct_int.h
90 err_all.o: err_all.c
91 err_prn.o: ../../e_os.h ../../include/openssl/bio.h
92 err_prn.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
93 err_prn.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
94 err_prn.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h
95 err_prn.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
96 err_prn.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
97 err_prn.o: ../../include/openssl/symhacks.h ../include/internal/cryptlib.h
98 err_prn.o: err_prn.c