1998-12-21 10:52:47 +00:00
|
|
|
#
|
2006-02-04 01:49:36 +00:00
|
|
|
# OpenSSL/crypto/pkcs7/Makefile
|
1998-12-21 10:52:47 +00:00
|
|
|
#
|
|
|
|
|
|
|
|
DIR= pkcs7
|
|
|
|
TOP= ../..
|
|
|
|
CC= cc
|
2001-02-22 14:45:02 +00:00
|
|
|
INCLUDES= -I.. -I$(TOP) -I../../include
|
1998-12-21 10:52:47 +00:00
|
|
|
CFLAG=-g
|
2005-03-30 13:05:57 +00:00
|
|
|
MAKEFILE= Makefile
|
1998-12-21 10:52:47 +00:00
|
|
|
AR= ar r
|
|
|
|
|
1999-10-25 19:28:38 +00:00
|
|
|
PEX_LIBS=
|
|
|
|
EX_LIBS=
|
|
|
|
|
1998-12-21 10:52:47 +00:00
|
|
|
CFLAGS= $(INCLUDES) $(CFLAG)
|
|
|
|
|
|
|
|
GENERAL=Makefile README
|
|
|
|
TEST=
|
|
|
|
APPS=
|
|
|
|
|
|
|
|
LIB=$(TOP)/libcrypto.a
|
2000-12-08 19:09:35 +00:00
|
|
|
LIBSRC= pk7_asn1.c pk7_lib.c pkcs7err.c pk7_doit.c pk7_smime.c pk7_attr.c \
|
|
|
|
pk7_mime.c
|
|
|
|
LIBOBJ= pk7_asn1.o pk7_lib.o pkcs7err.o pk7_doit.o pk7_smime.o pk7_attr.o \
|
|
|
|
pk7_mime.o
|
1998-12-21 10:52:47 +00:00
|
|
|
|
|
|
|
SRC= $(LIBSRC)
|
|
|
|
|
|
|
|
EXHEADER= pkcs7.h
|
|
|
|
HEADER= $(EXHEADER)
|
|
|
|
|
|
|
|
ALL= $(GENERAL) $(SRC) $(HEADER)
|
|
|
|
|
|
|
|
top:
|
|
|
|
(cd ../..; $(MAKE) DIRS=crypto SDIRS=$(DIR) sub_all)
|
|
|
|
|
|
|
|
test:
|
|
|
|
|
1999-08-28 12:50:48 +00:00
|
|
|
all: lib
|
1998-12-21 10:52:47 +00:00
|
|
|
|
1999-06-03 16:07:37 +00:00
|
|
|
testapps: enc dec sign verify
|
|
|
|
|
|
|
|
enc: enc.o lib
|
1999-10-25 19:28:38 +00:00
|
|
|
$(CC) $(CFLAGS) -o enc enc.o $(PEX_LIBS) $(LIB) $(EX_LIBS)
|
1999-06-03 16:07:37 +00:00
|
|
|
|
|
|
|
dec: dec.o lib
|
1999-10-25 19:28:38 +00:00
|
|
|
$(CC) $(CFLAGS) -o dec dec.o $(PEX_LIBS) $(LIB) $(EX_LIBS)
|
1999-06-03 16:07:37 +00:00
|
|
|
|
|
|
|
sign: sign.o lib
|
1999-10-25 19:28:38 +00:00
|
|
|
$(CC) $(CFLAGS) -o sign sign.o $(PEX_LIBS) $(LIB) $(EX_LIBS)
|
1999-06-03 16:07:37 +00:00
|
|
|
|
|
|
|
verify: verify.o example.o lib
|
1999-10-25 19:28:38 +00:00
|
|
|
$(CC) $(CFLAGS) -o verify verify.o $(PEX_LIBS) example.o $(LIB) $(EX_LIBS)
|
1999-06-03 16:07:37 +00:00
|
|
|
|
1998-12-21 10:52:47 +00:00
|
|
|
lib: $(LIBOBJ)
|
2008-09-16 21:44:57 +00:00
|
|
|
$(ARX) $(LIB) $(LIBOBJ)
|
2001-03-09 14:01:42 +00:00
|
|
|
$(RANLIB) $(LIB) || echo Never mind.
|
1998-12-21 10:52:47 +00:00
|
|
|
@touch lib
|
|
|
|
|
|
|
|
files:
|
2005-03-30 13:05:57 +00:00
|
|
|
$(PERL) $(TOP)/util/files.pl Makefile >> $(TOP)/MINFO
|
1998-12-21 10:52:47 +00:00
|
|
|
|
|
|
|
links:
|
1999-04-29 12:46:59 +00:00
|
|
|
@$(PERL) $(TOP)/util/mklink.pl ../../include/openssl $(EXHEADER)
|
|
|
|
@$(PERL) $(TOP)/util/mklink.pl ../../test $(TEST)
|
|
|
|
@$(PERL) $(TOP)/util/mklink.pl ../../apps $(APPS)
|
1998-12-21 10:52:47 +00:00
|
|
|
|
|
|
|
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 ; \
|
1998-12-21 10:52:47 +00:00
|
|
|
do \
|
1999-04-29 21:52:08 +00:00
|
|
|
(cp $$i $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i; \
|
|
|
|
chmod 644 $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i ); \
|
1998-12-21 10:52:47 +00:00
|
|
|
done;
|
|
|
|
|
|
|
|
tags:
|
|
|
|
ctags $(SRC)
|
|
|
|
|
|
|
|
tests:
|
|
|
|
|
|
|
|
lint:
|
|
|
|
lint -DLINT $(INCLUDES) $(SRC)>fluff
|
|
|
|
|
|
|
|
depend:
|
2005-05-16 16:55:47 +00:00
|
|
|
@[ -n "$(MAKEDEPEND)" ] # should be set by upper Makefile...
|
2002-10-09 13:25:12 +00:00
|
|
|
$(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(PROGS) $(LIBSRC)
|
1998-12-21 10:52:47 +00:00
|
|
|
|
|
|
|
dclean:
|
1999-04-01 12:34:33 +00:00
|
|
|
$(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new
|
1998-12-21 10:52:47 +00:00
|
|
|
mv -f Makefile.new $(MAKEFILE)
|
|
|
|
|
|
|
|
clean:
|
2000-02-08 21:50:52 +00:00
|
|
|
rm -f *.o *.obj lib tags core .pure .nfs* *.old *.bak fluff enc dec sign verify
|
1998-12-21 10:52:47 +00:00
|
|
|
|
|
|
|
# DO NOT DELETE THIS LINE -- make depend depends on it.
|
1999-03-06 14:32:48 +00:00
|
|
|
|
2002-12-29 01:38:15 +00:00
|
|
|
pk7_asn1.o: ../../e_os.h ../../include/openssl/asn1.h
|
|
|
|
pk7_asn1.o: ../../include/openssl/asn1t.h ../../include/openssl/bio.h
|
2004-05-17 19:26:06 +00:00
|
|
|
pk7_asn1.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
|
|
|
|
pk7_asn1.o: ../../include/openssl/e_os2.h ../../include/openssl/ec.h
|
|
|
|
pk7_asn1.o: ../../include/openssl/ecdh.h ../../include/openssl/ecdsa.h
|
|
|
|
pk7_asn1.o: ../../include/openssl/err.h ../../include/openssl/evp.h
|
2008-09-17 17:11:09 +00:00
|
|
|
pk7_asn1.o: ../../include/openssl/fips.h ../../include/openssl/lhash.h
|
|
|
|
pk7_asn1.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h
|
|
|
|
pk7_asn1.o: ../../include/openssl/opensslconf.h
|
2001-10-04 07:49:09 +00:00
|
|
|
pk7_asn1.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
|
2004-04-19 18:33:41 +00:00
|
|
|
pk7_asn1.o: ../../include/openssl/pkcs7.h ../../include/openssl/safestack.h
|
|
|
|
pk7_asn1.o: ../../include/openssl/sha.h ../../include/openssl/stack.h
|
|
|
|
pk7_asn1.o: ../../include/openssl/symhacks.h ../../include/openssl/x509.h
|
|
|
|
pk7_asn1.o: ../../include/openssl/x509_vfy.h ../cryptlib.h pk7_asn1.c
|
2002-12-29 01:38:15 +00:00
|
|
|
pk7_attr.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
|
2004-05-17 19:26:06 +00:00
|
|
|
pk7_attr.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
|
|
|
|
pk7_attr.o: ../../include/openssl/e_os2.h ../../include/openssl/ec.h
|
|
|
|
pk7_attr.o: ../../include/openssl/ecdh.h ../../include/openssl/ecdsa.h
|
|
|
|
pk7_attr.o: ../../include/openssl/err.h ../../include/openssl/evp.h
|
2008-09-17 17:11:09 +00:00
|
|
|
pk7_attr.o: ../../include/openssl/fips.h ../../include/openssl/lhash.h
|
|
|
|
pk7_attr.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h
|
|
|
|
pk7_attr.o: ../../include/openssl/opensslconf.h
|
2001-10-04 07:49:09 +00:00
|
|
|
pk7_attr.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
|
|
|
|
pk7_attr.o: ../../include/openssl/pem.h ../../include/openssl/pem2.h
|
2004-04-19 18:33:41 +00:00
|
|
|
pk7_attr.o: ../../include/openssl/pkcs7.h ../../include/openssl/safestack.h
|
|
|
|
pk7_attr.o: ../../include/openssl/sha.h ../../include/openssl/stack.h
|
|
|
|
pk7_attr.o: ../../include/openssl/symhacks.h ../../include/openssl/x509.h
|
|
|
|
pk7_attr.o: ../../include/openssl/x509_vfy.h pk7_attr.c
|
2002-12-29 01:38:15 +00:00
|
|
|
pk7_doit.o: ../../e_os.h ../../include/openssl/asn1.h
|
2004-05-17 19:26:06 +00:00
|
|
|
pk7_doit.o: ../../include/openssl/bio.h ../../include/openssl/buffer.h
|
|
|
|
pk7_doit.o: ../../include/openssl/conf.h ../../include/openssl/crypto.h
|
|
|
|
pk7_doit.o: ../../include/openssl/e_os2.h ../../include/openssl/ec.h
|
|
|
|
pk7_doit.o: ../../include/openssl/ecdh.h ../../include/openssl/ecdsa.h
|
|
|
|
pk7_doit.o: ../../include/openssl/err.h ../../include/openssl/evp.h
|
2008-09-17 17:11:09 +00:00
|
|
|
pk7_doit.o: ../../include/openssl/fips.h ../../include/openssl/lhash.h
|
|
|
|
pk7_doit.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h
|
|
|
|
pk7_doit.o: ../../include/openssl/opensslconf.h
|
2001-10-04 07:49:09 +00:00
|
|
|
pk7_doit.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
|
|
|
|
pk7_doit.o: ../../include/openssl/pkcs7.h ../../include/openssl/rand.h
|
2004-04-19 18:33:41 +00:00
|
|
|
pk7_doit.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h
|
|
|
|
pk7_doit.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
|
|
|
|
pk7_doit.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h
|
|
|
|
pk7_doit.o: ../../include/openssl/x509v3.h ../cryptlib.h pk7_doit.c
|
2002-12-29 01:38:15 +00:00
|
|
|
pk7_lib.o: ../../e_os.h ../../include/openssl/asn1.h
|
2004-05-17 19:26:06 +00:00
|
|
|
pk7_lib.o: ../../include/openssl/bio.h ../../include/openssl/buffer.h
|
|
|
|
pk7_lib.o: ../../include/openssl/crypto.h ../../include/openssl/e_os2.h
|
|
|
|
pk7_lib.o: ../../include/openssl/ec.h ../../include/openssl/ecdh.h
|
|
|
|
pk7_lib.o: ../../include/openssl/ecdsa.h ../../include/openssl/err.h
|
2008-09-17 17:11:09 +00:00
|
|
|
pk7_lib.o: ../../include/openssl/evp.h ../../include/openssl/fips.h
|
|
|
|
pk7_lib.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h
|
|
|
|
pk7_lib.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h
|
|
|
|
pk7_lib.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
|
|
|
|
pk7_lib.o: ../../include/openssl/pkcs7.h ../../include/openssl/safestack.h
|
|
|
|
pk7_lib.o: ../../include/openssl/sha.h ../../include/openssl/stack.h
|
|
|
|
pk7_lib.o: ../../include/openssl/symhacks.h ../../include/openssl/x509.h
|
|
|
|
pk7_lib.o: ../../include/openssl/x509_vfy.h ../cryptlib.h pk7_lib.c
|
2002-12-29 01:38:15 +00:00
|
|
|
pk7_mime.o: ../../e_os.h ../../include/openssl/asn1.h
|
2004-05-17 19:26:06 +00:00
|
|
|
pk7_mime.o: ../../include/openssl/bio.h ../../include/openssl/buffer.h
|
|
|
|
pk7_mime.o: ../../include/openssl/crypto.h ../../include/openssl/e_os2.h
|
|
|
|
pk7_mime.o: ../../include/openssl/ec.h ../../include/openssl/ecdh.h
|
|
|
|
pk7_mime.o: ../../include/openssl/ecdsa.h ../../include/openssl/err.h
|
2008-09-17 17:11:09 +00:00
|
|
|
pk7_mime.o: ../../include/openssl/evp.h ../../include/openssl/fips.h
|
|
|
|
pk7_mime.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h
|
|
|
|
pk7_mime.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h
|
2001-10-04 07:49:09 +00:00
|
|
|
pk7_mime.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
|
|
|
|
pk7_mime.o: ../../include/openssl/pkcs7.h ../../include/openssl/rand.h
|
2004-04-19 18:33:41 +00:00
|
|
|
pk7_mime.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h
|
|
|
|
pk7_mime.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
|
|
|
|
pk7_mime.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h
|
|
|
|
pk7_mime.o: ../cryptlib.h pk7_mime.c
|
2002-12-29 01:38:15 +00:00
|
|
|
pk7_smime.o: ../../e_os.h ../../include/openssl/asn1.h
|
2004-05-17 19:26:06 +00:00
|
|
|
pk7_smime.o: ../../include/openssl/bio.h ../../include/openssl/buffer.h
|
|
|
|
pk7_smime.o: ../../include/openssl/conf.h ../../include/openssl/crypto.h
|
|
|
|
pk7_smime.o: ../../include/openssl/e_os2.h ../../include/openssl/ec.h
|
|
|
|
pk7_smime.o: ../../include/openssl/ecdh.h ../../include/openssl/ecdsa.h
|
|
|
|
pk7_smime.o: ../../include/openssl/err.h ../../include/openssl/evp.h
|
2008-09-17 17:11:09 +00:00
|
|
|
pk7_smime.o: ../../include/openssl/fips.h ../../include/openssl/lhash.h
|
|
|
|
pk7_smime.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h
|
1999-12-08 00:56:15 +00:00
|
|
|
pk7_smime.o: ../../include/openssl/opensslconf.h
|
2001-10-04 07:49:09 +00:00
|
|
|
pk7_smime.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
|
2004-04-19 18:33:41 +00:00
|
|
|
pk7_smime.o: ../../include/openssl/pkcs7.h ../../include/openssl/safestack.h
|
|
|
|
pk7_smime.o: ../../include/openssl/sha.h ../../include/openssl/stack.h
|
|
|
|
pk7_smime.o: ../../include/openssl/symhacks.h ../../include/openssl/x509.h
|
|
|
|
pk7_smime.o: ../../include/openssl/x509_vfy.h ../../include/openssl/x509v3.h
|
|
|
|
pk7_smime.o: ../cryptlib.h pk7_smime.c
|
2001-02-26 10:54:08 +00:00
|
|
|
pkcs7err.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
|
2004-05-17 19:26:06 +00:00
|
|
|
pkcs7err.o: ../../include/openssl/crypto.h ../../include/openssl/e_os2.h
|
|
|
|
pkcs7err.o: ../../include/openssl/err.h ../../include/openssl/lhash.h
|
|
|
|
pkcs7err.o: ../../include/openssl/opensslconf.h
|
2001-10-04 07:49:09 +00:00
|
|
|
pkcs7err.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
|
|
|
|
pkcs7err.o: ../../include/openssl/pkcs7.h ../../include/openssl/safestack.h
|
|
|
|
pkcs7err.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
|
2001-08-05 18:02:16 +00:00
|
|
|
pkcs7err.o: pkcs7err.c
|