2d813550490e12f614476fd65b7db834b6196119
[openssl.git] / crypto / store / Makefile.ssl
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
10 INSTALL_PREFIX=
11 OPENSSLDIR=     /usr/local/ssl
12 INSTALLTOP=/usr/local/ssl
13 MAKE=           make -f Makefile.ssl
14 MAKEDEPPROG=    makedepend
15 MAKEDEPEND=     $(TOP)/util/domd $(TOP) -MD $(MAKEDEPPROG)
16 MAKEFILE=       Makefile.ssl
17 AR=             ar r
18
19 CFLAGS= $(INCLUDES) $(CFLAG)
20
21 GENERAL=Makefile
22 #TEST= storetest.c
23 TEST=
24 APPS=
25
26 LIB=$(TOP)/libcrypto.a
27 LIBSRC= str_err.c str_lib.c str_meth.c str_mem.c
28 LIBOBJ= str_err.o str_lib.o str_meth.o str_mem.o
29
30 SRC= $(LIBSRC)
31
32 EXHEADER= store.h str_compat.h
33 HEADER= $(EXHEADER) str_locl.h
34
35 ALL=    $(GENERAL) $(SRC) $(HEADER)
36
37 top:
38         (cd ../..; $(MAKE) DIRS=crypto SDIRS=$(DIR) sub_all)
39
40 all:    lib
41
42 lib:    $(LIBOBJ)
43         $(AR) $(LIB) $(LIBOBJ)
44         $(RANLIB) $(LIB) || echo Never mind.
45         @touch lib
46
47 files:
48         $(PERL) $(TOP)/util/files.pl Makefile.ssl >> $(TOP)/MINFO
49
50 links:
51         @$(TOP)/util/point.sh Makefile.ssl Makefile
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         @for i in $(EXHEADER) ; \
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) -- $(PROGS) $(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 */*.o *.obj lib tags core .pure .nfs* *.old *.bak fluff
80
81 # DO NOT DELETE THIS LINE -- make depend depends on it.
82
83 str_err.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
84 str_err.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h
85 str_err.o: ../../include/openssl/crypto.h ../../include/openssl/dh.h
86 str_err.o: ../../include/openssl/dsa.h ../../include/openssl/e_os2.h
87 str_err.o: ../../include/openssl/ec.h ../../include/openssl/ecdh.h
88 str_err.o: ../../include/openssl/ecdsa.h ../../include/openssl/err.h
89 str_err.o: ../../include/openssl/evp.h ../../include/openssl/lhash.h
90 str_err.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h
91 str_err.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
92 str_err.o: ../../include/openssl/ossl_typ.h ../../include/openssl/pkcs7.h
93 str_err.o: ../../include/openssl/rsa.h ../../include/openssl/safestack.h
94 str_err.o: ../../include/openssl/sha.h ../../include/openssl/stack.h
95 str_err.o: ../../include/openssl/store.h ../../include/openssl/symhacks.h
96 str_err.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h
97 str_err.o: str_err.c
98 str_lib.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
99 str_lib.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h
100 str_lib.o: ../../include/openssl/crypto.h ../../include/openssl/dh.h
101 str_lib.o: ../../include/openssl/dsa.h ../../include/openssl/e_os2.h
102 str_lib.o: ../../include/openssl/ec.h ../../include/openssl/ecdh.h
103 str_lib.o: ../../include/openssl/ecdsa.h ../../include/openssl/engine.h
104 str_lib.o: ../../include/openssl/err.h ../../include/openssl/evp.h
105 str_lib.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h
106 str_lib.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h
107 str_lib.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
108 str_lib.o: ../../include/openssl/pkcs7.h ../../include/openssl/rand.h
109 str_lib.o: ../../include/openssl/rsa.h ../../include/openssl/safestack.h
110 str_lib.o: ../../include/openssl/sha.h ../../include/openssl/stack.h
111 str_lib.o: ../../include/openssl/store.h ../../include/openssl/symhacks.h
112 str_lib.o: ../../include/openssl/ui.h ../../include/openssl/x509.h
113 str_lib.o: ../../include/openssl/x509_vfy.h str_lib.c str_locl.h
114 str_mem.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
115 str_mem.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h
116 str_mem.o: ../../include/openssl/crypto.h ../../include/openssl/dh.h
117 str_mem.o: ../../include/openssl/dsa.h ../../include/openssl/e_os2.h
118 str_mem.o: ../../include/openssl/ec.h ../../include/openssl/ecdh.h
119 str_mem.o: ../../include/openssl/ecdsa.h ../../include/openssl/evp.h
120 str_mem.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h
121 str_mem.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h
122 str_mem.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
123 str_mem.o: ../../include/openssl/pkcs7.h ../../include/openssl/rsa.h
124 str_mem.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h
125 str_mem.o: ../../include/openssl/stack.h ../../include/openssl/store.h
126 str_mem.o: ../../include/openssl/symhacks.h ../../include/openssl/x509.h
127 str_mem.o: ../../include/openssl/x509_vfy.h str_locl.h str_mem.c
128 str_meth.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
129 str_meth.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h
130 str_meth.o: ../../include/openssl/crypto.h ../../include/openssl/dh.h
131 str_meth.o: ../../include/openssl/dsa.h ../../include/openssl/e_os2.h
132 str_meth.o: ../../include/openssl/ec.h ../../include/openssl/ecdh.h
133 str_meth.o: ../../include/openssl/ecdsa.h ../../include/openssl/evp.h
134 str_meth.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h
135 str_meth.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h
136 str_meth.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
137 str_meth.o: ../../include/openssl/pkcs7.h ../../include/openssl/rsa.h
138 str_meth.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h
139 str_meth.o: ../../include/openssl/stack.h ../../include/openssl/store.h
140 str_meth.o: ../../include/openssl/symhacks.h ../../include/openssl/x509.h
141 str_meth.o: ../../include/openssl/x509_vfy.h str_locl.h str_meth.c