| OLD | NEW |
| 1 # | 1 # |
| 2 # OpenSSL/crypto/objects/Makefile | 2 # OpenSSL/crypto/objects/Makefile |
| 3 # | 3 # |
| 4 | 4 |
| 5 DIR= objects | 5 DIR= objects |
| 6 TOP= ../.. | 6 TOP= ../.. |
| 7 CC= cc | 7 CC= cc |
| 8 INCLUDES= -I.. -I$(TOP) -I../../include | 8 INCLUDES= -I.. -I$(TOP) -I../../include |
| 9 CFLAG=-g | 9 CFLAG=-g |
| 10 MAKEFILE= Makefile | 10 MAKEFILE= Makefile |
| 11 AR= ar r | 11 AR= ar r |
| 12 PERL= perl | 12 PERL= perl |
| 13 | 13 |
| 14 CFLAGS= $(INCLUDES) $(CFLAG) | 14 CFLAGS= $(INCLUDES) $(CFLAG) |
| 15 | 15 |
| 16 GENERAL=Makefile README | 16 GENERAL=Makefile README |
| 17 TEST= | 17 TEST= |
| 18 APPS= | 18 APPS= |
| 19 | 19 |
| 20 LIB=$(TOP)/libcrypto.a | 20 LIB=$(TOP)/libcrypto.a |
| 21 LIBSRC=»o_names.c obj_dat.c obj_lib.c obj_err.c | 21 LIBSRC=»o_names.c obj_dat.c obj_lib.c obj_err.c obj_xref.c |
| 22 LIBOBJ= o_names.o obj_dat.o obj_lib.o obj_err.o | 22 LIBOBJ= o_names.o obj_dat.o obj_lib.o obj_err.o obj_xref.o |
| 23 | 23 |
| 24 SRC= $(LIBSRC) | 24 SRC= $(LIBSRC) |
| 25 | 25 |
| 26 EXHEADER= objects.h obj_mac.h | 26 EXHEADER= objects.h obj_mac.h |
| 27 HEADER=»$(EXHEADER) obj_dat.h | 27 HEADER=»$(EXHEADER) obj_dat.h obj_xref.h |
| 28 | 28 |
| 29 ALL= $(GENERAL) $(SRC) $(HEADER) | 29 ALL= $(GENERAL) $(SRC) $(HEADER) |
| 30 | 30 |
| 31 top: | 31 top: |
| 32 (cd ../..; $(MAKE) DIRS=crypto SDIRS=$(DIR) sub_all) | 32 (cd ../..; $(MAKE) DIRS=crypto SDIRS=$(DIR) sub_all) |
| 33 | 33 |
| 34 all:» obj_dat.h lib | 34 all:» obj_dat.h obj_xref.h lib |
| 35 | 35 |
| 36 lib: $(LIBOBJ) | 36 lib: $(LIBOBJ) |
| 37 » $(ARX) $(LIB) $(LIBOBJ) | 37 » $(AR) $(LIB) $(LIBOBJ) |
| 38 $(RANLIB) $(LIB) || echo Never mind. | 38 $(RANLIB) $(LIB) || echo Never mind. |
| 39 @touch lib | 39 @touch lib |
| 40 | 40 |
| 41 obj_dat.h: obj_dat.pl obj_mac.h | 41 obj_dat.h: obj_dat.pl obj_mac.h |
| 42 $(PERL) obj_dat.pl obj_mac.h obj_dat.h | 42 $(PERL) obj_dat.pl obj_mac.h obj_dat.h |
| 43 | 43 |
| 44 # objects.pl both reads and writes obj_mac.num | 44 # objects.pl both reads and writes obj_mac.num |
| 45 obj_mac.h: objects.pl objects.txt obj_mac.num | 45 obj_mac.h: objects.pl objects.txt obj_mac.num |
| 46 $(PERL) objects.pl objects.txt obj_mac.num obj_mac.h | 46 $(PERL) objects.pl objects.txt obj_mac.num obj_mac.h |
| 47 @sleep 1; touch obj_mac.h; sleep 1 | 47 @sleep 1; touch obj_mac.h; sleep 1 |
| 48 | 48 |
| 49 obj_xref.h: objxref.pl obj_xref.txt obj_mac.num |
| 50 $(PERL) objxref.pl obj_mac.num obj_xref.txt > obj_xref.h |
| 51 @sleep 1; touch obj_xref.h; sleep 1 |
| 52 |
| 49 files: | 53 files: |
| 50 $(PERL) $(TOP)/util/files.pl Makefile >> $(TOP)/MINFO | 54 $(PERL) $(TOP)/util/files.pl Makefile >> $(TOP)/MINFO |
| 51 | 55 |
| 52 links: | 56 links: |
| 53 @$(PERL) $(TOP)/util/mklink.pl ../../include/openssl $(EXHEADER) | 57 @$(PERL) $(TOP)/util/mklink.pl ../../include/openssl $(EXHEADER) |
| 54 @$(PERL) $(TOP)/util/mklink.pl ../../test $(TEST) | 58 @$(PERL) $(TOP)/util/mklink.pl ../../test $(TEST) |
| 55 @$(PERL) $(TOP)/util/mklink.pl ../../apps $(APPS) | 59 @$(PERL) $(TOP)/util/mklink.pl ../../apps $(APPS) |
| 56 | 60 |
| 57 install: | 61 install: |
| 58 @[ -n "$(INSTALLTOP)" ] # should be set by top Makefile... | 62 @[ -n "$(INSTALLTOP)" ] # should be set by top Makefile... |
| (...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 110 obj_err.o: obj_err.c | 114 obj_err.o: obj_err.c |
| 111 obj_lib.o: ../../e_os.h ../../include/openssl/asn1.h | 115 obj_lib.o: ../../e_os.h ../../include/openssl/asn1.h |
| 112 obj_lib.o: ../../include/openssl/bio.h ../../include/openssl/buffer.h | 116 obj_lib.o: ../../include/openssl/bio.h ../../include/openssl/buffer.h |
| 113 obj_lib.o: ../../include/openssl/crypto.h ../../include/openssl/e_os2.h | 117 obj_lib.o: ../../include/openssl/crypto.h ../../include/openssl/e_os2.h |
| 114 obj_lib.o: ../../include/openssl/err.h ../../include/openssl/lhash.h | 118 obj_lib.o: ../../include/openssl/err.h ../../include/openssl/lhash.h |
| 115 obj_lib.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h | 119 obj_lib.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h |
| 116 obj_lib.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h | 120 obj_lib.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h |
| 117 obj_lib.o: ../../include/openssl/ossl_typ.h ../../include/openssl/safestack.h | 121 obj_lib.o: ../../include/openssl/ossl_typ.h ../../include/openssl/safestack.h |
| 118 obj_lib.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | 122 obj_lib.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h |
| 119 obj_lib.o: ../cryptlib.h obj_lib.c | 123 obj_lib.o: ../cryptlib.h obj_lib.c |
| 124 obj_xref.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h |
| 125 obj_xref.o: ../../include/openssl/crypto.h ../../include/openssl/e_os2.h |
| 126 obj_xref.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h |
| 127 obj_xref.o: ../../include/openssl/opensslconf.h |
| 128 obj_xref.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h |
| 129 obj_xref.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h |
| 130 obj_xref.o: ../../include/openssl/symhacks.h obj_xref.c obj_xref.h |
| OLD | NEW |