diff options
author | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2006-09-29 16:14:55 +0000 |
---|---|---|
committer | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2006-09-29 16:14:55 +0000 |
commit | 118ba884419d79e5bd2dd83a1e1a40b99ac64f65 (patch) | |
tree | cdb1b1d8fad573577c02f62bcd46ca5fca8542b5 /GNUmakefile | |
parent | 544d142e7efc6691a9d25cccb4b983e780f932fc (diff) | |
download | netpbm-mirror-118ba884419d79e5bd2dd83a1e1a40b99ac64f65.tar.gz netpbm-mirror-118ba884419d79e5bd2dd83a1e1a40b99ac64f65.tar.xz netpbm-mirror-118ba884419d79e5bd2dd83a1e1a40b99ac64f65.zip |
Release 10.35.06
git-svn-id: http://svn.code.sf.net/p/netpbm/code/stable@71 9d0c8265-081b-0410-96cb-a4ca84ce46f8
Diffstat (limited to 'GNUmakefile')
-rw-r--r-- | GNUmakefile | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/GNUmakefile b/GNUmakefile index 56c6126c..14c01017 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -102,13 +102,13 @@ TYPEGEN = $(BUILDDIR)/buildtools/typegen # endiangen is a utility program used by the make file below. ENDIANGEN = $(BUILDDIR)/buildtools/endiangen -$(TYPEGEN): $(BUILDDIR)/buildtools +$(TYPEGEN) $(ENDIANGEN): $(BUILDDIR)/buildtools $(MAKE) -C $(dir $@) -f $(SRCDIR)/buildtools/Makefile \ SRCDIR=$(SRCDIR) BUILDDIR=$(BUILDDIR) $(notdir $@) DELETEIT = (rm -f $@ || false) -$(BUILDDIR)/inttypes_netpbm.h: $(TYPEGEN) +inttypes_netpbm.h: $(TYPEGEN) $(TYPEGEN) >$@ || $(DELETEIT) # We run a couple of programs on the build machine in computing the @@ -116,7 +116,7 @@ $(BUILDDIR)/inttypes_netpbm.h: $(TYPEGEN) # 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 Makefile.config inttypes_netpbm.h $(ENDIANGEN) echo '/* pm_config.h GENERATED BY A MAKE RULE */' >$@ || $(DELETEIT) echo '#ifndef PM_CONFIG_H' >>$@ || $(DELETEIT) @@ -144,7 +144,7 @@ endif MAJOR := $(NETPBM_MAJOR_RELEASE) MINOR := $(NETPBM_MINOR_RELEASE) POINT := $(NETPBM_POINT_RELEASE) -$(BUILDDIR)/version.h: +version.h: @rm -f $@ @echo "/* Generated by make file rule */" >$@ @echo "#define NETPBM_VERSION" \ @@ -349,7 +349,7 @@ install.hdr: $(PKGDIR)/include $(MAKE) -C lib -f $(SRCDIR)/lib/Makefile \ SRCDIR=$(SRCDIR) BUILDDIR=$(BUILDDIR) install.hdr $(INSTALL) -c -m $(INSTALL_PERM_HDR) \ - $(SRCDIR)/pm_config.h $(PKGDIR)/include + $(BUILDDIR)/pm_config.h $(PKGDIR)/include ifeq ($(STATICLIB_TOO),y) BUILD_STATIC = y |