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