Split libhx509_la_SOURCES into build file and distributed files so we

can avoid building prototypes for build-files.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17000 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Love Hörnquist Åstrand
2006-04-04 11:27:21 +00:00
parent eec31b6bad
commit 2cd3764e7b

View File

@@ -51,11 +51,7 @@ gen_files_crmf = \
asn1_ProofOfPossession.x \
asn1_SubsequentMessage.x
libhx509_la_LIBADD = $(LIB_des) ../asn1/libasn1.la
libhx509_la_CPPFLAGS = -I$(srcdir)/ref $(INCLUDE_des)
libhx509_la_SOURCES = \
libhx509_la_files = \
cert.c \
cms.c \
collector.c \
@@ -73,9 +69,11 @@ libhx509_la_SOURCES = \
name.c \
print.c \
req.c \
revoke.c \
$(BUILT_SOURCES)
revoke.c
libhx509_la_LIBADD = $(LIB_des) ../asn1/libasn1.la
libhx509_la_CPPFLAGS = -I$(srcdir)/ref $(INCLUDE_des)
libhx509_la_SOURCES = $(libhx509_la_files) $(BUILT_SOURCES)
$(gen_files_ocsp) ocsp_asn1.h: ocsp_asn1_files
$(gen_files_pkcs10) pkcs10_asn1.h: pkcs10_asn1_files
@@ -94,10 +92,10 @@ crmf_asn1_files: $(srcdir)/crmf.asn1
$(libhx509_la_OBJECTS): $(srcdir)/hx509-protos.h $(srcdir)/hx509-private.h
$(srcdir)/hx509-protos.h:
cd $(srcdir) && perl ../../cf/make-proto.pl -E HX509_LIB_FUNCTION -q -P comment -o hx509-protos.h $(libhx509_la_SOURCES) || rm -f hx509-protos.h
cd $(srcdir) && perl ../../cf/make-proto.pl -E HX509_LIB_FUNCTION -q -P comment -o hx509-protos.h $(libhx509_la_files) || rm -f hx509-protos.h
$(srcdir)/hx509-private.h:
cd $(srcdir) && perl ../../cf/make-proto.pl -q -P comment -p hx509-private.h $(libhx509_la_SOURCES) || rm -f hx509-private.h
cd $(srcdir) && perl ../../cf/make-proto.pl -q -P comment -p hx509-private.h $(libhx509_la_files) || rm -f hx509-private.h
include_HEADERS = hx509.h hx509-protos.h hx509_err.h