diff options
author | Dominik Riebeling <Dominik.Riebeling@gmail.com> | 2010-03-21 18:15:17 +0000 |
---|---|---|
committer | Dominik Riebeling <Dominik.Riebeling@gmail.com> | 2010-03-21 18:15:17 +0000 |
commit | bc8b9da4d0bbc31cce46036db44ae2150e8b1277 (patch) | |
tree | 9a5e578976594b5af919c4754ad04a8bad9866ee /rbutil | |
parent | 2064efbfcd4d3d3a7f0c13c6aa5b1a2cc21f87c1 (diff) | |
download | rockbox-bc8b9da4d0bbc31cce46036db44ae2150e8b1277.tar.gz rockbox-bc8b9da4d0bbc31cce46036db44ae2150e8b1277.zip |
Split source files out of project file.
Move the source files out of the project file into a project include, and
resort it a bit.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25278 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'rbutil')
-rw-r--r-- | rbutil/rbutilqt/rbutilqt.pri | 198 | ||||
-rw-r--r-- | rbutil/rbutilqt/rbutilqt.pro | 215 |
2 files changed, 234 insertions, 179 deletions
diff --git a/rbutil/rbutilqt/rbutilqt.pri b/rbutil/rbutilqt/rbutilqt.pri new file mode 100644 index 0000000000..c3a16a9b57 --- /dev/null +++ b/rbutil/rbutilqt/rbutilqt.pri | |||
@@ -0,0 +1,198 @@ | |||
1 | # | ||
2 | # __________ __ ___. | ||
3 | # Open \______ \ ____ ____ | | _\_ |__ _______ ___ | ||
4 | # Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ / | ||
5 | # Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < < | ||
6 | # Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \ | ||
7 | # \/ \/ \/ \/ \/ | ||
8 | # $Id$ | ||
9 | # | ||
10 | # All files in this archive are subject to the GNU General Public License. | ||
11 | # See the file COPYING in the source tree root for full license agreement. | ||
12 | # | ||
13 | # This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY | ||
14 | # KIND, either express or implied. | ||
15 | # | ||
16 | |||
17 | |||
18 | # common files | ||
19 | SOURCES += \ | ||
20 | rbutilqt.cpp \ | ||
21 | main.cpp \ | ||
22 | installwindow.cpp \ | ||
23 | base/httpget.cpp \ | ||
24 | configure.cpp \ | ||
25 | zip/zip.cpp \ | ||
26 | zip/unzip.cpp \ | ||
27 | base/zipinstaller.cpp \ | ||
28 | progressloggergui.cpp \ | ||
29 | installtalkwindow.cpp \ | ||
30 | base/talkfile.cpp \ | ||
31 | base/talkgenerator.cpp \ | ||
32 | base/autodetection.cpp \ | ||
33 | ../ipodpatcher/ipodpatcher.c \ | ||
34 | ../sansapatcher/sansapatcher.c \ | ||
35 | ../chinachippatcher/chinachip.c \ | ||
36 | browsedirtree.cpp \ | ||
37 | themesinstallwindow.cpp \ | ||
38 | base/uninstall.cpp \ | ||
39 | uninstallwindow.cpp \ | ||
40 | base/utils.cpp \ | ||
41 | preview.cpp \ | ||
42 | base/encoders.cpp \ | ||
43 | encttscfggui.cpp \ | ||
44 | base/encttssettings.cpp \ | ||
45 | base/ttsbase.cpp \ | ||
46 | base/ttsexes.cpp \ | ||
47 | base/ttssapi.cpp \ | ||
48 | base/ttsfestival.cpp \ | ||
49 | ../../tools/wavtrim.c \ | ||
50 | ../../tools/voicefont.c \ | ||
51 | base/voicefile.cpp \ | ||
52 | createvoicewindow.cpp \ | ||
53 | base/rbsettings.cpp \ | ||
54 | base/serverinfo.cpp \ | ||
55 | base/systeminfo.cpp \ | ||
56 | base/rbunzip.cpp \ | ||
57 | base/rbzip.cpp \ | ||
58 | base/system.cpp \ | ||
59 | sysinfo.cpp \ | ||
60 | systrace.cpp \ | ||
61 | base/bootloaderinstallbase.cpp \ | ||
62 | base/bootloaderinstallmi4.cpp \ | ||
63 | base/bootloaderinstallhex.cpp \ | ||
64 | base/bootloaderinstallipod.cpp \ | ||
65 | base/bootloaderinstallsansa.cpp \ | ||
66 | base/bootloaderinstallfile.cpp \ | ||
67 | base/bootloaderinstallchinachip.cpp \ | ||
68 | base/bootloaderinstallams.cpp \ | ||
69 | base/bootloaderinstalltcc.cpp \ | ||
70 | ../../tools/mkboot.c \ | ||
71 | ../../tools/iriver.c \ | ||
72 | |||
73 | |||
74 | HEADERS += \ | ||
75 | rbutilqt.h \ | ||
76 | installwindow.h \ | ||
77 | base/httpget.h \ | ||
78 | configure.h \ | ||
79 | zip/zip.h \ | ||
80 | zip/unzip.h \ | ||
81 | zip/zipentry_p.h \ | ||
82 | zip/unzip_p.h \ | ||
83 | zip/zip_p.h \ | ||
84 | version.h \ | ||
85 | base/zipinstaller.h \ | ||
86 | installtalkwindow.h \ | ||
87 | base/talkfile.h \ | ||
88 | base/talkgenerator.h \ | ||
89 | base/autodetection.h \ | ||
90 | base/progressloggerinterface.h \ | ||
91 | progressloggergui.h \ | ||
92 | ../ipodpatcher/ipodpatcher.h \ | ||
93 | ../ipodpatcher/ipodio.h \ | ||
94 | ../ipodpatcher/parttypes.h \ | ||
95 | ../sansapatcher/sansapatcher.h \ | ||
96 | ../sansapatcher/sansaio.h \ | ||
97 | ../chinachippatcher/chinachip.h \ | ||
98 | irivertools/h100sums.h \ | ||
99 | irivertools/h120sums.h \ | ||
100 | irivertools/h300sums.h \ | ||
101 | browsedirtree.h \ | ||
102 | themesinstallwindow.h \ | ||
103 | base/uninstall.h \ | ||
104 | uninstallwindow.h \ | ||
105 | base/utils.h \ | ||
106 | preview.h \ | ||
107 | base/encoders.h \ | ||
108 | encttscfggui.h \ | ||
109 | base/encttssettings.h \ | ||
110 | base/ttsbase.h \ | ||
111 | base/ttsexes.h \ | ||
112 | base/ttsfestival.h \ | ||
113 | base/ttssapi.h \ | ||
114 | ../../tools/wavtrim.h \ | ||
115 | ../../tools/voicefont.h \ | ||
116 | base/voicefile.h \ | ||
117 | createvoicewindow.h \ | ||
118 | base/rbsettings.h \ | ||
119 | base/serverinfo.h \ | ||
120 | base/systeminfo.h \ | ||
121 | base/rbunzip.h \ | ||
122 | base/rbzip.h \ | ||
123 | sysinfo.h \ | ||
124 | base/system.h \ | ||
125 | systrace.h \ | ||
126 | base/bootloaderinstallbase.h \ | ||
127 | base/bootloaderinstallmi4.h \ | ||
128 | base/bootloaderinstallhex.h \ | ||
129 | base/bootloaderinstallipod.h \ | ||
130 | base/bootloaderinstallsansa.h \ | ||
131 | base/bootloaderinstallfile.h \ | ||
132 | base/bootloaderinstallchinachip.h \ | ||
133 | base/bootloaderinstallams.h \ | ||
134 | base/bootloaderinstalltcc.h \ | ||
135 | ../../tools/mkboot.h \ | ||
136 | ../../tools/iriver.h \ | ||
137 | |||
138 | FORMS += \ | ||
139 | rbutilqtfrm.ui \ | ||
140 | aboutbox.ui \ | ||
141 | installwindowfrm.ui \ | ||
142 | progressloggerfrm.ui \ | ||
143 | configurefrm.ui \ | ||
144 | browsedirtreefrm.ui \ | ||
145 | installtalkfrm.ui \ | ||
146 | themesinstallfrm.ui \ | ||
147 | uninstallfrm.ui \ | ||
148 | previewfrm.ui \ | ||
149 | createvoicefrm.ui \ | ||
150 | sysinfofrm.ui \ | ||
151 | systracefrm.ui | ||
152 | |||
153 | |||
154 | TRANSLATIONS += \ | ||
155 | lang/rbutil_cs.ts \ | ||
156 | lang/rbutil_de.ts \ | ||
157 | lang/rbutil_fi.ts \ | ||
158 | lang/rbutil_fr.ts \ | ||
159 | lang/rbutil_gr.ts \ | ||
160 | lang/rbutil_he.ts \ | ||
161 | lang/rbutil_it.ts \ | ||
162 | lang/rbutil_ja.ts \ | ||
163 | lang/rbutil_nl.ts \ | ||
164 | lang/rbutil_pl.ts \ | ||
165 | lang/rbutil_pt.ts \ | ||
166 | lang/rbutil_pt_BR.ts \ | ||
167 | lang/rbutil_ru.ts \ | ||
168 | lang/rbutil_tr.ts \ | ||
169 | lang/rbutil_zh_CN.ts \ | ||
170 | lang/rbutil_zh_TW.ts \ | ||
171 | |||
172 | RESOURCES += $$_PRO_FILE_PWD_/rbutilqt.qrc | ||
173 | !dbg { | ||
174 | RESOURCES += $$_PRO_FILE_PWD_/rbutilqt-lang.qrc | ||
175 | } | ||
176 | # windows specific files | ||
177 | win32 { | ||
178 | SOURCES += ../ipodpatcher/ipodio-win32.c | ||
179 | SOURCES += ../ipodpatcher/ipodio-win32-scsi.c | ||
180 | SOURCES += ../sansapatcher/sansaio-win32.c | ||
181 | RC_FILE = rbutilqt.rc | ||
182 | RESOURCES += $$_PRO_FILE_PWD_/rbutilqt-win.qrc | ||
183 | } | ||
184 | |||
185 | # unix specific files | ||
186 | unix { | ||
187 | SOURCES += ../ipodpatcher/ipodio-posix.c | ||
188 | SOURCES += ../sansapatcher/sansaio-posix.c | ||
189 | } | ||
190 | |||
191 | # mac specific files | ||
192 | macx { | ||
193 | SOURCES += base/ttscarbon.cpp | ||
194 | HEADERS += base/ttscarbon.h | ||
195 | QMAKE_INFO_PLIST = Info.plist | ||
196 | RC_FILE = icons/rbutilqt.icns | ||
197 | } | ||
198 | |||
diff --git a/rbutil/rbutilqt/rbutilqt.pro b/rbutil/rbutilqt/rbutilqt.pro index 0b03907a94..06f57b356e 100644 --- a/rbutil/rbutilqt/rbutilqt.pro +++ b/rbutil/rbutilqt/rbutilqt.pro | |||
@@ -1,3 +1,18 @@ | |||
1 | # | ||
2 | # __________ __ ___. | ||
3 | # Open \______ \ ____ ____ | | _\_ |__ _______ ___ | ||
4 | # Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ / | ||
5 | # Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < < | ||
6 | # Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \ | ||
7 | # \/ \/ \/ \/ \/ | ||
8 | # $Id$ | ||
9 | # | ||
10 | # All files in this archive are subject to the GNU General Public License. | ||
11 | # See the file COPYING in the source tree root for full license agreement. | ||
12 | # | ||
13 | # This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY | ||
14 | # KIND, either express or implied. | ||
15 | # | ||
1 | 16 | ||
2 | # ccache | 17 | # ccache |
3 | unix:!mac:!noccache { | 18 | unix:!mac:!noccache { |
@@ -36,10 +51,18 @@ message("Rockbox Base dir: "$$RBBASE_DIR) | |||
36 | mac { | 51 | mac { |
37 | RBLIBPOSTFIX = -universal | 52 | RBLIBPOSTFIX = -universal |
38 | } | 53 | } |
39 | rbspeex.commands = @$(MAKE) TARGET_DIR=$$MYBUILDDIR -C $$RBBASE_DIR/tools/rbspeex librbspeex$$RBLIBPOSTFIX CC=\"$$QMAKE_CC\" | 54 | rbspeex.commands = @$(MAKE) \ |
40 | libucl.commands = @$(MAKE) TARGET_DIR=$$MYBUILDDIR -C $$RBBASE_DIR/tools/ucl/src libucl$$RBLIBPOSTFIX CC=\"$$QMAKE_CC\" | 55 | TARGET_DIR=$$MYBUILDDIR -C $$RBBASE_DIR/tools/rbspeex \ |
41 | libmkamsboot.commands = @$(MAKE) TARGET_DIR=$$MYBUILDDIR -C $$RBBASE_DIR/rbutil/mkamsboot libmkamsboot$$RBLIBPOSTFIX CC=\"$$QMAKE_CC\" | 56 | librbspeex$$RBLIBPOSTFIX CC=\"$$QMAKE_CC\" |
42 | libmktccboot.commands = @$(MAKE) TARGET_DIR=$$MYBUILDDIR -C $$RBBASE_DIR/rbutil/mktccboot libmktccboot$$RBLIBPOSTFIX CC=\"$$QMAKE_CC\" | 57 | libucl.commands = @$(MAKE) \ |
58 | TARGET_DIR=$$MYBUILDDIR -C $$RBBASE_DIR/tools/ucl/src \ | ||
59 | libucl$$RBLIBPOSTFIX CC=\"$$QMAKE_CC\" | ||
60 | libmkamsboot.commands = @$(MAKE) \ | ||
61 | TARGET_DIR=$$MYBUILDDIR -C $$RBBASE_DIR/rbutil/mkamsboot \ | ||
62 | libmkamsboot$$RBLIBPOSTFIX CC=\"$$QMAKE_CC\" | ||
63 | libmktccboot.commands = @$(MAKE) \ | ||
64 | TARGET_DIR=$$MYBUILDDIR -C $$RBBASE_DIR/rbutil/mktccboot \ | ||
65 | libmktccboot$$RBLIBPOSTFIX CC=\"$$QMAKE_CC\" | ||
43 | QMAKE_EXTRA_TARGETS += rbspeex libucl libmkamsboot libmktccboot | 66 | QMAKE_EXTRA_TARGETS += rbspeex libucl libmkamsboot libmktccboot |
44 | PRE_TARGETDEPS += rbspeex libucl libmkamsboot libmktccboot | 67 | PRE_TARGETDEPS += rbspeex libucl libmkamsboot libmktccboot |
45 | 68 | ||
@@ -55,125 +78,11 @@ QMAKE_EXTRA_TARGETS += lrelease | |||
55 | PRE_TARGETDEPS += lrelease | 78 | PRE_TARGETDEPS += lrelease |
56 | } | 79 | } |
57 | 80 | ||
58 | SOURCES += rbutilqt.cpp \ | ||
59 | main.cpp \ | ||
60 | installwindow.cpp \ | ||
61 | base/httpget.cpp \ | ||
62 | configure.cpp \ | ||
63 | zip/zip.cpp \ | ||
64 | zip/unzip.cpp \ | ||
65 | base/zipinstaller.cpp \ | ||
66 | progressloggergui.cpp \ | ||
67 | installtalkwindow.cpp \ | ||
68 | base/talkfile.cpp \ | ||
69 | base/talkgenerator.cpp \ | ||
70 | base/autodetection.cpp \ | ||
71 | ../ipodpatcher/ipodpatcher.c \ | ||
72 | ../sansapatcher/sansapatcher.c \ | ||
73 | ../chinachippatcher/chinachip.c \ | ||
74 | browsedirtree.cpp \ | ||
75 | themesinstallwindow.cpp \ | ||
76 | base/uninstall.cpp \ | ||
77 | uninstallwindow.cpp \ | ||
78 | base/utils.cpp \ | ||
79 | preview.cpp \ | ||
80 | base/encoders.cpp \ | ||
81 | encttscfggui.cpp \ | ||
82 | base/encttssettings.cpp \ | ||
83 | base/ttsbase.cpp \ | ||
84 | base/ttsexes.cpp \ | ||
85 | base/ttssapi.cpp \ | ||
86 | base/ttsfestival.cpp \ | ||
87 | ../../tools/wavtrim.c \ | ||
88 | ../../tools/voicefont.c \ | ||
89 | base/voicefile.cpp \ | ||
90 | createvoicewindow.cpp \ | ||
91 | base/rbsettings.cpp \ | ||
92 | base/serverinfo.cpp \ | ||
93 | base/systeminfo.cpp \ | ||
94 | base/rbunzip.cpp \ | ||
95 | base/rbzip.cpp \ | ||
96 | base/system.cpp \ | ||
97 | sysinfo.cpp \ | ||
98 | systrace.cpp \ | ||
99 | base/bootloaderinstallbase.cpp \ | ||
100 | base/bootloaderinstallmi4.cpp \ | ||
101 | base/bootloaderinstallhex.cpp \ | ||
102 | base/bootloaderinstallipod.cpp \ | ||
103 | base/bootloaderinstallsansa.cpp \ | ||
104 | base/bootloaderinstallfile.cpp \ | ||
105 | base/bootloaderinstallchinachip.cpp \ | ||
106 | base/bootloaderinstallams.cpp \ | ||
107 | base/bootloaderinstalltcc.cpp \ | ||
108 | ../../tools/mkboot.c \ | ||
109 | ../../tools/iriver.c \ | ||
110 | |||
111 | HEADERS += rbutilqt.h \ | ||
112 | installwindow.h \ | ||
113 | base/httpget.h \ | ||
114 | configure.h \ | ||
115 | zip/zip.h \ | ||
116 | zip/unzip.h \ | ||
117 | zip/zipentry_p.h \ | ||
118 | zip/unzip_p.h \ | ||
119 | zip/zip_p.h \ | ||
120 | version.h \ | ||
121 | base/zipinstaller.h \ | ||
122 | installtalkwindow.h \ | ||
123 | base/talkfile.h \ | ||
124 | base/talkgenerator.h \ | ||
125 | base/autodetection.h \ | ||
126 | base/progressloggerinterface.h \ | ||
127 | progressloggergui.h \ | ||
128 | ../ipodpatcher/ipodpatcher.h \ | ||
129 | ../ipodpatcher/ipodio.h \ | ||
130 | ../ipodpatcher/parttypes.h \ | ||
131 | ../sansapatcher/sansapatcher.h \ | ||
132 | ../sansapatcher/sansaio.h \ | ||
133 | ../chinachippatcher/chinachip.h \ | ||
134 | irivertools/h100sums.h \ | ||
135 | irivertools/h120sums.h \ | ||
136 | irivertools/h300sums.h \ | ||
137 | browsedirtree.h \ | ||
138 | themesinstallwindow.h \ | ||
139 | base/uninstall.h \ | ||
140 | uninstallwindow.h \ | ||
141 | base/utils.h \ | ||
142 | preview.h \ | ||
143 | base/encoders.h \ | ||
144 | encttscfggui.h \ | ||
145 | base/encttssettings.h \ | ||
146 | base/ttsbase.h \ | ||
147 | base/ttsexes.h \ | ||
148 | base/ttsfestival.h \ | ||
149 | base/ttssapi.h \ | ||
150 | ../../tools/wavtrim.h \ | ||
151 | ../../tools/voicefont.h \ | ||
152 | base/voicefile.h \ | ||
153 | createvoicewindow.h \ | ||
154 | base/rbsettings.h \ | ||
155 | base/serverinfo.h \ | ||
156 | base/systeminfo.h \ | ||
157 | base/rbunzip.h \ | ||
158 | base/rbzip.h \ | ||
159 | sysinfo.h \ | ||
160 | base/system.h \ | ||
161 | systrace.h \ | ||
162 | base/bootloaderinstallbase.h \ | ||
163 | base/bootloaderinstallmi4.h \ | ||
164 | base/bootloaderinstallhex.h \ | ||
165 | base/bootloaderinstallipod.h \ | ||
166 | base/bootloaderinstallsansa.h \ | ||
167 | base/bootloaderinstallfile.h \ | ||
168 | base/bootloaderinstallchinachip.h \ | ||
169 | base/bootloaderinstallams.h \ | ||
170 | base/bootloaderinstalltcc.h \ | ||
171 | ../../tools/mkboot.h \ | ||
172 | ../../tools/iriver.h \ | ||
173 | |||
174 | # Needed by QT on Win | 81 | # Needed by QT on Win |
175 | INCLUDEPATH = $$_PRO_FILE_PWD_ $$_PRO_FILE_PWD_/irivertools $$_PRO_FILE_PWD_/zip $$_PRO_FILE_PWD_/zlib $$_PRO_FILE_PWD_/base | 82 | INCLUDEPATH = $$_PRO_FILE_PWD_ $$_PRO_FILE_PWD_/irivertools \ |
176 | INCLUDEPATH += $$RBBASE_DIR/rbutil/ipodpatcher $$RBBASE_DIR/rbutil/sansapatcher $$RBBASE_DIR/tools/rbspeex $$RBBASE_DIR/tools | 83 | $$_PRO_FILE_PWD_/zip $$_PRO_FILE_PWD_/zlib $$_PRO_FILE_PWD_/base |
84 | INCLUDEPATH += $$RBBASE_DIR/rbutil/ipodpatcher $$RBBASE_DIR/rbutil/sansapatcher \ | ||
85 | $$RBBASE_DIR/tools/rbspeex $$RBBASE_DIR/tools | ||
177 | 86 | ||
178 | DEPENDPATH = $$INCLUDEPATH | 87 | DEPENDPATH = $$INCLUDEPATH |
179 | 88 | ||
@@ -191,6 +100,8 @@ LIBSPEEX = $$system(pkg-config --silence-errors --libs speex speexdsp) | |||
191 | } | 100 | } |
192 | 101 | ||
193 | TEMPLATE = app | 102 | TEMPLATE = app |
103 | TARGET = RockboxUtility | ||
104 | QT += network | ||
194 | dbg { | 105 | dbg { |
195 | CONFIG += debug thread qt warn_on | 106 | CONFIG += debug thread qt warn_on |
196 | DEFINES -= QT_NO_DEBUG_OUTPUT | 107 | DEFINES -= QT_NO_DEBUG_OUTPUT |
@@ -203,63 +114,12 @@ dbg { | |||
203 | message("release") | 114 | message("release") |
204 | } | 115 | } |
205 | 116 | ||
206 | TARGET = RockboxUtility | ||
207 | |||
208 | FORMS += rbutilqtfrm.ui \ | ||
209 | aboutbox.ui \ | ||
210 | installwindowfrm.ui \ | ||
211 | progressloggerfrm.ui \ | ||
212 | configurefrm.ui \ | ||
213 | browsedirtreefrm.ui \ | ||
214 | installtalkfrm.ui \ | ||
215 | themesinstallfrm.ui \ | ||
216 | uninstallfrm.ui \ | ||
217 | previewfrm.ui \ | ||
218 | createvoicefrm.ui \ | ||
219 | sysinfofrm.ui \ | ||
220 | systracefrm.ui | ||
221 | |||
222 | RESOURCES += $$_PRO_FILE_PWD_/rbutilqt.qrc | ||
223 | win32 { | ||
224 | RESOURCES += $$_PRO_FILE_PWD_/rbutilqt-win.qrc | ||
225 | } | ||
226 | !dbg { | ||
227 | RESOURCES += $$_PRO_FILE_PWD_/rbutilqt-lang.qrc | ||
228 | } | ||
229 | |||
230 | TRANSLATIONS += lang/rbutil_cs.ts \ | ||
231 | lang/rbutil_de.ts \ | ||
232 | lang/rbutil_fi.ts \ | ||
233 | lang/rbutil_fr.ts \ | ||
234 | lang/rbutil_gr.ts \ | ||
235 | lang/rbutil_he.ts \ | ||
236 | lang/rbutil_it.ts \ | ||
237 | lang/rbutil_ja.ts \ | ||
238 | lang/rbutil_nl.ts \ | ||
239 | lang/rbutil_pl.ts \ | ||
240 | lang/rbutil_pt.ts \ | ||
241 | lang/rbutil_pt_BR.ts \ | ||
242 | lang/rbutil_ru.ts \ | ||
243 | lang/rbutil_tr.ts \ | ||
244 | lang/rbutil_zh_CN.ts \ | ||
245 | lang/rbutil_zh_TW.ts \ | ||
246 | |||
247 | |||
248 | QT += network | ||
249 | DEFINES += RBUTIL _LARGEFILE64_SOURCE | 117 | DEFINES += RBUTIL _LARGEFILE64_SOURCE |
250 | 118 | ||
119 | # platform specific | ||
251 | win32 { | 120 | win32 { |
252 | SOURCES += ../ipodpatcher/ipodio-win32.c | ||
253 | SOURCES += ../ipodpatcher/ipodio-win32-scsi.c | ||
254 | SOURCES += ../sansapatcher/sansaio-win32.c | ||
255 | RC_FILE = rbutilqt.rc | ||
256 | LIBS += -lsetupapi -lnetapi32 | 121 | LIBS += -lsetupapi -lnetapi32 |
257 | } | 122 | } |
258 | |||
259 | unix { | ||
260 | SOURCES += ../ipodpatcher/ipodio-posix.c | ||
261 | SOURCES += ../sansapatcher/sansaio-posix.c | ||
262 | } | ||
263 | unix:!static:!libusb1 { | 123 | unix:!static:!libusb1 { |
264 | LIBS += -lusb | 124 | LIBS += -lusb |
265 | } | 125 | } |
@@ -275,16 +135,12 @@ unix:static { | |||
275 | } | 135 | } |
276 | 136 | ||
277 | macx { | 137 | macx { |
278 | SOURCES += base/ttscarbon.cpp | ||
279 | HEADERS += base/ttscarbon.h | ||
280 | QMAKE_MAC_SDK=/Developer/SDKs/MacOSX10.4u.sdk | 138 | QMAKE_MAC_SDK=/Developer/SDKs/MacOSX10.4u.sdk |
281 | QMAKE_LFLAGS_PPC=-mmacosx-version-min=10.4 -arch ppc | 139 | QMAKE_LFLAGS_PPC=-mmacosx-version-min=10.4 -arch ppc |
282 | QMAKE_LFLAGS_X86=-mmacosx-version-min=10.4 -arch i386 | 140 | QMAKE_LFLAGS_X86=-mmacosx-version-min=10.4 -arch i386 |
283 | CONFIG+=x86 ppc | 141 | CONFIG+=x86 ppc |
284 | LIBS += -L/usr/local/lib -framework IOKit -framework CoreFoundation -framework Carbon -lz | 142 | LIBS += -L/usr/local/lib -framework IOKit -framework CoreFoundation -framework Carbon -lz |
285 | INCLUDEPATH += /usr/local/include | 143 | INCLUDEPATH += /usr/local/include |
286 | QMAKE_INFO_PLIST = Info.plist | ||
287 | RC_FILE = icons/rbutilqt.icns | ||
288 | 144 | ||
289 | # rule for creating a dmg file | 145 | # rule for creating a dmg file |
290 | dmg.commands = hdiutil create -ov -srcfolder rbutilqt.app/ rbutil.dmg | 146 | dmg.commands = hdiutil create -ov -srcfolder rbutilqt.app/ rbutil.dmg |
@@ -304,5 +160,6 @@ unix { | |||
304 | INSTALLS += target | 160 | INSTALLS += target |
305 | } | 161 | } |
306 | 162 | ||
307 | 163 | # source files are separate. | |
164 | include(rbutilqt.pri) | ||
308 | 165 | ||