diff options
Diffstat (limited to 'src/lib/libcrypto/comp')
| -rw-r--r-- | src/lib/libcrypto/comp/Makefile | 113 |
1 files changed, 113 insertions, 0 deletions
diff --git a/src/lib/libcrypto/comp/Makefile b/src/lib/libcrypto/comp/Makefile new file mode 100644 index 0000000000..68109a8013 --- /dev/null +++ b/src/lib/libcrypto/comp/Makefile | |||
| @@ -0,0 +1,113 @@ | |||
| 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 | MAKEDEPPROG= makedepend | ||
| 14 | MAKEDEPEND= $(TOP)/util/domd $(TOP) -MD $(MAKEDEPPROG) | ||
| 15 | MAKEFILE= Makefile | ||
| 16 | AR= ar r | ||
| 17 | |||
| 18 | CFLAGS= $(INCLUDES) $(CFLAG) | ||
| 19 | |||
| 20 | GENERAL=Makefile | ||
| 21 | TEST= | ||
| 22 | APPS= | ||
| 23 | |||
| 24 | LIB=$(TOP)/libcrypto.a | ||
| 25 | LIBSRC= comp_lib.c comp_err.c \ | ||
| 26 | c_rle.c c_zlib.c | ||
| 27 | |||
| 28 | LIBOBJ= comp_lib.o comp_err.o \ | ||
| 29 | c_rle.o c_zlib.o | ||
| 30 | |||
| 31 | SRC= $(LIBSRC) | ||
| 32 | |||
| 33 | EXHEADER= comp.h | ||
| 34 | HEADER= $(EXHEADER) | ||
| 35 | |||
| 36 | ALL= $(GENERAL) $(SRC) $(HEADER) | ||
| 37 | |||
| 38 | top: | ||
| 39 | (cd ../..; $(MAKE) DIRS=crypto SDIRS=$(DIR) sub_all) | ||
| 40 | |||
| 41 | all: lib | ||
| 42 | |||
| 43 | lib: $(LIBOBJ) | ||
| 44 | $(AR) $(LIB) $(LIBOBJ) | ||
| 45 | $(RANLIB) $(LIB) || echo Never mind. | ||
| 46 | @touch lib | ||
| 47 | |||
| 48 | files: | ||
| 49 | $(PERL) $(TOP)/util/files.pl Makefile >> $(TOP)/MINFO | ||
| 50 | |||
| 51 | links: | ||
| 52 | @$(PERL) $(TOP)/util/mklink.pl ../../include/openssl $(EXHEADER) | ||
| 53 | @$(PERL) $(TOP)/util/mklink.pl ../../test $(TEST) | ||
| 54 | @$(PERL) $(TOP)/util/mklink.pl ../../apps $(APPS) | ||
| 55 | |||
| 56 | install: | ||
| 57 | @headerlist="$(EXHEADER)"; for i in $$headerlist ; \ | ||
| 58 | do \ | ||
| 59 | (cp $$i $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i; \ | ||
| 60 | chmod 644 $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i ); \ | ||
| 61 | done; | ||
| 62 | |||
| 63 | tags: | ||
| 64 | ctags $(SRC) | ||
| 65 | |||
| 66 | tests: | ||
| 67 | |||
| 68 | lint: | ||
| 69 | lint -DLINT $(INCLUDES) $(SRC)>fluff | ||
| 70 | |||
| 71 | depend: | ||
| 72 | $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(LIBSRC) | ||
| 73 | |||
| 74 | dclean: | ||
| 75 | $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new | ||
| 76 | mv -f Makefile.new $(MAKEFILE) | ||
| 77 | |||
| 78 | clean: | ||
| 79 | rm -f *.o *.obj lib tags core .pure .nfs* *.old *.bak fluff | ||
| 80 | |||
| 81 | # DO NOT DELETE THIS LINE -- make depend depends on it. | ||
| 82 | |||
| 83 | c_rle.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h | ||
| 84 | c_rle.o: ../../include/openssl/bn.h ../../include/openssl/comp.h | ||
| 85 | c_rle.o: ../../include/openssl/crypto.h ../../include/openssl/e_os2.h | ||
| 86 | c_rle.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h | ||
| 87 | c_rle.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h | ||
| 88 | c_rle.o: ../../include/openssl/ossl_typ.h ../../include/openssl/safestack.h | ||
| 89 | c_rle.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h c_rle.c | ||
| 90 | c_zlib.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h | ||
| 91 | c_zlib.o: ../../include/openssl/bn.h ../../include/openssl/comp.h | ||
| 92 | c_zlib.o: ../../include/openssl/crypto.h ../../include/openssl/e_os2.h | ||
| 93 | c_zlib.o: ../../include/openssl/err.h ../../include/openssl/lhash.h | ||
| 94 | c_zlib.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h | ||
| 95 | c_zlib.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h | ||
| 96 | c_zlib.o: ../../include/openssl/ossl_typ.h ../../include/openssl/safestack.h | ||
| 97 | c_zlib.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | ||
| 98 | c_zlib.o: c_zlib.c | ||
| 99 | comp_err.o: ../../include/openssl/bio.h ../../include/openssl/comp.h | ||
| 100 | comp_err.o: ../../include/openssl/crypto.h ../../include/openssl/e_os2.h | ||
| 101 | comp_err.o: ../../include/openssl/err.h ../../include/openssl/lhash.h | ||
| 102 | comp_err.o: ../../include/openssl/opensslconf.h | ||
| 103 | comp_err.o: ../../include/openssl/opensslv.h ../../include/openssl/safestack.h | ||
| 104 | comp_err.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | ||
| 105 | comp_err.o: comp_err.c | ||
| 106 | comp_lib.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h | ||
| 107 | comp_lib.o: ../../include/openssl/bn.h ../../include/openssl/comp.h | ||
| 108 | comp_lib.o: ../../include/openssl/crypto.h ../../include/openssl/e_os2.h | ||
| 109 | comp_lib.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h | ||
| 110 | comp_lib.o: ../../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 | ||
