+include bootstrap.mk
+
AUTOGENERATED_MAKEFILES=@OUTPUT_FILES@
EC_DIRS= \
xbmc/filesystem/filesystem.a \
xbmc/guilib/guilib.a \
xbmc/input/input.a \
- xbmc/interfaces/http-api/http-api.a \
xbmc/interfaces/info/info.a \
xbmc/interfaces/interfaces.a \
xbmc/interfaces/json-rpc/json-rpc.a \
DIRECTORY_ARCHIVES += xbmc/android/loader/AndroidDyload.a
DIRECTORY_ARCHIVES += xbmc/windowing/android/windowing_android.a
DIRECTORY_ARCHIVES += xbmc/android/activity/activity.a
+DIRECTORY_ARCHIVES += xbmc/android/bionic_supplement/bionic_supplement.a
endif
ifeq (@USE_AMLPLAYER@,1)
lib/cximage-6.0 \
lib/libexif \
lib/libhdhomerun \
- lib/libid3tag \
- lib/libapetag \
lib/cpluff \
lib/xbmc-dll-symbols
VIS_DIRS+= xbmc/visualizations/XBMCProjectM
endif
-ifeq (($(findstring osx,@ARCH@), osx),(@USE_OPENGL@,1))
- VIS_DIRS+=xbmc/visualizations/iTunes
-endif
-
ifneq (@DISABLE_GOOM@,1)
VIS_DIRS+=xbmc/visualizations/Goom
endif
CHECK_DIRS = xbmc/filesystem/test \
xbmc/utils/test \
xbmc/threads/test \
+ xbmc/interfaces/python/test \
xbmc/test
CHECK_LIBS = xbmc/filesystem/test/filesystemTest.a \
xbmc/utils/test/utilsTest.a \
xbmc/threads/test/threadTest.a \
+ xbmc/interfaces/python/test/pythonSwigTest.a \
xbmc/test/xbmc-test.a
CHECK_PROGRAMS = xbmc-test
@echo "done"
config.status: configure
- @echo "Build system configuration is stale."
- @echo "Please (re)run configure."
- @test -n "$$XBMC_IGNORE_STALE"
-
-configure: configure.in
- @echo 'configure is outdated, regenerating...'
- @./bootstrap
# skin textures
ifeq (@USE_TEXTUREPACKER@,1)
$(DIRECTORY_ARCHIVES): force
@$(MAKE) $(if $(V),,-s) -C $(@D)
-lib/libapetag/.libs/libapetag.a: force
- $(MAKE) -C lib/libapetag
lib/cpluff/libcpluff/.libs/libcpluff.a: force
$(MAKE) -C lib/cpluff/libcpluff
system/libcpluff-@ARCH@.so: lib/cpluff/libcpluff/.libs/libcpluff.a exports
$(MAKE) -C lib/cmyth
libhdhomerun: dllloader
$(MAKE) -C lib/libhdhomerun
-libid3tag: dllloader
- $(MAKE) -C lib/libid3tag
papcodecs: dllloader dvdpcodecs
test -d system/players/paplayer || mkdir system/players/paplayer
$(MAKE) -C lib/xbadpcm
imagelib: dllloader
$(MAKE) -C lib/cximage-6.0
-codecs: papcodecs dvdpcodecs
+pvraddons: exports
+ifeq (@USE_PVR_ADDONS@,1)
+ $(MAKE) -C pvr-addons
+endif
-libs: libhdhomerun libid3tag imagelib libexif system/libcpluff-@ARCH@.so $(CMYTH)
+codecs: papcodecs dvdpcodecs
-externals: codecs libs visualizations screensavers libaddon
+libs: libhdhomerun imagelib libexif system/libcpluff-@ARCH@.so $(CMYTH)
-ADDON_BINDINGS = xbmc/interfaces/legacy/legacy.a
-ADDON_BINDINGS += xbmc/interfaces/python/python_binding.a
+externals: codecs libs visualizations screensavers libaddon pvraddons
xcode_depends: \
codecs libs visualizations screensavers eventclients skins libaddon \
lib/libsquish/libsquish.a \
- lib/libapetag/.libs/libapetag.a \
lib/libRTV/librtv.a \
lib/libXDAAP/libxdaap.a \
- lib/SlingboxLib/SlingboxLib.a \
- $(ADDON_BINDINGS)
- libtool -static -o xbmc/interfaces/addonbindings.a $(ADDON_BINDINGS)
+ lib/SlingboxLib/SlingboxLib.a
OBJSXBMC =$(DIRECTORY_ARCHIVES)
-OBJSXBMC+=lib/libapetag/.libs/libapetag.a
DYNOBJSXBMC= \
xbmc/linux/linux.a \
$(SILENT_LD) $(CC) $(CFLAGS) $(LDFLAGS) -o xbmc-xrandr xbmc-xrandr.c -lXrandr -lX11 -lm
endif
-tools/XBMCTex/XBMCTex:
-ifeq ($(findstring osx,@ARCH@), osx)
- # hack this for now
- $(MAKE) -C tools/XBMCTex -f Makefile.osx
-else
- $(MAKE) -C tools/XBMCTex/
-endif
-
-tools/TexturePacker/TexturePacker: xbmc/guilib/guilib.a lib/libsquish/libsquish.a
+tools/TexturePacker/TexturePacker: lib/libsquish/libsquish.a xbmc/guilib/XBTF.h
$(MAKE) -C tools/TexturePacker/
install-arch:
@# Arch dependent files
+ifeq (@USE_PVR_ADDONS@,1)
+ $(MAKE) -C pvr-addons install
+endif
ifeq ($(findstring freebsd,@ARCH@), freebsd)
@find -E system addons -type f -not -iregex ".*svn.*" \
-iregex ".*@ARCH@.*|.*\.vis|.*\.xbs" \
-exec install "{}" $(DESTDIR)$(libdir)/xbmc/"{}" \; \
-exec printf " -- %-75.75s\r" "{}" \;
else
- @find system addons -regextype posix-extended -type f -not -iregex ".*svn.*" -iregex ".*\.so|.*\.vis|.*\.xbs" -exec install -D "{}" $(DESTDIR)$(libdir)/xbmc/"{}" \; -printf " -- %-75.75f\r"
+ @find system addons -regextype posix-extended -type f -not -iregex ".*svn.*" -iregex ".*\.so|.*\.vis|.*\.xbs|.*\.pvr" -exec install -D "{}" $(DESTDIR)$(libdir)/xbmc/"{}" \; -printf " -- %-75.75f\r"
endif
endif
-exec install -m 0644 "{}" $(DESTDIR)$(datarootdir)/xbmc/"{}" \; \
-exec printf " -- %-75.75s\r" "{}" \;
else
- @find addons language media sounds userdata system -regextype posix-extended -type f -not -iregex ".*@ARCH@.*|.*\.vis|.*\.xbs|.*svn.*|.*\.so|.*\.dll" -exec install -D -m 0644 "{}" $(DESTDIR)$(datarootdir)/xbmc/"{}" \; -printf " -- %-75.75f\r"
+ @find addons language media sounds userdata system -regextype posix-extended -type f -not -iregex ".*@ARCH@.*|.*\.vis|.*\.xbs|.*svn.*|.*\.so|.*\.dll|.*\.pvr" -exec install -D -m 0644 "{}" $(DESTDIR)$(datarootdir)/xbmc/"{}" \; -printf " -- %-75.75f\r"
endif
endif
@# Icons and links
for d in $(VIS_DIRS); do if test -f $$d/Makefile; then $(MAKE) -C $$d clean; fi; done
clean-libaddons:
for d in $(LIBADDON_DIRS); do if test -f $$d/Makefile; then $(MAKE) -C $$d clean; fi; done
+clean-pvraddons:
+ifeq (@USE_PVR_ADDONS@,1)
+ if test -f pvr-addons/Makefile; then $(MAKE) -C pvr-addons clean; fi;
+endif
clean-codecs: clean-dvdpcodecs clean-papcodecs
clean-externals: clean-codecs clean-eventclients clean-xbmctex clean-libs \
- clean-screensavers clean-visualisations clean-libaddons
+ clean-screensavers clean-visualisations clean-libaddons clean-pvraddons
ifeq (1,@GTEST_CONFIGURED@)
check: testsuite