Permalink
Switch branches/tags
Gotham_rc1 Gotham_rc1-dsplayer Gotham_beta4 Gotham_beta4-dsplayer Gotham_beta3 Gotham_beta3-dsplayer Gotham_beta2 Gotham_alpha11 Gotham_alpha10 Gotham_alpha9 Gotham_alpha8 Gotham_alpha7 Gotham_alpha6 Gotham_alpha5 Gotham_alpha4 Gotham_alpha3 Gotham_alpha2 Gotham_alpha1 Gotham-beta1 Gotham-beta1-dsplayer Frodo_rc3 Frodo_rc2 Frodo_rc1 Frodo_beta3 Frodo_beta2 Frodo_beta1 Frodo_alpha7 Frodo_alpha6 Frodo_alpha5 Frodo_alpha4 Frodo_alpha3 Frodo_alpha2 Frodo_alpha1 Eden_rc2 Eden_rc1 Eden_beta3.1 Eden_beta3 Eden_beta2 Eden_beta1 Dharma_rc2 Dharma_rc1 Dharma_beta4 Dharma_beta3 Dharma_beta2 Dharma_beta1 16.0b4-Jarvis 16.0b3-Jarvis 16.0b2-Jarvis 16.0b1-Jarvis 16.0a4-Jarvis 16.0a3-Jarvis 16.0a2-Jarvis 16.0a1-Jarvis 15.2rc3-Isengard 15.2rc2-Isengard 15.2rc1-Isengard 15.2-Isengard 15.2-1-Isengard-IOS9 15.1rc1-Isengard 15.1-Isengard 15.0rc2-Isengard 15.0rc2-Isengard_dsplayer 15.0rc1-Isengard 15.0rc1-Isengard_dsplayer 15.0b2-Isengard 15.0b2-Isengard_dsplayer 15.0b1-Isengard 15.0b1-Isengard_dsplayer 15.0a2-Isengard 15.0a1-Isengard 15.0a1-Isengard_dsplayer 15.0-Isengard 15.0-Isengard_dsplayer 14.2rc1-Helix 14.2rc1-Helix_dsplayer 14.2b1-Helix 14.2b1-Helix_dsplayer 14.2-Helix 14.2-Helix_dsplayer_v2 14.1-Helix 14.1-Helix_dsplayer 14.0rc3-Helix 14.0rc3-Helix_dsplayer 14.0rc2-Helix 14.0rc2-Helix_dsplayer 14.0rc1-Helix 14.0rc1-Helix_dsplayer 14.0b5-Helix 14.0b5-Helix_dsplayer 14.0b4-Helix 14.0b4-Helix_dsplayer 14.0b3-Helix 14.0b3-Helix_dsplayer 14.0b2-Helix 14.0b2-Helix_dsplayer 14.0b1-Helix 14.0b1-Helix_dsplayer 14.0a4-Helix 14.0a4-Helix_dsplayer 14.0a3-Helix
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
154 lines (132 sloc) 4.47 KB
AR=@AR@
ARFLAGS=crs
RM=rm -rf
SHELL=@SHELL@
ARCH=@ARCH@
abs_top_srcdir=@abs_top_srcdir@
rel_top_srcdir=$(subst $(abspath $(abs_top_srcdir))/,,$(abspath $(CURDIR))/)
prefix=@prefix@
exec_prefix=@exec_prefix@
bindir=@bindir@
sbindir=@sbindir@
libexecdir=@libexecdir@
sysconfdir=@sysconfdir@
sharedstatedir=@sharedstatedir@
localstatedir=@localstatedir@
libdir=@libdir@
includedir=@includedir@
oldincludedir=@oldincludedir@
datarootdir=@datarootdir@
datadir=@datadir@
infodir=@infodir@
localedir=@localedir@
mandir=@mandir@
PACKAGE_TARNAME=@PACKAGE_TARNAME@
docdir=@docdir@
htmldir=@htmldir@
dvidir=@dvidir@
pdfdir=@pdfdir@
psdir=@psdir@
CXX=@CXX@
CXX_FOR_BUILD=@CXX_FOR_BUILD@
CC=@CC@
CC_FOR_BUILD=@CC_FOR_BUILD@
CXXFLAGS+=@CXXFLAGS@
CXXFLAGS_FOR_BUILD+=@CXXFLAGS_FOR_BUILD@
CFLAGS+=@CFLAGS@
CFLAGS_FOR_BUILD+=@CFLAGS_FOR_BUILD@
LDFLAGS+=@LDFLAGS@
LDFLAGS_FOR_BUILD+=@LDFLAGS_FOR_BUILD@
INCLUDES+=-I@abs_top_srcdir@
INCLUDES+=-I@abs_top_srcdir@/lib
INCLUDES+=-I@abs_top_srcdir@/xbmc
INCLUDES+=-I@abs_top_srcdir@/xbmc/addons/include
INCLUDES+=-I@abs_top_srcdir@/addons/library.kodi.guilib
INCLUDES+=-I@abs_top_srcdir@/addons/library.xbmc.addon
INCLUDES+=-I@abs_top_srcdir@/addons/library.kodi.adsp
INCLUDES+=-I@abs_top_srcdir@/addons/library.kodi.audioengine
INCLUDES+=-I@abs_top_srcdir@/addons/library.xbmc.pvr
INCLUDES+=-I@abs_top_srcdir@/addons/library.xbmc.codec
INCLUDES+=$(sort @INCLUDES@)
INCLUDES+=-I@abs_top_srcdir@/xbmc/linux
INCLUDES+=-I@abs_top_srcdir@/xbmc/cores/VideoPlayer
DEFINES+= \
@ARCH_DEFINES@ \
-D_FILE_DEFINED \
-D__STDC_CONSTANT_MACROS \
-DBIN_INSTALL_PATH="\"$(libdir)/@APP_NAME_LC@\"" \
-DINSTALL_PATH="\"$(datarootdir)/@APP_NAME_LC@\"" \
@SDL_DEFINES@ \
@UPNP_DEFINES@ \
@DEFS@ \
ifeq ($(findstring osx,$(ARCH)), osx)
INCLUDES+=-I@abs_top_srcdir@/xbmc/osx
endif
ifeq ($(ARCH), powerpc-osx)
BUNDLE1_O=-lbundle1.o
endif
ifneq ($(V), 1)
SILENT_CPP=@echo "CPP $(rel_top_srcdir)$@";
SILENT_CC =@echo "CC $(rel_top_srcdir)$@";
SILENT_S =@echo "S $(rel_top_srcdir)$@";
SILENT_GCH=@echo "GCH $(rel_top_srcdir)$@";
SILENT_MM =@echo "MM $(rel_top_srcdir)$@";
SILENT_AR =@echo "AR $(rel_top_srcdir)$@";
SILENT_LD =@echo "LD $(rel_top_srcdir)$@";
endif
OBJS+=$(filter %.o,$(SRCS:.cpp=.o))
OBJS+=$(filter %.o,$(SRCS:.c=.o))
OBJS+=$(filter %.o,$(SRCS:.S=.o))
OBJS+=$(filter %.o,$(SRCS:.mm=.o))
OBJS+=$(filter %.o,$(SRCS:.m=.o))
DEPS+=$(filter %.P,$(OBJS:.o=.P))
GEN_DEPS=\
cp $*.d $*.P \
&& sed -e 's/\#.*//' -e 's/^[^:]*: *//' -e 's/ *\\$$//' \
-e '/^$$/ d' -e 's/$$/ :/' < $*.d >> $*.P \
&& rm -f $*.d \
|| ( rm -f $*.P $@ && exit 1 )
%.o: %.cpp
@rm -f $@
$(SILENT_CPP) $(CXX) -MF $*.d -MD -c $(CXXFLAGS) $(DEFINES) $(INCLUDES) $(CPPFLAGS) $< -o $@ \
&& $(GEN_DEPS)
%.o: %.cc
@rm -f $@
$(SILENT_CPP) $(CXX) -MF $*.d -MD -c $(CXXFLAGS) $(DEFINES) $(INCLUDES) $(CPPFLAGS) $< -o $@ \
&& $(GEN_DEPS)
%.o: %.c
@rm -f $@
$(SILENT_CC) $(CC) -MF $*.d -MD -c $(CFLAGS) $(DEFINES) $(INCLUDES) $(CPPFLAGS) $< -o $@ \
&& $(GEN_DEPS)
%.o: %.C
@rm -f $@
$(SILENT_CPP) $(CXX) -MF $*.d -MD -c $(CFLAGS) $(DEFINES) $(INCLUDES) $(CPPFLAGS) $< -o $@ \
&& $(GEN_DEPS)
%.o: %.S
@rm -f $@
$(SILENT_CC) $(CC) -c $(CFLAGS) $(DEFINES) $(INCLUDES) $< -o $@
%.h.gch : %.h
$(SILENT_GCH) $(CXX) -c $(CFLAGS) $(DEFINES) $(INCLUDES) $< -o $@
%.o: %.m
@rm -f $@
$(SILENT_MM) $(CC) -MF $*.d -MD -c $(CFLAGS) $(DEFINES) $(INCLUDES) $< -o $@ \
&& $(GEN_DEPS)
%.o: %.mm
@rm -f $@
$(SILENT_MM) $(CXX) -MF $*.d -MD -c $(CXXFLAGS) $(DEFINES) $(INCLUDES) $< -o $@ \
&& $(GEN_DEPS)
.PHONY : lib pch clean distclean distclean_evil check testsuite
$(LIB): $(OBJS)
$(SILENT_AR) $(AR) $(ARFLAGS) $(LIB) $(OBJS)
pch: $(PCH:.h=.h.gch)
for d in $(DIRS); do (cd "$$d"; $(MAKE) pch ); done
clean:
$(RM) $(OBJS) *.o $(LIB) $(SLIB) $(CLEAN_FILES) $(PCH:.h=.h.gch) $(DEPS)
for d in $(DIRS); do (if test -f "$$d/Makefile"; then ($(MAKE) -C "$$d" clean); fi ); done
for d in $(CHECK_DIRS) $(GTEST_DIR); do if test -f $$d/Makefile; then $(MAKE) -C $$d $@; fi; done
distclean:
$(RM) $(OBJS) *.o $(LIB) $(SLIB) $(STATICLIB) $(CLEAN_FILES) $(DISTCLEAN_FILES) $(PCH:.h=.h.gch) $(DEPS)
for d in $(DIRS); do (if test -f "$$d/Makefile"; then ($(MAKE) -C "$$d" distclean || $(MAKE) -C "$$d" clean); fi ); done
for d in $(CHECK_DIRS) $(GTEST_DIR); do (if test -f "$$d/Makefile"; then ($(MAKE) -C "$$d" $@ || $(MAKE) -C "$$d" clean); fi ); done
if [ "$(shell pwd -P)" = "$(abs_top_srcdir)" ] || \
[ "$(shell pwd)" = "$(abs_top_srcdir)" ]; then rm -f $(AUTOGENERATED_MAKEFILES) Makefile.include Makefile; fi