Previous 199869 Revisions Next

r36850 Tuesday 31st March, 2015 at 21:42:04 UTC by Vasantha Crabb
Better way to decide on whether to compile MOC
[/trunk]makefile

trunk/makefile
r245361r245362
705705
706706LAYOUTS=$(wildcard $(SRC)/emu/layout/*.lay) $(wildcard $(SRC)/$(TARGET)/layout/*.lay)
707707
708# TODO: this will attempt to build on many platforms lacking Qt, e.g. emscripten and OS/2
709ifneq ($(TARGETOS),macosx)
708MOC_FILES=$(wildcard $(SRC)/osd/modules/debugger/qt/*.h)
709ifneq ($(USE_QTDEBUG),1)
710ifeq ($(TARGETOS),macosx)
710711MOC_FILES=
711else
712MOC_FILES=$(wildcard $(SRC)/osd/modules/debugger/qt/*.h)
712endif
713ifeq ($(TARGETOS),solaris)
714MOC_FILES=
715endif
716ifeq ($(TARGETOS),haiku)
717MOC_FILES=
718endif
719ifeq ($(TARGETOS),emscripten)
720MOC_FILES=
721endif
722ifeq ($(TARGETOS),os2)
723MOC_FILES=
724endif
725endif
713726
714727ifeq ($(OS),windows)
715728MOC = moc
716ifneq ($(OSD),sdl)
717MOC_FILES=
718endif
719729else
720730MOCTST = $(shell which moc-qt4 2>/dev/null)
721731ifeq '$(MOCTST)' ''
r245361r245362
730740endif
731741endif
732742
733endif
734743
735744ifneq (,$(wildcard src/osd/$(OSD)/$(OSD).mak))
736745include src/osd/$(OSD)/$(OSD).mak


Previous 199869 Revisions Next


© 1997-2024 The MAME Team