e650fd9b71d429390cd7328d6ecd495e2cb5efca
[openssl.git] / crypto / err / Makefile.ssl
1 #
2 # SSLeay/crypto/err/Makefile
3 #
4
5 DIR=    err
6 TOP=    ../..
7 CC=     cc
8 INCLUDES= -I.. -I../../include
9 CFLAG=-g
10 INSTALLTOP=/usr/local/ssl
11 MAKE=           make -f Makefile.ssl
12 MAKEDEPEND=     $(TOP)/util/domd $(TOP)
13 MAKEFILE=       Makefile.ssl
14 AR=             ar r
15
16 CFLAGS= $(INCLUDES) $(CFLAG)
17
18 GENERAL=Makefile
19 TEST=
20 APPS=
21
22 LIB=$(TOP)/libcrypto.a
23 LIBSRC=err.c err_all.c err_prn.c
24 LIBOBJ=err.o err_all.o err_prn.o
25
26 SRC= $(LIBSRC)
27
28 EXHEADER= err.h
29 HEADER= $(EXHEADER)
30
31 ALL=    $(GENERAL) $(SRC) $(HEADER)
32
33 top:
34         (cd ../..; $(MAKE) DIRS=crypto SDIRS=$(DIR) sub_all)
35
36 all:    lib
37
38 lib:    $(LIBOBJ)
39         $(AR) $(LIB) $(LIBOBJ)
40         $(RANLIB) $(LIB)
41         @touch lib
42
43 files:
44         $(PERL) $(TOP)/util/files.pl Makefile.ssl >> $(TOP)/MINFO
45
46 links:
47         @$(TOP)/util/point.sh Makefile.ssl Makefile
48         @$(TOP)/util/mklink.sh ../../include/openssl $(EXHEADER)
49         @$(TOP)/util/mklink.sh ../../test $(TEST)
50         @$(TOP)/util/mklink.sh ../../apps $(APPS)
51
52 install:
53         @for i in $(EXHEADER) ; \
54         do  \
55         (cp $$i $(INSTALLTOP)/include/openssl/$$i; \
56         chmod 644 $(INSTALLTOP)/include/openssl/$$i ); \
57         done;
58
59 tags:
60         ctags $(SRC)
61
62 tests:
63
64 lint:
65         lint -DLINT $(INCLUDES) $(SRC)>fluff
66
67 depend:
68         $(MAKEDEPEND) $(INCLUDES) $(PROGS) $(LIBSRC)
69
70 dclean:
71         $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new
72         mv -f Makefile.new $(MAKEFILE)
73
74 clean:
75         rm -f *.o *.obj lib tags core .pure .nfs* *.old *.bak fluff
76
77 errors:
78
79 # DO NOT DELETE THIS LINE -- make depend depends on it.
80
81 err.o: ../../include/openssl/bio.h ../../include/openssl/buffer.h
82 err.o: ../../include/openssl/crypto.h ../../include/openssl/e_os.h
83 err.o: ../../include/openssl/err.h ../../include/openssl/lhash.h
84 err.o: ../../include/openssl/opensslv.h ../../include/openssl/stack.h
85 err.o: ../cryptlib.h
86 err_all.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
87 err_all.o: ../../include/openssl/blowfish.h ../../include/openssl/bn.h
88 err_all.o: ../../include/openssl/buffer.h ../../include/openssl/cast.h
89 err_all.o: ../../include/openssl/conf.h ../../include/openssl/crypto.h
90 err_all.o: ../../include/openssl/des.h ../../include/openssl/dh.h
91 err_all.o: ../../include/openssl/dsa.h ../../include/openssl/err.h
92 err_all.o: ../../include/openssl/evp.h ../../include/openssl/idea.h
93 err_all.o: ../../include/openssl/lhash.h ../../include/openssl/md2.h
94 err_all.o: ../../include/openssl/md5.h ../../include/openssl/mdc2.h
95 err_all.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h
96 err_all.o: ../../include/openssl/opensslv.h ../../include/openssl/pem2.h
97 err_all.o: ../../include/openssl/pkcs12.h ../../include/openssl/pkcs7.h
98 err_all.o: ../../include/openssl/rc2.h ../../include/openssl/rc4.h
99 err_all.o: ../../include/openssl/rc5.h ../../include/openssl/ripemd.h
100 err_all.o: ../../include/openssl/rsa.h ../../include/openssl/safestack.h
101 err_all.o: ../../include/openssl/sha.h ../../include/openssl/stack.h
102 err_all.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h
103 err_all.o: ../../include/openssl/x509v3.h
104 err_prn.o: ../../include/openssl/bio.h ../../include/openssl/buffer.h
105 err_prn.o: ../../include/openssl/crypto.h ../../include/openssl/e_os.h
106 err_prn.o: ../../include/openssl/err.h ../../include/openssl/lhash.h
107 err_prn.o: ../../include/openssl/opensslv.h ../../include/openssl/stack.h
108 err_prn.o: ../cryptlib.h