blob: cf42201bf66f0c49d6be7fddc319ddcdb6dafc10 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
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)
@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
|