From 62ade1ff393506c2f190911572c1dbfee5750507 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Love=20H=C3=B6rnquist=20=C3=85strand?= Date: Sat, 7 Oct 2006 08:54:01 +0000 Subject: [PATCH] split build files into dist_ and noinst_ SOURCES git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18279 ec53bebd-3082-4978-b11e-865c3cabbd6b --- lib/gssapi/Makefile.am | 12 ++++++++---- lib/hdb/Makefile.am | 13 ++++++------- 2 files changed, 14 insertions(+), 11 deletions(-) diff --git a/lib/gssapi/Makefile.am b/lib/gssapi/Makefile.am index 9bd89642a..f3a191700 100644 --- a/lib/gssapi/Makefile.am +++ b/lib/gssapi/Makefile.am @@ -42,7 +42,7 @@ krb5src = \ krb5/export_sec_context.c \ krb5/external.c \ krb5/get_mic.c \ - krb5/gssapi_locl.h \ + krb5/gsskrb5_locl.h \ krb5/gsskrb5-private.h \ krb5/import_name.c \ krb5/import_sec_context.c \ @@ -142,12 +142,14 @@ spnegosrc = \ spnego/spnego_locl.h -libgssapi_la_SOURCES = \ - $(BUILT_SOURCES) \ +dist_libgssapi_la_SOURCES = \ $(krb5src) \ $(mechsrc) \ $(spnegosrc) +nodist_libgssapi_la_SOURCES = \ + $(BUILT_SOURCES) + libgssapi_la_LIBADD = \ ../krb5/libkrb5.la \ ../asn1/libasn1.la \ @@ -210,7 +212,9 @@ test_cfx_LDADD = $(test_kcred_LDADD) # gss -gss_SOURCES = gss.c gss-commands.c gss-commands.h +dist_gss_SOURCES = gss.c +nodist_gss_SOURCES = gss-commands.c gss-commands.h + gss_LDADD = libgssapi.la \ $(top_builddir)/lib/sl/libsl.la \ $(top_builddir)/lib/krb5/libkrb5.la \ diff --git a/lib/hdb/Makefile.am b/lib/hdb/Makefile.am index 81b8a5a81..d3d3f1df7 100644 --- a/lib/hdb/Makefile.am +++ b/lib/hdb/Makefile.am @@ -51,7 +51,7 @@ endif lib_LTLIBRARIES = libhdb.la $(ldap_so) libhdb_la_LDFLAGS = -version-info 8:0:1 -hdb_source = \ +dist_libhdb_la_SOURCES = \ common.c \ db.c \ db3.c \ @@ -64,13 +64,12 @@ hdb_source = \ ndbm.c \ print.c -libhdb_la_SOURCES = \ - $(hdb_source) \ - $(BUILT_SOURCES) +nodist_libhdb_la_SOURCES = $(BUILT_SOURCES) AM_CPPFLAGS += $(INCLUDE_openldap) -include_HEADERS = hdb.h hdb_err.h hdb_asn1.h hdb-protos.h hdb-private.h +include_HEADERS = hdb.h hdb-protos.h +nodist_include_HEADERS = hdb_err.h hdb_asn1.h libhdb_la_LIBADD = \ ../krb5/libkrb5.la \ @@ -87,10 +86,10 @@ CHECK_SYMBOLS = -lib hdb -asn1compile -com_err \ hdb_ _hdb HDBFlags2int initialize_hdb_error_table $(srcdir)/hdb-protos.h: - cd $(srcdir); perl ../../cf/make-proto.pl -q -P comment -o hdb-protos.h $(hdb_source) || rm -f hdb-protos.h + cd $(srcdir); perl ../../cf/make-proto.pl -q -P comment -o hdb-protos.h $(dist_libhdb_la_SOURCES) || rm -f hdb-protos.h $(srcdir)/hdb-private.h: - cd $(srcdir); perl ../../cf/make-proto.pl -q -P comment -p hdb-private.h $(hdb_source) || rm -f hdb-private.h + cd $(srcdir); perl ../../cf/make-proto.pl -q -P comment -p hdb-private.h $(dist_libhdb_la_SOURCES) || rm -f hdb-private.h $(gen_files_hdb) hdb_asn1.h: hdb_asn1_files