split build files into dist_ and noinst_ SOURCES

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18278 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Love Hörnquist Åstrand
2006-10-07 08:40:34 +00:00
parent e07c56817d
commit 61d61bda55
2 changed files with 16 additions and 10 deletions

View File

@@ -78,7 +78,8 @@ libhx509_la_LIBADD = \
$(LIB_roken) $(LIB_dlopen) $(LIB_roken) $(LIB_dlopen)
libhx509_la_CPPFLAGS = -I$(srcdir)/ref $(INCLUDE_des) libhx509_la_CPPFLAGS = -I$(srcdir)/ref $(INCLUDE_des)
libhx509_la_SOURCES = $(libhx509_la_files) $(BUILT_SOURCES) dist_libhx509_la_SOURCES = $(libhx509_la_files)
nodist_libhx509_la_SOURCES = $(BUILT_SOURCES)
$(gen_files_ocsp) ocsp_asn1.h: ocsp_asn1_files $(gen_files_ocsp) ocsp_asn1.h: ocsp_asn1_files
$(gen_files_pkcs10) pkcs10_asn1.h: pkcs10_asn1_files $(gen_files_pkcs10) pkcs10_asn1.h: pkcs10_asn1_files
@@ -102,7 +103,8 @@ $(srcdir)/hx509-protos.h:
$(srcdir)/hx509-private.h: $(srcdir)/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 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 dist_include_HEADERS = hx509.h hx509-protos.h
nodist_include_HEADERS = hx509_err.h
SLC = $(top_builddir)/lib/sl/slc SLC = $(top_builddir)/lib/sl/slc
@@ -111,9 +113,8 @@ bin_PROGRAMS = hxtool
hxtool-commands.c hxtool-commands.h: hxtool-commands.in $(SLC) hxtool-commands.c hxtool-commands.h: hxtool-commands.in $(SLC)
$(SLC) $(srcdir)/hxtool-commands.in $(SLC) $(srcdir)/hxtool-commands.in
hxtool_SOURCES = \ dist_hxtool_SOURCES = hxtool.c
hxtool.c \ nodist_hxtool_SOURCES = hxtool-commands.c hxtool-commands.h
hxtool-commands.c
$(hxtool_SOURCES): hxtool-commands.h $(hxtool_SOURCES): hxtool-commands.h
@@ -138,11 +139,13 @@ CLEANFILES = $(BUILT_SOURCES) \
# regression tests # regression tests
# #
check_PROGRAMS = $(TESTS) check_SCRIPTS = $(SCRIPT_TESTS)
LDADD = libhx509.la LDADD = libhx509.la
TESTS = \ TESTS = $(SCRIPT_TESTS)
SCRIPT_TESTS = \
test_chain \ test_chain \
test_cms \ test_cms \
test_crypto \ test_crypto \

View File

@@ -59,7 +59,7 @@ ERR_FILES = krb5_err.c heim_err.c k524_err.c
libkrb5_la_CPPFLAGS = -DBUILD_KRB5_LIB $(AM_CPPFLAGS) libkrb5_la_CPPFLAGS = -DBUILD_KRB5_LIB $(AM_CPPFLAGS)
libkrb5_la_SOURCES = \ dist_libkrb5_la_SOURCES = \
acache.c \ acache.c \
acl.c \ acl.c \
add_et_list.c \ add_et_list.c \
@@ -160,7 +160,9 @@ libkrb5_la_SOURCES = \
verify_user.c \ verify_user.c \
version.c \ version.c \
warn.c \ warn.c \
write_message.c \ write_message.c
nodist_libkrb5_la_SOURCES = \
$(ERR_FILES) $(ERR_FILES)
libkrb5_la_LDFLAGS = -version-info 21:0:4 libkrb5_la_LDFLAGS = -version-info 21:0:4
@@ -235,7 +237,8 @@ man_MANS = \
krb5_warn.3 \ krb5_warn.3 \
verify_krb5_conf.8 verify_krb5_conf.8
include_HEADERS = krb5.h krb5-protos.h krb5-private.h krb5_err.h heim_err.h k524_err.h krb5_ccapi.h dist_include_HEADERS = krb5.h krb5-protos.h krb5-private.h krb5_ccapi.h
nodist_include_HEADERS = krb5_err.h heim_err.h k524_err.h
CLEANFILES = krb5_err.c krb5_err.h heim_err.c heim_err.h k524_err.c k524_err.h CLEANFILES = krb5_err.c krb5_err.h heim_err.c heim_err.h k524_err.c k524_err.h