split build files into dist_ and noinst_ SOURCES

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18279 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Love Hörnquist Åstrand
2006-10-07 08:54:01 +00:00
parent 61d61bda55
commit 62ade1ff39
2 changed files with 14 additions and 11 deletions

View File

@@ -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 \

View File

@@ -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