summaryrefslogtreecommitdiffstats
path: root/make/include
diff options
context:
space:
mode:
Diffstat (limited to 'make/include')
-rw-r--r--make/include/contrib.defs14
-rw-r--r--make/include/main.defs20
-rw-r--r--make/include/main.rules18
3 files changed, 26 insertions, 26 deletions
diff --git a/make/include/contrib.defs b/make/include/contrib.defs
index 3cd80303e..5f1f9e54b 100644
--- a/make/include/contrib.defs
+++ b/make/include/contrib.defs
@@ -1,5 +1,5 @@
CONTRIB.build/ = $(BUILD/)contrib/
-CONTRIB.download/ = $(PROJECT/)download/
+CONTRIB.download/ = $(SRC/)download/
CONTRIB.host = $(if $(filter 1,$(BUILD.cross)),$(BUILD.spec))
###############################################################################
@@ -17,7 +17,7 @@ define import.CONTRIB.defs
##
## common values useful across targets
##
- $(1).src/ = $$(PROJECT/)contrib/$($(1).name)/
+ $(1).src/ = $$(SRC/)contrib/$($(1).name)/
$(1).build/ = $$(CONTRIB.build/)$($(1).name)/
$(1).deps = $$(foreach n,$($(1).prerequisites),$$($$n.INSTALL.target))
@@ -209,7 +209,7 @@ $($(1).name).extract.touch:
$$(TOUCH.exe) $$($(1).EXTRACT.target)
$($(1).name).extract.untouch:
- $$(RM.exe) $$($(1).EXTRACT.target)
+ $$(RM.exe) -f $$($(1).EXTRACT.target)
##
## target: patch
@@ -224,7 +224,7 @@ $($(1).name).patch.touch:
$$(TOUCH.exe) $$($(1).PATCH.target)
$($(1).name).patch.untouch:
- $$(RM.exe) $$($(1).PATCH.target)
+ $$(RM.exe) -f $$($(1).PATCH.target)
##
## target: configure
@@ -240,7 +240,7 @@ $($(1).name).configure.touch:
$$(TOUCH.exe) $$($(1).CONFIGURE.target)
$($(1).name).configure.untouch:
- $$(RM.exe) $$($(1).CONFIGURE.target)
+ $$(RM.exe) -f $$($(1).CONFIGURE.target)
##
## target: build
@@ -256,7 +256,7 @@ $($(1).name).build.touch:
$$(TOUCH.exe) $$($(1).BUILD.target)
$($(1).name).build.untouch:
- $$(RM.exe) $$($(1).BUILD.target)
+ $$(RM.exe) -f $$($(1).BUILD.target)
##
## target: install
@@ -271,7 +271,7 @@ $($(1).name).install.touch:
$$(TOUCH.exe) $$($(1).INSTALL.target)
$($(1).name).install.untouch:
- $$(RM.exe) $$($(1).INSTALL.target)
+ $$(RM.exe) -f $$($(1).INSTALL.target)
##
## target: uninstall
diff --git a/make/include/main.defs b/make/include/main.defs
index 93271a365..f07678b79 100644
--- a/make/include/main.defs
+++ b/make/include/main.defs
@@ -1,10 +1,10 @@
-include $(PROJECT/)make/include/base.defs
-include $(PROJECT/)make/include/contrib.defs
-include $(PROJECT/)make/include/function.defs
-include $(PROJECT/)make/include/gcc.defs
-include $(PROJECT/)make/include/select.defs
-include $(PROJECT/)make/include/target.defs
-include $(PROJECT/)make/include/tool.defs
+include $(SRC/)make/include/base.defs
+include $(SRC/)make/include/contrib.defs
+include $(SRC/)make/include/function.defs
+include $(SRC/)make/include/gcc.defs
+include $(SRC/)make/include/select.defs
+include $(SRC/)make/include/target.defs
+include $(SRC/)make/include/tool.defs
###############################################################################
@@ -62,6 +62,6 @@ MODULES += doc
###############################################################################
-include $(MODULES:%=$(PROJECT/)%/module.defs)
-include $(PROJECT/)make/variant/$(HOST.system).defs
--include $(PROJECT/)make/variant/$(HOST.system).$(BUILD.machine).defs
+include $(MODULES:%=$(SRC/)%/module.defs)
+include $(SRC/)make/variant/$(HOST.system).defs
+-include $(SRC/)make/variant/$(HOST.system).$(BUILD.machine).defs
diff --git a/make/include/main.rules b/make/include/main.rules
index 4625ae9db..51460a35d 100644
--- a/make/include/main.rules
+++ b/make/include/main.rules
@@ -5,12 +5,12 @@
## file-wide conditional to use xcode rules if xcode=1 method=terminal
ifeq ($(FEATURE.xcode):$(BUILD.method),1:terminal)
- include $(PROJECT/)macosx/module.xcode
+ include $(SRC/)macosx/module.xcode
else
## only included using special report targets
ifneq (,$(REPORT))
- include $(PROJECT/)make/include/report.defs
+ include $(SRC/)make/include/report.defs
endif
###############################################################################
@@ -30,22 +30,22 @@ mrproper: xclean
###############################################################################
-include $(PROJECT/)make/include/base.rules
+include $(SRC/)make/include/base.rules
-include $(MODULES:%=$(PROJECT/)%/module.rules)
--include $(PROJECT/)make/variant/$(HOST.system).rules
--include $(PROJECT/)make/variant/$(HOST.system).$(BUILD.machine).rules
+include $(MODULES:%=$(SRC/)%/module.rules)
+-include $(SRC/)make/variant/$(HOST.system).rules
+-include $(SRC/)make/variant/$(HOST.system).$(BUILD.machine).rules
###############################################################################
## target which causes re-configure if project-root is svn update'd
-$(BUILD/)GNUmakefile: $(wildcard $(PROJECT/).svn/entries)
- $(PROJECT/)configure $(CONF.args)
+$(BUILD/)GNUmakefile: $(wildcard $(SRC/).svn/entries)
+ $(SRC/)configure $(CONF.args)
## target useful to force reconfigure; only helpful for build-system development
.PHONY: reconfigure
reconfigure:
- $(PROJECT/)configure $(CONF.args)
+ $(SRC/)configure $(CONF.args)
###############################################################################