2 # Virtual Jaguar Qt project file
5 # Copyright (C) 2011 Underground Software
7 # See the README and GPLv3 files for licensing and warranty information
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. :-/
16 TARGET = virtualjaguar
17 CONFIG += qt warn_on release
19 RESOURCES += src/gui/virtualjaguar.qrc
20 LIBS += -Lobj -Lsrc/m68000/obj -ljaguarcore -lz -lm68k
24 # We stuff all the intermediate crap into obj/ so it won't confuse us mere
31 # Platform specific defines
32 win32 { DEFINES += __GCCWIN32__ }
33 else:macx { DEFINES += __GCCUNIX__ __THINK_STUPID__ }
34 else:unix { DEFINES += __GCCUNIX__ }
36 # SDL (to link statically on Mac)
37 macx { LIBS += `sdl-config --static-libs` }
38 else { LIBS += `$(CROSS)sdl-config --libs` }
41 #win32 { LIBS += res/vj-ico.o }
42 #win32 { ICON = res/vj.ico }
43 #win32 { LIBS += res/vj.o; $(CROSS)windres -i res/vj.rc -o vj.o --include-dir=./res }
44 win32 { RC_FILE = res/vj.rc }
45 macx { ICON = res/vj-icon.icns }
48 # NOTE: May have to put -Wall back in, but only on non-release cycles. It can
49 # cause problems if you're not careful. (Can do this via command line in
51 QMAKE_CFLAGS += `$(CROSS)sdl-config --cflags`
52 QMAKE_CXXFLAGS += `$(CROSS)sdl-config --cflags`
54 # Need to add libcdio stuffola (checking/including)...
56 # Translations. NB: Nobody has stepped up to do any :-P so these are dummy
58 # Removed for now, they interfere with proper running in non-English locales for
61 # virtualjaguar_fr.ts \
80 src/gui/configdialog.h \
81 src/gui/controllertab.h \
82 src/gui/controllerwidget.h \
83 src/gui/filelistmodel.h \
84 src/gui/filepicker.h \
85 src/gui/filethread.h \
87 src/gui/generaltab.h \
90 src/gui/imagedelegate.h \
91 src/gui/keygrabber.h \
94 src/gui/debug/cpubrowser.h \
95 src/gui/debug/m68kdasmbrowser.h \
96 src/gui/debug/memorybrowser.h \
97 src/gui/debug/opbrowser.h \
98 src/gui/debug/riscdasmbrowser.h
102 src/gui/alpinetab.cpp \
104 src/gui/configdialog.cpp \
105 src/gui/controllertab.cpp \
106 src/gui/controllerwidget.cpp \
107 src/gui/filelistmodel.cpp \
108 src/gui/filepicker.cpp \
109 src/gui/filethread.cpp \
110 src/gui/gamepad.cpp \
111 src/gui/generaltab.cpp \
112 src/gui/glwidget.cpp \
114 src/gui/imagedelegate.cpp \
115 src/gui/keygrabber.cpp \
116 src/gui/mainwin.cpp \
117 src/gui/profile.cpp \
118 src/gui/debug/cpubrowser.cpp \
119 src/gui/debug/m68kdasmbrowser.cpp \
120 src/gui/debug/memorybrowser.cpp \
121 src/gui/debug/opbrowser.cpp \
122 src/gui/debug/riscdasmbrowser.cpp