2003-05-01 03:53:12 +00:00
|
|
|
#
|
|
|
|
# OpenSSL/crypto/store/Makefile
|
|
|
|
#
|
|
|
|
|
|
|
|
DIR= store
|
|
|
|
TOP= ../..
|
|
|
|
CC= cc
|
|
|
|
INCLUDES= -I.. -I$(TOP) -I../../include
|
|
|
|
CFLAG=-g
|
2005-03-30 13:05:57 +00:00
|
|
|
MAKEFILE= Makefile
|
2003-05-01 03:53:12 +00:00
|
|
|
AR= ar r
|
|
|
|
|
|
|
|
CFLAGS= $(INCLUDES) $(CFLAG)
|
|
|
|
|
|
|
|
GENERAL=Makefile
|
|
|
|
#TEST= storetest.c
|
|
|
|
TEST=
|
|
|
|
APPS=
|
|
|
|
|
|
|
|
LIB=$(TOP)/libcrypto.a
|
|
|
|
LIBSRC= str_err.c str_lib.c str_meth.c str_mem.c
|
|
|
|
LIBOBJ= str_err.o str_lib.o str_meth.o str_mem.o
|
|
|
|
|
|
|
|
SRC= $(LIBSRC)
|
|
|
|
|
2003-05-20 09:00:59 +00:00
|
|
|
#EXHEADER= store.h str_compat.h
|
|
|
|
EXHEADER= store.h
|
2003-05-01 03:53:12 +00:00
|
|
|
HEADER= $(EXHEADER) str_locl.h
|
|
|
|
|
|
|
|
ALL= $(GENERAL) $(SRC) $(HEADER)
|
|
|
|
|
|
|
|
top:
|
|
|
|
(cd ../..; $(MAKE) DIRS=crypto SDIRS=$(DIR) sub_all)
|
|
|
|
|
|
|
|
all: lib
|
|
|
|
|
|
|
|
lib: $(LIBOBJ)
|
|
|
|
$(AR) $(LIB) $(LIBOBJ)
|
|
|
|
$(RANLIB) $(LIB) || echo Never mind.
|
|
|
|
@touch lib
|
|
|
|
|
|
|
|
files:
|
2005-03-30 13:05:57 +00:00
|
|
|
$(PERL) $(TOP)/util/files.pl Makefile >> $(TOP)/MINFO
|
2003-05-01 03:53:12 +00:00
|
|
|
|
|
|
|
links:
|
|
|
|
@$(PERL) $(TOP)/util/mklink.pl ../../include/openssl $(EXHEADER)
|
|
|
|
@$(PERL) $(TOP)/util/mklink.pl ../../test $(TEST)
|
|
|
|
@$(PERL) $(TOP)/util/mklink.pl ../../apps $(APPS)
|
|
|
|
|
|
|
|
install:
|
2005-05-15 22:23:26 +00:00
|
|
|
@[ -n "$(INSTALLTOP)" ] # should be set by top Makefile...
|
2004-11-02 23:55:01 +00:00
|
|
|
@headerlist="$(EXHEADER)"; for i in $$headerlist; \
|
2003-05-01 03:53:12 +00:00
|
|
|
do \
|
|
|
|
(cp $$i $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i; \
|
|
|
|
chmod 644 $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i ); \
|
|
|
|
done;
|
|
|
|
|
|
|
|
tags:
|
|
|
|
ctags $(SRC)
|
|
|
|
|
|
|
|
tests:
|
|
|
|
|
|
|
|
lint:
|
|
|
|
lint -DLINT $(INCLUDES) $(SRC)>fluff
|
|
|
|
|
2015-05-22 15:54:06 +00:00
|
|
|
update: depend
|
|
|
|
|
2003-05-01 03:53:12 +00:00
|
|
|
depend:
|
2005-05-16 16:55:47 +00:00
|
|
|
@[ -n "$(MAKEDEPEND)" ] # should be set by upper Makefile...
|
2003-05-01 03:53:12 +00:00
|
|
|
$(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(PROGS) $(LIBSRC)
|
|
|
|
|
|
|
|
dclean:
|
|
|
|
$(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new
|
|
|
|
mv -f Makefile.new $(MAKEFILE)
|
|
|
|
|
|
|
|
clean:
|
|
|
|
rm -f *.o */*.o *.obj lib tags core .pure .nfs* *.old *.bak fluff
|
|
|
|
|
|
|
|
# DO NOT DELETE THIS LINE -- make depend depends on it.
|
|
|
|
|
2004-05-17 19:26:06 +00:00
|
|
|
str_err.o: ../../include/openssl/bio.h ../../include/openssl/crypto.h
|
|
|
|
str_err.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
|
|
|
|
str_err.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h
|
|
|
|
str_err.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
|
|
|
|
str_err.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
|
|
|
|
str_err.o: ../../include/openssl/store.h ../../include/openssl/symhacks.h
|
|
|
|
str_err.o: str_err.c
|
2003-05-01 03:53:12 +00:00
|
|
|
str_lib.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
|
|
|
|
str_lib.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h
|
2004-04-19 18:33:41 +00:00
|
|
|
str_lib.o: ../../include/openssl/crypto.h ../../include/openssl/e_os2.h
|
2003-05-01 03:53:12 +00:00
|
|
|
str_lib.o: ../../include/openssl/ec.h ../../include/openssl/ecdh.h
|
|
|
|
str_lib.o: ../../include/openssl/ecdsa.h ../../include/openssl/engine.h
|
|
|
|
str_lib.o: ../../include/openssl/err.h ../../include/openssl/evp.h
|
|
|
|
str_lib.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h
|
|
|
|
str_lib.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h
|
|
|
|
str_lib.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
|
2004-04-19 18:33:41 +00:00
|
|
|
str_lib.o: ../../include/openssl/pkcs7.h ../../include/openssl/safestack.h
|
2003-05-01 03:53:12 +00:00
|
|
|
str_lib.o: ../../include/openssl/sha.h ../../include/openssl/stack.h
|
|
|
|
str_lib.o: ../../include/openssl/store.h ../../include/openssl/symhacks.h
|
2004-04-19 18:33:41 +00:00
|
|
|
str_lib.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h
|
|
|
|
str_lib.o: str_lib.c str_locl.h
|
2004-05-17 19:26:06 +00:00
|
|
|
str_mem.o: ../../include/openssl/bio.h ../../include/openssl/crypto.h
|
|
|
|
str_mem.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
|
|
|
|
str_mem.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h
|
|
|
|
str_mem.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
|
|
|
|
str_mem.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
|
|
|
|
str_mem.o: ../../include/openssl/store.h ../../include/openssl/symhacks.h
|
|
|
|
str_mem.o: str_locl.h str_mem.c
|
|
|
|
str_meth.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
|
|
|
|
str_meth.o: ../../include/openssl/e_os2.h ../../include/openssl/opensslconf.h
|
2003-05-01 03:53:12 +00:00
|
|
|
str_meth.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
|
2004-05-17 19:26:06 +00:00
|
|
|
str_meth.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
|
2004-04-19 18:33:41 +00:00
|
|
|
str_meth.o: ../../include/openssl/store.h ../../include/openssl/symhacks.h
|
|
|
|
str_meth.o: str_locl.h str_meth.c
|