summaryrefslogtreecommitdiffstats
path: root/macosx/module.xcodebuild
diff options
context:
space:
mode:
Diffstat (limited to 'macosx/module.xcodebuild')
-rw-r--r--macosx/module.xcodebuild27
1 files changed, 27 insertions, 0 deletions
diff --git a/macosx/module.xcodebuild b/macosx/module.xcodebuild
new file mode 100644
index 000000000..26b34a9cb
--- /dev/null
+++ b/macosx/module.xcodebuild
@@ -0,0 +1,27 @@
+## This file is processed only when shunting build through xcodebuild
+
+.PHONY: macosx.build macosx.clean macosx.install
+
+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
+
+###############################################################################
+
+MACOSX.goals = $(filter-out build clean install,$(MAKECMDGOALS))
+
+$(MACOSX.goals): __goals__
+ @true
+
+__goals__:
+ $(call MACOSX.XCODE,external,build,$(MACOSX.goals))