summaryrefslogtreecommitdiffstats
path: root/make/include
diff options
context:
space:
mode:
authorkonablend <[email protected]>2009-03-04 00:54:53 +0000
committerkonablend <[email protected]>2009-03-04 00:54:53 +0000
commit6d2d51974af122bdfe6eb82f355e270cd66c48af (patch)
tree5a82b3790f4dd0c3f71aa1643838e937edca597a /make/include
parentc4d9c49de0f020f451325dbb39b97642eaf96032 (diff)
BuildSystem: darwin
- made Xcode external targets consistent for each configuration. - shunted terminal NAME=VALUE vars through xcodebuild. - folded macosx/module.xcode shunt functions into single. - added new report target to show a single var; eg: make report.var NAME=GCC.gcc . BuildSystem: darwin ppc - fixed configure on ppc host: correctly identify native architecture. - fixed configure to be more resilient when svn probes fail. - fixed configure to show error output for svn probes. BuildSystme: xcode - added external target 'external' to represent 'all things in external system' which is slight more than what 'libhb' might represent. - added doc section Building.osx: External Targets . git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2214 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'make/include')
-rw-r--r--make/include/base.rules8
-rw-r--r--make/include/report.defs7
2 files changed, 11 insertions, 4 deletions
diff --git a/make/include/base.rules b/make/include/base.rules
index f12886432..fd90d7769 100644
--- a/make/include/base.rules
+++ b/make/include/base.rules
@@ -1,16 +1,16 @@
-.PHONY: report.main report.gcc report.modules
+.PHONY: report.main report.gcc report.modules report.var report.true
report.modules::
-.PHONY: report.main
report.main:
@$(MAKE) report.true REPORT=main
-.PHONY: report.gcc
report.gcc:
@$(MAKE) report.true REPORT=gcc
+report.var:
+ @$(MAKE) report.true REPORT=var
+
## needed for nested make (which drives each report)
-.PHONY: report.true
report.true:
@true
diff --git a/make/include/report.defs b/make/include/report.defs
index 858c45523..7962a6631 100644
--- a/make/include/report.defs
+++ b/make/include/report.defs
@@ -53,3 +53,10 @@ $(info #########################################################################
$(info $(foreach v,$(sort $(filter GCC.%,$(.VARIABLES))),$(call fn.PRINTVAR,$v)))
$(info )
endif
+
+## report: var
+##
+ifeq (var,$(REPORT))
+$(info $(call fn.PRINTVAR,$(NAME)))
+$(info )
+endif