2 CCACHE
= $$
system(which ccache
)
4 message("using ccache")
15 # add a custom rule for pre-building librbspeex
16 rbspeex
.commands
= @$
(MAKE
) -C
../../tools
/rbspeex librbspeex
.a
17 QMAKE_EXTRA_TARGETS
+= rbspeex
18 PRE_TARGETDEPS
+= rbspeex
20 # add a custom rule for making the translations
21 lrelease
.commands
= $$
[QT_INSTALL_BINS
]/lrelease
-silent rbutilqt
.pro
22 QMAKE_EXTRA_TARGETS
+= lrelease
23 PRE_TARGETDEPS
+= lrelease
26 SOURCES
+= rbutilqt
.cpp \
34 installbootloader
.cpp \
35 progressloggergui
.cpp \
36 installtalkwindow
.cpp \
39 ../ipodpatcher
/ipodpatcher
.c \
40 ../sansapatcher
/sansapatcher
.c \
41 irivertools
/irivertools
.cpp \
42 irivertools
/md5sum
.cpp \
54 ../../tools
/wavtrim
.c \
55 ../../tools
/voicefont
.c \
57 createvoicewindow
.cpp \
61 HEADERS
+= rbutilqt
.h \
76 progressloggerinterface
.h \
78 ../ipodpatcher
/ipodpatcher
.h \
79 ../ipodpatcher
/ipodio
.h \
80 ../ipodpatcher
/parttypes
.h \
81 ../sansapatcher
/sansapatcher
.h \
82 ../sansapatcher
/sansaio
.h \
83 irivertools
/irivertools
.h \
84 irivertools
/md5sum
.h \
85 irivertools
/h100sums
.h \
86 irivertools
/h120sums
.h \
87 irivertools
/h300sums
.h \
88 irivertools
/checksums
.h \
100 ../../tools
/wavtrim
.h \
101 ../../tools
/voicefont
.h \
103 createvoicewindow
.h \
107 # Needed by QT on Win
108 INCLUDEPATH
= . irivertools zip zlib
../ipodpatcher
../sansapatcher
../../tools
/rbspeex
../../tools
110 LIBS
+= -L
../../tools
/rbspeex
-lrbspeex
114 CONFIG
+= debug thread qt warn_on
115 DEFINES
-= QT_NO_DEBUG_OUTPUT
119 CONFIG
+= release thread qt
120 DEFINES
+= QT_NO_DEBUG_OUTPUT
126 FORMS
+= rbutilqtfrm
.ui \
129 progressloggerfrm
.ui \
131 browsedirtreefrm
.ui \
133 installthemesfrm
.ui \
143 RESOURCES
+= rbutilqt
.qrc
145 RESOURCES
+= rbutilqt
-win
.qrc
148 TRANSLATIONS
+= rbutil_de
.ts \
154 DEFINES
+= RBUTIL _LARGEFILE64_SOURCE
157 SOURCES
+= ../ipodpatcher
/ipodio
-win32
.c
158 SOURCES
+= ../sansapatcher
/sansaio
-win32
.c
159 RC_FILE
= rbutilqt
.rc
164 SOURCES
+= ../ipodpatcher
/ipodio
-posix
.c
165 SOURCES
+= ../sansapatcher
/sansaio
-posix
.c
171 # force statically linking of libusb. Use gcc to get its path.
172 # if you have libusb.a in a non-standard lib path add it to
173 # the INCLUDEPATH variable above.
174 LIBS
+= $$
system($$QMAKE_CC $$INCLUDEPATH
-print
-file
-name
=libusb
.a
)
178 QMAKE_MAC_SDK
=/Developer
/SDKs
/MacOSX10
.4u
.sdk
179 QMAKE_LFLAGS_PPC
=-mmacosx
-version
-min
=10.4
180 QMAKE_LFLAGS_X86
=-mmacosx
-version
-min
=10.4
182 LIBS
+= -L
/usr
/local
/lib
-framework IOKit
183 INCLUDEPATH
+= /usr
/local
/include
184 QMAKE_INFO_PLIST
= Info
.plist
185 RC_FILE
= icons
/rbutilqt
.icns
189 QTPLUGIN
+= qtaccessiblewidgets
190 LIBS
+= -L$$
(QT_BUILD_TREE
)/plugins
/accessible
-lqtaccessiblewidgets
192 message("using static plugin")