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)
|
|
|
|
|
|
|
|
ERR=pkcs7
|
|
|
|
ERRC=pkcs7err
|
|
|
|
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
|
|
|
|
@$(TOP)/util/mklink.sh ../../include $(EXHEADER)
|
|
|
|
@$(TOP)/util/mklink.sh ../../test $(TEST)
|
|
|
|
@$(TOP)/util/mklink.sh ../../apps $(APPS)
|
1998-12-21 10:52:47 +00:00
|
|
|
|
|
|
|
install:
|
|
|
|
@for i in $(EXHEADER) ; \
|
|
|
|
do \
|
|
|
|
(cp $$i $(INSTALLTOP)/include/$$i; \
|
|
|
|
chmod 644 $(INSTALLTOP)/include/$$i ); \
|
|
|
|
done;
|
|
|
|
|
|
|
|
tags:
|
|
|
|
ctags $(SRC)
|
|
|
|
|
|
|
|
tests:
|
|
|
|
|
|
|
|
lint:
|
|
|
|
lint -DLINT $(INCLUDES) $(SRC)>fluff
|
|
|
|
|
|
|
|
depend:
|
|
|
|
$(MAKEDEPEND) $(INCLUDES) $(PROGS) $(LIBSRC)
|
|
|
|
|
|
|
|
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
|
|
|
|
1999-01-18 22:18:38 +00:00
|
|
|
errors: $(ERRC).c
|
|
|
|
|
|
|
|
$(ERRC).c: $(ERR).err
|
1999-04-01 12:34:33 +00:00
|
|
|
$(PERL) $(TOP)/util/err-ins.pl $(ERR).err $(ERR).h
|
|
|
|
$(PERL) ../err/err_genc.pl -s $(ERR).h $(ERRC).c
|
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
|
|
|
|
|
|
|
pk7_doit.o: ../../include/asn1.h ../../include/bio.h ../../include/blowfish.h
|
|
|
|
pk7_doit.o: ../../include/bn.h ../../include/buffer.h ../../include/cast.h
|
|
|
|
pk7_doit.o: ../../include/des.h ../../include/dh.h ../../include/dsa.h
|
|
|
|
pk7_doit.o: ../../include/e_os.h ../../include/err.h ../../include/evp.h
|
|
|
|
pk7_doit.o: ../../include/idea.h ../../include/md2.h ../../include/md5.h
|
|
|
|
pk7_doit.o: ../../include/mdc2.h ../../include/objects.h ../../include/rand.h
|
|
|
|
pk7_doit.o: ../../include/rc2.h ../../include/rc4.h ../../include/rc5.h
|
1999-04-12 17:23:57 +00:00
|
|
|
pk7_doit.o: ../../include/ripemd.h ../../include/rsa.h
|
|
|
|
pk7_doit.o: ../../include/safestack.h ../../include/sha.h ../../include/stack.h
|
|
|
|
pk7_doit.o: ../../include/x509.h ../../include/x509_vfy.h ../cryptlib.h
|
1999-04-23 15:01:15 +00:00
|
|
|
pk7_doit.o: ../crypto.h ../opensslconf.h ../opensslv.h pkcs7.h
|
1999-03-06 14:32:48 +00:00
|
|
|
pk7_lib.o: ../../include/asn1.h ../../include/bio.h ../../include/blowfish.h
|
|
|
|
pk7_lib.o: ../../include/bn.h ../../include/buffer.h ../../include/cast.h
|
|
|
|
pk7_lib.o: ../../include/des.h ../../include/dh.h ../../include/dsa.h
|
|
|
|
pk7_lib.o: ../../include/e_os.h ../../include/err.h ../../include/evp.h
|
|
|
|
pk7_lib.o: ../../include/idea.h ../../include/md2.h ../../include/md5.h
|
|
|
|
pk7_lib.o: ../../include/mdc2.h ../../include/objects.h ../../include/rc2.h
|
|
|
|
pk7_lib.o: ../../include/rc4.h ../../include/rc5.h ../../include/ripemd.h
|
1999-04-12 17:23:57 +00:00
|
|
|
pk7_lib.o: ../../include/rsa.h ../../include/safestack.h ../../include/sha.h
|
|
|
|
pk7_lib.o: ../../include/stack.h ../../include/x509.h ../../include/x509_vfy.h
|
1999-04-23 15:01:15 +00:00
|
|
|
pk7_lib.o: ../cryptlib.h ../crypto.h ../opensslconf.h ../opensslv.h pkcs7.h
|
1999-03-06 14:32:48 +00:00
|
|
|
pkcs7err.o: ../../include/asn1.h ../../include/bio.h ../../include/blowfish.h
|
|
|
|
pkcs7err.o: ../../include/bn.h ../../include/cast.h ../../include/des.h
|
|
|
|
pkcs7err.o: ../../include/dh.h ../../include/dsa.h ../../include/err.h
|
|
|
|
pkcs7err.o: ../../include/evp.h ../../include/idea.h ../../include/md2.h
|
|
|
|
pkcs7err.o: ../../include/md5.h ../../include/mdc2.h ../../include/objects.h
|
|
|
|
pkcs7err.o: ../../include/rc2.h ../../include/rc4.h ../../include/rc5.h
|
1999-04-12 17:23:57 +00:00
|
|
|
pkcs7err.o: ../../include/ripemd.h ../../include/rsa.h
|
|
|
|
pkcs7err.o: ../../include/safestack.h ../../include/sha.h ../../include/stack.h
|
|
|
|
pkcs7err.o: ../../include/x509.h ../../include/x509_vfy.h ../crypto.h
|
1999-04-23 15:01:15 +00:00
|
|
|
pkcs7err.o: ../opensslconf.h ../opensslv.h pkcs7.h
|