aboutsummaryrefslogtreecommitdiff
path: root/Makefile.in
diff options
context:
space:
mode:
authorJoakim Plate <elupus@ecce.se>2011-10-15 18:22:14 +0200
committerJoakim Plate <elupus@ecce.se>2011-10-15 18:23:04 +0200
commit92728895b06b525bcdd7639143ae6ad31f21619a (patch)
treeaa6ef4fc3f6a4d061cc2b14771e09b4760a8a9e4 /Makefile.in
parent5b351f26fc4d4a84493d748f4c9113ce806c1f7e (diff)
changed: also use DIRECTORY_ARCHIVES for object files
Diffstat (limited to 'Makefile.in')
-rwxr-xr-xMakefile.in87
1 files changed, 4 insertions, 83 deletions
diff --git a/Makefile.in b/Makefile.in
index 4f168df2a2..9d850e4be4 100755
--- a/Makefile.in
+++ b/Makefile.in
@@ -304,90 +304,9 @@ xcode_depends: \
lib/libXDAAP/libxdaap.a \
lib/SlingboxLib/SlingboxLib.a
-# platform independend objects
-OBJSXBMC= \
- xbmc/xbmc.a \
- xbmc/addons/addons.a \
- xbmc/cores/playercorefactory/playercorefactory.a \
- xbmc/cores/paplayer/paplayer.a \
- xbmc/cores/VideoRenderers/VideoRenderer.a \
- xbmc/cores/VideoRenderers/VideoShaders/VideoShaders.a \
- lib/tinyXML/tinyxml.a \
- xbmc/cores/cores.a \
- xbmc/interfaces/python/python.a \
- xbmc/cores/DllLoader/dllloader.a \
- $(DVDPLAYER_ARCHIVES) \
- xbmc/cores/AudioRenderers/audiorenderers.a \
- xbmc/cores/ExternalPlayer/ExternalPlayer.a \
- xbmc/filesystem/filesystem.a \
- xbmc/filesystem/MusicDatabaseDirectory/musicdatabasedirectory.a \
- xbmc/filesystem/VideoDatabaseDirectory/videodatabasedirectory.a \
- xbmc/input/input.a \
- xbmc/dialogs/dialogs.a \
- xbmc/music/karaoke/karaoke.a \
- xbmc/music/music.a \
- xbmc/music/dialogs/musicdialogs.a \
- xbmc/music/infoscanner/musicscanner.a \
- xbmc/music/tags/musictags.a \
- xbmc/music/windows/musicwindows.a \
- xbmc/video/dialogs/videodialogs.a \
- xbmc/pictures/pictures.a \
- xbmc/playlists/playlists.a \
- xbmc/programs/programs.a \
- xbmc/powermanagement/powermanagement.a \
- xbmc/storage/storage.a \
- xbmc/threads/threads.a \
- xbmc/windows/windows.a \
- xbmc/interfaces/python/xbmcmodule/xbmcmodule.a \
- xbmc/network/libscrobbler/scrobbler.a \
- lib/libRTV/librtv.a \
- lib/libUPnP/libupnp.a \
- lib/libXDAAP/libxdaap.a \
- xbmc/interfaces/interfaces.a \
- xbmc/cdrip/cdrip.a \
- xbmc/interfaces/json-rpc/json-rpc.a \
- xbmc/interfaces/http-api/http-api.a \
- xbmc/interfaces/info/info.a \
- xbmc/dbwrappers/dbwrappers.a \
- lib/libsquish/libsquish.a \
- lib/SlingboxLib/SlingboxLib.a \
- lib/libapetag/.libs/libapetag.a \
- lib/libhts/libhts.a \
- lib/xbmc-dll-symbols/dll-symbols.a \
- xbmc/rendering/rendering.a \
- xbmc/windowing/windowing.a \
- xbmc/peripherals/peripherals.a \
- xbmc/peripherals/bus/peripheral-bus.a \
- xbmc/peripherals/devices/peripheral-devices.a \
- xbmc/peripherals/dialogs/peripheral-dialogs.a
-
-ifeq (@USE_OPENGL@,1)
-OBJSXBMC += xbmc/rendering/gl/rendering_gl.a
-endif
-ifeq (@USE_OPENGLES@,1)
-OBJSXBMC += xbmc/rendering/gles/rendering_gles.a
-OBJSXBMC += xbmc/windowing/egl/windowing_egl.a
-endif
-
-ifeq (@HAVE_XBMC_NONFREE@,1)
-OBJSXBMC += lib/UnrarXLib/UnrarXLib.a
-endif
-# platform dependend objects
-ifeq ($(findstring osx,@ARCH@), osx)
-OBJSXBMC += xbmc/osx/osx.a
-OBJSXBMC += xbmc/network/osx/network.a
-OBJSXBMC += xbmc/network/linux/network_linux.a
-OBJSXBMC += xbmc/powermanagement/osx/powermanagement.a
-OBJSXBMC += xbmc/storage/osx/storage.a
-OBJSXBMC += xbmc/windowing/osx/windowing_osx.a
-else
-OBJSXBMC += xbmc/input/linux/input_linux.a
-OBJSXBMC += xbmc/network/linux/network_linux.a
-OBJSXBMC += xbmc/powermanagement/linux/powermanagement_linux.a
-OBJSXBMC += xbmc/storage/linux/storage_linux.a
-OBJSXBMC += xbmc/windowing/X11/windowing_X11.a
-endif
+OBJSXBMC =$(DIRECTORY_ARCHIVES)
+OBJSXBMC+=lib/libapetag/.libs/libapetag.a
DYNOBJSXBMC= \
xbmc/linux/linux.a \
@@ -400,6 +319,8 @@ DYNOBJSXBMC= \
xbmc/video/video.a \
xbmc/guilib/guilib.a # must be dynamic to avoid linker errors
+OBJSXBMC:=$(filter-out $(DYNOBJSXBMC), $(OBJSXBMC))
+
LIBS += @PYTHON_LDFLAGS@
xbmc.bin: $(OBJSXBMC) $(DYNOBJSXBMC)