mirror of
https://github.com/holub/mame
synced 2025-06-25 05:44:23 +03:00
Embed info property list in OSX binaries
This commit is contained in:
parent
ff1b484599
commit
efaf154772
@ -539,6 +539,24 @@ ifeq ($(TARGETOS),macosx)
|
|||||||
OSDCOREOBJS += $(SDLOBJ)/osxutils.o
|
OSDCOREOBJS += $(SDLOBJ)/osxutils.o
|
||||||
SDLOS_TARGETOS = macosx
|
SDLOS_TARGETOS = macosx
|
||||||
|
|
||||||
|
ifeq ($(TARGET),mame)
|
||||||
|
MACOSX_EMBED_INFO_PLIST = 1
|
||||||
|
endif
|
||||||
|
ifeq ($(TARGET),mess)
|
||||||
|
MACOSX_EMBED_INFO_PLIST = 1
|
||||||
|
endif
|
||||||
|
ifeq ($(TARGET),ume)
|
||||||
|
MACOSX_EMBED_INFO_PLIST = 1
|
||||||
|
endif
|
||||||
|
ifdef MACOSX_EMBED_INFO_PLIST
|
||||||
|
INFOPLIST = $(SDLOBJ)/$(TARGET)-Info.plist
|
||||||
|
LDFLAGSEMULATOR += -sectcreate __TEXT __info_plist $(INFOPLIST)
|
||||||
|
$(EMULATOR): $(INFOPLIST)
|
||||||
|
$(INFOPLIST): $(SRC)/build/verinfo.py $(SRC)/version.c
|
||||||
|
@echo Emitting $@...
|
||||||
|
$(PYTHON) $(SRC)/build/verinfo.py -b $(TARGET) -p $(SRC)/version.c > $@
|
||||||
|
endif
|
||||||
|
|
||||||
ifndef MACOSX_USE_LIBSDL
|
ifndef MACOSX_USE_LIBSDL
|
||||||
# Compile using framework (compile using libSDL is the exception)
|
# Compile using framework (compile using libSDL is the exception)
|
||||||
ifeq ($(SDL_LIBVER),sdl2)
|
ifeq ($(SDL_LIBVER),sdl2)
|
||||||
|
Loading…
Reference in New Issue
Block a user