aboutsummaryrefslogtreecommitdiff
path: root/lib/addons/library.xbmc.pvr/Makefile.in
diff options
context:
space:
mode:
Diffstat (limited to 'lib/addons/library.xbmc.pvr/Makefile.in')
-rw-r--r--lib/addons/library.xbmc.pvr/Makefile.in27
1 files changed, 27 insertions, 0 deletions
diff --git a/lib/addons/library.xbmc.pvr/Makefile.in b/lib/addons/library.xbmc.pvr/Makefile.in
new file mode 100644
index 0000000000..6b80f86c6e
--- /dev/null
+++ b/lib/addons/library.xbmc.pvr/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_pvr
+OBJS=$(LIBNAME).o
+
+LIB_SHARED=../../../addons/library.xbmc.pvr/$(LIBNAME)-$(ARCH).so
+
+all: $(LIB_SHARED)
+
+$(LIB_SHARED): $(OBJS)
+ifeq ($(findstring osx,$(ARCH)), osx)
+ @export MACOSX_DEPLOYMENT_TARGET=10.4
+ $(CXX) -bundle -shared -flat_namespace -undefined suppress -o $(LIB_SHARED) $(OBJS)
+ ../../../tools/Mach5/wrapper.rb $@;mv output.so $@
+else
+ $(CXX) $(CFLAGS) -shared -g -o $(LIB_SHARED) $(OBJS)
+endif
+
+CLEAN_FILES = \
+ $(LIB_SHARED) \
+
+DISTCLEAN_FILES= \
+ Makefile \
+
+include ../../../Makefile.include