Previous 199869 Revisions Next

r26155 Thursday 14th November, 2013 at 03:58:10 UTC by R. Belmont
SDL: fix non-Qt non-Windows build (MT #5364) [R. Belmont]
[src/osd/sdl]sdl.mak

trunk/src/osd/sdl/sdl.mak
r26154r26155
5959# active development on sdlmame or SDL.
6060
6161# uncomment the next line to compile and link against SDL2.0
62
6362# SDL_LIBVER = sdl2
6463
65# uncomment the next line to use couriersud's multi-keyboard patch for sdl2.0
64# uncomment the next line to use couriersud's multi-keyboard patch for SDL 2.1? (this API was removed prior to the 2.0 release)
6665# SDL2_MULTIAPI = 1
6766
6867# uncomment the next line to specify where you have installed
6968# SDL. Equivalent to the ./configure --prefix=<path>
7069# SDL_INSTALL_ROOT = /usr/local/sdl13
7170
72# uncomment to disable the Qt debugger and fall back to a system default
71# uncomment to disable the Qt debugger (on non-OSX this disables all debugging)
7372# NO_USE_QTDEBUG = 1
7473
7574# uncomment to disable MIDI
r26154r26155
307306LDFLAGS += -Wl,--allow-multiple-definition
308307SDL_NETWORK = pcap
309308
310# if no Qt, no debugger
311ifdef NO_USE_QTDEBUG
312NO_DEBUGGER = 1
313endif
314
315309# enable UNICODE
316310DEFS += -Dmain=utf8_main -DUNICODE -D_UNICODE
317311LDFLAGS += -municode
r26154r26155
355349$(error $(TARGETOS) not supported !)
356350endif
357351
352# if no Qt and not OS X, no debugger
353ifneq ($(TARGETOS),macosx)
354ifdef NO_USE_QTDEBUG
355NO_DEBUGGER = 1
356endif
357endif
358
358359#-------------------------------------------------
359360# object and source roots
360361#-------------------------------------------------
r26154r26155
528529QT_INSTALL_HEADERS = $(shell $(QMAKE) -query QT_INSTALL_HEADERS)
529530INCPATH += -I$(QT_INSTALL_HEADERS)/QtCore -I$(QT_INSTALL_HEADERS)/QtGui -I$(QT_INSTALL_HEADERS)
530531LIBS += -L$(shell $(QMAKE) -query QT_INSTALL_LIBS) -lQtGui -lQtCore
531else
532DEBUGOBJS = $(SDLOBJ)/debugwin.o $(SDLOBJ)/dview.o $(SDLOBJ)/debug-sup.o $(SDLOBJ)/debug-intf.o
533532endif
534533
535534LIBGL = -lGL

Previous 199869 Revisions Next


© 1997-2024 The MAME Team