1998-12-21 10:52:47 +00:00
|
|
|
#
|
|
|
|
# SSLeay/crypto/asn1/Makefile
|
|
|
|
#
|
|
|
|
|
|
|
|
DIR= pkcs7
|
|
|
|
TOP= ../..
|
|
|
|
CC= cc
|
|
|
|
INCLUDES= -I.. -I../../include
|
|
|
|
CFLAG=-g
|
|
|
|
INSTALLTOP=/usr/local/ssl
|
|
|
|
MAKE= make -f Makefile.ssl
|
1999-01-19 21:36:31 +00:00
|
|
|
MAKEDEPEND= $(TOP)/util/domd $(TOP)
|
1998-12-21 10:52:47 +00:00
|
|
|
MAKEFILE= Makefile.ssl
|
|
|
|
AR= ar r
|
|
|
|
|
|
|
|
CFLAGS= $(INCLUDES) $(CFLAG)
|
|
|
|
|
|
|
|
GENERAL=Makefile README
|
|
|
|
TEST=
|
|
|
|
APPS=
|
|
|
|
|
|
|
|
LIB=$(TOP)/libcrypto.a
|
|
|
|
LIBSRC= pk7_lib.c pkcs7err.c pk7_doit.c
|
|
|
|
LIBOBJ= pk7_lib.o pkcs7err.o pk7_doit.o
|
|
|
|
|
|
|
|
SRC= $(LIBSRC)
|
|
|
|
|
|
|
|
EXHEADER= pkcs7.h
|
|
|
|
HEADER= $(EXHEADER)
|
|
|
|
|
|
|
|
ALL= $(GENERAL) $(SRC) $(HEADER)
|
|
|
|
|
|
|
|
top:
|
|
|
|
(cd ../..; $(MAKE) DIRS=crypto SDIRS=$(DIR) sub_all)
|
|
|
|
|
|
|
|
test:
|
|
|
|
|
|
|
|
all: lib
|
|
|
|
|
|
|
|
lib: $(LIBOBJ)
|
|
|
|
$(AR) $(LIB) $(LIBOBJ)
|
1999-04-01 12:34:33 +00:00
|
|
|
$(RANLIB) $(LIB)
|
1998-12-21 10:52:47 +00:00
|
|
|
@touch lib
|
|
|
|
|
|
|
|
files:
|
1999-04-01 12:34:33 +00:00
|
|
|
$(PERL) $(TOP)/util/files.pl Makefile.ssl >> $(TOP)/MINFO
|
1998-12-21 10:52:47 +00:00
|
|
|
|
|
|
|
links:
|
1999-03-06 12:32:06 +00:00
|
|
|
@$(TOP)/util/point.sh Makefile.ssl Makefile
|
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:
|
|
|
|
@for i in $(EXHEADER) ; \
|
|
|
|
do \
|
1999-04-23 22:13:45 +00:00
|
|
|
(cp $$i $(INSTALLTOP)/include/openssl/$$i; \
|
|
|
|
chmod 644 $(INSTALLTOP)/include/openssl/$$i ); \
|
1998-12-21 10:52:47 +00:00
|
|
|
done;
|
|
|
|
|
|
|
|
tags:
|
|
|
|
ctags $(SRC)
|
|
|
|
|
|
|
|
tests:
|
|
|
|
|
|
|
|
lint:
|
|
|
|
lint -DLINT $(INCLUDES) $(SRC)>fluff
|
|
|
|
|
|
|
|
depend:
|
1999-04-27 01:14:46 +00:00
|
|
|
$(MAKEDEPEND) $(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:
|
1999-03-06 12:32:06 +00:00
|
|
|
rm -f *.o *.obj lib tags core .pure .nfs* *.old *.bak fluff
|
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
|
|
|
|
1999-04-23 22:50:50 +00:00
|
|
|
pk7_doit.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
|
|
|
|
pk7_doit.o: ../../include/openssl/blowfish.h ../../include/openssl/bn.h
|
|
|
|
pk7_doit.o: ../../include/openssl/buffer.h ../../include/openssl/cast.h
|
|
|
|
pk7_doit.o: ../../include/openssl/crypto.h ../../include/openssl/des.h
|
|
|
|
pk7_doit.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h
|
|
|
|
pk7_doit.o: ../../include/openssl/e_os.h ../../include/openssl/err.h
|
|
|
|
pk7_doit.o: ../../include/openssl/evp.h ../../include/openssl/idea.h
|
|
|
|
pk7_doit.o: ../../include/openssl/md2.h ../../include/openssl/md5.h
|
|
|
|
pk7_doit.o: ../../include/openssl/mdc2.h ../../include/openssl/objects.h
|
|
|
|
pk7_doit.o: ../../include/openssl/opensslconf.h
|
|
|
|
pk7_doit.o: ../../include/openssl/opensslv.h ../../include/openssl/pkcs7.h
|
|
|
|
pk7_doit.o: ../../include/openssl/rand.h ../../include/openssl/rc2.h
|
|
|
|
pk7_doit.o: ../../include/openssl/rc4.h ../../include/openssl/rc5.h
|
|
|
|
pk7_doit.o: ../../include/openssl/ripemd.h ../../include/openssl/rsa.h
|
|
|
|
pk7_doit.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h
|
|
|
|
pk7_doit.o: ../../include/openssl/stack.h ../../include/openssl/x509.h
|
|
|
|
pk7_doit.o: ../../include/openssl/x509_vfy.h ../cryptlib.h
|
|
|
|
pk7_lib.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
|
|
|
|
pk7_lib.o: ../../include/openssl/blowfish.h ../../include/openssl/bn.h
|
|
|
|
pk7_lib.o: ../../include/openssl/buffer.h ../../include/openssl/cast.h
|
|
|
|
pk7_lib.o: ../../include/openssl/crypto.h ../../include/openssl/des.h
|
|
|
|
pk7_lib.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h
|
|
|
|
pk7_lib.o: ../../include/openssl/e_os.h ../../include/openssl/err.h
|
|
|
|
pk7_lib.o: ../../include/openssl/evp.h ../../include/openssl/idea.h
|
|
|
|
pk7_lib.o: ../../include/openssl/md2.h ../../include/openssl/md5.h
|
|
|
|
pk7_lib.o: ../../include/openssl/mdc2.h ../../include/openssl/objects.h
|
|
|
|
pk7_lib.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
|
|
|
|
pk7_lib.o: ../../include/openssl/pkcs7.h ../../include/openssl/rc2.h
|
|
|
|
pk7_lib.o: ../../include/openssl/rc4.h ../../include/openssl/rc5.h
|
|
|
|
pk7_lib.o: ../../include/openssl/ripemd.h ../../include/openssl/rsa.h
|
|
|
|
pk7_lib.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h
|
|
|
|
pk7_lib.o: ../../include/openssl/stack.h ../../include/openssl/x509.h
|
|
|
|
pk7_lib.o: ../../include/openssl/x509_vfy.h ../cryptlib.h
|
|
|
|
pkcs7err.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
|
|
|
|
pkcs7err.o: ../../include/openssl/blowfish.h ../../include/openssl/bn.h
|
|
|
|
pkcs7err.o: ../../include/openssl/cast.h ../../include/openssl/crypto.h
|
|
|
|
pkcs7err.o: ../../include/openssl/des.h ../../include/openssl/dh.h
|
|
|
|
pkcs7err.o: ../../include/openssl/dsa.h ../../include/openssl/err.h
|
|
|
|
pkcs7err.o: ../../include/openssl/evp.h ../../include/openssl/idea.h
|
|
|
|
pkcs7err.o: ../../include/openssl/md2.h ../../include/openssl/md5.h
|
|
|
|
pkcs7err.o: ../../include/openssl/mdc2.h ../../include/openssl/objects.h
|
|
|
|
pkcs7err.o: ../../include/openssl/opensslconf.h
|
|
|
|
pkcs7err.o: ../../include/openssl/opensslv.h ../../include/openssl/pkcs7.h
|
|
|
|
pkcs7err.o: ../../include/openssl/rc2.h ../../include/openssl/rc4.h
|
|
|
|
pkcs7err.o: ../../include/openssl/rc5.h ../../include/openssl/ripemd.h
|
|
|
|
pkcs7err.o: ../../include/openssl/rsa.h ../../include/openssl/safestack.h
|
|
|
|
pkcs7err.o: ../../include/openssl/sha.h ../../include/openssl/stack.h
|
|
|
|
pkcs7err.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h
|