X-Git-Url: http://git.osdn.jp/view?a=blobdiff_plain;f=macosx%2Fmodule.defs;h=4b9329f095849d1f0ad23f663619b940f9412107;hb=44946a6f8be82a70e65ca534541183a26fdb804b;hp=61a287366af124fc758269eba44ce4453f011bfe;hpb=044956b1ff78b14c0b0ed7d73c7666b15d7458dc;p=handbrake-jp%2Fhandbrake-jp-git.git diff --git a/macosx/module.defs b/macosx/module.defs index 61a28736..4b9329f0 100644 --- a/macosx/module.defs +++ b/macosx/module.defs @@ -1,4 +1,5 @@ $(eval $(call import.MODULE.defs,MACOSX,macosx)) +$(eval $(call import.GCC,MACOSX)) MACOSX.src/ = $(SRC/)macosx/ MACOSX.build/ = $(BUILD/)macosx/ @@ -10,7 +11,17 @@ MACOSX.m4.out = $(MACOSX.m4.in:$(MACOSX.src/)%.m4=$(MACOSX.build/)%) MACOSX.m4.post.Info.h = $(RM.exe) -f $(MACOSX.build/)HandBrake.build/Preprocessed-Info.plist MACOSX.targs = HandBrakeCLI HandBrake -MACOSX.conf = standard$(if $(filter 1,$(BUILD.cross)),.$(BUILD.arch)) + +## configuration pattern: (standard|debug)[.ARCH] +## eg. for native build, no debug --> standard +## eg. for x86_64 build with debug of any level --> debug.x86_64 +MACOSX.conf = $(MACOSX.map.g.$(MACOSX.GCC.g))$(if $(filter 1,$(BUILD.cross)),.$(BUILD.arch)) + +## this is a mapping to determine which basename config to use in xcodeproj +MACOSX.map.g.none = standard +MACOSX.map.g.min = debug +MACOSX.map.g.std = debug +MACOSX.map.g.max = debug ###############################################################################