Skip to content
This repository
Browse code

add xbmc-addon-bindings to depends

  • Loading branch information...
commit 983b12f08d2d63b6bdec6a463d050f87ba7cf1cd 1 parent 54763e4
authored June 20, 2013
1  Makefile.in
@@ -441,6 +441,7 @@ ifneq (@USE_LIBXBMC@,1)
441 441
 MAINOBJS+=xbmc/main/main.o
442 442
 endif
443 443
 
  444
+# sync with tools/depends/target/xbmc-addon-bindings
444 445
 BINDINGS =xbmc/addons/include/xbmc_addon_cpp_dll.h
445 446
 BINDINGS+=xbmc/addons/include/xbmc_addon_dll.h
446 447
 BINDINGS+=xbmc/addons/include/xbmc_addon_types.h
34  tools/depends/target/xbmc-addon-bindings/Makefile
... ...
@@ -0,0 +1,34 @@
  1
+include ../../Makefile.include
  2
+DEPS= ../../Makefile.include Makefile
  3
+# not happy about this, tools/depends/configure should create this
  4
+XBMC_ROOT= ../../../../
  5
+
  6
+# sync with <xbmc root>Makefile.in
  7
+BINDINGS =xbmc/addons/include/xbmc_addon_cpp_dll.h
  8
+BINDINGS+=xbmc/addons/include/xbmc_addon_dll.h
  9
+BINDINGS+=xbmc/addons/include/xbmc_addon_types.h
  10
+BINDINGS+=xbmc/addons/include/xbmc_epg_types.h
  11
+BINDINGS+=xbmc/addons/include/xbmc_pvr_dll.h
  12
+BINDINGS+=xbmc/addons/include/xbmc_pvr_types.h
  13
+BINDINGS+=xbmc/addons/include/xbmc_scr_dll.h
  14
+BINDINGS+=xbmc/addons/include/xbmc_scr_types.h
  15
+BINDINGS+=xbmc/addons/include/xbmc_vis_dll.h
  16
+BINDINGS+=xbmc/addons/include/xbmc_vis_types.h
  17
+BINDINGS+=addons/library.xbmc.addon/libXBMC_addon.h
  18
+BINDINGS+=addons/library.xbmc.gui/libXBMC_gui.h
  19
+BINDINGS+=addons/library.xbmc.pvr/libXBMC_pvr.h
  20
+
  21
+all: .installed-$(PLATFORM)
  22
+
  23
+.installed-$(PLATFORM): $(DEPS)
  24
+	@echo "Copy addon bindings to $(PREFIX)/include/xbmc"
  25
+	@mkdir -p $(PREFIX)/include/xbmc
  26
+	@for f in $(BINDINGS); do \
  27
+	  cp -f $(XBMC_ROOT)/$$f $(PREFIX)/include/xbmc ; \
  28
+	done
  29
+	@touch $@
  30
+
  31
+clean:
  32
+	@rm -rf .installed-$(PLATFORM) $(PREFIX)/include/xbmc
  33
+
  34
+distclean:: clean

0 notes on commit 983b12f

Please sign in to comment.
Something went wrong with that request. Please try again.