summaryrefslogtreecommitdiffstats
path: root/make/variant/darwin.rules
diff options
context:
space:
mode:
Diffstat (limited to 'make/variant/darwin.rules')
-rw-r--r--make/variant/darwin.rules20
1 files changed, 20 insertions, 0 deletions
diff --git a/make/variant/darwin.rules b/make/variant/darwin.rules
new file mode 100644
index 000000000..c4f4f97a4
--- /dev/null
+++ b/make/variant/darwin.rules
@@ -0,0 +1,20 @@
+.PHONY: ub.build ub.combine ub.clean
+
+ub.build.serial:
+ @$(UB.BUILD.SERIAL)
+
+ub.build.parallel:
+ @set -e; \
+ for arch in $(UB.archs.other); do \
+ $(call UB.BUILD.PARALLEL,$$arch) & \
+ children="$$children $$!"; \
+ echo "pid $$!: $(call UB.BUILD.PARALLEL,$$arch)"; \
+ done; \
+ echo "waiting for background jobs to complete:$$children"; \
+ wait
+
+ub.combine:
+ $(call UB.COMBINE,HandBrake.app/Contents/MacOS/HandBrake)
+
+ub.clean:
+ $(RM.EXE) -fr $(foreach n,$(UB.archs.other),ub.$n)