aboutsummaryrefslogtreecommitdiff
path: root/lib/addons/library.xbmc.gui/Makefile.in
diff options
context:
space:
mode:
Diffstat (limited to 'lib/addons/library.xbmc.gui/Makefile.in')
-rw-r--r--lib/addons/library.xbmc.gui/Makefile.in27
1 files changed, 27 insertions, 0 deletions
diff --git a/lib/addons/library.xbmc.gui/Makefile.in b/lib/addons/library.xbmc.gui/Makefile.in
new file mode 100644
index 0000000000..b5df484c2d
--- /dev/null
+++ b/lib/addons/library.xbmc.gui/Makefile.in
@@ -0,0 +1,27 @@
+ARCH=@ARCH@
+INCLUDES=-I. -I../../../xbmc/addons/include -I../../../xbmc -I../../../xbmc/cores/dvdplayer/DVDDemuxers
+DEFINES+=
+CXXFLAGS=-fPIC
+LIBNAME=libXBMC_gui
+OBJS=$(LIBNAME).o
+
+LIB_SHARED=../../../addons/library.xbmc.gui/$(LIBNAME)-$(ARCH).so
+
+all: $(LIB_SHARED)
+
+$(LIB_SHARED): $(OBJS)
+ifeq ($(findstring osx,$(ARCH)), osx)
+ $(CXX) $(LDFLAGS) -Wl,-alias_list,@abs_top_srcdir@/xbmc/cores/DllLoader/exports/wrapper_mach_alias \
+ -bundle -undefined dynamic_lookup -read_only_relocs suppress -o $@ \
+ @abs_top_srcdir@/xbmc/cores/DllLoader/exports/wrapper.o $(OBJS)
+else
+ $(CXX) $(CFLAGS) $(LDFLAGS) -shared -g -o $(LIB_SHARED) $(OBJS)
+endif
+
+CLEAN_FILES = \
+ $(LIB_SHARED) \
+
+DISTCLEAN_FILES= \
+ Makefile \
+
+include ../../../Makefile.include