blob: c13958da4114e24ea08846d8fc898c853bcad473 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
$(eval $(call import.MODULE.defs,MACOSX,macosx))
MACOSX.src/ = $(PROJECT/)macosx/
MACOSX.build/ = $(BUILD/)macosx/
MACOSX.m4.in = $(wildcard $(MACOSX.src/)*.m4)
MACOSX.m4.out = $(patsubst $(MACOSX.src/)%.m4,$(MACOSX.build/)%,$(MACOSX.m4.in))
MACOSX.targs = HandBrakeCLI HandBrake
MACOSX.conf = standard$(if $(filter 1,$(BUILD.cross)),.$(BUILD.arch))
###############################################################################
BUILD.out += $(MACOSX.m4.out)
###############################################################################
MACOSX.XCODE.exe = xcodebuild
MACOSX.XCODE.project = HandBrake.xcodeproj
MACOSX.XCODE = $(strip \
cd $(MACOSX.src/) && \
$(MACOSX.XCODE.exe) \
-project $(MACOSX.XCODE.project) \
-configuration $(MACOSX.conf) \
$(foreach t,$(MACOSX.targs),-target $t) \
EXTERNAL_BUILD=$(CURDIR) \
EXTERNAL_PROJECT=$(PROJECT/) \
$(1) )
|