1142425Snectar# 2160814Ssimon# OpenSSL/crypto/comp/Makefile 3142425Snectar# 4142425Snectar 5142425SnectarDIR= comp 6142425SnectarTOP= ../.. 7142425SnectarCC= cc 8142425SnectarINCLUDES= -I.. -I$(TOP) -I../../include 9142425SnectarCFLAG=-g 10142425SnectarMAKEFILE= Makefile 11142425SnectarAR= ar r 12142425Snectar 13142425SnectarCFLAGS= $(INCLUDES) $(CFLAG) 14142425Snectar 15142425SnectarGENERAL=Makefile 16142425SnectarTEST= 17142425SnectarAPPS= 18142425Snectar 19142425SnectarLIB=$(TOP)/libcrypto.a 20142425SnectarLIBSRC= comp_lib.c comp_err.c \ 21142425Snectar c_rle.c c_zlib.c 22142425Snectar 23142425SnectarLIBOBJ= comp_lib.o comp_err.o \ 24142425Snectar c_rle.o c_zlib.o 25142425Snectar 26142425SnectarSRC= $(LIBSRC) 27142425Snectar 28142425SnectarEXHEADER= comp.h 29142425SnectarHEADER= $(EXHEADER) 30142425Snectar 31142425SnectarALL= $(GENERAL) $(SRC) $(HEADER) 32142425Snectar 33142425Snectartop: 34142425Snectar (cd ../..; $(MAKE) DIRS=crypto SDIRS=$(DIR) sub_all) 35142425Snectar 36142425Snectarall: lib 37142425Snectar 38142425Snectarlib: $(LIBOBJ) 39238405Sjkim $(AR) $(LIB) $(LIBOBJ) 40142425Snectar $(RANLIB) $(LIB) || echo Never mind. 41142425Snectar @touch lib 42142425Snectar 43142425Snectarfiles: 44142425Snectar $(PERL) $(TOP)/util/files.pl Makefile >> $(TOP)/MINFO 45142425Snectar 46142425Snectarlinks: 47142425Snectar @$(PERL) $(TOP)/util/mklink.pl ../../include/openssl $(EXHEADER) 48142425Snectar @$(PERL) $(TOP)/util/mklink.pl ../../test $(TEST) 49142425Snectar @$(PERL) $(TOP)/util/mklink.pl ../../apps $(APPS) 50142425Snectar 51142425Snectarinstall: 52160814Ssimon @[ -n "$(INSTALLTOP)" ] # should be set by top Makefile... 53160814Ssimon @headerlist="$(EXHEADER)"; for i in $$headerlist ; \ 54142425Snectar do \ 55142425Snectar (cp $$i $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i; \ 56142425Snectar chmod 644 $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i ); \ 57142425Snectar done; 58142425Snectar 59142425Snectartags: 60142425Snectar ctags $(SRC) 61142425Snectar 62142425Snectartests: 63142425Snectar 64142425Snectarlint: 65142425Snectar lint -DLINT $(INCLUDES) $(SRC)>fluff 66142425Snectar 67284285Sjkimupdate: depend 68284285Sjkim 69142425Snectardepend: 70160814Ssimon @[ -n "$(MAKEDEPEND)" ] # should be set by upper Makefile... 71142425Snectar $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(LIBSRC) 72142425Snectar 73142425Snectardclean: 74142425Snectar $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new 75142425Snectar mv -f Makefile.new $(MAKEFILE) 76142425Snectar 77142425Snectarclean: 78142425Snectar rm -f *.o *.obj lib tags core .pure .nfs* *.old *.bak fluff 79142425Snectar 80142425Snectar# DO NOT DELETE THIS LINE -- make depend depends on it. 81142425Snectar 82142425Snectarc_rle.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h 83160814Ssimonc_rle.o: ../../include/openssl/comp.h ../../include/openssl/crypto.h 84160814Ssimonc_rle.o: ../../include/openssl/e_os2.h ../../include/openssl/obj_mac.h 85160814Ssimonc_rle.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h 86160814Ssimonc_rle.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h 87160814Ssimonc_rle.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h 88160814Ssimonc_rle.o: ../../include/openssl/symhacks.h c_rle.c 89142425Snectarc_zlib.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h 90160814Ssimonc_zlib.o: ../../include/openssl/comp.h ../../include/openssl/crypto.h 91160814Ssimonc_zlib.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h 92160814Ssimonc_zlib.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h 93160814Ssimonc_zlib.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h 94160814Ssimonc_zlib.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h 95160814Ssimonc_zlib.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h 96160814Ssimonc_zlib.o: ../../include/openssl/symhacks.h c_zlib.c 97142425Snectarcomp_err.o: ../../include/openssl/bio.h ../../include/openssl/comp.h 98142425Snectarcomp_err.o: ../../include/openssl/crypto.h ../../include/openssl/e_os2.h 99142425Snectarcomp_err.o: ../../include/openssl/err.h ../../include/openssl/lhash.h 100142425Snectarcomp_err.o: ../../include/openssl/opensslconf.h 101160814Ssimoncomp_err.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h 102160814Ssimoncomp_err.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h 103160814Ssimoncomp_err.o: ../../include/openssl/symhacks.h comp_err.c 104142425Snectarcomp_lib.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h 105160814Ssimoncomp_lib.o: ../../include/openssl/comp.h ../../include/openssl/crypto.h 106160814Ssimoncomp_lib.o: ../../include/openssl/e_os2.h ../../include/openssl/obj_mac.h 107160814Ssimoncomp_lib.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h 108142425Snectarcomp_lib.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h 109142425Snectarcomp_lib.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h 110142425Snectarcomp_lib.o: ../../include/openssl/symhacks.h comp_lib.c 111