trunk/src/osd/sdl/sdl.mak
| r26154 | r26155 | |
| 59 | 59 | # active development on sdlmame or SDL. |
| 60 | 60 | |
| 61 | 61 | # uncomment the next line to compile and link against SDL2.0 |
| 62 | | |
| 63 | 62 | # SDL_LIBVER = sdl2 |
| 64 | 63 | |
| 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) |
| 66 | 65 | # SDL2_MULTIAPI = 1 |
| 67 | 66 | |
| 68 | 67 | # uncomment the next line to specify where you have installed |
| 69 | 68 | # SDL. Equivalent to the ./configure --prefix=<path> |
| 70 | 69 | # SDL_INSTALL_ROOT = /usr/local/sdl13 |
| 71 | 70 | |
| 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) |
| 73 | 72 | # NO_USE_QTDEBUG = 1 |
| 74 | 73 | |
| 75 | 74 | # uncomment to disable MIDI |
| r26154 | r26155 | |
| 307 | 306 | LDFLAGS += -Wl,--allow-multiple-definition |
| 308 | 307 | SDL_NETWORK = pcap |
| 309 | 308 | |
| 310 | | # if no Qt, no debugger |
| 311 | | ifdef NO_USE_QTDEBUG |
| 312 | | NO_DEBUGGER = 1 |
| 313 | | endif |
| 314 | | |
| 315 | 309 | # enable UNICODE |
| 316 | 310 | DEFS += -Dmain=utf8_main -DUNICODE -D_UNICODE |
| 317 | 311 | LDFLAGS += -municode |
| r26154 | r26155 | |
| 355 | 349 | $(error $(TARGETOS) not supported !) |
| 356 | 350 | endif |
| 357 | 351 | |
| 352 | # if no Qt and not OS X, no debugger |
| 353 | ifneq ($(TARGETOS),macosx) |
| 354 | ifdef NO_USE_QTDEBUG |
| 355 | NO_DEBUGGER = 1 |
| 356 | endif |
| 357 | endif |
| 358 | |
| 358 | 359 | #------------------------------------------------- |
| 359 | 360 | # object and source roots |
| 360 | 361 | #------------------------------------------------- |
| r26154 | r26155 | |
| 528 | 529 | QT_INSTALL_HEADERS = $(shell $(QMAKE) -query QT_INSTALL_HEADERS) |
| 529 | 530 | INCPATH += -I$(QT_INSTALL_HEADERS)/QtCore -I$(QT_INSTALL_HEADERS)/QtGui -I$(QT_INSTALL_HEADERS) |
| 530 | 531 | LIBS += -L$(shell $(QMAKE) -query QT_INSTALL_LIBS) -lQtGui -lQtCore |
| 531 | | else |
| 532 | | DEBUGOBJS = $(SDLOBJ)/debugwin.o $(SDLOBJ)/dview.o $(SDLOBJ)/debug-sup.o $(SDLOBJ)/debug-intf.o |
| 533 | 532 | endif |
| 534 | 533 | |
| 535 | 534 | LIBGL = -lGL |