diff options
Diffstat (limited to 'src/lib/libcrypto/comp')
| -rw-r--r-- | src/lib/libcrypto/comp/Makefile | 108 |
1 files changed, 108 insertions, 0 deletions
diff --git a/src/lib/libcrypto/comp/Makefile b/src/lib/libcrypto/comp/Makefile new file mode 100644 index 0000000000..efda832dce --- /dev/null +++ b/src/lib/libcrypto/comp/Makefile | |||
| @@ -0,0 +1,108 @@ | |||
| 1 | # | ||
| 2 | # OpenSSL/crypto/comp/Makefile | ||
| 3 | # | ||
| 4 | |||
| 5 | DIR= comp | ||
| 6 | TOP= ../.. | ||
| 7 | CC= cc | ||
| 8 | INCLUDES= -I.. -I$(TOP) -I../../include | ||
| 9 | CFLAG=-g | ||
| 10 | MAKEFILE= Makefile | ||
| 11 | AR= ar r | ||
| 12 | |||
| 13 | CFLAGS= $(INCLUDES) $(CFLAG) | ||
| 14 | |||
| 15 | GENERAL=Makefile | ||
| 16 | TEST= | ||
| 17 | APPS= | ||
| 18 | |||
| 19 | LIB=$(TOP)/libcrypto.a | ||
| 20 | LIBSRC= comp_lib.c comp_err.c \ | ||
| 21 | c_rle.c c_zlib.c | ||
| 22 | |||
| 23 | LIBOBJ= comp_lib.o comp_err.o \ | ||
| 24 | c_rle.o c_zlib.o | ||
| 25 | |||
| 26 | SRC= $(LIBSRC) | ||
| 27 | |||
| 28 | EXHEADER= comp.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) || echo Never mind. | ||
| 41 | @touch lib | ||
| 42 | |||
| 43 | files: | ||
| 44 | $(PERL) $(TOP)/util/files.pl Makefile >> $(TOP)/MINFO | ||
| 45 | |||
| 46 | links: | ||
| 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) | ||
| 50 | |||
| 51 | install: | ||
| 52 | @[ -n "$(INSTALLTOP)" ] # should be set by top Makefile... | ||
| 53 | @headerlist="$(EXHEADER)"; for i in $$headerlist ; \ | ||
| 54 | do \ | ||
| 55 | (cp $$i $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i; \ | ||
| 56 | chmod 644 $(INSTALL_PREFIX)$(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 | @[ -n "$(MAKEDEPEND)" ] # should be set by upper Makefile... | ||
| 69 | $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(LIBSRC) | ||
| 70 | |||
| 71 | dclean: | ||
| 72 | $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new | ||
| 73 | mv -f Makefile.new $(MAKEFILE) | ||
| 74 | |||
| 75 | clean: | ||
| 76 | rm -f *.o *.obj lib tags core .pure .nfs* *.old *.bak fluff | ||
| 77 | |||
| 78 | # DO NOT DELETE THIS LINE -- make depend depends on it. | ||
| 79 | |||
| 80 | c_rle.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h | ||
| 81 | c_rle.o: ../../include/openssl/comp.h ../../include/openssl/crypto.h | ||
| 82 | c_rle.o: ../../include/openssl/e_os2.h ../../include/openssl/obj_mac.h | ||
| 83 | c_rle.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h | ||
| 84 | c_rle.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h | ||
| 85 | c_rle.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h | ||
| 86 | c_rle.o: ../../include/openssl/symhacks.h c_rle.c | ||
| 87 | c_zlib.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h | ||
| 88 | c_zlib.o: ../../include/openssl/comp.h ../../include/openssl/crypto.h | ||
| 89 | c_zlib.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h | ||
| 90 | c_zlib.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h | ||
| 91 | c_zlib.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h | ||
| 92 | c_zlib.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h | ||
| 93 | c_zlib.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h | ||
| 94 | c_zlib.o: ../../include/openssl/symhacks.h c_zlib.c | ||
| 95 | comp_err.o: ../../include/openssl/bio.h ../../include/openssl/comp.h | ||
| 96 | comp_err.o: ../../include/openssl/crypto.h ../../include/openssl/e_os2.h | ||
| 97 | comp_err.o: ../../include/openssl/err.h ../../include/openssl/lhash.h | ||
| 98 | comp_err.o: ../../include/openssl/opensslconf.h | ||
| 99 | comp_err.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h | ||
| 100 | comp_err.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h | ||
| 101 | comp_err.o: ../../include/openssl/symhacks.h comp_err.c | ||
| 102 | comp_lib.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h | ||
| 103 | comp_lib.o: ../../include/openssl/comp.h ../../include/openssl/crypto.h | ||
| 104 | comp_lib.o: ../../include/openssl/e_os2.h ../../include/openssl/obj_mac.h | ||
| 105 | comp_lib.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h | ||
| 106 | comp_lib.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h | ||
| 107 | comp_lib.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h | ||
| 108 | comp_lib.o: ../../include/openssl/symhacks.h comp_lib.c | ||
