summaryrefslogtreecommitdiffstats
path: root/macosx/module.xcode
diff options
context:
space:
mode:
authorkonablend <kona8lend@gmail.com>2009-03-04 00:54:53 +0000
committerkonablend <kona8lend@gmail.com>2009-03-04 00:54:53 +0000
commit6d2d51974af122bdfe6eb82f355e270cd66c48af (patch)
tree5a82b3790f4dd0c3f71aa1643838e937edca597a /macosx/module.xcode
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 'macosx/module.xcode')
-rw-r--r--macosx/module.xcode24
1 files changed, 18 insertions, 6 deletions
diff --git a/macosx/module.xcode b/macosx/module.xcode
index 5d75f5152..81f661629 100644
--- a/macosx/module.xcode
+++ b/macosx/module.xcode
@@ -2,16 +2,28 @@
## which hands-off the build to Xcode which in turn may callback this
## build system.
-build:
- $(call MACOSX.XCODE,build)
+.PHONY: macosx.build macosx.clean macosx.install
-clean:
- $(call MACOSX.XCODE,clean)
+macosx.build:
+ $(call MACOSX.XCODE,HandBrakeCLI HandBrake,build)
+macosx.clean:
+ $(call MACOSX.XCODE,HandBrakeCLI HandBrake,clean)
+
+macosx.install:
+ $(call MACOSX.XCODE,HandBrakeCLI HandBrake,install)
+
+build: macosx.build
+clean: macosx.clean
+install: macosx.install
xclean: clean
-$(MAKECMDGOALS): __goals__
+###############################################################################
+
+MACOSX.goals = $(filter-out build clean install xclean,$(MAKECMDGOALS))
+
+$(MACOSX.goals): __goals__
@true
__goals__:
- $(call MACOSX.XCODE.PASSTHRU,$(MAKECMDGOALS))
+ $(call MACOSX.XCODE,external,build,$(MACOSX.goals))