1998-12-21 10:52:47 +00:00
|
|
|
#
|
|
|
|
# SSLeay/crypto/conf/Makefile
|
|
|
|
#
|
|
|
|
|
|
|
|
DIR= conf
|
|
|
|
TOP= ../..
|
|
|
|
CC= cc
|
2001-02-22 14:45:02 +00:00
|
|
|
INCLUDES= -I.. -I$(TOP) -I../../include
|
1998-12-21 10:52:47 +00:00
|
|
|
CFLAG=-g
|
1999-04-29 21:52:08 +00:00
|
|
|
INSTALL_PREFIX=
|
|
|
|
OPENSSLDIR= /usr/local/ssl
|
1998-12-21 10:52:47 +00:00
|
|
|
INSTALLTOP=/usr/local/ssl
|
2001-02-19 16:06:34 +00:00
|
|
|
MAKEDEPPROG= makedepend
|
|
|
|
MAKEDEPEND= $(TOP)/util/domd $(TOP) -MD $(MAKEDEPPROG)
|
2004-05-11 12:46:24 +00:00
|
|
|
MAKEFILE= Makefile
|
1998-12-21 10:52:47 +00:00
|
|
|
AR= ar r
|
|
|
|
|
|
|
|
CFLAGS= $(INCLUDES) $(CFLAG)
|
|
|
|
|
|
|
|
GENERAL=Makefile
|
|
|
|
TEST=
|
|
|
|
APPS=
|
|
|
|
|
|
|
|
LIB=$(TOP)/libcrypto.a
|
2002-02-23 02:09:29 +00: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 10:52:47 +00:00
|
|
|
|
2002-02-23 02:09:29 +00: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 10:52:47 +00: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 12:04:35 +00:00
|
|
|
EXHEADER= conf.h conf_api.h
|
|
|
|
HEADER= conf_def.h $(EXHEADER)
|
1998-12-21 10:52:47 +00:00
|
|
|
|
|
|
|
ALL= $(GENERAL) $(SRC) $(HEADER)
|
|
|
|
|
|
|
|
top:
|
|
|
|
(cd ../..; $(MAKE) DIRS=crypto SDIRS=$(DIR) sub_all)
|
|
|
|
|
|
|
|
all: lib
|
|
|
|
|
|
|
|
lib: $(LIBOBJ)
|
|
|
|
$(AR) $(LIB) $(LIBOBJ)
|
2001-03-09 14:01:42 +00:00
|
|
|
$(RANLIB) $(LIB) || echo Never mind.
|
1998-12-21 10:52:47 +00:00
|
|
|
@touch lib
|
|
|
|
|
|
|
|
files:
|
2004-05-11 12:46:24 +00:00
|
|
|
$(PERL) $(TOP)/util/files.pl Makefile >> $(TOP)/MINFO
|
1998-12-21 10:52:47 +00:00
|
|
|
|
|
|
|
links:
|
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:
|
2004-11-02 23:53:31 +00:00
|
|
|
@headerlist="$(EXHEADER)"; for i in $$headerlist ; \
|
1998-12-21 10:52:47 +00:00
|
|
|
do \
|
1999-04-29 21:52:08 +00:00
|
|
|
(cp $$i $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i; \
|
|
|
|
chmod 644 $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i ); \
|
1998-12-21 10:52:47 +00:00
|
|
|
done;
|
|
|
|
|
|
|
|
tags:
|
|
|
|
ctags $(SRC)
|
|
|
|
|
|
|
|
tests:
|
|
|
|
|
|
|
|
lint:
|
|
|
|
lint -DLINT $(INCLUDES) $(SRC)>fluff
|
|
|
|
|
|
|
|
depend:
|
2002-10-09 13:21:33 +00:00
|
|
|
$(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(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
|
|
|
|
2001-02-22 14:45:02 +00: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 12:04:35 +00: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 08:46:51 +00:00
|
|
|
conf_api.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
|
2001-07-31 17:07:24 +00:00
|
|
|
conf_api.o: conf_api.c
|
2002-07-30 11:21:19 +00: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 12:04:35 +00:00
|
|
|
conf_def.o: ../../include/openssl/opensslv.h ../../include/openssl/safestack.h
|
2000-09-07 08:46:51 +00:00
|
|
|
conf_def.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
|
2002-07-30 11:21:19 +00:00
|
|
|
conf_def.o: ../cryptlib.h conf_def.c conf_def.h
|
2001-02-23 11:57:35 +00: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 12:04:35 +00:00
|
|
|
conf_err.o: ../../include/openssl/opensslv.h ../../include/openssl/safestack.h
|
2000-09-07 08:46:51 +00:00
|
|
|
conf_err.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
|
2001-07-31 17:07:24 +00:00
|
|
|
conf_err.o: conf_err.c
|
2001-02-23 11:57:35 +00: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 12:04:35 +00:00
|
|
|
conf_lib.o: ../../include/openssl/opensslv.h ../../include/openssl/safestack.h
|
2000-09-07 08:46:51 +00:00
|
|
|
conf_lib.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
|
2001-07-31 17:07:24 +00:00
|
|
|
conf_lib.o: conf_lib.c
|
2002-07-30 07:18:03 +00:00
|
|
|
conf_mall.o: ../../e_os.h ../../include/openssl/aes.h
|
|
|
|
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
|
|
|
|
conf_mall.o: ../../include/openssl/engine.h ../../include/openssl/err.h
|
|
|
|
conf_mall.o: ../../include/openssl/evp.h ../../include/openssl/idea.h
|
|
|
|
conf_mall.o: ../../include/openssl/lhash.h ../../include/openssl/md2.h
|
|
|
|
conf_mall.o: ../../include/openssl/md4.h ../../include/openssl/md5.h
|
|
|
|
conf_mall.o: ../../include/openssl/mdc2.h ../../include/openssl/obj_mac.h
|
2002-01-24 12:31:54 +00:00
|
|
|
conf_mall.o: ../../include/openssl/objects.h
|
2002-01-18 10:59:43 +00:00
|
|
|
conf_mall.o: ../../include/openssl/opensslconf.h
|
|
|
|
conf_mall.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
|
2002-01-24 12:31:54 +00:00
|
|
|
conf_mall.o: ../../include/openssl/pkcs7.h ../../include/openssl/rand.h
|
2002-07-30 07:18:03 +00: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 12:31:54 +00: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-30 07:18:03 +00: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
|
|
|
|
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
|
|
|
|
conf_mod.o: ../../include/openssl/err.h ../../include/openssl/evp.h
|
|
|
|
conf_mod.o: ../../include/openssl/idea.h ../../include/openssl/lhash.h
|
|
|
|
conf_mod.o: ../../include/openssl/md2.h ../../include/openssl/md4.h
|
|
|
|
conf_mod.o: ../../include/openssl/md5.h ../../include/openssl/mdc2.h
|
2002-01-18 10:59:43 +00:00
|
|
|
conf_mod.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h
|
|
|
|
conf_mod.o: ../../include/openssl/opensslconf.h
|
|
|
|
conf_mod.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
|
2002-07-30 07:18:03 +00: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 10:59:43 +00: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-30 07:18:03 +00:00
|
|
|
conf_mod.o: ../../include/openssl/ui.h ../../include/openssl/ui_compat.h
|
2002-01-18 10:59:43 +00:00
|
|
|
conf_mod.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h
|
|
|
|
conf_mod.o: ../cryptlib.h conf_mod.c
|
2002-07-30 07:18:03 +00:00
|
|
|
conf_sap.o: ../../e_os.h ../../include/openssl/aes.h
|
|
|
|
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
|
|
|
|
conf_sap.o: ../../include/openssl/engine.h ../../include/openssl/err.h
|
|
|
|
conf_sap.o: ../../include/openssl/evp.h ../../include/openssl/idea.h
|
|
|
|
conf_sap.o: ../../include/openssl/lhash.h ../../include/openssl/md2.h
|
|
|
|
conf_sap.o: ../../include/openssl/md4.h ../../include/openssl/md5.h
|
|
|
|
conf_sap.o: ../../include/openssl/mdc2.h ../../include/openssl/obj_mac.h
|
2002-02-26 14:37:25 +00:00
|
|
|
conf_sap.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h
|
|
|
|
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-30 07:18:03 +00: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 14:37:25 +00: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-30 07:18:03 +00: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
|