diff options
| author | djm <> | 2005-04-29 05:37:32 +0000 |
|---|---|---|
| committer | djm <> | 2005-04-29 05:37:32 +0000 |
| commit | 411d389aff1d4ca3241d9d89edb4110c1cf05035 (patch) | |
| tree | 26769b736e0df1e96e60b36db36c918dd42746be /src/lib/libcrypto/objects | |
| parent | f958f59ed2b1b93fadf25a4c8bd7d1f3c655a229 (diff) | |
| parent | 588543a0946f1dbf0f1dd5135f8f6447486dc183 (diff) | |
| download | openbsd-411d389aff1d4ca3241d9d89edb4110c1cf05035.tar.gz openbsd-411d389aff1d4ca3241d9d89edb4110c1cf05035.tar.bz2 openbsd-411d389aff1d4ca3241d9d89edb4110c1cf05035.zip | |
This commit was generated by cvs2git to track changes on a CVS vendor
branch.
Diffstat (limited to 'src/lib/libcrypto/objects')
| -rw-r--r-- | src/lib/libcrypto/objects/Makefile | 122 |
1 files changed, 122 insertions, 0 deletions
diff --git a/src/lib/libcrypto/objects/Makefile b/src/lib/libcrypto/objects/Makefile new file mode 100644 index 0000000000..e449147129 --- /dev/null +++ b/src/lib/libcrypto/objects/Makefile | |||
| @@ -0,0 +1,122 @@ | |||
| 1 | # | ||
| 2 | # SSLeay/crypto/objects/Makefile | ||
| 3 | # | ||
| 4 | |||
| 5 | DIR= objects | ||
| 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 | PERL= perl | ||
| 18 | |||
| 19 | CFLAGS= $(INCLUDES) $(CFLAG) | ||
| 20 | |||
| 21 | GENERAL=Makefile README | ||
| 22 | TEST= | ||
| 23 | APPS= | ||
| 24 | |||
| 25 | LIB=$(TOP)/libcrypto.a | ||
| 26 | LIBSRC= o_names.c obj_dat.c obj_lib.c obj_err.c | ||
| 27 | LIBOBJ= o_names.o obj_dat.o obj_lib.o obj_err.o | ||
| 28 | |||
| 29 | SRC= $(LIBSRC) | ||
| 30 | |||
| 31 | EXHEADER= objects.h obj_mac.h | ||
| 32 | HEADER= $(EXHEADER) obj_dat.h | ||
| 33 | |||
| 34 | ALL= $(GENERAL) $(SRC) $(HEADER) | ||
| 35 | |||
| 36 | top: | ||
| 37 | (cd ../..; $(MAKE) DIRS=crypto SDIRS=$(DIR) sub_all) | ||
| 38 | |||
| 39 | all: obj_dat.h lib | ||
| 40 | |||
| 41 | lib: $(LIBOBJ) | ||
| 42 | $(AR) $(LIB) $(LIBOBJ) | ||
| 43 | $(RANLIB) $(LIB) || echo Never mind. | ||
| 44 | @touch lib | ||
| 45 | |||
| 46 | obj_dat.h: obj_dat.pl obj_mac.h | ||
| 47 | $(PERL) obj_dat.pl obj_mac.h obj_dat.h | ||
| 48 | |||
| 49 | # objects.pl both reads and writes obj_mac.num | ||
| 50 | obj_mac.h: objects.pl objects.txt obj_mac.num | ||
| 51 | $(PERL) objects.pl objects.txt obj_mac.num obj_mac.h | ||
| 52 | @sleep 1; touch obj_mac.h; sleep 1 | ||
| 53 | |||
| 54 | files: | ||
| 55 | $(PERL) $(TOP)/util/files.pl Makefile >> $(TOP)/MINFO | ||
| 56 | |||
| 57 | links: | ||
| 58 | @$(PERL) $(TOP)/util/mklink.pl ../../include/openssl $(EXHEADER) | ||
| 59 | @$(PERL) $(TOP)/util/mklink.pl ../../test $(TEST) | ||
| 60 | @$(PERL) $(TOP)/util/mklink.pl ../../apps $(APPS) | ||
| 61 | |||
| 62 | install: | ||
| 63 | @headerlist="$(EXHEADER)"; for i in $$headerlist ; \ | ||
| 64 | do \ | ||
| 65 | (cp $$i $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i; \ | ||
| 66 | chmod 644 $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i ); \ | ||
| 67 | done; | ||
| 68 | |||
| 69 | tags: | ||
| 70 | ctags $(SRC) | ||
| 71 | |||
| 72 | tests: | ||
| 73 | |||
| 74 | lint: | ||
| 75 | lint -DLINT $(INCLUDES) $(SRC)>fluff | ||
| 76 | |||
| 77 | depend: | ||
| 78 | $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(PROGS) $(LIBSRC) | ||
| 79 | |||
| 80 | dclean: | ||
| 81 | $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new | ||
| 82 | mv -f Makefile.new $(MAKEFILE) | ||
| 83 | |||
| 84 | clean: | ||
| 85 | rm -f *.o *.obj lib tags core .pure .nfs* *.old *.bak fluff | ||
| 86 | |||
| 87 | # DO NOT DELETE THIS LINE -- make depend depends on it. | ||
| 88 | |||
| 89 | o_names.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h | ||
| 90 | o_names.o: ../../include/openssl/bn.h ../../include/openssl/crypto.h | ||
| 91 | o_names.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h | ||
| 92 | o_names.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h | ||
| 93 | o_names.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h | ||
| 94 | o_names.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h | ||
| 95 | o_names.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h | ||
| 96 | o_names.o: ../../include/openssl/symhacks.h o_names.c | ||
| 97 | obj_dat.o: ../../e_os.h ../../include/openssl/asn1.h | ||
| 98 | obj_dat.o: ../../include/openssl/bio.h ../../include/openssl/bn.h | ||
| 99 | obj_dat.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h | ||
| 100 | obj_dat.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h | ||
| 101 | obj_dat.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h | ||
| 102 | obj_dat.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h | ||
| 103 | obj_dat.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h | ||
| 104 | obj_dat.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h | ||
| 105 | obj_dat.o: ../../include/openssl/symhacks.h ../cryptlib.h obj_dat.c obj_dat.h | ||
| 106 | obj_err.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h | ||
| 107 | obj_err.o: ../../include/openssl/bn.h ../../include/openssl/crypto.h | ||
| 108 | obj_err.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h | ||
| 109 | obj_err.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h | ||
| 110 | obj_err.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h | ||
| 111 | obj_err.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h | ||
| 112 | obj_err.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h | ||
| 113 | obj_err.o: ../../include/openssl/symhacks.h obj_err.c | ||
| 114 | obj_lib.o: ../../e_os.h ../../include/openssl/asn1.h | ||
| 115 | obj_lib.o: ../../include/openssl/bio.h ../../include/openssl/bn.h | ||
| 116 | obj_lib.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h | ||
| 117 | obj_lib.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h | ||
| 118 | obj_lib.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h | ||
| 119 | obj_lib.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h | ||
| 120 | obj_lib.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h | ||
| 121 | obj_lib.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h | ||
| 122 | obj_lib.o: ../../include/openssl/symhacks.h ../cryptlib.h obj_lib.c | ||
