Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

add xbmc-addon-bindings to depends

  • Loading branch information...
commit 983b12f08d2d63b6bdec6a463d050f87ba7cf1cd 1 parent 54763e4
davilla davilla authored
Showing with 35 additions and 0 deletions.
  1. +1 −0  Makefile.in
  2. +34 −0 tools/depends/target/xbmc-addon-bindings/Makefile
1  Makefile.in
View
@@ -441,6 +441,7 @@ ifneq (@USE_LIBXBMC@,1)
MAINOBJS+=xbmc/main/main.o
endif
+# sync with tools/depends/target/xbmc-addon-bindings
BINDINGS =xbmc/addons/include/xbmc_addon_cpp_dll.h
BINDINGS+=xbmc/addons/include/xbmc_addon_dll.h
BINDINGS+=xbmc/addons/include/xbmc_addon_types.h
34 tools/depends/target/xbmc-addon-bindings/Makefile
View
@@ -0,0 +1,34 @@
+include ../../Makefile.include
+DEPS= ../../Makefile.include Makefile
+# not happy about this, tools/depends/configure should create this
+XBMC_ROOT= ../../../../
+
+# sync with <xbmc root>Makefile.in
+BINDINGS =xbmc/addons/include/xbmc_addon_cpp_dll.h
+BINDINGS+=xbmc/addons/include/xbmc_addon_dll.h
+BINDINGS+=xbmc/addons/include/xbmc_addon_types.h
+BINDINGS+=xbmc/addons/include/xbmc_epg_types.h
+BINDINGS+=xbmc/addons/include/xbmc_pvr_dll.h
+BINDINGS+=xbmc/addons/include/xbmc_pvr_types.h
+BINDINGS+=xbmc/addons/include/xbmc_scr_dll.h
+BINDINGS+=xbmc/addons/include/xbmc_scr_types.h
+BINDINGS+=xbmc/addons/include/xbmc_vis_dll.h
+BINDINGS+=xbmc/addons/include/xbmc_vis_types.h
+BINDINGS+=addons/library.xbmc.addon/libXBMC_addon.h
+BINDINGS+=addons/library.xbmc.gui/libXBMC_gui.h
+BINDINGS+=addons/library.xbmc.pvr/libXBMC_pvr.h
+
+all: .installed-$(PLATFORM)
+
+.installed-$(PLATFORM): $(DEPS)
+ @echo "Copy addon bindings to $(PREFIX)/include/xbmc"
+ @mkdir -p $(PREFIX)/include/xbmc
+ @for f in $(BINDINGS); do \
+ cp -f $(XBMC_ROOT)/$$f $(PREFIX)/include/xbmc ; \
+ done
+ @touch $@
+
+clean:
+ @rm -rf .installed-$(PLATFORM) $(PREFIX)/include/xbmc
+
+distclean:: clean
Please sign in to comment.
Something went wrong with that request. Please try again.