cf1b7d9664
sure they are available in opensslconf.h, by giving them names starting with "OPENSSL_" to avoid conflicts with other packages and by making sure e_os2.h will cover all platform-specific cases together with opensslconf.h. I've checked fairly well that nothing breaks with this (apart from external software that will adapt if they have used something like NO_KRB5), but I can't guarantee it completely, so a review of this change would be a good thing.
212 lines
10 KiB
Text
212 lines
10 KiB
Text
#
|
|
# SSLeay/crypto/pem/Makefile
|
|
#
|
|
|
|
DIR= pem
|
|
TOP= ../..
|
|
CC= cc
|
|
INCLUDES= -I.. -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: ../../include/openssl/asn1.h ../../include/openssl/bio.h
|
|
pem_all.o: ../../include/openssl/blowfish.h ../../include/openssl/bn.h
|
|
pem_all.o: ../../include/openssl/buffer.h ../../include/openssl/cast.h
|
|
pem_all.o: ../../include/openssl/crypto.h ../../include/openssl/des.h
|
|
pem_all.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h
|
|
pem_all.o: ../../include/openssl/e_os.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: ../../include/openssl/asn1.h ../../include/openssl/bio.h
|
|
pem_err.o: ../../include/openssl/blowfish.h ../../include/openssl/bn.h
|
|
pem_err.o: ../../include/openssl/buffer.h ../../include/openssl/cast.h
|
|
pem_err.o: ../../include/openssl/crypto.h ../../include/openssl/des.h
|
|
pem_err.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h
|
|
pem_err.o: ../../include/openssl/e_os.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: ../../include/openssl/asn1.h ../../include/openssl/bio.h
|
|
pem_info.o: ../../include/openssl/blowfish.h ../../include/openssl/bn.h
|
|
pem_info.o: ../../include/openssl/buffer.h ../../include/openssl/cast.h
|
|
pem_info.o: ../../include/openssl/crypto.h ../../include/openssl/des.h
|
|
pem_info.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h
|
|
pem_info.o: ../../include/openssl/e_os.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: ../../include/openssl/asn1.h ../../include/openssl/bio.h
|
|
pem_lib.o: ../../include/openssl/blowfish.h ../../include/openssl/bn.h
|
|
pem_lib.o: ../../include/openssl/buffer.h ../../include/openssl/cast.h
|
|
pem_lib.o: ../../include/openssl/crypto.h ../../include/openssl/des.h
|
|
pem_lib.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h
|
|
pem_lib.o: ../../include/openssl/e_os.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: ../../include/openssl/asn1.h ../../include/openssl/bio.h
|
|
pem_seal.o: ../../include/openssl/blowfish.h ../../include/openssl/bn.h
|
|
pem_seal.o: ../../include/openssl/buffer.h ../../include/openssl/cast.h
|
|
pem_seal.o: ../../include/openssl/crypto.h ../../include/openssl/des.h
|
|
pem_seal.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h
|
|
pem_seal.o: ../../include/openssl/e_os.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: ../../include/openssl/asn1.h ../../include/openssl/bio.h
|
|
pem_sign.o: ../../include/openssl/blowfish.h ../../include/openssl/bn.h
|
|
pem_sign.o: ../../include/openssl/buffer.h ../../include/openssl/cast.h
|
|
pem_sign.o: ../../include/openssl/crypto.h ../../include/openssl/des.h
|
|
pem_sign.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h
|
|
pem_sign.o: ../../include/openssl/e_os.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
|