From: Ken Raeburn Date: Sat, 12 Jun 2004 01:09:43 +0000 (+0000) Subject: * Makefile.in (include/generated.stmp): New intermediate target file, to X-Git-Tag: krb5-1.4-beta1~338 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=530867783150fa3293f190322a25dca0ffb60281;p=krb5.git * Makefile.in (include/generated.stmp): New intermediate target file, to prevent repeated generation of unchanging header files. (include/config.h, include/db-config.h): Depend on it. ($(srcdir)/include/autoconf.stmp, $(srcdir)/include/config.h.in): Likewise. (clean-includes): Delete the new intermediate target files. * configure.in: Generate include/generated.stmp when config.status is run. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16438 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/util/db2/ChangeLog b/src/util/db2/ChangeLog index 0785be031..146525c81 100644 --- a/src/util/db2/ChangeLog +++ b/src/util/db2/ChangeLog @@ -1,3 +1,14 @@ +2004-06-11 Ken Raeburn + + * Makefile.in (include/generated.stmp): New intermediate target + file, to prevent repeated generation of unchanging header files. + (include/config.h, include/db-config.h): Depend on it. + ($(srcdir)/include/autoconf.stmp, $(srcdir)/include/config.h.in): + Likewise. + (clean-includes): Delete the new intermediate target files. + * configure.in: Generate include/generated.stmp when config.status + is run. + 2004-06-08 Ken Raeburn * Makefile.in ($(srcdir)/include/config.h.in): Always use diff --git a/src/util/db2/Makefile.in b/src/util/db2/Makefile.in index 95a2fe658..37542aee4 100644 --- a/src/util/db2/Makefile.in +++ b/src/util/db2/Makefile.in @@ -28,13 +28,14 @@ $(HDRDIR)/db-config.h: include/db-config.h $(HDRDIR)/db-ndbm.h: $(srcdir)/include/db-ndbm.h $(CP) $(srcdir)/include/db-ndbm.h $@ -include/config.h: $(srcdir)/include/config.h.in +include/config.h include/db-config.h: include/generated.stmp +include/generated.stmp: $(srcdir)/include/config.h.in $(srcdir)/include/db-config.h.in cd $(thisconfigdir) && $(SHELL) config.status -$(srcdir)/include/config.h.in: @MAINT@ $(srcdir)/configure.in $(SRCTOP)/aclocal.m4 +$(srcdir)/include/config.h.in: @MAINT@ $(srcdir)/include/autoconf.stmp +$(srcdir)/include/autoconf.stmp: $(srcdir)/configure.in $(SRCTOP)/aclocal.m4 cd $(srcdir) && $(AUTOHEADER) --include=$(CONFIG_RELTOPDIR) $(AUTOHEADERFLAGS) -include/db-config.h: $(srcdir)/include/db-config.h.in - cd $(thisconfigdir) && $(SHELL) config.status + touch $(srcdir)/include/autoconf.stmp clean-includes:: - $(RM) $(HDRS) + $(RM) $(HDRS) include/*.stmp # @lib_frag@ diff --git a/src/util/db2/configure.in b/src/util/db2/configure.in index c5930b585..bb912a361 100644 --- a/src/util/db2/configure.in +++ b/src/util/db2/configure.in @@ -92,4 +92,5 @@ KRB5_BUILD_LIBRARY KRB5_BUILD_LIBOBJS KRB5_BUILD_PROGRAM KRB5_RUN_FLAGS +AC_CONFIG_FILES(include/generated.stmp:Makefile.in) V5_AC_OUTPUT_MAKEFILE(. hash btree db mpool recno clib test)