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
|
|
|
|
MAKE= make -f Makefile.ssl
|
2001-02-19 16:06:34 +00:00
|
|
|
MAKEDEPPROG= makedepend
|
|
|
|
MAKEDEPEND= $(TOP)/util/domd $(TOP) -MD $(MAKEDEPPROG)
|
1998-12-21 10:52:47 +00:00
|
|
|
MAKEFILE= Makefile.ssl
|
|
|
|
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:
|
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
|
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:
|
|
|
|
@for i in $(EXHEADER) ; \
|
|
|
|
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:
|
1999-04-27 01:14:46 +00:00
|
|
|
$(MAKEDEPEND) $(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
|
2001-02-23 11:57:35 +00:00
|
|
|
conf_def.o: ../../include/openssl/bio.h ../../include/openssl/buffer.h
|
|
|
|
conf_def.o: ../../include/openssl/conf.h ../../include/openssl/conf_api.h
|
|
|
|
conf_def.o: ../../include/openssl/crypto.h ../../include/openssl/e_os2.h
|
|
|
|
conf_def.o: ../../include/openssl/err.h ../../include/openssl/lhash.h
|
|
|
|
conf_def.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_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
|
2001-07-31 17:07:24 +00:00
|
|
|
conf_def.o: 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-01-18 10:59:43 +00:00
|
|
|
conf_mall.o: ../../e_os.h ../../include/openssl/asn1.h
|
|
|
|
conf_mall.o: ../../include/openssl/bio.h ../../include/openssl/bn.h
|
|
|
|
conf_mall.o: ../../include/openssl/buffer.h ../../include/openssl/conf.h
|
|
|
|
conf_mall.o: ../../include/openssl/crypto.h ../../include/openssl/dh.h
|
|
|
|
conf_mall.o: ../../include/openssl/dsa.h ../../include/openssl/dso.h
|
2002-01-24 12:31:54 +00:00
|
|
|
conf_mall.o: ../../include/openssl/e_os2.h ../../include/openssl/engine.h
|
|
|
|
conf_mall.o: ../../include/openssl/err.h ../../include/openssl/evp.h
|
|
|
|
conf_mall.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h
|
|
|
|
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
|
|
|
|
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-01-18 10:59:43 +00:00
|
|
|
conf_mall.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h
|
|
|
|
conf_mall.o: ../cryptlib.h conf_mall.c
|
|
|
|
conf_mod.o: ../../e_os.h ../../include/openssl/asn1.h
|
|
|
|
conf_mod.o: ../../include/openssl/bio.h ../../include/openssl/bn.h
|
|
|
|
conf_mod.o: ../../include/openssl/buffer.h ../../include/openssl/conf.h
|
|
|
|
conf_mod.o: ../../include/openssl/crypto.h ../../include/openssl/dh.h
|
|
|
|
conf_mod.o: ../../include/openssl/dsa.h ../../include/openssl/dso.h
|
|
|
|
conf_mod.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
|
|
|
|
conf_mod.o: ../../include/openssl/evp.h ../../include/openssl/lhash.h
|
|
|
|
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
|
|
|
|
conf_mod.o: ../../include/openssl/pkcs7.h ../../include/openssl/rsa.h
|
|
|
|
conf_mod.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h
|
|
|
|
conf_mod.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
|
|
|
|
conf_mod.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h
|
|
|
|
conf_mod.o: ../cryptlib.h conf_mod.c
|
2002-02-26 14:37:25 +00:00
|
|
|
conf_sap.o: ../../e_os.h ../../include/openssl/asn1.h
|
|
|
|
conf_sap.o: ../../include/openssl/bio.h ../../include/openssl/bn.h
|
|
|
|
conf_sap.o: ../../include/openssl/buffer.h ../../include/openssl/conf.h
|
|
|
|
conf_sap.o: ../../include/openssl/crypto.h ../../include/openssl/dh.h
|
|
|
|
conf_sap.o: ../../include/openssl/dsa.h ../../include/openssl/dso.h
|
|
|
|
conf_sap.o: ../../include/openssl/e_os2.h ../../include/openssl/engine.h
|
|
|
|
conf_sap.o: ../../include/openssl/err.h ../../include/openssl/evp.h
|
|
|
|
conf_sap.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h
|
|
|
|
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
|
|
|
|
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
|
|
|
|
conf_sap.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h
|
|
|
|
conf_sap.o: ../cryptlib.h conf_sap.c
|