]>
Commit | Line | Data |
---|---|---|
a5db6fa5 RL |
1 | # |
2 | # OpenSSL/crypto/store/Makefile | |
3 | # | |
4 | ||
5 | DIR= store | |
6 | TOP= ../.. | |
7 | CC= cc | |
8 | INCLUDES= -I.. -I$(TOP) -I../../include | |
9 | CFLAG=-g | |
42ba5d23 | 10 | MAKEFILE= Makefile |
a5db6fa5 RL |
11 | AR= ar r |
12 | ||
13 | CFLAGS= $(INCLUDES) $(CFLAG) | |
14 | ||
15 | GENERAL=Makefile | |
16 | #TEST= storetest.c | |
17 | TEST= | |
18 | APPS= | |
19 | ||
20 | LIB=$(TOP)/libcrypto.a | |
21 | LIBSRC= str_err.c str_lib.c str_meth.c str_mem.c | |
22 | LIBOBJ= str_err.o str_lib.o str_meth.o str_mem.o | |
23 | ||
24 | SRC= $(LIBSRC) | |
25 | ||
31939f15 RL |
26 | #EXHEADER= store.h str_compat.h |
27 | EXHEADER= store.h | |
a5db6fa5 RL |
28 | HEADER= $(EXHEADER) str_locl.h |
29 | ||
30 | ALL= $(GENERAL) $(SRC) $(HEADER) | |
31 | ||
32 | top: | |
33 | (cd ../..; $(MAKE) DIRS=crypto SDIRS=$(DIR) sub_all) | |
34 | ||
35 | all: lib | |
36 | ||
37 | lib: $(LIBOBJ) | |
f072785e | 38 | $(AR) $(LIB) $(LIBOBJ) |
a5db6fa5 RL |
39 | $(RANLIB) $(LIB) || echo Never mind. |
40 | @touch lib | |
41 | ||
42 | files: | |
42ba5d23 | 43 | $(PERL) $(TOP)/util/files.pl Makefile >> $(TOP)/MINFO |
a5db6fa5 RL |
44 | |
45 | links: | |
a5db6fa5 RL |
46 | @$(PERL) $(TOP)/util/mklink.pl ../../include/openssl $(EXHEADER) |
47 | @$(PERL) $(TOP)/util/mklink.pl ../../test $(TEST) | |
48 | @$(PERL) $(TOP)/util/mklink.pl ../../apps $(APPS) | |
49 | ||
50 | install: | |
81a86fcf | 51 | @[ -n "$(INSTALLTOP)" ] # should be set by top Makefile... |
a2ac429d | 52 | @headerlist="$(EXHEADER)"; for i in $$headerlist; \ |
a5db6fa5 RL |
53 | do \ |
54 | (cp $$i $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i; \ | |
55 | chmod 644 $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i ); \ | |
56 | done; | |
57 | ||
58 | tags: | |
59 | ctags $(SRC) | |
60 | ||
61 | tests: | |
62 | ||
63 | lint: | |
64 | lint -DLINT $(INCLUDES) $(SRC)>fluff | |
65 | ||
66 | depend: | |
ce92b6eb | 67 | @[ -n "$(MAKEDEPEND)" ] # should be set by upper Makefile... |
a5db6fa5 RL |
68 | $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(PROGS) $(LIBSRC) |
69 | ||
70 | dclean: | |
71 | $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new | |
72 | mv -f Makefile.new $(MAKEFILE) | |
73 | ||
74 | clean: | |
75 | rm -f *.o */*.o *.obj lib tags core .pure .nfs* *.old *.bak fluff | |
76 | ||
77 | # DO NOT DELETE THIS LINE -- make depend depends on it. | |
78 | ||
9c52d2cc GT |
79 | str_err.o: ../../include/openssl/bio.h ../../include/openssl/crypto.h |
80 | str_err.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h | |
81 | str_err.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h | |
82 | str_err.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h | |
83 | str_err.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h | |
84 | str_err.o: ../../include/openssl/store.h ../../include/openssl/symhacks.h | |
85 | str_err.o: str_err.c | |
a5db6fa5 RL |
86 | str_lib.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h |
87 | str_lib.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h | |
c57bc2dc | 88 | str_lib.o: ../../include/openssl/crypto.h ../../include/openssl/e_os2.h |
a5db6fa5 RL |
89 | str_lib.o: ../../include/openssl/ec.h ../../include/openssl/ecdh.h |
90 | str_lib.o: ../../include/openssl/ecdsa.h ../../include/openssl/engine.h | |
91 | str_lib.o: ../../include/openssl/err.h ../../include/openssl/evp.h | |
92 | str_lib.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h | |
93 | str_lib.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h | |
94 | str_lib.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h | |
c57bc2dc | 95 | str_lib.o: ../../include/openssl/pkcs7.h ../../include/openssl/safestack.h |
a5db6fa5 RL |
96 | str_lib.o: ../../include/openssl/sha.h ../../include/openssl/stack.h |
97 | str_lib.o: ../../include/openssl/store.h ../../include/openssl/symhacks.h | |
c57bc2dc GT |
98 | str_lib.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h |
99 | str_lib.o: str_lib.c str_locl.h | |
9c52d2cc GT |
100 | str_mem.o: ../../include/openssl/bio.h ../../include/openssl/crypto.h |
101 | str_mem.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h | |
102 | str_mem.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h | |
103 | str_mem.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h | |
104 | str_mem.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h | |
105 | str_mem.o: ../../include/openssl/store.h ../../include/openssl/symhacks.h | |
106 | str_mem.o: str_locl.h str_mem.c | |
107 | str_meth.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h | |
108 | str_meth.o: ../../include/openssl/e_os2.h ../../include/openssl/opensslconf.h | |
a5db6fa5 | 109 | str_meth.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h |
9c52d2cc | 110 | str_meth.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h |
c57bc2dc | 111 | str_meth.o: ../../include/openssl/store.h ../../include/openssl/symhacks.h |
c57bc2dc | 112 | str_meth.o: str_locl.h str_meth.c |