1998-12-21 18:52:47 +08:00
|
|
|
#
|
|
|
|
# SSLeay/crypto/conf/Makefile
|
|
|
|
#
|
|
|
|
|
|
|
|
DIR= conf
|
|
|
|
TOP= ../..
|
|
|
|
CC= cc
|
2001-02-22 22:45:02 +08:00
|
|
|
INCLUDES= -I.. -I$(TOP) -I../../include
|
1998-12-21 18:52:47 +08:00
|
|
|
CFLAG=-g
|
1999-04-30 05:52:08 +08:00
|
|
|
INSTALL_PREFIX=
|
|
|
|
OPENSSLDIR= /usr/local/ssl
|
1998-12-21 18:52:47 +08:00
|
|
|
INSTALLTOP=/usr/local/ssl
|
|
|
|
MAKE= make -f Makefile.ssl
|
2001-02-20 00:06:34 +08:00
|
|
|
MAKEDEPPROG= makedepend
|
|
|
|
MAKEDEPEND= $(TOP)/util/domd $(TOP) -MD $(MAKEDEPPROG)
|
1998-12-21 18:52:47 +08:00
|
|
|
MAKEFILE= Makefile.ssl
|
|
|
|
AR= ar r
|
|
|
|
|
|
|
|
CFLAGS= $(INCLUDES) $(CFLAG)
|
|
|
|
|
|
|
|
GENERAL=Makefile
|
|
|
|
TEST=
|
|
|
|
APPS=
|
|
|
|
|
|
|
|
LIB=$(TOP)/libcrypto.a
|
2002-02-23 09:00:44 +08:00
|
|
|
LIBSRC= conf_err.c conf_lib.c conf_api.c conf_def.c conf_mod.c \
|
|
|
|
conf_mall.c conf_sap.c
|
1998-12-21 18:52:47 +08:00
|
|
|
|
2002-02-23 09:00:44 +08:00
|
|
|
LIBOBJ= conf_err.o conf_lib.o conf_api.o conf_def.o conf_mod.o \
|
|
|
|
conf_mall.o conf_sap.o
|
1998-12-21 18:52:47 +08:00
|
|
|
|
|
|
|
SRC= $(LIBSRC)
|
|
|
|
|
I've always wanted to make the CONF library more adaptable. Here's
the result.
I have retained the old behavior of the CONF_* functions, and have
added a more "object oriented" interface through NCONF_* functions
(New CONF, you see :-)), working the same way as, for example, the
BIO interface. Really, the CONF_* are rewritten so they use the
NCONF_* functions internally.
In addition to that, I've split the old conf.c code into two files,
conf_def.c and conf_api.c. conf_def.c contains the default config
object that reads a configuration file the standard OpenSSL way, as
well as configuration file with Win32 registry file syntax (I'm not
sure I got that one right). conf_api.c provides an API to build other
configuration file readers around (can you see a configuraion file in
XML? I can :-)).
Finally, I've changed the name conf_lcl.h to conf_def.h, since it's
made specifically for that "class" and none others.
2000-04-09 20:04:35 +08:00
|
|
|
EXHEADER= conf.h conf_api.h
|
|
|
|
HEADER= conf_def.h $(EXHEADER)
|
1998-12-21 18:52:47 +08:00
|
|
|
|
|
|
|
ALL= $(GENERAL) $(SRC) $(HEADER)
|
|
|
|
|
|
|
|
top:
|
|
|
|
(cd ../..; $(MAKE) DIRS=crypto SDIRS=$(DIR) sub_all)
|
|
|
|
|
|
|
|
all: lib
|
|
|
|
|
|
|
|
lib: $(LIBOBJ)
|
|
|
|
$(AR) $(LIB) $(LIBOBJ)
|
2001-03-09 22:01:42 +08:00
|
|
|
$(RANLIB) $(LIB) || echo Never mind.
|
1998-12-21 18:52:47 +08:00
|
|
|
@touch lib
|
|
|
|
|
|
|
|
files:
|
1999-04-01 20:34:33 +08:00
|
|
|
$(PERL) $(TOP)/util/files.pl Makefile.ssl >> $(TOP)/MINFO
|
1998-12-21 18:52:47 +08:00
|
|
|
|
|
|
|
links:
|
1999-03-06 20:32:06 +08:00
|
|
|
@$(TOP)/util/point.sh Makefile.ssl Makefile
|
1999-04-29 20:46:59 +08: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 18:52:47 +08:00
|
|
|
|
|
|
|
install:
|
|
|
|
@for i in $(EXHEADER) ; \
|
|
|
|
do \
|
1999-04-30 05:52:08 +08:00
|
|
|
(cp $$i $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i; \
|
|
|
|
chmod 644 $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i ); \
|
1998-12-21 18:52:47 +08:00
|
|
|
done;
|
|
|
|
|
|
|
|
tags:
|
|
|
|
ctags $(SRC)
|
|
|
|
|
|
|
|
tests:
|
|
|
|
|
|
|
|
lint:
|
|
|
|
lint -DLINT $(INCLUDES) $(SRC)>fluff
|
|
|
|
|
|
|
|
depend:
|
2002-06-28 00:39:25 +08:00
|
|
|
$(MAKEDEPEND) $(CFLAG) $(INCLUDES) $(DEPFLAG) $(LIBSRC)
|
1998-12-21 18:52:47 +08:00
|
|
|
|
|
|
|
dclean:
|
1999-04-01 20:34:33 +08:00
|
|
|
$(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new
|
1998-12-21 18:52:47 +08:00
|
|
|
mv -f Makefile.new $(MAKEFILE)
|
|
|
|
|
|
|
|
clean:
|
1999-03-06 20:32:06 +08:00
|
|
|
rm -f *.o *.obj lib tags core .pure .nfs* *.old *.bak fluff
|
1998-12-21 18:52:47 +08:00
|
|
|
|
|
|
|
# DO NOT DELETE THIS LINE -- make depend depends on it.
|
1999-03-06 22:32:48 +08:00
|
|
|
|
2001-02-22 22:45:02 +08:00
|
|
|
conf_api.o: ../../e_os.h ../../include/openssl/bio.h
|
|
|
|
conf_api.o: ../../include/openssl/conf.h ../../include/openssl/conf_api.h
|
|
|
|
conf_api.o: ../../include/openssl/crypto.h ../../include/openssl/e_os2.h
|
I've always wanted to make the CONF library more adaptable. Here's
the result.
I have retained the old behavior of the CONF_* functions, and have
added a more "object oriented" interface through NCONF_* functions
(New CONF, you see :-)), working the same way as, for example, the
BIO interface. Really, the CONF_* are rewritten so they use the
NCONF_* functions internally.
In addition to that, I've split the old conf.c code into two files,
conf_def.c and conf_api.c. conf_def.c contains the default config
object that reads a configuration file the standard OpenSSL way, as
well as configuration file with Win32 registry file syntax (I'm not
sure I got that one right). conf_api.c provides an API to build other
configuration file readers around (can you see a configuraion file in
XML? I can :-)).
Finally, I've changed the name conf_lcl.h to conf_def.h, since it's
made specifically for that "class" and none others.
2000-04-09 20:04:35 +08:00
|
|
|
conf_api.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h
|
|
|
|
conf_api.o: ../../include/openssl/opensslv.h ../../include/openssl/safestack.h
|
2000-09-07 16:46:51 +08:00
|
|
|
conf_api.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
|
2001-08-01 01:07:24 +08:00
|
|
|
conf_api.o: conf_api.c
|
2002-07-30 21:04:04 +08:00
|
|
|
conf_def.o: ../../e_os.h ../../include/openssl/bio.h
|
|
|
|
conf_def.o: ../../include/openssl/buffer.h ../../include/openssl/conf.h
|
|
|
|
conf_def.o: ../../include/openssl/conf_api.h ../../include/openssl/crypto.h
|
|
|
|
conf_def.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
|
|
|
|
conf_def.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h
|
I've always wanted to make the CONF library more adaptable. Here's
the result.
I have retained the old behavior of the CONF_* functions, and have
added a more "object oriented" interface through NCONF_* functions
(New CONF, you see :-)), working the same way as, for example, the
BIO interface. Really, the CONF_* are rewritten so they use the
NCONF_* functions internally.
In addition to that, I've split the old conf.c code into two files,
conf_def.c and conf_api.c. conf_def.c contains the default config
object that reads a configuration file the standard OpenSSL way, as
well as configuration file with Win32 registry file syntax (I'm not
sure I got that one right). conf_api.c provides an API to build other
configuration file readers around (can you see a configuraion file in
XML? I can :-)).
Finally, I've changed the name conf_lcl.h to conf_def.h, since it's
made specifically for that "class" and none others.
2000-04-09 20:04:35 +08:00
|
|
|
conf_def.o: ../../include/openssl/opensslv.h ../../include/openssl/safestack.h
|
2000-09-07 16:46:51 +08:00
|
|
|
conf_def.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
|
2002-07-30 21:04:04 +08:00
|
|
|
conf_def.o: ../cryptlib.h conf_def.c conf_def.h
|
2001-02-23 19:57:35 +08:00
|
|
|
conf_err.o: ../../include/openssl/bio.h ../../include/openssl/conf.h
|
|
|
|
conf_err.o: ../../include/openssl/crypto.h ../../include/openssl/e_os2.h
|
|
|
|
conf_err.o: ../../include/openssl/err.h ../../include/openssl/lhash.h
|
|
|
|
conf_err.o: ../../include/openssl/opensslconf.h
|
I've always wanted to make the CONF library more adaptable. Here's
the result.
I have retained the old behavior of the CONF_* functions, and have
added a more "object oriented" interface through NCONF_* functions
(New CONF, you see :-)), working the same way as, for example, the
BIO interface. Really, the CONF_* are rewritten so they use the
NCONF_* functions internally.
In addition to that, I've split the old conf.c code into two files,
conf_def.c and conf_api.c. conf_def.c contains the default config
object that reads a configuration file the standard OpenSSL way, as
well as configuration file with Win32 registry file syntax (I'm not
sure I got that one right). conf_api.c provides an API to build other
configuration file readers around (can you see a configuraion file in
XML? I can :-)).
Finally, I've changed the name conf_lcl.h to conf_def.h, since it's
made specifically for that "class" and none others.
2000-04-09 20:04:35 +08:00
|
|
|
conf_err.o: ../../include/openssl/opensslv.h ../../include/openssl/safestack.h
|
2000-09-07 16:46:51 +08:00
|
|
|
conf_err.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
|
2001-08-01 01:07:24 +08:00
|
|
|
conf_err.o: conf_err.c
|
2001-02-23 19:57:35 +08:00
|
|
|
conf_lib.o: ../../include/openssl/bio.h ../../include/openssl/conf.h
|
|
|
|
conf_lib.o: ../../include/openssl/conf_api.h ../../include/openssl/crypto.h
|
|
|
|
conf_lib.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
|
|
|
|
conf_lib.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h
|
I've always wanted to make the CONF library more adaptable. Here's
the result.
I have retained the old behavior of the CONF_* functions, and have
added a more "object oriented" interface through NCONF_* functions
(New CONF, you see :-)), working the same way as, for example, the
BIO interface. Really, the CONF_* are rewritten so they use the
NCONF_* functions internally.
In addition to that, I've split the old conf.c code into two files,
conf_def.c and conf_api.c. conf_def.c contains the default config
object that reads a configuration file the standard OpenSSL way, as
well as configuration file with Win32 registry file syntax (I'm not
sure I got that one right). conf_api.c provides an API to build other
configuration file readers around (can you see a configuraion file in
XML? I can :-)).
Finally, I've changed the name conf_lcl.h to conf_def.h, since it's
made specifically for that "class" and none others.
2000-04-09 20:04:35 +08:00
|
|
|
conf_lib.o: ../../include/openssl/opensslv.h ../../include/openssl/safestack.h
|
2000-09-07 16:46:51 +08:00
|
|
|
conf_lib.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
|
2001-08-01 01:07:24 +08:00
|
|
|
conf_lib.o: conf_lib.c
|
2002-07-15 00:54:31 +08:00
|
|
|
conf_mall.o: ../../e_os.h ../../include/openssl/aes.h
|
2002-07-30 20:44:33 +08:00
|
|
|
conf_mall.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
|
|
|
|
conf_mall.o: ../../include/openssl/blowfish.h ../../include/openssl/bn.h
|
|
|
|
conf_mall.o: ../../include/openssl/buffer.h ../../include/openssl/cast.h
|
|
|
|
conf_mall.o: ../../include/openssl/conf.h ../../include/openssl/crypto.h
|
|
|
|
conf_mall.o: ../../include/openssl/des.h ../../include/openssl/des_old.h
|
|
|
|
conf_mall.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h
|
|
|
|
conf_mall.o: ../../include/openssl/dso.h ../../include/openssl/e_os2.h
|
2002-08-09 20:16:15 +08:00
|
|
|
conf_mall.o: ../../include/openssl/ec.h ../../include/openssl/ecdh.h
|
|
|
|
conf_mall.o: ../../include/openssl/ecdsa.h ../../include/openssl/engine.h
|
|
|
|
conf_mall.o: ../../include/openssl/err.h ../../include/openssl/evp.h
|
|
|
|
conf_mall.o: ../../include/openssl/idea.h ../../include/openssl/lhash.h
|
|
|
|
conf_mall.o: ../../include/openssl/md2.h ../../include/openssl/md4.h
|
|
|
|
conf_mall.o: ../../include/openssl/md5.h ../../include/openssl/mdc2.h
|
|
|
|
conf_mall.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h
|
2002-01-18 18:59:43 +08:00
|
|
|
conf_mall.o: ../../include/openssl/opensslconf.h
|
|
|
|
conf_mall.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
|
2002-01-24 20:31:54 +08:00
|
|
|
conf_mall.o: ../../include/openssl/pkcs7.h ../../include/openssl/rand.h
|
2002-07-15 00:54:31 +08:00
|
|
|
conf_mall.o: ../../include/openssl/rc2.h ../../include/openssl/rc4.h
|
|
|
|
conf_mall.o: ../../include/openssl/rc5.h ../../include/openssl/ripemd.h
|
2002-01-24 20:31:54 +08:00
|
|
|
conf_mall.o: ../../include/openssl/rsa.h ../../include/openssl/safestack.h
|
|
|
|
conf_mall.o: ../../include/openssl/sha.h ../../include/openssl/stack.h
|
|
|
|
conf_mall.o: ../../include/openssl/symhacks.h ../../include/openssl/ui.h
|
2002-07-15 00:54:31 +08:00
|
|
|
conf_mall.o: ../../include/openssl/ui_compat.h ../../include/openssl/x509.h
|
|
|
|
conf_mall.o: ../../include/openssl/x509_vfy.h ../cryptlib.h conf_mall.c
|
|
|
|
conf_mod.o: ../../e_os.h ../../include/openssl/aes.h
|
2002-07-30 20:44:33 +08:00
|
|
|
conf_mod.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
|
|
|
|
conf_mod.o: ../../include/openssl/blowfish.h ../../include/openssl/bn.h
|
|
|
|
conf_mod.o: ../../include/openssl/buffer.h ../../include/openssl/cast.h
|
|
|
|
conf_mod.o: ../../include/openssl/conf.h ../../include/openssl/crypto.h
|
|
|
|
conf_mod.o: ../../include/openssl/des.h ../../include/openssl/des_old.h
|
|
|
|
conf_mod.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h
|
|
|
|
conf_mod.o: ../../include/openssl/dso.h ../../include/openssl/e_os2.h
|
2002-08-09 20:16:15 +08:00
|
|
|
conf_mod.o: ../../include/openssl/ec.h ../../include/openssl/ecdh.h
|
|
|
|
conf_mod.o: ../../include/openssl/ecdsa.h ../../include/openssl/err.h
|
|
|
|
conf_mod.o: ../../include/openssl/evp.h ../../include/openssl/idea.h
|
|
|
|
conf_mod.o: ../../include/openssl/lhash.h ../../include/openssl/md2.h
|
|
|
|
conf_mod.o: ../../include/openssl/md4.h ../../include/openssl/md5.h
|
|
|
|
conf_mod.o: ../../include/openssl/mdc2.h ../../include/openssl/obj_mac.h
|
|
|
|
conf_mod.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h
|
2002-01-18 18:59:43 +08:00
|
|
|
conf_mod.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
|
2002-07-15 00:54:31 +08:00
|
|
|
conf_mod.o: ../../include/openssl/pkcs7.h ../../include/openssl/rc2.h
|
|
|
|
conf_mod.o: ../../include/openssl/rc4.h ../../include/openssl/rc5.h
|
|
|
|
conf_mod.o: ../../include/openssl/ripemd.h ../../include/openssl/rsa.h
|
2002-01-18 18:59:43 +08:00
|
|
|
conf_mod.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h
|
|
|
|
conf_mod.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
|
2002-07-15 00:54:31 +08:00
|
|
|
conf_mod.o: ../../include/openssl/ui.h ../../include/openssl/ui_compat.h
|
2002-01-18 18:59:43 +08:00
|
|
|
conf_mod.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h
|
|
|
|
conf_mod.o: ../cryptlib.h conf_mod.c
|
2002-07-15 00:54:31 +08:00
|
|
|
conf_sap.o: ../../e_os.h ../../include/openssl/aes.h
|
2002-07-30 20:44:33 +08:00
|
|
|
conf_sap.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
|
|
|
|
conf_sap.o: ../../include/openssl/blowfish.h ../../include/openssl/bn.h
|
|
|
|
conf_sap.o: ../../include/openssl/buffer.h ../../include/openssl/cast.h
|
|
|
|
conf_sap.o: ../../include/openssl/conf.h ../../include/openssl/crypto.h
|
|
|
|
conf_sap.o: ../../include/openssl/des.h ../../include/openssl/des_old.h
|
|
|
|
conf_sap.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h
|
|
|
|
conf_sap.o: ../../include/openssl/dso.h ../../include/openssl/e_os2.h
|
2002-08-09 20:16:15 +08:00
|
|
|
conf_sap.o: ../../include/openssl/ec.h ../../include/openssl/ecdh.h
|
|
|
|
conf_sap.o: ../../include/openssl/ecdsa.h ../../include/openssl/engine.h
|
|
|
|
conf_sap.o: ../../include/openssl/err.h ../../include/openssl/evp.h
|
|
|
|
conf_sap.o: ../../include/openssl/idea.h ../../include/openssl/lhash.h
|
|
|
|
conf_sap.o: ../../include/openssl/md2.h ../../include/openssl/md4.h
|
|
|
|
conf_sap.o: ../../include/openssl/md5.h ../../include/openssl/mdc2.h
|
|
|
|
conf_sap.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h
|
|
|
|
conf_sap.o: ../../include/openssl/opensslconf.h
|
2002-02-26 22:41:29 +08:00
|
|
|
conf_sap.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
|
|
|
|
conf_sap.o: ../../include/openssl/pkcs7.h ../../include/openssl/rand.h
|
2002-07-15 00:54:31 +08:00
|
|
|
conf_sap.o: ../../include/openssl/rc2.h ../../include/openssl/rc4.h
|
|
|
|
conf_sap.o: ../../include/openssl/rc5.h ../../include/openssl/ripemd.h
|
2002-02-26 22:41:29 +08:00
|
|
|
conf_sap.o: ../../include/openssl/rsa.h ../../include/openssl/safestack.h
|
|
|
|
conf_sap.o: ../../include/openssl/sha.h ../../include/openssl/stack.h
|
|
|
|
conf_sap.o: ../../include/openssl/symhacks.h ../../include/openssl/ui.h
|
2002-07-15 00:54:31 +08:00
|
|
|
conf_sap.o: ../../include/openssl/ui_compat.h ../../include/openssl/x509.h
|
|
|
|
conf_sap.o: ../../include/openssl/x509_vfy.h ../cryptlib.h conf_sap.c
|