2 # OpenSSL/crypto/comp/Makefile
8 INCLUDES= -I.. -I$(TOP) -I../../include
13 CFLAGS= $(INCLUDES) $(CFLAG)
19 LIB=$(TOP)/libcrypto.a
20 LIBSRC= comp_lib.c comp_err.c \
23 LIBOBJ= comp_lib.o comp_err.o \
31 ALL= $(GENERAL) $(SRC) $(HEADER)
34 (cd ../..; $(MAKE) DIRS=crypto SDIRS=$(DIR) sub_all)
39 $(AR) $(LIB) $(LIBOBJ)
40 $(RANLIB) $(LIB) || echo Never mind.
44 $(PERL) $(TOP)/util/files.pl Makefile >> $(TOP)/MINFO
47 @$(PERL) $(TOP)/util/mklink.pl ../../include/openssl $(EXHEADER)
48 @$(PERL) $(TOP)/util/mklink.pl ../../test $(TEST)
49 @$(PERL) $(TOP)/util/mklink.pl ../../apps $(APPS)
52 @[ -n "$(INSTALLTOP)" ] # should be set by top Makefile...
53 @headerlist="$(EXHEADER)"; for i in $$headerlist ; \
55 (cp $$i $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i; \
56 chmod 644 $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i ); \
65 lint -DLINT $(INCLUDES) $(SRC)>fluff
68 @[ -n "$(MAKEDEPEND)" ] # should be set by upper Makefile...
69 $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(LIBSRC)
72 $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new
73 mv -f Makefile.new $(MAKEFILE)
76 rm -f *.o *.obj lib tags core .pure .nfs* *.old *.bak fluff
78 # DO NOT DELETE THIS LINE -- make depend depends on it.
80 c_rle.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
81 c_rle.o: ../../include/openssl/comp.h ../../include/openssl/obj_mac.h
82 c_rle.o: ../../include/openssl/objects.h ../../include/openssl/safestack.h
83 c_rle.o: ../../include/openssl/stack.h c_rle.c
84 c_zlib.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
85 c_zlib.o: ../../include/openssl/comp.h ../../include/openssl/err.h
86 c_zlib.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h
87 c_zlib.o: ../../include/openssl/objects.h ../../include/openssl/safestack.h
88 c_zlib.o: ../../include/openssl/stack.h c_zlib.c
89 comp_err.o: ../../include/openssl/bio.h ../../include/openssl/comp.h
90 comp_err.o: ../../include/openssl/err.h ../../include/openssl/lhash.h
91 comp_err.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
92 comp_err.o: comp_err.c
93 comp_lib.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
94 comp_lib.o: ../../include/openssl/comp.h ../../include/openssl/obj_mac.h
95 comp_lib.o: ../../include/openssl/objects.h ../../include/openssl/safestack.h
96 comp_lib.o: ../../include/openssl/stack.h comp_lib.c