1160814Ssimon#
2160814Ssimon# OpenSSL/crypto/store/Makefile
3160814Ssimon#
4160814Ssimon
5160814SsimonDIR=	store
6160814SsimonTOP=	../..
7160814SsimonCC=	cc
8160814SsimonINCLUDES= -I.. -I$(TOP) -I../../include
9160814SsimonCFLAG=-g
10160814SsimonMAKEFILE=	Makefile
11160814SsimonAR=		ar r
12160814Ssimon
13160814SsimonCFLAGS= $(INCLUDES) $(CFLAG)
14160814Ssimon
15160814SsimonGENERAL=Makefile
16160814Ssimon#TEST= storetest.c
17160814SsimonTEST=
18160814SsimonAPPS=
19160814Ssimon
20160814SsimonLIB=$(TOP)/libcrypto.a
21160814SsimonLIBSRC= str_err.c str_lib.c str_meth.c str_mem.c
22160814SsimonLIBOBJ= str_err.o str_lib.o str_meth.o str_mem.o
23160814Ssimon
24160814SsimonSRC= $(LIBSRC)
25160814Ssimon
26160814Ssimon#EXHEADER= store.h str_compat.h
27160814SsimonEXHEADER= store.h
28160814SsimonHEADER=	$(EXHEADER) str_locl.h
29160814Ssimon
30160814SsimonALL=    $(GENERAL) $(SRC) $(HEADER)
31160814Ssimon
32160814Ssimontop:
33160814Ssimon	(cd ../..; $(MAKE) DIRS=crypto SDIRS=$(DIR) sub_all)
34160814Ssimon
35160814Ssimonall:	lib
36160814Ssimon
37160814Ssimonlib:	$(LIBOBJ)
38238405Sjkim	$(AR) $(LIB) $(LIBOBJ)
39160814Ssimon	$(RANLIB) $(LIB) || echo Never mind.
40160814Ssimon	@touch lib
41160814Ssimon
42160814Ssimonfiles:
43160814Ssimon	$(PERL) $(TOP)/util/files.pl Makefile >> $(TOP)/MINFO
44160814Ssimon
45160814Ssimonlinks:
46160814Ssimon	@$(PERL) $(TOP)/util/mklink.pl ../../include/openssl $(EXHEADER)
47160814Ssimon	@$(PERL) $(TOP)/util/mklink.pl ../../test $(TEST)
48160814Ssimon	@$(PERL) $(TOP)/util/mklink.pl ../../apps $(APPS)
49160814Ssimon
50160814Ssimoninstall:
51160814Ssimon	@[ -n "$(INSTALLTOP)" ] # should be set by top Makefile...
52160814Ssimon	@headerlist="$(EXHEADER)"; for i in $$headerlist; \
53160814Ssimon	do  \
54160814Ssimon	(cp $$i $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i; \
55160814Ssimon	chmod 644 $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i ); \
56160814Ssimon	done;
57160814Ssimon
58160814Ssimontags:
59160814Ssimon	ctags $(SRC)
60160814Ssimon
61160814Ssimontests:
62160814Ssimon
63160814Ssimonlint:
64160814Ssimon	lint -DLINT $(INCLUDES) $(SRC)>fluff
65160814Ssimon
66296341Sdelphijupdate: depend
67296341Sdelphij
68160814Ssimondepend:
69160814Ssimon	@[ -n "$(MAKEDEPEND)" ] # should be set by upper Makefile...
70160814Ssimon	$(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(PROGS) $(LIBSRC)
71160814Ssimon
72160814Ssimondclean:
73160814Ssimon	$(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new
74160814Ssimon	mv -f Makefile.new $(MAKEFILE)
75160814Ssimon
76160814Ssimonclean:
77160814Ssimon	rm -f *.o */*.o *.obj lib tags core .pure .nfs* *.old *.bak fluff
78160814Ssimon
79160814Ssimon# DO NOT DELETE THIS LINE -- make depend depends on it.
80160814Ssimon
81160814Ssimonstr_err.o: ../../include/openssl/bio.h ../../include/openssl/crypto.h
82160814Ssimonstr_err.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
83160814Ssimonstr_err.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h
84160814Ssimonstr_err.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
85160814Ssimonstr_err.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
86160814Ssimonstr_err.o: ../../include/openssl/store.h ../../include/openssl/symhacks.h
87160814Ssimonstr_err.o: str_err.c
88160814Ssimonstr_lib.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
89160814Ssimonstr_lib.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h
90160814Ssimonstr_lib.o: ../../include/openssl/crypto.h ../../include/openssl/e_os2.h
91160814Ssimonstr_lib.o: ../../include/openssl/ec.h ../../include/openssl/ecdh.h
92160814Ssimonstr_lib.o: ../../include/openssl/ecdsa.h ../../include/openssl/engine.h
93160814Ssimonstr_lib.o: ../../include/openssl/err.h ../../include/openssl/evp.h
94238405Sjkimstr_lib.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h
95238405Sjkimstr_lib.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h
96238405Sjkimstr_lib.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
97238405Sjkimstr_lib.o: ../../include/openssl/pkcs7.h ../../include/openssl/safestack.h
98238405Sjkimstr_lib.o: ../../include/openssl/sha.h ../../include/openssl/stack.h
99238405Sjkimstr_lib.o: ../../include/openssl/store.h ../../include/openssl/symhacks.h
100238405Sjkimstr_lib.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h
101238405Sjkimstr_lib.o: str_lib.c str_locl.h
102160814Ssimonstr_mem.o: ../../include/openssl/bio.h ../../include/openssl/crypto.h
103160814Ssimonstr_mem.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
104160814Ssimonstr_mem.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h
105160814Ssimonstr_mem.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
106160814Ssimonstr_mem.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
107160814Ssimonstr_mem.o: ../../include/openssl/store.h ../../include/openssl/symhacks.h
108160814Ssimonstr_mem.o: str_locl.h str_mem.c
109160814Ssimonstr_meth.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
110160814Ssimonstr_meth.o: ../../include/openssl/e_os2.h ../../include/openssl/opensslconf.h
111160814Ssimonstr_meth.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
112160814Ssimonstr_meth.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
113160814Ssimonstr_meth.o: ../../include/openssl/store.h ../../include/openssl/symhacks.h
114160814Ssimonstr_meth.o: str_locl.h str_meth.c
115