aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArne Morten Kvarving <spiff@xbmc.org>2013-06-01 13:36:35 -0700
committerArne Morten Kvarving <spiff@xbmc.org>2013-06-01 13:36:35 -0700
commitf95b4be040b85d7d3f8efef52f4dfab0816333d3 (patch)
treebb5ae0c31a772fe0c7928f5c261921f087f37d77
parentf5d37f4eafbf12808ea544732f48458cef9802d3 (diff)
parent84af77d90c9489bb1e451bf10613ea8b6cbf881a (diff)
Merge pull request #2804 from cptspiff/install_bindings
added: install xbmc bindings
-rw-r--r--Makefile.in20
1 files changed, 20 insertions, 0 deletions
diff --git a/Makefile.in b/Makefile.in
index 0e827b4401..0dc7b3b872 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -437,6 +437,20 @@ ifneq (@USE_LIBXBMC@,1)
MAINOBJS+=xbmc/main/main.o
endif
+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
+
libxbmc.so: $(OBJSXBMC) $(DYNOBJSXBMC) $(NWAOBJSXBMC) $(MAINOBJS)
ifeq ($(findstring osx,@ARCH@), osx)
$(SILENT_LD) $(CXX) $(LDFLAGS) -bundle -o $@ -Wl,-all_load,-ObjC $(DYNOBJSXBMC) $(NWAOBJSXBMC) $(OBJSXBMC) $(LIBS)
@@ -562,6 +576,12 @@ endif
@install -m 0644 media/icon.png $(DESTDIR)$(datadir)/icons/hicolor/256x256/apps/xbmc.png
@test -z "$(DESTDIR)" && gtk-update-icon-cache -f -q -t $(datadir)/icons/hicolor || :
+ @echo "Copying bindings to $(DESTDIR)$(includedir)/xbmc"
+ @install -d $(DESTDIR)$(includedir)/xbmc
+ @for f in $(BINDINGS); do \
+ install -m 0644 $$f $(DESTDIR)$(includedir)/xbmc ; \
+ done
+
uninstall:
@echo "Removing XBMC..."
@rm -rf $(DESTDIR)$(libdir)/xbmc