From 802923ad690ba8079609979c4a498efeec6b8ca0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Love=20H=C3=B6rnquist=20=C3=85strand?= Date: Sat, 16 Aug 2003 17:57:18 +0000 Subject: [PATCH] split generated source from non generated source we make-proto.pl can generate prototypes for non generate-source only (make-proto.pl dies on asn1compile's .c files) git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12551 ec53bebd-3082-4978-b11e-865c3cabbd6b --- lib/hdb/Makefile.am | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/lib/hdb/Makefile.am b/lib/hdb/Makefile.am index ba27f0b82..ecd754d10 100644 --- a/lib/hdb/Makefile.am +++ b/lib/hdb/Makefile.am @@ -22,7 +22,7 @@ LDADD = libhdb.la \ lib_LTLIBRARIES = libhdb.la libhdb_la_LDFLAGS = -version-info 7:5:0 -libhdb_la_SOURCES = \ +hdb_source = \ common.c \ db.c \ db3.c \ @@ -31,7 +31,11 @@ libhdb_la_SOURCES = \ keytab.c \ mkey.c \ ndbm.c \ - print.c \ + privsep.c \ + print.c + +libhdb_la_SOURCES = \ + $(hdb_source) \ $(BUILT_SOURCES) INCLUDES += $(INCLUDE_openldap) @@ -43,10 +47,10 @@ libhdb_la_LIBADD = ../krb5/libkrb5.la ../asn1/libasn1.la ../roken/libroken.la $( $(libhdb_la_OBJECTS): $(srcdir)/hdb-protos.h $(srcdir)/hdb-private.h $(srcdir)/hdb-protos.h: - cd $(srcdir); perl ../../cf/make-proto.pl -q -P comment -o hdb-protos.h $(libhdb_la_SOURCES) || rm -f hdb-protos.h + cd $(srcdir); perl ../../cf/make-proto.pl -q -P comment -o hdb-protos.h $(hdb_source) || rm -f hdb-protos.h $(srcdir)/hdb-private.h: - cd $(srcdir); perl ../../cf/make-proto.pl -q -P comment -p hdb-private.h $(libhdb_la_SOURCES) || rm -f hdb-private.h + cd $(srcdir); perl ../../cf/make-proto.pl -q -P comment -p hdb-private.h $(hdb_source) || rm -f hdb-private.h $(foo) hdb_asn1.h: asn1_files