]> git.ipfire.org Git - thirdparty/openssl.git/blob - crypto/comp/Makefile.ssl
Changes concering RFC 3820 (proxy certificates) integration:
[thirdparty/openssl.git] / crypto / comp / Makefile.ssl
1 #
2 # SSLeay/crypto/comp/Makefile
3 #
4
5 DIR= comp
6 TOP= ../..
7 CC= cc
8 INCLUDES= -I.. -I$(TOP) -I../../include
9 CFLAG=-g
10 INSTALL_PREFIX=
11 OPENSSLDIR= /usr/local/ssl
12 INSTALLTOP=/usr/local/ssl
13 MAKE= make -f Makefile.ssl
14 MAKEDEPPROG= makedepend
15 MAKEDEPEND= $(TOP)/util/domd $(TOP) -MD $(MAKEDEPPROG)
16 MAKEFILE= Makefile.ssl
17 AR= ar r
18
19 CFLAGS= $(INCLUDES) $(CFLAG)
20
21 GENERAL=Makefile
22 TEST=
23 APPS=
24
25 LIB=$(TOP)/libcrypto.a
26 LIBSRC= comp_lib.c comp_err.c \
27 c_rle.c c_zlib.c
28
29 LIBOBJ= comp_lib.o comp_err.o \
30 c_rle.o c_zlib.o
31
32 SRC= $(LIBSRC)
33
34 EXHEADER= comp.h
35 HEADER= $(EXHEADER)
36
37 ALL= $(GENERAL) $(SRC) $(HEADER)
38
39 top:
40 (cd ../..; $(MAKE) DIRS=crypto SDIRS=$(DIR) sub_all)
41
42 all: lib
43
44 lib: $(LIBOBJ)
45 $(AR) $(LIB) $(LIBOBJ)
46 $(RANLIB) $(LIB) || echo Never mind.
47 @touch lib
48
49 files:
50 $(PERL) $(TOP)/util/files.pl Makefile.ssl >> $(TOP)/MINFO
51
52 links:
53 @sh $(TOP)/util/point.sh Makefile.ssl Makefile
54 @$(PERL) $(TOP)/util/mklink.pl ../../include/openssl $(EXHEADER)
55 @$(PERL) $(TOP)/util/mklink.pl ../../test $(TEST)
56 @$(PERL) $(TOP)/util/mklink.pl ../../apps $(APPS)
57
58 install:
59 @headerlist="$(EXHEADER)"; for i in $$headerlist ; \
60 do \
61 (cp $$i $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i; \
62 chmod 644 $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i ); \
63 done;
64
65 tags:
66 ctags $(SRC)
67
68 tests:
69
70 lint:
71 lint -DLINT $(INCLUDES) $(SRC)>fluff
72
73 depend:
74 $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(LIBSRC)
75
76 dclean:
77 $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new
78 mv -f Makefile.new $(MAKEFILE)
79
80 clean:
81 rm -f *.o *.obj lib tags core .pure .nfs* *.old *.bak fluff
82
83 # DO NOT DELETE THIS LINE -- make depend depends on it.
84
85 c_rle.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
86 c_rle.o: ../../include/openssl/comp.h ../../include/openssl/crypto.h
87 c_rle.o: ../../include/openssl/e_os2.h ../../include/openssl/obj_mac.h
88 c_rle.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h
89 c_rle.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
90 c_rle.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
91 c_rle.o: ../../include/openssl/symhacks.h c_rle.c
92 c_zlib.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
93 c_zlib.o: ../../include/openssl/comp.h ../../include/openssl/crypto.h
94 c_zlib.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
95 c_zlib.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h
96 c_zlib.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h
97 c_zlib.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
98 c_zlib.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
99 c_zlib.o: ../../include/openssl/symhacks.h c_zlib.c
100 comp_err.o: ../../include/openssl/bio.h ../../include/openssl/comp.h
101 comp_err.o: ../../include/openssl/crypto.h ../../include/openssl/e_os2.h
102 comp_err.o: ../../include/openssl/err.h ../../include/openssl/lhash.h
103 comp_err.o: ../../include/openssl/opensslconf.h
104 comp_err.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
105 comp_err.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
106 comp_err.o: ../../include/openssl/symhacks.h comp_err.c
107 comp_lib.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
108 comp_lib.o: ../../include/openssl/comp.h ../../include/openssl/crypto.h
109 comp_lib.o: ../../include/openssl/e_os2.h ../../include/openssl/obj_mac.h
110 comp_lib.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h
111 comp_lib.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
112 comp_lib.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
113 comp_lib.o: ../../include/openssl/symhacks.h comp_lib.c