Added timer initialisation for the SDL setup
[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
110 src/debugger/debuggertab.h \\r
111 src/debugger/DasmWin.h \\r
112 src/debugger/m68kDasmWin.h \\r
113 src/debugger/DBGManager.h \\r
114 src/debugger/DSPDasmWin.h \\r
115 src/debugger/GPUDasmWin.h \\r
116 src/debugger/HWLABELManager.h \\r
be44e757
JPM
117 src/debugger/ELFManager.h \\r
118 src/debugger/allwatchbrowser.h \\r
0203b5fd 119 src/debugger/localbrowser.h \\r
be44e757
JPM
120 src/debugger/DWARFManager.h \\r
121 src/debugger/memory1browser.h \\r
122 src/debugger/heapallocatorbrowser.h \\r
1081a838 123 src/debugger/BreakpointsWin.h \\r
6564336c
JPM
124 src/debugger/VideoWin.h \r
125 src/debugger/FilesrcListWin.h \\r
0718b3f2 126 src/debugger/callstackbrowser.h \\r
be44e757 127 src/debugger/exceptionvectortablebrowser.h \\r
1081a838 128 src/debugger/NewFnctBreakpointWin.h \\r
be44e757
JPM
129 src/log.h \\r
130 src/unzip.h \\r
131 src/crc32.h \\r
132 src/settings.h \\r
68ca35f3
JPM
133 src/file.h \\r
134 src/LEB128.h\r
be44e757
JPM
135\r
136SOURCES = \\r
137 src/gui/about.cpp \\r
138 src/gui/alpinetab.cpp \\r
139 src/gui/app.cpp \\r
140 src/gui/configdialog.cpp \\r
141 src/gui/controllertab.cpp \\r
142 src/gui/controllerwidget.cpp \\r
143 src/gui/filelistmodel.cpp \\r
144 src/gui/filepicker.cpp \\r
145 src/gui/filethread.cpp \\r
146 src/gui/gamepad.cpp \\r
147 src/gui/generaltab.cpp \\r
bc10fc42 148 src/gui/modelsbiostab.cpp \\r
024bfc46 149 src/gui/keybindingstab.cpp \\r
be44e757
JPM
150 src/gui/glwidget.cpp \\r
151 src/gui/help.cpp \\r
152 src/gui/imagedelegate.cpp \\r
153 src/gui/keygrabber.cpp \\r
154 src/gui/mainwin.cpp \\r
155 src/gui/profile.cpp \\r
156 src/gui/emustatus.cpp \\r
157 src/gui/debug/cpubrowser.cpp \\r
158 src/gui/debug/m68kdasmbrowser.cpp \\r
159 src/gui/debug/memorybrowser.cpp \\r
160 src/gui/debug/opbrowser.cpp \\r
161 src/gui/debug/riscdasmbrowser.cpp \\r
162 src/gui/debug/stackbrowser.cpp \\r
163 src/debugger/debuggertab.cpp \\r
164 src/debugger/DasmWin.cpp \\r
165 src/debugger/m68kDasmWin.cpp \\r
166 src/debugger/DBGManager.cpp \\r
167 src/debugger/DSPDasmWin.cpp \\r
168 src/debugger/GPUDasmWin.cpp \\r
169 src/debugger/HWLABELManager.cpp \\r
be44e757
JPM
170 src/debugger/ELFManager.cpp \\r
171 src/debugger/allwatchbrowser.cpp \\r
0203b5fd 172 src/debugger/localbrowser.cpp \\r
be44e757
JPM
173 src/debugger/DWARFManager.cpp \\r
174 src/debugger/memory1browser.cpp \\r
175 src/debugger/heapallocatorbrowser.cpp \\r
1081a838 176 src/debugger/BreakpointsWin.cpp \\r
a2dfb8e5 177 src/debugger/VideoWin.cpp \\r
6564336c 178 src/debugger/FilesrcListWin.cpp \\r
be44e757 179 src/debugger/exceptionvectortablebrowser.cpp \\r
0718b3f2 180 src/debugger/callstackbrowser.cpp \\r
1081a838 181 src/debugger/NewFnctBreakpointWin.cpp \\r
be44e757
JPM
182 src/log.cpp \\r
183 src/unzip.cpp \\r
184 src/crc32.cpp \\r
185 src/settings.cpp \\r
68ca35f3
JPM
186 src/file.cpp \\r
187 src/LEB128.cpp\r
be44e757 188