diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/builddefs.in | 11 | ||||
-rw-r--r-- | include/buildmacros | 11 |
2 files changed, 11 insertions, 11 deletions
diff --git a/include/builddefs.in b/include/builddefs.in index b09dc6d..7bc1a59 100644 --- a/include/builddefs.in +++ b/include/builddefs.in @@ -32,6 +32,9 @@ # @configure_input@ # +ifndef _BUILDDEFS_INCLUDED_ +_BUILDDEFS_INCLUDED_ = 1 + DEBUG = @debug_build@ OPTIMIZER = @opt_build@ MALLOCLIB = @malloc_lib@ @@ -75,3 +78,11 @@ CFLAGS += $(OPTIMIZER) $(DEBUG) -funsigned-char -Wall \ -DVERSION=\"$(PKG_VERSION)\" -D_FILE_OFFSET_BITS=64 include $(TOPDIR)/include/buildmacros + +endif + +# +# For targets that should always be rebuilt, +# define a target that is never up-to-date. +# Targets needing this should depend on $(_FORCE) +_FORCE = __force_build diff --git a/include/buildmacros b/include/buildmacros index 001397e..26f90f4 100644 --- a/include/buildmacros +++ b/include/buildmacros @@ -30,9 +30,6 @@ # http://oss.sgi.com/projects/GenInfo/SGIGPLNoticeExplan/ # -ifndef _BUILDMACROS_INCLUDED_ -_BUILDMACROS_INCLUDED_ = 1 - BUILDRULES = $(TOPDIR)/include/buildrules # LCFLAGS, LLDFLAGS, LLDLIBS, LSRCFILES and LDIRT may be specified in @@ -168,11 +165,3 @@ SOURCE_MAKERULE = \ $(MAKEF) DIR=$$DIR/$$d -C $$d $@ || exit $$?; \ fi; \ done - -endif - -# -# For targets that should always be rebuilt, -# define a target that is never up-to-date. -# Targets needing this should depend on $(_FORCE) -_FORCE = __force_build |