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 makeing 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 \
60 HEADERS
+= rbutilqt
.h \
75 progressloggerinterface
.h \
77 ../ipodpatcher
/ipodpatcher
.h \
78 ../ipodpatcher
/ipodio
.h \
79 ../ipodpatcher
/parttypes
.h \
80 ../sansapatcher
/sansapatcher
.h \
81 ../sansapatcher
/sansaio
.h \
82 irivertools
/irivertools
.h \
83 irivertools
/md5sum
.h \
84 irivertools
/h100sums
.h \
85 irivertools
/h120sums
.h \
86 irivertools
/h300sums
.h \
87 irivertools
/checksums
.h \
99 ../../tools
/wavtrim
.h \
100 ../../tools
/voicefont
.h \
102 createvoicewindow
.h \
105 # Needed by QT on Win
106 INCLUDEPATH
= . irivertools zip zlib
../ipodpatcher
../sansapatcher
../../tools
/rbspeex
../../tools
108 LIBS
+= -L
../../tools
/rbspeex
-lrbspeex
112 CONFIG
+= debug thread qt warn_on
113 DEFINES
-= QT_NO_DEBUG_OUTPUT
117 CONFIG
+= release thread qt
118 DEFINES
+= QT_NO_DEBUG_OUTPUT
124 FORMS
+= rbutilqtfrm
.ui \
127 installprogressfrm
.ui \
129 browsedirtreefrm
.ui \
131 installthemesfrm
.ui \
141 RESOURCES
+= rbutilqt
.qrc
143 RESOURCES
+= rbutilqt
-win
.qrc
146 TRANSLATIONS
+= rbutil_de
.ts \
152 DEFINES
+= RBUTIL _LARGEFILE64_SOURCE
155 SOURCES
+= ../ipodpatcher
/ipodio
-win32
.c
156 SOURCES
+= ../sansapatcher
/sansaio
-win32
.c
157 RC_FILE
= rbutilqt
.rc
162 SOURCES
+= ../ipodpatcher
/ipodio
-posix
.c
163 SOURCES
+= ../sansapatcher
/sansaio
-posix
.c
168 QMAKE_MAC_SDK
=/Developer
/SDKs
/MacOSX10
.4u
.sdk
170 LIBS
+= -L
/usr
/local
/lib
-framework IOKit
171 INCLUDEPATH
+= /usr
/local
/include
172 QMAKE_INFO_PLIST
= Info
.plist
173 RC_FILE
= icons
/rbutilqt
.icns
177 QTPLUGIN
+= qtaccessiblewidgets
178 LIBS
+= -L$$
(QT_BUILD_TREE
)/plugins
/accessible
-lqtaccessiblewidgets
180 message("using static plugin")