]> git.ipfire.org Git - thirdparty/openssl.git/blob - crypto/store/Makefile.ssl
Don't use $(EXHEADER) directly in for loops, as most shells will break
[thirdparty/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 EXHEADER= store.h
34 HEADER= $(EXHEADER) str_locl.h
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.ssl >> $(TOP)/MINFO
50
51 links:
52 @$(TOP)/util/point.sh Makefile.ssl Makefile
53 @$(PERL) $(TOP)/util/mklink.pl ../../include/openssl $(EXHEADER)
54 @$(PERL) $(TOP)/util/mklink.pl ../../test $(TEST)
55 @$(PERL) $(TOP)/util/mklink.pl ../../apps $(APPS)
56
57 install:
58 @headerlist="$(EXHEADER)"; for i in $$headerlist; \
59 do \
60 (cp $$i $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i; \
61 chmod 644 $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i ); \
62 done;
63
64 tags:
65 ctags $(SRC)
66
67 tests:
68
69 lint:
70 lint -DLINT $(INCLUDES) $(SRC)>fluff
71
72 depend:
73 $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(PROGS) $(LIBSRC)
74
75 dclean:
76 $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new
77 mv -f Makefile.new $(MAKEFILE)
78
79 clean:
80 rm -f *.o */*.o *.obj lib tags core .pure .nfs* *.old *.bak fluff
81
82 # DO NOT DELETE THIS LINE -- make depend depends on it.
83
84 str_err.o: ../../include/openssl/bio.h ../../include/openssl/crypto.h
85 str_err.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
86 str_err.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h
87 str_err.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
88 str_err.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
89 str_err.o: ../../include/openssl/store.h ../../include/openssl/symhacks.h
90 str_err.o: str_err.c
91 str_lib.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
92 str_lib.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h
93 str_lib.o: ../../include/openssl/crypto.h ../../include/openssl/e_os2.h
94 str_lib.o: ../../include/openssl/ec.h ../../include/openssl/ecdh.h
95 str_lib.o: ../../include/openssl/ecdsa.h ../../include/openssl/engine.h
96 str_lib.o: ../../include/openssl/err.h ../../include/openssl/evp.h
97 str_lib.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h
98 str_lib.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h
99 str_lib.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
100 str_lib.o: ../../include/openssl/pkcs7.h ../../include/openssl/safestack.h
101 str_lib.o: ../../include/openssl/sha.h ../../include/openssl/stack.h
102 str_lib.o: ../../include/openssl/store.h ../../include/openssl/symhacks.h
103 str_lib.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h
104 str_lib.o: str_lib.c str_locl.h
105 str_mem.o: ../../include/openssl/bio.h ../../include/openssl/crypto.h
106 str_mem.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
107 str_mem.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h
108 str_mem.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
109 str_mem.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
110 str_mem.o: ../../include/openssl/store.h ../../include/openssl/symhacks.h
111 str_mem.o: str_locl.h str_mem.c
112 str_meth.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
113 str_meth.o: ../../include/openssl/e_os2.h ../../include/openssl/opensslconf.h
114 str_meth.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
115 str_meth.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
116 str_meth.o: ../../include/openssl/store.h ../../include/openssl/symhacks.h
117 str_meth.o: str_locl.h str_meth.c