OSDN Git Service

import 0.9.4
[handbrake-jp/handbrake-jp.git] / make / variant / darwin.rules
diff --git a/make/variant/darwin.rules b/make/variant/darwin.rules
new file mode 100644 (file)
index 0000000..d59a222
--- /dev/null
@@ -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); 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)