Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 565 lines (520 sloc) 19.472 kb
45285e8 step 3/4: Move linuxport to trunk. How'd I get roped into this?
AlTheKiller authored
1 BUILDSYS_DEPS=@OUTPUT_FILES@
2 BIN_DIRS= \
3 guilib \
4 guilib/common \
5 guilib/tinyXML \
6 xbmc \
7 xbmc/cdrip \
8 xbmc/cores \
9 xbmc/cores/DllLoader \
10 xbmc/cores/DllLoader/exports \
11 xbmc/cores/DllLoader/exports/util \
12 xbmc/cores/dvdplayer \
13 xbmc/cores/dvdplayer/DVDCodecs \
14 xbmc/cores/dvdplayer/DVDCodecs/Audio \
15 xbmc/cores/dvdplayer/DVDCodecs/Overlay \
16 xbmc/cores/dvdplayer/DVDCodecs/Video \
17 xbmc/cores/dvdplayer/DVDDemuxers/ \
18 xbmc/cores/dvdplayer/DVDInputStreams/ \
19 xbmc/cores/dvdplayer/DVDSubtitles/ \
20 xbmc/cores/paplayer \
21 xbmc/cores/AudioRenderers \
22 xbmc/cores/VideoRenderers \
23 xbmc/cores/VideoRenderers/VideoShaders \
24 xbmc/cores/ExternalPlayer \
25 xbmc/FileSystem \
26 xbmc/FileSystem/MusicDatabaseDirectory \
27 xbmc/FileSystem/VideoDatabaseDirectory \
28 xbmc/karaoke \
29 xbmc/lib/libcmyth \
30 xbmc/lib/libhts \
31 xbmc/lib/libGoAhead \
32 xbmc/lib/libPython \
33 xbmc/lib/libPython/xbmcmodule \
34 xbmc/lib/libRTMP \
35 xbmc/lib/libRTV \
36 xbmc/lib/libscrobbler \
37 xbmc/lib/libshout \
38 xbmc/lib/libUPnP \
39 xbmc/lib/libXBMS \
40 xbmc/lib/libXDAAP \
41 xbmc/lib/sqLite \
42 xbmc/lib/UnrarXLib \
0662648 support DXT5 textures with a new texture bundle(r)
yuvalt authored
43 xbmc/lib/libsquish \
45285e8 step 3/4: Move linuxport to trunk. How'd I get roped into this?
AlTheKiller authored
44 xbmc/visualizations \
45 xbmc/screensavers \
46 xbmc/utils \
47 xbmc/settings \
48 xbmc/linux \
49 xbmc/xbox \
50 xbmc/osx
51
52 EC_DIRS= \
53 tools/EventClients
54
55 XBMCTEX_DIRS= \
0662648 support DXT5 textures with a new texture bundle(r)
yuvalt authored
56 tools/XBMCTex \
57 tools/XBMCTexXBT
45285e8 step 3/4: Move linuxport to trunk. How'd I get roped into this?
AlTheKiller authored
58
59 DVDPCODECS_DIRS= \
60 xbmc/cores/dvdplayer/Codecs \
61 xbmc/cores/dvdplayer/Codecs/libdvd
62 ifneq (@USE_EXTERNAL_LIBASS@,1)
63 DVDPCODECS_DIRS+=xbmc/lib/libass/xbmc
64 endif
65
66 PAPCODECS_DIRS= \
67 xbmc/cores/paplayer/AC3Codec \
68 xbmc/cores/paplayer/ADPCMCodec \
69 xbmc/cores/paplayer/AACCodec \
70 xbmc/cores/paplayer/NSFCodec \
71 xbmc/cores/paplayer/timidity \
72 xbmc/cores/paplayer/SIDCodec \
73 xbmc/cores/paplayer/WavPackCodec \
74 xbmc/cores/paplayer/GYMCodec \
75 xbmc/cores/paplayer/YMCodec/StSoundLibrary \
76 xbmc/cores/paplayer/ModuleCodec \
77 xbmc/cores/paplayer/MPCCodec/xbmc \
78 xbmc/cores/paplayer/SPCCodec/SNES/SNESAPU \
79 xbmc/cores/paplayer/vgmstream \
80 xbmc/cores/paplayer/FLACCodec \
81 xbmc/cores/paplayer/MACDll \
82 xbmc/cores/paplayer/vorbisfile
83
84 LIB_DIRS=\
85 xbmc/lib/cximage-6.0 \
86 xbmc/lib/libexif \
87 xbmc/lib/libhdhomerun \
88 xbmc/lib/libid3tag \
89 xbmc/lib/libPython/linux
90
91 SS_DIRS=\
92 xbmc/screensavers/rsxs-0.9/xbmc
93
94 VIS_DIRS=\
95 xbmc/visualizations/OpenGLSpectrum \
96 xbmc/visualizations/WaveForm \
97 xbmc/visualizations/XBMCProjectM \
98 xbmc/visualizations/Goom
99
100 PM3_MEDIA=skin/Project\ Mayhem\ III/media
101 PM3HD_MEDIA=skin/PM3.HD/media
102
103 SKIN_DIRS=\
104 $(PM3_MEDIA) \
105 $(PM3HD_MEDIA)
106
107 DIRS= $(BIN_DIRS) $(EC_DIRS) $(XBMCTEX_DIRS) $(DVDPCODECS_DIRS) $(PAPCODECS_DIRS) \
108 $(LIB_DIRS) $(SS_DIRS) $(VIS_DIRS) $(SKIN_DIRS)
109
110 LIBS=@LIBS@
111 CFLAGS=@CFLAGS@
112 CXXFLAGS=@CXXFLAGS@
113 LDFLAGS=@LDFLAGS@
114 INCLUDES=@INCLUDES@
115
116 CLEAN_FILES=xbmc.bin xbmc-xrandr
117
118 DISTCLEAN_FILES=config.h config.log config.status tools/Linux/xbmc.sh \
119 autom4te.cache config.h.in~
120
121 AUTOGENERATED_MAKEFILES = guilib/common/Makefile \
122 tools/EventClients/Clients/OSXRemote/Makefile \
123 tools/XBMCTex/Makefile \
124 xbmc/cores/AudioRenderers/Makefile \
125 xbmc/cores/dvdplayer/Codecs/Makefile \
126 xbmc/cores/dvdplayer/Codecs/libdvd/Makefile \
127 xbmc/cores/paplayer/AACCodec/Makefile \
128 xbmc/cores/paplayer/AC3Codec/Makefile \
129 xbmc/cores/paplayer/ADPCMCodec/Makefile \
130 xbmc/cores/paplayer/FLACCodec/Makefile \
131 xbmc/cores/paplayer/GYMCodec/Makefile \
132 xbmc/cores/paplayer/MACDll/Makefile \
133 xbmc/cores/paplayer/MPCCodec/xbmc/Makefile \
134 xbmc/cores/paplayer/Makefile \
135 xbmc/cores/paplayer/ModuleCodec/Makefile \
136 xbmc/cores/paplayer/NSFCodec/Makefile \
137 xbmc/cores/paplayer/SIDCodec/Makefile \
138 xbmc/cores/paplayer/SPCCodec/SNES/SNESAPU/Makefile \
139 xbmc/cores/paplayer/WavPackCodec/Makefile \
140 xbmc/cores/paplayer/YMCodec/StSoundLibrary/Makefile \
141 xbmc/cores/paplayer/timidity/Makefile \
142 xbmc/cores/paplayer/vgmstream/Makefile \
143 xbmc/cores/paplayer/vorbisfile/Makefile \
144 xbmc/lib/cximage-6.0/Makefile \
145 xbmc/lib/libGoAhead/Makefile \
146 xbmc/lib/libPython/linux/Makefile \
147 xbmc/lib/libRTV/Makefile \
148 xbmc/lib/libUPnP/Makefile \
149 xbmc/lib/libXBMS/Makefile \
150 xbmc/lib/libXDAAP/Makefile \
151 xbmc/lib/libass/xbmc/Makefile \
152 xbmc/lib/libexif/Makefile \
153 xbmc/lib/libhdhomerun/Makefile \
154 xbmc/lib/libid3tag/Makefile \
155 xbmc/lib/libshout/Makefile \
156 xbmc/linux/Makefile \
157 xbmc/screensavers/Makefile \
158 xbmc/screensavers/rsxs-0.9/xbmc/Makefile \
159 xbmc/visualizations/Goom/Makefile \
160 xbmc/visualizations/OpenGLSpectrum/Makefile \
161 xbmc/visualizations/WaveForm/Makefile \
162 xbmc/visualizations/XBMCProjectM/Makefile \
163 xbmc/visualizations/iTunes/Makefile
164
165 all : Makefile externals xbmc.bin xbmc-xrandr skins
166
167 include Makefile.include
168
169 .PHONY : dllloader exports visualizations screensavers eventclients papcodecs \
170 dvdpcodecs imagelib codecs externals force skins
171
172 # hack targets to keep build system up to date
173 Makefile : configure $(addsuffix .in, $(BUILDSYS_DEPS))
174 @echo 'The build system is stale'
175 @echo 'ATTN: Please (re)run configure...'
176 @echo "The following line isn't really an error!"
177 @false
178
179 configure: configure.in
180 @echo 'configure is outdated, regenerating...'
181 @./bootstrap
182 @echo "The following line isn't really an error!"
183 @false
184
185 # skin textures
0662648 support DXT5 textures with a new texture bundle(r)
yuvalt authored
186 skins: tools/XBMCTex/XBMCTex tools/XBMCTexXBT/XBMCTexXBT force
45285e8 step 3/4: Move linuxport to trunk. How'd I get roped into this?
AlTheKiller authored
187 $(MAKE) -C $(PM3_MEDIA)
188 $(MAKE) -C $(PM3HD_MEDIA)
189
190 guilib/guilib.a: force
191 $(MAKE) -C guilib
192 guilib/common/gui_common.a: force
193 $(MAKE) -C guilib/common
194 guilib/tinyXML/tinyxml.a: force
195 $(MAKE) -C guilib/tinyXML
196 xbmc/xbmc.a: force
197 $(MAKE) -C xbmc
198 xbmc/cdrip/cdrip.a: force
199 $(MAKE) -C xbmc/cdrip
200 xbmc/cores/cores.a: force
201 $(MAKE) -C xbmc/cores
202 xbmc/cores/DllLoader/dllloader.a: force
203 $(MAKE) -C xbmc/cores/DllLoader/
204 xbmc/cores/DllLoader/exports/exports.a: force
205 $(MAKE) -C xbmc/cores/DllLoader/exports
206 xbmc/cores/DllLoader/exports/util/exports_utils.a: force
207 $(MAKE) -C xbmc/cores/DllLoader/exports/util
208 xbmc/cores/dvdplayer/DVDPlayer.a: force
209 $(MAKE) -C xbmc/cores/dvdplayer
210 xbmc/cores/dvdplayer/DVDCodecs/DVDCodecs.a: force
211 $(MAKE) -C xbmc/cores/dvdplayer/DVDCodecs
212 xbmc/cores/dvdplayer/DVDCodecs/Audio/Audio.a: force
213 $(MAKE) -C xbmc/cores/dvdplayer/DVDCodecs/Audio
214 xbmc/cores/dvdplayer/DVDCodecs/Overlay/Overlay.a: force
215 $(MAKE) -C xbmc/cores/dvdplayer/DVDCodecs/Overlay
216 xbmc/cores/dvdplayer/DVDCodecs/Video/Video.a: force
217 $(MAKE) -C xbmc/cores/dvdplayer/DVDCodecs/Video
218 xbmc/cores/dvdplayer/DVDDemuxers/DVDDemuxers.a: force
219 $(MAKE) -C xbmc/cores/dvdplayer/DVDDemuxers
220 xbmc/cores/dvdplayer/DVDInputStreams/DVDInputStreams.a: force
221 $(MAKE) -C xbmc/cores/dvdplayer/DVDInputStreams
222 xbmc/cores/dvdplayer/DVDSubtitles/DVDSubtitles.a: force
223 $(MAKE) -C xbmc/cores/dvdplayer/DVDSubtitles
224 xbmc/cores/paplayer/paplayer.a: force papcodecs
225 $(MAKE) -C xbmc/cores/paplayer
226 xbmc/cores/AudioRenderers/audiorenderers.a: force
227 $(MAKE) -C xbmc/cores/AudioRenderers
228 xbmc/cores/VideoRenderers/VideoRenderer.a: force
229 $(MAKE) -C xbmc/cores/VideoRenderers
230 xbmc/cores/VideoRenderers/VideoShaders/VideoShaders.a: force
231 $(MAKE) -C xbmc/cores/VideoRenderers/VideoShaders
232 xbmc/cores/ExternalPlayer/ExternalPlayer.a: force
233 $(MAKE) -C xbmc/cores/ExternalPlayer
234 xbmc/FileSystem/filesystem.a: force
235 $(MAKE) -C xbmc/FileSystem
236 xbmc/FileSystem/MusicDatabaseDirectory/musicdatabasedirectory.a: force
237 $(MAKE) -C xbmc/FileSystem/MusicDatabaseDirectory
238 xbmc/FileSystem/VideoDatabaseDirectory/videodatabasedirectory.a: force
239 $(MAKE) -C xbmc/FileSystem/VideoDatabaseDirectory
240 xbmc/karaoke/karaoke.a: force
241 $(MAKE) -C xbmc/karaoke
242 xbmc/lib/libcmyth/libcmyth.a: force
243 $(MAKE) -C xbmc/lib/libcmyth
244 xbmc/lib/libhts/libhts.a: force
245 $(MAKE) -C xbmc/lib/libhts
246 xbmc/lib/libPython/python.a: force
247 $(MAKE) -C xbmc/lib/libPython
248 xbmc/lib/libPython/xbmcmodule/xbmcmodule.a: force
249 $(MAKE) -C xbmc/lib/libPython/xbmcmodule
250 xbmc/lib/libRTMP/librtmp.a: force
251 $(MAKE) -C xbmc/lib/libRTMP
252 xbmc/lib/libscrobbler/scrobbler.a: force
253 $(MAKE) -C xbmc/lib/libscrobbler
254 xbmc/lib/libRTV/librtv-@ARCH@.a: force
255 $(MAKE) -C xbmc/lib/libRTV
256 xbmc/lib/libshout/libshout-@ARCH@.a: force
257 $(MAKE) -C xbmc/lib/libshout
258 xbmc/lib/libUPnP/libupnp-@ARCH@.a: force
259 $(MAKE) -C xbmc/lib/libUPnP
260 xbmc/lib/libXBMS/libxbms-@ARCH@.a: force
261 $(MAKE) -C xbmc/lib/libXBMS
262 xbmc/lib/libXDAAP/libxdaap-@ARCH@.a: force
263 $(MAKE) -C xbmc/lib/libXDAAP
264 xbmc/lib/libGoAhead/libGoAhead-@ARCH@.a: force
265 $(MAKE) -C xbmc/lib/libGoAhead
266 xbmc/lib/sqLite/sqllite.a: force
267 $(MAKE) -C xbmc/lib/sqLite
268 xbmc/lib/UnrarXLib/UnrarXLib.a: force
269 $(MAKE) -C xbmc/lib/UnrarXLib
0662648 support DXT5 textures with a new texture bundle(r)
yuvalt authored
270 xbmc/lib/libsquish/libsquish.a: force
271 $(MAKE) -C xbmc/lib/libsquish
45285e8 step 3/4: Move linuxport to trunk. How'd I get roped into this?
AlTheKiller authored
272 xbmc/linux/linux.a: force
273 $(MAKE) -C xbmc/linux
274 xbmc/screensavers/screensaver.a: force
275 $(MAKE) -C xbmc/screensavers
276 xbmc/settings/settings.a: force
277 $(MAKE) -C xbmc/settings
278 xbmc/utils/utils.a: force
279 $(MAKE) -C xbmc/utils
280 xbmc/visualizations/visualization.a: force
281 $(MAKE) -C xbmc/visualizations
282 xbmc/xbox/xbox.a: force
283 $(MAKE) -C xbmc/xbox
284 xbmc/osx/osx.a: force
285 $(MAKE) -C xbmc/osx
286 xbmc/cores/paplayer/MPCCodec/xbmc/libmpcdec-@ARCH@.a: force
287 $(MAKE) -C xbmc/cores/paplayer/MPCCodec/xbmc
288
289 exports:
290 $(MAKE) xbmc/cores/DllLoader/exports/exports.a
291 $(MAKE) xbmc/cores/DllLoader/exports/util/exports_utils.a
292 $(MAKE) -C xbmc/cores/DllLoader/exports wrapper.def
293 dllloader: exports
294 $(MAKE) xbmc/cores/DllLoader/dllloader.a
295 visualizations: exports
296 $(MAKE) -C xbmc/visualizations/OpenGLSpectrum
297 $(MAKE) -C xbmc/visualizations/WaveForm
298 $(MAKE) -C xbmc/visualizations/XBMCProjectM
299 ifeq ($(or $(findstring powerpc-linux,$(ARCH)),$(findstring powerpc64-linux,$(ARCH))),)
300 $(MAKE) -C xbmc/visualizations/Goom
301 endif
302 screensavers: exports
303 $(MAKE) -C xbmc/screensavers/rsxs-0.9/xbmc
304 libpython: dllloader
305 $(MAKE) -C xbmc/lib/libPython
306 $(MAKE) -C xbmc/lib/libPython/xbmcmodule
307 python: dllloader
308 $(MAKE) -C xbmc/lib/libPython/linux
309 dvdpcodecs: dllloader
310 $(MAKE) -C xbmc/cores/dvdplayer/Codecs
311 $(MAKE) -C xbmc/cores/dvdplayer/Codecs/libdvd
312 ifneq (@USE_EXTERNAL_LIBASS@,1)
313 $(MAKE) -C xbmc/lib/libass/xbmc
314 endif
315 eventclients:
316 ifeq ($(findstring osx,$(ARCH)), osx)
317 $(MAKE) -C tools/EventClients/Clients/OSXRemote
318 else
319 $(MAKE) -C tools/EventClients
320 endif
321 libexif: dllloader
322 $(MAKE) -C xbmc/lib/libexif
323 libhdhomerun: dllloader
324 $(MAKE) -C xbmc/lib/libhdhomerun
325 libid3tag: dllloader
326 $(MAKE) -C xbmc/lib/libid3tag
327 papcodecs: dllloader dvdpcodecs
328 $(MAKE) -C xbmc/cores/paplayer/AACCodec
329 $(MAKE) -C xbmc/cores/paplayer/AC3Codec
330 $(MAKE) -C xbmc/cores/paplayer/ADPCMCodec
331 $(MAKE) -C xbmc/cores/paplayer/FLACCodec
332 $(MAKE) -C xbmc/cores/paplayer/GYMCodec
333 $(MAKE) -C xbmc/cores/paplayer/vgmstream
334 $(MAKE) -C xbmc/cores/paplayer/timidity
335 $(MAKE) -C xbmc/cores/paplayer/MPCCodec/xbmc
336 $(MAKE) -C xbmc/cores/paplayer/NSFCodec
337 $(MAKE) -C xbmc/cores/paplayer/SIDCodec
338 $(MAKE) -C xbmc/cores/paplayer/vorbisfile
339 $(MAKE) -C xbmc/cores/paplayer/ModuleCodec
340 ifneq (@USE_EXTERNAL_LIBWAVPACK@,1)
341 $(MAKE) -C xbmc/cores/paplayer/WavPackCodec
342 endif
343 $(MAKE) -C xbmc/cores/paplayer/YMCodec/StSoundLibrary
344 ifeq ($(findstring powerpc,$(ARCH)),)
345 $(MAKE) -C xbmc/cores/paplayer/MACDll
346 endif
347 ifeq ($(or $(findstring powerpc,$(ARCH)),$(findstring x86_64-linux,$(ARCH))),)
348 $(MAKE) -C xbmc/cores/paplayer/SPCCodec/SNES/SNESAPU
349 endif
350 imagelib: dllloader
351 $(MAKE) -C xbmc/lib/cximage-6.0
352
353 codecs: papcodecs dvdpcodecs
354 libs: libhdhomerun libid3tag imagelib libexif python
355 externals: codecs libs python visualizations screensavers
356
357 xcode_depends: \
358 codecs libs python visualizations screensavers eventclients skins \
359 xbmc/lib/libRTMP/librtmp.a \
360 xbmc/lib/libXBMS/libxbms-@ARCH@.a \
361 xbmc/lib/libRTV/librtv-@ARCH@.a \
362 xbmc/lib/libXDAAP/libxdaap-@ARCH@.a \
363 xbmc/lib/libshout/libshout-@ARCH@.a \
364 xbmc/lib/libGoAhead/libGoAhead-@ARCH@.a
365
366 # platform independend objects
367 OBJSXBMC= \
368 guilib/guilib.a \
369 guilib/common/gui_common.a \
370 guilib/tinyXML/tinyxml.a \
371 xbmc/xbmc.a \
372 xbmc/cdrip/cdrip.a \
373 xbmc/cores/cores.a \
374 xbmc/cores/DllLoader/dllloader.a \
375 xbmc/cores/DllLoader/exports/exports.a \
376 xbmc/cores/DllLoader/exports/util/exports_utils.a \
377 xbmc/cores/dvdplayer/DVDPlayer.a \
378 xbmc/cores/dvdplayer/DVDCodecs/DVDCodecs.a \
379 xbmc/cores/dvdplayer/DVDCodecs/Audio/Audio.a \
380 xbmc/cores/dvdplayer/DVDCodecs/Overlay/Overlay.a \
381 xbmc/cores/dvdplayer/DVDCodecs/Video/Video.a \
382 xbmc/cores/dvdplayer/DVDDemuxers/DVDDemuxers.a \
383 xbmc/cores/dvdplayer/DVDInputStreams/DVDInputStreams.a \
384 xbmc/cores/dvdplayer/DVDSubtitles/DVDSubtitles.a \
385 xbmc/cores/paplayer/paplayer.a \
386 xbmc/cores/AudioRenderers/audiorenderers.a \
387 xbmc/cores/VideoRenderers/VideoRenderer.a \
388 xbmc/cores/VideoRenderers/VideoShaders/VideoShaders.a \
389 xbmc/cores/ExternalPlayer/ExternalPlayer.a \
390 xbmc/FileSystem/filesystem.a \
391 xbmc/FileSystem/MusicDatabaseDirectory/musicdatabasedirectory.a \
392 xbmc/FileSystem/VideoDatabaseDirectory/videodatabasedirectory.a \
393 xbmc/karaoke/karaoke.a \
394 xbmc/lib/libcmyth/libcmyth.a \
395 xbmc/lib/libhts/libhts.a \
396 xbmc/lib/libPython/python.a \
397 xbmc/lib/libPython/xbmcmodule/xbmcmodule.a \
398 xbmc/lib/libRTMP/librtmp.a \
399 xbmc/lib/libscrobbler/scrobbler.a \
400 xbmc/lib/libRTV/librtv-@ARCH@.a \
401 xbmc/lib/libshout/libshout-@ARCH@.a \
402 xbmc/lib/libUPnP/libupnp-@ARCH@.a \
403 xbmc/lib/libXBMS/libxbms-@ARCH@.a \
404 xbmc/lib/libXDAAP/libxdaap-@ARCH@.a \
405 xbmc/lib/libGoAhead/libGoAhead-@ARCH@.a \
406 xbmc/lib/sqLite/sqllite.a \
407 xbmc/lib/UnrarXLib/UnrarXLib.a \
0662648 support DXT5 textures with a new texture bundle(r)
yuvalt authored
408 xbmc/lib/libsquish/libsquish.a \
45285e8 step 3/4: Move linuxport to trunk. How'd I get roped into this?
AlTheKiller authored
409 xbmc/linux/linux.a \
410 xbmc/screensavers/screensaver.a \
411 xbmc/settings/settings.a \
412 xbmc/utils/utils.a \
413 xbmc/visualizations/visualization.a \
414 xbmc/xbox/xbox.a
415
416 # platform dependend objects
417 ifeq ($(findstring osx,$(ARCH)), osx)
418 OBJSXBMC += \
419 xbmc/osx/osx.a \
420 xbmc/lib/libSDL-OSX/libSDL-@ARCH@.a \
421 xbmc/lib/libSDL-OSX/libSDL_mixer-@ARCH@.a
422 endif
423
424 # TODO: XBPythonDLLFuncs.S not implemented on PowerPC
425 ifeq ($(ARCH), powerpc64-linux)
426 # For some reason the XBMC version of libpython gets linker errors - use system version instead
427 #OBJSXBMC += xbmc/lib/libPython/Python/libpython2.4.a
428 LIBS += -lpython2.4
429 endif
430
431 # If using external libmpcdec
432 ifeq (@USE_EXTERNAL_LIBMPCDEC@,1)
433 OBJSXBMC += xbmc/cores/paplayer/MPCCodec/xbmc/libmpcdec-@ARCH@.a
434 endif
435
436 xbmc.bin: $(OBJSXBMC)
437 ifeq ($(findstring osx,$(ARCH)), osx)
438 $(CXX) $(CXXFLAGS) -o xbmc.bin -Wl,-all_load,-ObjC $(OBJSXBMC) $(LIBS) $(LDFLAGS) -rdynamic
439 else
440 $(CXX) $(CXXFLAGS) -o xbmc.bin -Wl,--whole-archive $(OBJSXBMC) -Wl,--no-whole-archive $(LIBS) $(LDFLAGS) -rdynamic
441 endif
442
443 xbmc-xrandr: xbmc-xrandr.c
444 ifeq ($(findstring osx,$(ARCH)), osx)
445 # xbmc-xrandr.c gets picked up by the default make rules
446 # so only exclude it for osx builds
447 @echo "excluding xbmc-xrandr"
448 else
449 $(CC) $(CFLAGS) -o xbmc-xrandr xbmc-xrandr.c -lXrandr -lXrender -lX11
450 endif
451
452 tools/XBMCTex/XBMCTex:
453 ifeq ($(findstring osx,$(ARCH)), osx)
454 # hack this for now
455 $(MAKE) -C tools/XBMCTex -f Makefile.osx
456 else
0662648 support DXT5 textures with a new texture bundle(r)
yuvalt authored
457 $(MAKE) -C tools/XBMCTex/
45285e8 step 3/4: Move linuxport to trunk. How'd I get roped into this?
AlTheKiller authored
458 endif
459
0662648 support DXT5 textures with a new texture bundle(r)
yuvalt authored
460 tools/XBMCTexXBT/XBMCTexXBT:
461 $(MAKE) -C tools/XBMCTexXBT/
462
45285e8 step 3/4: Move linuxport to trunk. How'd I get roped into this?
AlTheKiller authored
463 install-bin: xbmc.bin # developement convenience target
464 sudo install -D xbmc.bin $(prefix)/share/xbmc
465
466 ifeq ($(findstring osx,$(ARCH)), osx)
467 # TODO: add osx install
468 else
469 install:
470 @echo "Copying XBMC binary to $(prefix)/share/xbmc/xbmc.bin"
471 @install -D xbmc.bin $(prefix)/share/xbmc/xbmc.bin
472 @install -D xbmc-xrandr $(prefix)/share/xbmc/xbmc-xrandr
473 @install -D tools/Linux/xbmc.sh $(prefix)/bin/xbmc
474 @install -D tools/Linux/xbmc-standalone.sh $(prefix)/bin/xbmc-standalone
475 @install -D -m 0644 tools/Linux/FEH.py $(prefix)/share/xbmc/FEH.py
476 @install -D -m 0644 tools/Linux/xbmc-xsession.desktop $(prefix)/share/xsessions/XBMC.desktop
477 @echo "Copying support and legal files..."
478 @for FILE in `ls README.linux LICENSE.GPL *.txt`; do \
479 install -D -m 0644 "$$FILE" $(prefix)/share/xbmc/; done
480 @echo "Done!"
481 @echo "You can run XBMC with the command 'xbmc'"
482 @$(MAKE) install-datas
483 @$(MAKE) install-web
484 endif
485
486 install-datas:
487 @echo "Copying system files to $(prefix)/share/xbmc"
488 @# Arch independent files
489 @find language media scripts sounds userdata visualisations system -regextype posix-extended -type f -not -iregex ".*svn.*|.*\.so|.*\.dll|.*\.pyd|.*python/.*\.zlib|.*\.vis" -exec install -D -m 0644 "{}" $(prefix)/share/xbmc/"{}" \; -printf " -- %-75.75f\r"
490 @# Arch dependent files
491 @find system screensavers visualisations -regextype posix-extended -type f -not -iregex ".*svn.*|.*win32\.vis|.*osx\.vis" -iregex ".*$(ARCH).*|.*\.vis|.*\.xbs" -exec install -D "{}" $(prefix)/share/xbmc/"{}" \; -printf " -- %-75.75f\r"
492 @# Skins
493 @find skin -regextype posix-extended -type f -not -iregex ".*svn.*|.*\.png|.*\.gif" -exec install -D -m 0644 '{}' $(prefix)/share/xbmc/'{}' \; -printf " -- %-75.75f\r"
494
495 install-livedatas:
496 @echo "Install Live CD datas in $(prefix) ..."
497 @install -D tools/XBMCLive/diskmounter $(prefix)/bin
498 @install -D tools/XBMCLive/installXBMC $(prefix)/bin
499 @install -D tools/XBMCLive/runXBMC $(prefix)/bin
500 @install -D tools/XBMCLive/setAlsaVolumes $(prefix)/bin
501
502 install-web:
503 @mkdir -p $(prefix)/share/xbmc/web
504 @cp -r web/Project_Mayhem_III/* $(prefix)/share/xbmc/web
505 @find $(prefix)/share/xbmc/web -depth -name .svn -exec rm -rf {} \;
506
507 uninstall:
508 @echo "Removing XBMC..."
509 @rm -rf $(prefix)/share/xbmc $(prefix)/bin/xbmc
510 @rm -rf $(prefix)/bin/xbmc-standalone
511 @rm -rf $(prefix)/share/xsessions/XBMC.desktop
512 @echo "Done!"
513
514 reallyclean:
515 @echo " This will delete ALL unversioned files in"; \
516 echo " your XBMC source tree. If you aren't sure"; \
517 echo " you want to do this, answer anything but"; \
518 echo " 'Y' (case sensitive) to the following."; \
519 echo " DISCLAIMER: Team XBMC is NOT responsible"; \
520 echo " for ANYTHING lost if you execute this command!"; \
521 echo -n " Damnserious? (Y/*) "; \
522 read -n1 PROMPT; \
523 if [[ "$$PROMPT" = "Y" ]]; then \
524 SVNV=$$(svnversion -n | cut -d':' -f1); _IFS=$$IFS; IFS=$$'\t\n'; \
525 for i in `svn st --no-ignore | grep ^[I\?] | cut -d' ' -f7-`; do \
526 if [[ $${i:(-4)} != "diff" && $${i:(-5)} != "patch" ]]; then \
527 echo " Deleting $$i"; \
528 rm -rf "$$i"; \
529 fi; \
530 done; \
531 IFS=$$_IFS; \
532 echo " Recovering any missing files."; \
533 svn up -r $${SVNV/M/} | cut -d' ' -f7- | awk '{print " "$$0}'; \
534 echo " Done."; \
535 echo " The following files may need reverted (svn revert <file>)"; \
536 svn st | grep ^M | cut -d' ' -f7- | awk '{print " "$$0}'; \
537 else \
538 echo; \
539 fi
540
541 clean-xbmc.bin:
542 rm -f xbmc.bin
543 for d in $(BIN_DIRS); do if test -f $$d/Makefile; then $(MAKE) -C $$d clean; fi; done
544 clean-eventclients:
545 for d in $(EC_DIRS); do if test -f $$d/Makefile; then $(MAKE) -C $$d clean; fi; done
546 clean-xbmctex:
547 for d in $(XBMCTEX_DIRS); do if test -f $$d/Makefile; then $(MAKE) -C $$d clean; fi; done
548 clean-dvdpcodecs:
549 for d in $(DVDPCODECS_DIRS); do if test -f $$d/Makefile; then $(MAKE) -C $$d clean; fi; done
550 clean-papcodecs:
551 for d in $(PAPCODECS_DIRS); do if test -f $$d/Makefile; then $(MAKE) -C $$d clean; fi; done
552 clean-libs:
553 for d in $(LIB_DIRS); do if test -f $$d/Makefile; then $(MAKE) -C $$d clean; fi; done
554 clean-screensavers:
555 for d in $(SS_DIRS); do if test -f $$d/Makefile; then $(MAKE) -C $$d clean; fi; done
556 clean-visualisations:
557 for d in $(VIS_DIRS); do if test -f $$d/Makefile; then $(MAKE) -C $$d clean; fi; done
558
559 clean-codecs: clean-dvdpcodecs clean-papcodecs
560
561 clean-externals: clean-codecs clean-eventclients clean-xbmctex clean-libs \
562 clean-screensavers clean-visualisations
563
564
Something went wrong with that request. Please try again.