From 356b9a0d5450efa4d6aa249cff938ab142c48530 Mon Sep 17 00:00:00 2001 From: giraffedata Date: Thu, 19 Sep 2019 02:26:50 +0000 Subject: Fix for systems that can't tell that $(BUILDDIR)/pm_config.h and pm_config.h are the same file, so say there is no rule to build pm_config.h git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@3678 9d0c8265-081b-0410-96cb-a4ca84ce46f8 --- GNUmakefile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'GNUmakefile') diff --git a/GNUmakefile b/GNUmakefile index 1beebb4c..e5b0265a 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -108,7 +108,7 @@ nonmerge: $(PRODUCT_SUBDIRS:%=%/all) # simultaneously find that pm_config.h needs to be built and proceed to build # it. After one thread has built pm_config.h, it will proceed to use # pm_config.h, but the other thread is still building pm_config.h, which is -# not valid while it is in the middle of being built. +# not valid while it is in the middle of being used. # # But many submakes don't have any such shared dependencies, so build their # targets in parallel just fine. So we declare this make file ineligible for @@ -149,7 +149,7 @@ $(TYPEGEN) $(ENDIANGEN): $(BUILDDIR)/buildtools $(MAKE) -C $(dir $@) -f $(SRCDIR)/buildtools/Makefile \ SRCDIR=$(SRCDIR) BUILDDIR=$(BUILDDIR) $(notdir $@) -$(BUILDDIR)/inttypes_netpbm.h: $(TYPEGEN) +inttypes_netpbm.h: $(TYPEGEN) $(TYPEGEN) >$@ @@ -165,7 +165,7 @@ $(TESTRANDOM): $(BUILDDIR)/test # that or to override the results, because it doesn't work if he's # cross compiling. -$(BUILDDIR)/pm_config.h: \ +pm_config.h: \ $(SRCDIR)/pm_config.in.h config.mk inttypes_netpbm.h \ $(ENDIANGEN) # Note that this rule depends on the effect of the .DELETE_ON_ERROR @@ -207,7 +207,7 @@ endif MAJOR := $(NETPBM_MAJOR_RELEASE) MINOR := $(NETPBM_MINOR_RELEASE) POINT := $(NETPBM_POINT_RELEASE) -$(BUILDDIR)/version.h: $(SRCDIR)/version.mk +version.h: $(SRCDIR)/version.mk @rm -f $@ @echo "/* Generated by make file rule */" >>$@ @echo "#define NETPBM_VERSION" \ -- cgit 1.4.1