1# 2# OpenSSL/crypto/store/Makefile 3# 4 5DIR= store 6TOP= ../.. 7CC= cc 8INCLUDES= -I.. -I$(TOP) -I../../include 9CFLAG=-g 10MAKEFILE= Makefile 11AR= ar r 12 13CFLAGS= $(INCLUDES) $(CFLAG) 14 15GENERAL=Makefile 16#TEST= storetest.c 17TEST= 18APPS= 19 20LIB=$(TOP)/libcrypto.a 21LIBSRC= str_err.c str_lib.c str_meth.c str_mem.c 22LIBOBJ= str_err.o str_lib.o str_meth.o str_mem.o 23 24SRC= $(LIBSRC) 25 26#EXHEADER= store.h str_compat.h 27EXHEADER= store.h 28HEADER= $(EXHEADER) str_locl.h 29 30ALL= $(GENERAL) $(SRC) $(HEADER) 31 32top: 33 (cd ../..; $(MAKE) DIRS=crypto SDIRS=$(DIR) sub_all) 34 35all: lib 36 37lib: $(LIBOBJ) 38 $(AR) r $(LIB) $(LIBOBJ) 39 $(RANLIB) $(LIB) || echo Never mind. 40 @touch lib 41 42files: 43 $(PERL) $(TOP)/util/files.pl Makefile >> $(TOP)/MINFO 44 45links: 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 50install: 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 58tags: 59 ctags $(SRC) 60 61tests: 62 63lint: 64 lint -DLINT $(INCLUDES) $(SRC)>fluff 65 66depend: 67 @[ -n "$(MAKEDEPEND)" ] # should be set by upper Makefile... 68 $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(PROGS) $(LIBSRC) 69 70dclean: 71 $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new 72 mv -f Makefile.new $(MAKEFILE) 73 74clean: 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 79str_err.o: ../../include/openssl/bio.h ../../include/openssl/crypto.h 80str_err.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h 81str_err.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h 82str_err.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h 83str_err.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h 84str_err.o: ../../include/openssl/store.h ../../include/openssl/symhacks.h 85str_err.o: str_err.c 86str_lib.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h 87str_lib.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h 88str_lib.o: ../../include/openssl/crypto.h ../../include/openssl/e_os2.h 89str_lib.o: ../../include/openssl/engine.h ../../include/openssl/err.h 90str_lib.o: ../../include/openssl/evp.h ../../include/openssl/lhash.h 91str_lib.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h 92str_lib.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h 93str_lib.o: ../../include/openssl/ossl_typ.h ../../include/openssl/pkcs7.h 94str_lib.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h 95str_lib.o: ../../include/openssl/stack.h ../../include/openssl/store.h 96str_lib.o: ../../include/openssl/symhacks.h ../../include/openssl/x509.h 97str_lib.o: ../../include/openssl/x509_vfy.h str_lib.c str_locl.h 98str_mem.o: ../../include/openssl/bio.h ../../include/openssl/crypto.h 99str_mem.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h 100str_mem.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h 101str_mem.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h 102str_mem.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h 103str_mem.o: ../../include/openssl/store.h ../../include/openssl/symhacks.h 104str_mem.o: str_locl.h str_mem.c 105str_meth.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h 106str_meth.o: ../../include/openssl/e_os2.h ../../include/openssl/opensslconf.h 107str_meth.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h 108str_meth.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h 109str_meth.o: ../../include/openssl/store.h ../../include/openssl/symhacks.h 110str_meth.o: str_locl.h str_meth.c 111