Added detection for the unsigned/signed short type
[clinton/Virtual-Jaguar-Rx.git] / virtualjaguar.pro
CommitLineData
be44e757
JPM
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
fe3b257d
JPM
7# Modified by Jean-Paul Mari\r
8#\r
be44e757
JPM
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
18TARGET = virtualjaguar\r
19CONFIG += qt warn_on release\r
20# debug\r
21RESOURCES += src/gui/virtualjaguar.qrc\r
22LIBS += -Lobj -Lsrc/m68000/obj -ljaguarcore -lz -lm68k -llibelf -llibdwarf -lelf\r
23QT += 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
27OBJECTS_DIR = obj\r
28MOC_DIR = obj\r
29RCC_DIR = obj\r
30UI_DIR = obj\r
31\r
32# Platform specific defines\r
33win32 { DEFINES += __GCCWIN32__ }\r
34else:macx { DEFINES += __GCCUNIX__ __THINK_STUPID__ }\r
35else:unix { DEFINES += __GCCUNIX__ }\r
36\r
37# SDL (to link statically on Mac)\r
38macx { 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
41else:win32 { LIBS += `$(CROSS)sdl-config --static-libs` -static -static-libgcc -static-libstdc++ }\r
42else { 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
49win32 { RC_FILE = res/vj.rc }\r
50macx { 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
56QMAKE_CFLAGS += `$(CROSS)sdl-config --cflags`\r
57QMAKE_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
69INCLUDEPATH += \\r
70 src \\r
71 src/debugger \\r
72 src/gui\r
73\r
74DEPENDPATH = \\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
83HEADERS = \\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
bc10fc42 95 src/gui/modelsbiostab.h \ \r
024bfc46 96 src/gui/keybindingstab.h \\r
be44e757
JPM
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
2d99e2b7 110 src/gui/debug/hwregsbrowser.h \\r
be44e757
JPM
111 src/debugger/debuggertab.h \\r
112 src/debugger/DasmWin.h \\r
113 src/debugger/m68kDasmWin.h \\r
114 src/debugger/DBGManager.h \\r
115 src/debugger/DSPDasmWin.h \\r
116 src/debugger/GPUDasmWin.h \\r
117 src/debugger/HWLABELManager.h \\r
be44e757
JPM
118 src/debugger/ELFManager.h \\r
119 src/debugger/allwatchbrowser.h \\r
0203b5fd 120 src/debugger/localbrowser.h \\r
be44e757
JPM
121 src/debugger/DWARFManager.h \\r
122 src/debugger/memory1browser.h \\r
123 src/debugger/heapallocatorbrowser.h \\r
1081a838 124 src/debugger/BreakpointsWin.h \\r
6564336c
JPM
125 src/debugger/VideoWin.h \r
126 src/debugger/FilesrcListWin.h \\r
0718b3f2 127 src/debugger/callstackbrowser.h \\r
be44e757 128 src/debugger/exceptionvectortablebrowser.h \\r
1081a838 129 src/debugger/NewFnctBreakpointWin.h \\r
24470541 130 src/debugger/CartFilesListWin.h \\r
3323d78b 131 src/debugger/SaveDumpAsWin.h \\r
be44e757
JPM
132 src/log.h \\r
133 src/unzip.h \\r
134 src/crc32.h \\r
135 src/settings.h \\r
68ca35f3
JPM
136 src/file.h \\r
137 src/LEB128.h\r
be44e757
JPM
138\r
139SOURCES = \\r
140 src/gui/about.cpp \\r
141 src/gui/alpinetab.cpp \\r
142 src/gui/app.cpp \\r
143 src/gui/configdialog.cpp \\r
144 src/gui/controllertab.cpp \\r
145 src/gui/controllerwidget.cpp \\r
146 src/gui/filelistmodel.cpp \\r
147 src/gui/filepicker.cpp \\r
148 src/gui/filethread.cpp \\r
149 src/gui/gamepad.cpp \\r
150 src/gui/generaltab.cpp \\r
bc10fc42 151 src/gui/modelsbiostab.cpp \\r
024bfc46 152 src/gui/keybindingstab.cpp \\r
be44e757
JPM
153 src/gui/glwidget.cpp \\r
154 src/gui/help.cpp \\r
155 src/gui/imagedelegate.cpp \\r
156 src/gui/keygrabber.cpp \\r
157 src/gui/mainwin.cpp \\r
158 src/gui/profile.cpp \\r
159 src/gui/emustatus.cpp \\r
160 src/gui/debug/cpubrowser.cpp \\r
161 src/gui/debug/m68kdasmbrowser.cpp \\r
162 src/gui/debug/memorybrowser.cpp \\r
163 src/gui/debug/opbrowser.cpp \\r
164 src/gui/debug/riscdasmbrowser.cpp \\r
165 src/gui/debug/stackbrowser.cpp \\r
2d99e2b7 166 src/gui/debug/hwregsbrowser.cpp \\r
be44e757
JPM
167 src/debugger/debuggertab.cpp \\r
168 src/debugger/DasmWin.cpp \\r
169 src/debugger/m68kDasmWin.cpp \\r
170 src/debugger/DBGManager.cpp \\r
171 src/debugger/DSPDasmWin.cpp \\r
172 src/debugger/GPUDasmWin.cpp \\r
173 src/debugger/HWLABELManager.cpp \\r
be44e757
JPM
174 src/debugger/ELFManager.cpp \\r
175 src/debugger/allwatchbrowser.cpp \\r
0203b5fd 176 src/debugger/localbrowser.cpp \\r
be44e757
JPM
177 src/debugger/DWARFManager.cpp \\r
178 src/debugger/memory1browser.cpp \\r
179 src/debugger/heapallocatorbrowser.cpp \\r
1081a838 180 src/debugger/BreakpointsWin.cpp \\r
a2dfb8e5 181 src/debugger/VideoWin.cpp \\r
6564336c 182 src/debugger/FilesrcListWin.cpp \\r
be44e757 183 src/debugger/exceptionvectortablebrowser.cpp \\r
0718b3f2 184 src/debugger/callstackbrowser.cpp \\r
1081a838 185 src/debugger/NewFnctBreakpointWin.cpp \\r
24470541 186 src/debugger/CartFilesListWin.cpp \\r
3323d78b 187 src/debugger/SaveDumpAsWin.cpp \\r
be44e757
JPM
188 src/log.cpp \\r
189 src/unzip.cpp \\r
190 src/crc32.cpp \\r
191 src/settings.cpp \\r
68ca35f3
JPM
192 src/file.cpp \\r
193 src/LEB128.cpp\r
be44e757 194