| 1 | #\r |
| 2 | # Virtual Jaguar Qt project file\r |
| 3 | #\r |
| 4 | # by James Hammons\r |
| 5 | # Copyright (C) 2011 Underground Software\r |
| 6 | #\r |
| 7 | # Modified by Jean-Paul Mari\r |
| 8 | #\r |
| 9 | # See the README and GPLv3 files for licensing and warranty information\r |
| 10 | #\r |
| 11 | # NOTE: M68000 core is built and linked in as a library, so there should be no\r |
| 12 | # more problems with using the qmake build system as-is. :-)\r |
| 13 | # Other than on the Mac, where it stupidly defaults to making XCode\r |
| 14 | # binaries. >:-( Well, we fixed it in the Makefile, by doing platform\r |
| 15 | # detection there. :-/\r |
| 16 | #\r |
| 17 | \r |
| 18 | TARGET = virtualjaguar\r |
| 19 | CONFIG += qt warn_on release\r |
| 20 | # debug\r |
| 21 | RESOURCES += src/gui/virtualjaguar.qrc\r |
| 22 | LIBS += -Lobj -Lsrc/m68000/obj -ljaguarcore -lz -lm68k -llibelf -llibdwarf -lelf\r |
| 23 | QT += opengl widgets\r |
| 24 | \r |
| 25 | # We stuff all the intermediate crap into obj/ so it won't confuse us mere\r |
| 26 | # mortals ;-)\r |
| 27 | OBJECTS_DIR = obj\r |
| 28 | MOC_DIR = obj\r |
| 29 | RCC_DIR = obj\r |
| 30 | UI_DIR = obj\r |
| 31 | \r |
| 32 | # Platform specific defines\r |
| 33 | win32 { DEFINES += __GCCWIN32__ }\r |
| 34 | else:macx { DEFINES += __GCCUNIX__ __THINK_STUPID__ }\r |
| 35 | else:unix { DEFINES += __GCCUNIX__ }\r |
| 36 | \r |
| 37 | # SDL (to link statically on Mac)\r |
| 38 | macx { LIBS += `sdl-config --static-libs` }\r |
| 39 | #else:win32 { LIBS += `$(CROSS)sdl-config --libs` }\r |
| 40 | #else:win32 { LIBS += `$(CROSS)sdl-config --static-libs` -static-libgcc}\r |
| 41 | else:win32 { LIBS += `$(CROSS)sdl-config --static-libs` -static -static-libgcc -static-libstdc++ }\r |
| 42 | else { LIBS += `$(CROSS)sdl-config --libs` }\r |
| 43 | #else { LIBS += `$(CROSS)sdl-config --static-libs` }\r |
| 44 | \r |
| 45 | # Icon on Win32, Mac\r |
| 46 | #win32 { LIBS += res/vj-ico.o }\r |
| 47 | #win32 { ICON = res/vj.ico }\r |
| 48 | #win32 { LIBS += obj/vj.o; $(CROSS)windres -i res/vj.rc -o obj/vj.o --include-dir=./res }\r |
| 49 | win32 { RC_FILE = res/vj.rc }\r |
| 50 | macx { ICON = res/vj-icon.icns }\r |
| 51 | \r |
| 52 | # C/C++ flags...\r |
| 53 | # NOTE: May have to put -Wall back in, but only on non-release cycles. It can\r |
| 54 | # cause problems if you're not careful. (Can do this via command line in\r |
| 55 | # qmake)\r |
| 56 | QMAKE_CFLAGS += `$(CROSS)sdl-config --cflags`\r |
| 57 | QMAKE_CXXFLAGS += `$(CROSS)sdl-config --cflags`\r |
| 58 | \r |
| 59 | # Need to add libcdio stuffola (checking/including)...\r |
| 60 | \r |
| 61 | # Translations. NB: Nobody has stepped up to do any :-P so these are dummy\r |
| 62 | # translations\r |
| 63 | # Removed for now, they interfere with proper running in non-English locales for\r |
| 64 | # some reason. :-/\r |
| 65 | #TRANSLATIONS = \\r |
| 66 | # virtualjaguar_fr.ts \\r |
| 67 | # virtualjaguar_gr.ts\r |
| 68 | \r |
| 69 | INCLUDEPATH += \\r |
| 70 | src \\r |
| 71 | src/debugger \\r |
| 72 | src/gui\r |
| 73 | \r |
| 74 | DEPENDPATH = \\r |
| 75 | src \\r |
| 76 | src/debugger \\r |
| 77 | src/gui \\r |
| 78 | src/gui/debug \\r |
| 79 | src/m68000\r |
| 80 | \r |
| 81 | # The GUI\r |
| 82 | \r |
| 83 | HEADERS = \\r |
| 84 | src/gui/about.h \\r |
| 85 | src/gui/alpinetab.h \\r |
| 86 | src/gui/app.h \\r |
| 87 | src/gui/configdialog.h \\r |
| 88 | src/gui/controllertab.h \\r |
| 89 | src/gui/controllerwidget.h \\r |
| 90 | src/gui/filelistmodel.h \\r |
| 91 | src/gui/filepicker.h \\r |
| 92 | src/gui/filethread.h \\r |
| 93 | src/gui/gamepad.h \\r |
| 94 | src/gui/generaltab.h \\r |
| 95 | src/gui/modelsbiostab.h \ \r |
| 96 | src/gui/keybindingstab.h \\r |
| 97 | src/gui/glwidget.h \\r |
| 98 | src/gui/help.h \\r |
| 99 | src/gui/imagedelegate.h \\r |
| 100 | src/gui/keygrabber.h \\r |
| 101 | src/gui/mainwin.h \\r |
| 102 | src/gui/profile.h \\r |
| 103 | src/gui/emustatus.h \\r |
| 104 | src/gui/debug/cpubrowser.h \\r |
| 105 | src/gui/debug/m68kdasmbrowser.h \\r |
| 106 | src/gui/debug/memorybrowser.h \\r |
| 107 | src/gui/debug/opbrowser.h \\r |
| 108 | src/gui/debug/riscdasmbrowser.h \\r |
| 109 | src/gui/debug/stackbrowser.h \\r |
| 110 | src/gui/debug/hwregsbrowser.h \\r |
| 111 | src/debugger/debuggertab.h \\r |
| 112 | src/debugger/DasmWin.h \\r |
| 113 | src/debugger/m68kDasmWin.h \\r |
| 114 | src/debugger/SourcesWin.h \\r |
| 115 | src/debugger/SourceCWin.h \\r |
| 116 | src/debugger/DBGManager.h \\r |
| 117 | src/debugger/DSPDasmWin.h \\r |
| 118 | src/debugger/GPUDasmWin.h \\r |
| 119 | src/debugger/HWLABELManager.h \\r |
| 120 | src/debugger/ELFManager.h \\r |
| 121 | src/debugger/allwatchbrowser.h \\r |
| 122 | src/debugger/localbrowser.h \\r |
| 123 | src/debugger/DWARFManager.h \\r |
| 124 | src/debugger/memory1browser.h \\r |
| 125 | src/debugger/heapallocatorbrowser.h \\r |
| 126 | src/debugger/BreakpointsWin.h \\r |
| 127 | src/debugger/VideoWin.h \r |
| 128 | src/debugger/FilesrcListWin.h \\r |
| 129 | src/debugger/callstackbrowser.h \\r |
| 130 | src/debugger/exceptionvectortablebrowser.h \\r |
| 131 | src/debugger/NewFnctBreakpointWin.h \\r |
| 132 | src/debugger/CartFilesListWin.h \\r |
| 133 | src/debugger/SaveDumpAsWin.h \\r |
| 134 | src/log.h \\r |
| 135 | src/unzip.h \\r |
| 136 | src/crc32.h \\r |
| 137 | src/settings.h \\r |
| 138 | src/file.h \\r |
| 139 | src/LEB128.h\r |
| 140 | \r |
| 141 | SOURCES = \\r |
| 142 | src/gui/about.cpp \\r |
| 143 | src/gui/alpinetab.cpp \\r |
| 144 | src/gui/app.cpp \\r |
| 145 | src/gui/configdialog.cpp \\r |
| 146 | src/gui/controllertab.cpp \\r |
| 147 | src/gui/controllerwidget.cpp \\r |
| 148 | src/gui/filelistmodel.cpp \\r |
| 149 | src/gui/filepicker.cpp \\r |
| 150 | src/gui/filethread.cpp \\r |
| 151 | src/gui/gamepad.cpp \\r |
| 152 | src/gui/generaltab.cpp \\r |
| 153 | src/gui/modelsbiostab.cpp \\r |
| 154 | src/gui/keybindingstab.cpp \\r |
| 155 | src/gui/glwidget.cpp \\r |
| 156 | src/gui/help.cpp \\r |
| 157 | src/gui/imagedelegate.cpp \\r |
| 158 | src/gui/keygrabber.cpp \\r |
| 159 | src/gui/mainwin.cpp \\r |
| 160 | src/gui/profile.cpp \\r |
| 161 | src/gui/emustatus.cpp \\r |
| 162 | src/gui/debug/cpubrowser.cpp \\r |
| 163 | src/gui/debug/m68kdasmbrowser.cpp \\r |
| 164 | src/gui/debug/memorybrowser.cpp \\r |
| 165 | src/gui/debug/opbrowser.cpp \\r |
| 166 | src/gui/debug/riscdasmbrowser.cpp \\r |
| 167 | src/gui/debug/stackbrowser.cpp \\r |
| 168 | src/gui/debug/hwregsbrowser.cpp \\r |
| 169 | src/debugger/debuggertab.cpp \\r |
| 170 | src/debugger/DasmWin.cpp \\r |
| 171 | src/debugger/m68kDasmWin.cpp \\r |
| 172 | src/debugger/SourcesWin.cpp \\r |
| 173 | src/debugger/SourceCWin.cpp \\r |
| 174 | src/debugger/DBGManager.cpp \\r |
| 175 | src/debugger/DSPDasmWin.cpp \\r |
| 176 | src/debugger/GPUDasmWin.cpp \\r |
| 177 | src/debugger/HWLABELManager.cpp \\r |
| 178 | src/debugger/ELFManager.cpp \\r |
| 179 | src/debugger/allwatchbrowser.cpp \\r |
| 180 | src/debugger/localbrowser.cpp \\r |
| 181 | src/debugger/DWARFManager.cpp \\r |
| 182 | src/debugger/memory1browser.cpp \\r |
| 183 | src/debugger/heapallocatorbrowser.cpp \\r |
| 184 | src/debugger/BreakpointsWin.cpp \\r |
| 185 | src/debugger/VideoWin.cpp \\r |
| 186 | src/debugger/FilesrcListWin.cpp \\r |
| 187 | src/debugger/exceptionvectortablebrowser.cpp \\r |
| 188 | src/debugger/callstackbrowser.cpp \\r |
| 189 | src/debugger/NewFnctBreakpointWin.cpp \\r |
| 190 | src/debugger/CartFilesListWin.cpp \\r |
| 191 | src/debugger/SaveDumpAsWin.cpp \\r |
| 192 | src/log.cpp \\r |
| 193 | src/unzip.cpp \\r |
| 194 | src/crc32.cpp \\r |
| 195 | src/settings.cpp \\r |
| 196 | src/file.cpp \\r |
| 197 | src/LEB128.cpp\r |
| 198 | |