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