rsaz-x86_64.pl: add MULX/ADCX/ADOX code path.
[openssl.git] / crypto / store / Makefile
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 MAKEFILE=       Makefile
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
26 #EXHEADER= store.h str_compat.h
27 EXHEADER= store.h
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)
38         $(ARX) $(LIB) $(LIBOBJ)
39         $(RANLIB) $(LIB) || echo Never mind.
40         @touch lib
41
42 files:
43         $(PERL) $(TOP)/util/files.pl Makefile >> $(TOP)/MINFO
44
45 links:
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:
51         @[ -n "$(INSTALLTOP)" ] # should be set by top Makefile...
52         @headerlist="$(EXHEADER)"; for i in $$headerlist; \
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:
67         @[ -n "$(MAKEDEPEND)" ] # should be set by upper Makefile...
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
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
86 str_lib.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
87 str_lib.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h
88 str_lib.o: ../../include/openssl/crypto.h ../../include/openssl/e_os2.h
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
95 str_lib.o: ../../include/openssl/pkcs7.h ../../include/openssl/safestack.h
96 str_lib.o: ../../include/openssl/sha.h ../../include/openssl/stack.h
97 str_lib.o: ../../include/openssl/store.h ../../include/openssl/symhacks.h
98 str_lib.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h
99 str_lib.o: str_lib.c str_locl.h
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
109 str_meth.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
110 str_meth.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
111 str_meth.o: ../../include/openssl/store.h ../../include/openssl/symhacks.h
112 str_meth.o: str_locl.h str_meth.c