Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

32 lines (23 sloc) 0.901 kB
ARCH=@ARCH@
.PHONY: compile
DIRS=flac-1.2.1
FLAC_SYSDIR=@abs_top_srcdir@/system/players/paplayer
FLAC_SO=libFLAC-$(ARCH).so
FLAC_LIB=$(FLAC_SYSDIR)/$(FLAC_SO)
all: $(FLAC_LIB)
ifneq (@USE_EXTERNAL_LIBFLAC@,1)
$(FLAC_LIB): flac-1.2.1/src/libFLAC/.libs/libFLAC.a
$(CC) $(CFLAGS) -shared -fpic -o $@ -rdynamic \
-Wl,--whole-archive flac-1.2.1/src/libFLAC/.libs/libFLAC.a -Wl,--no-whole-archive \
`cat @abs_top_srcdir@/xbmc/cores/DllLoader/exports/wrapper.def` @abs_top_srcdir@/xbmc/cores/DllLoader/exports/wrapper.o
else
$(FLAC_LIB):
$(CC) $(CFLAGS) -shared -fpic -o $@ -rdynamic -lFLAC \
`cat @abs_top_srcdir@/xbmc/cores/DllLoader/exports/wrapper.def` @abs_top_srcdir@/xbmc/cores/DllLoader/exports/wrapper.o
endif
flac-1.2.1/src/libFLAC/.libs/libFLAC.a: compile
ifneq (@USE_EXTERNAL_LIBFLAC@,1)
$(MAKE) -C flac-1.2.1
endif
CLEAN_FILES=$(FLAC_LIB)
include @abs_top_srcdir@/Makefile.include
Jump to Line
Something went wrong with that request. Please try again.