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