mirror of
https://github.com/openssl/openssl.git
synced 2024-11-27 05:21:51 +08:00
41d2a336ee
and make all files the depend on it include it without prefixing it with openssl/. This means that all Makefiles will have $(TOP) as one of the include directories.
213 lines
10 KiB
Makefile
213 lines
10 KiB
Makefile
#
|
|
# SSLeay/crypto/pem/Makefile
|
|
#
|
|
|
|
DIR= pem
|
|
TOP= ../..
|
|
CC= cc
|
|
INCLUDES= -I.. -I$(TOP) -I../../include
|
|
CFLAG=-g
|
|
INSTALL_PREFIX=
|
|
OPENSSLDIR= /usr/local/ssl
|
|
INSTALLTOP=/usr/local/ssl
|
|
MAKE= make -f Makefile.ssl
|
|
MAKEDEPPROG= makedepend
|
|
MAKEDEPEND= $(TOP)/util/domd $(TOP) -MD $(MAKEDEPPROG)
|
|
MAKEFILE= Makefile.ssl
|
|
AR= ar r
|
|
|
|
CFLAGS= $(INCLUDES) $(CFLAG)
|
|
|
|
GENERAL=Makefile
|
|
TEST=
|
|
APPS=
|
|
|
|
LIB=$(TOP)/libcrypto.a
|
|
LIBSRC= pem_sign.c pem_seal.c pem_info.c pem_lib.c pem_all.c pem_err.c
|
|
|
|
LIBOBJ= pem_sign.o pem_seal.o pem_info.o pem_lib.o pem_all.o pem_err.o
|
|
|
|
SRC= $(LIBSRC)
|
|
|
|
EXHEADER= pem.h pem2.h
|
|
HEADER= $(EXHEADER)
|
|
|
|
ALL= $(GENERAL) $(SRC) $(HEADER)
|
|
|
|
top:
|
|
(cd ../..; $(MAKE) DIRS=crypto SDIRS=$(DIR) sub_all)
|
|
|
|
all: lib
|
|
|
|
lib: $(LIBOBJ)
|
|
$(AR) $(LIB) $(LIBOBJ)
|
|
@echo You may get an error following this line. Please ignore.
|
|
- $(RANLIB) $(LIB)
|
|
@touch lib
|
|
|
|
files:
|
|
$(PERL) $(TOP)/util/files.pl Makefile.ssl >> $(TOP)/MINFO
|
|
|
|
links: $(EXHEADER)
|
|
@$(TOP)/util/point.sh Makefile.ssl Makefile
|
|
@$(PERL) $(TOP)/util/mklink.pl ../../include/openssl $(EXHEADER)
|
|
@$(PERL) $(TOP)/util/mklink.pl ../../test $(TEST)
|
|
@$(PERL) $(TOP)/util/mklink.pl ../../apps $(APPS)
|
|
|
|
install:
|
|
@for i in $(EXHEADER) ; \
|
|
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
|
|
|
|
depend:
|
|
$(MAKEDEPEND) $(INCLUDES) $(DEPFLAG) $(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 *.obj lib tags core .pure .nfs* *.old *.bak fluff
|
|
|
|
# DO NOT DELETE THIS LINE -- make depend depends on it.
|
|
|
|
pem_all.o: ../../e_os.h ../../include/openssl/asn1.h
|
|
pem_all.o: ../../include/openssl/bio.h ../../include/openssl/blowfish.h
|
|
pem_all.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h
|
|
pem_all.o: ../../include/openssl/cast.h ../../include/openssl/crypto.h
|
|
pem_all.o: ../../include/openssl/des.h ../../include/openssl/dh.h
|
|
pem_all.o: ../../include/openssl/dsa.h ../../include/openssl/e_os2.h
|
|
pem_all.o: ../../include/openssl/err.h ../../include/openssl/evp.h
|
|
pem_all.o: ../../include/openssl/idea.h ../../include/openssl/lhash.h
|
|
pem_all.o: ../../include/openssl/md2.h ../../include/openssl/md4.h
|
|
pem_all.o: ../../include/openssl/md5.h ../../include/openssl/mdc2.h
|
|
pem_all.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h
|
|
pem_all.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
|
|
pem_all.o: ../../include/openssl/pem.h ../../include/openssl/pem2.h
|
|
pem_all.o: ../../include/openssl/pkcs7.h ../../include/openssl/rc2.h
|
|
pem_all.o: ../../include/openssl/rc4.h ../../include/openssl/rc5.h
|
|
pem_all.o: ../../include/openssl/rd_fst.h ../../include/openssl/rijndael.h
|
|
pem_all.o: ../../include/openssl/ripemd.h ../../include/openssl/rsa.h
|
|
pem_all.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h
|
|
pem_all.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
|
|
pem_all.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h
|
|
pem_all.o: ../cryptlib.h pem_all.c
|
|
pem_err.o: ../../e_os.h ../../include/openssl/asn1.h
|
|
pem_err.o: ../../include/openssl/bio.h ../../include/openssl/blowfish.h
|
|
pem_err.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h
|
|
pem_err.o: ../../include/openssl/cast.h ../../include/openssl/crypto.h
|
|
pem_err.o: ../../include/openssl/des.h ../../include/openssl/dh.h
|
|
pem_err.o: ../../include/openssl/dsa.h ../../include/openssl/e_os2.h
|
|
pem_err.o: ../../include/openssl/err.h ../../include/openssl/evp.h
|
|
pem_err.o: ../../include/openssl/idea.h ../../include/openssl/lhash.h
|
|
pem_err.o: ../../include/openssl/md2.h ../../include/openssl/md4.h
|
|
pem_err.o: ../../include/openssl/md5.h ../../include/openssl/mdc2.h
|
|
pem_err.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h
|
|
pem_err.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
|
|
pem_err.o: ../../include/openssl/pem.h ../../include/openssl/pem2.h
|
|
pem_err.o: ../../include/openssl/pkcs7.h ../../include/openssl/rc2.h
|
|
pem_err.o: ../../include/openssl/rc4.h ../../include/openssl/rc5.h
|
|
pem_err.o: ../../include/openssl/rd_fst.h ../../include/openssl/rijndael.h
|
|
pem_err.o: ../../include/openssl/ripemd.h ../../include/openssl/rsa.h
|
|
pem_err.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h
|
|
pem_err.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
|
|
pem_err.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h
|
|
pem_err.o: pem_err.c
|
|
pem_info.o: ../../e_os.h ../../include/openssl/asn1.h
|
|
pem_info.o: ../../include/openssl/bio.h ../../include/openssl/blowfish.h
|
|
pem_info.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h
|
|
pem_info.o: ../../include/openssl/cast.h ../../include/openssl/crypto.h
|
|
pem_info.o: ../../include/openssl/des.h ../../include/openssl/dh.h
|
|
pem_info.o: ../../include/openssl/dsa.h ../../include/openssl/e_os2.h
|
|
pem_info.o: ../../include/openssl/err.h ../../include/openssl/evp.h
|
|
pem_info.o: ../../include/openssl/idea.h ../../include/openssl/lhash.h
|
|
pem_info.o: ../../include/openssl/md2.h ../../include/openssl/md4.h
|
|
pem_info.o: ../../include/openssl/md5.h ../../include/openssl/mdc2.h
|
|
pem_info.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h
|
|
pem_info.o: ../../include/openssl/opensslconf.h
|
|
pem_info.o: ../../include/openssl/opensslv.h ../../include/openssl/pem.h
|
|
pem_info.o: ../../include/openssl/pem2.h ../../include/openssl/pkcs7.h
|
|
pem_info.o: ../../include/openssl/rc2.h ../../include/openssl/rc4.h
|
|
pem_info.o: ../../include/openssl/rc5.h ../../include/openssl/rd_fst.h
|
|
pem_info.o: ../../include/openssl/rijndael.h ../../include/openssl/ripemd.h
|
|
pem_info.o: ../../include/openssl/rsa.h ../../include/openssl/safestack.h
|
|
pem_info.o: ../../include/openssl/sha.h ../../include/openssl/stack.h
|
|
pem_info.o: ../../include/openssl/symhacks.h ../../include/openssl/x509.h
|
|
pem_info.o: ../../include/openssl/x509_vfy.h ../cryptlib.h pem_info.c
|
|
pem_lib.o: ../../e_os.h ../../include/openssl/asn1.h
|
|
pem_lib.o: ../../include/openssl/bio.h ../../include/openssl/blowfish.h
|
|
pem_lib.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h
|
|
pem_lib.o: ../../include/openssl/cast.h ../../include/openssl/crypto.h
|
|
pem_lib.o: ../../include/openssl/des.h ../../include/openssl/dh.h
|
|
pem_lib.o: ../../include/openssl/dsa.h ../../include/openssl/e_os2.h
|
|
pem_lib.o: ../../include/openssl/err.h ../../include/openssl/evp.h
|
|
pem_lib.o: ../../include/openssl/idea.h ../../include/openssl/lhash.h
|
|
pem_lib.o: ../../include/openssl/md2.h ../../include/openssl/md4.h
|
|
pem_lib.o: ../../include/openssl/md5.h ../../include/openssl/mdc2.h
|
|
pem_lib.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h
|
|
pem_lib.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
|
|
pem_lib.o: ../../include/openssl/pem.h ../../include/openssl/pem2.h
|
|
pem_lib.o: ../../include/openssl/pkcs12.h ../../include/openssl/pkcs7.h
|
|
pem_lib.o: ../../include/openssl/rand.h ../../include/openssl/rc2.h
|
|
pem_lib.o: ../../include/openssl/rc4.h ../../include/openssl/rc5.h
|
|
pem_lib.o: ../../include/openssl/rd_fst.h ../../include/openssl/rijndael.h
|
|
pem_lib.o: ../../include/openssl/ripemd.h ../../include/openssl/rsa.h
|
|
pem_lib.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h
|
|
pem_lib.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
|
|
pem_lib.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h
|
|
pem_lib.o: ../cryptlib.h pem_lib.c
|
|
pem_seal.o: ../../e_os.h ../../include/openssl/asn1.h
|
|
pem_seal.o: ../../include/openssl/bio.h ../../include/openssl/blowfish.h
|
|
pem_seal.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h
|
|
pem_seal.o: ../../include/openssl/cast.h ../../include/openssl/crypto.h
|
|
pem_seal.o: ../../include/openssl/des.h ../../include/openssl/dh.h
|
|
pem_seal.o: ../../include/openssl/dsa.h ../../include/openssl/e_os2.h
|
|
pem_seal.o: ../../include/openssl/err.h ../../include/openssl/evp.h
|
|
pem_seal.o: ../../include/openssl/idea.h ../../include/openssl/lhash.h
|
|
pem_seal.o: ../../include/openssl/md2.h ../../include/openssl/md4.h
|
|
pem_seal.o: ../../include/openssl/md5.h ../../include/openssl/mdc2.h
|
|
pem_seal.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h
|
|
pem_seal.o: ../../include/openssl/opensslconf.h
|
|
pem_seal.o: ../../include/openssl/opensslv.h ../../include/openssl/pem.h
|
|
pem_seal.o: ../../include/openssl/pem2.h ../../include/openssl/pkcs7.h
|
|
pem_seal.o: ../../include/openssl/rand.h ../../include/openssl/rc2.h
|
|
pem_seal.o: ../../include/openssl/rc4.h ../../include/openssl/rc5.h
|
|
pem_seal.o: ../../include/openssl/rd_fst.h ../../include/openssl/rijndael.h
|
|
pem_seal.o: ../../include/openssl/ripemd.h ../../include/openssl/rsa.h
|
|
pem_seal.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h
|
|
pem_seal.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
|
|
pem_seal.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h
|
|
pem_seal.o: ../cryptlib.h pem_seal.c
|
|
pem_sign.o: ../../e_os.h ../../include/openssl/asn1.h
|
|
pem_sign.o: ../../include/openssl/bio.h ../../include/openssl/blowfish.h
|
|
pem_sign.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h
|
|
pem_sign.o: ../../include/openssl/cast.h ../../include/openssl/crypto.h
|
|
pem_sign.o: ../../include/openssl/des.h ../../include/openssl/dh.h
|
|
pem_sign.o: ../../include/openssl/dsa.h ../../include/openssl/e_os2.h
|
|
pem_sign.o: ../../include/openssl/err.h ../../include/openssl/evp.h
|
|
pem_sign.o: ../../include/openssl/idea.h ../../include/openssl/lhash.h
|
|
pem_sign.o: ../../include/openssl/md2.h ../../include/openssl/md4.h
|
|
pem_sign.o: ../../include/openssl/md5.h ../../include/openssl/mdc2.h
|
|
pem_sign.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h
|
|
pem_sign.o: ../../include/openssl/opensslconf.h
|
|
pem_sign.o: ../../include/openssl/opensslv.h ../../include/openssl/pem.h
|
|
pem_sign.o: ../../include/openssl/pem2.h ../../include/openssl/pkcs7.h
|
|
pem_sign.o: ../../include/openssl/rand.h ../../include/openssl/rc2.h
|
|
pem_sign.o: ../../include/openssl/rc4.h ../../include/openssl/rc5.h
|
|
pem_sign.o: ../../include/openssl/rd_fst.h ../../include/openssl/rijndael.h
|
|
pem_sign.o: ../../include/openssl/ripemd.h ../../include/openssl/rsa.h
|
|
pem_sign.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h
|
|
pem_sign.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
|
|
pem_sign.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h
|
|
pem_sign.o: ../cryptlib.h pem_sign.c
|