aboutsummaryrefslogtreecommitdiff
path: root/Makefile.in
diff options
context:
space:
mode:
authorspiff <spiff@xbmc.org>2013-05-31 23:08:15 +0200
committerspiff <spiff@xbmc.org>2013-05-31 23:08:51 +0200
commit84af77d90c9489bb1e451bf10613ea8b6cbf881a (patch)
treec18f128ab0008f76ca4b8d98570359b6f266482a /Makefile.in
parentcfa20713b78ebf4290b4c29327c449e19a82e6ef (diff)
added: install xbmc bindings
Diffstat (limited to 'Makefile.in')
-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