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