aboutsummaryrefslogtreecommitdiff
path: root/Makefile.in
diff options
context:
space:
mode:
authorFneufneu <mickael.maillot@gmail.com>2012-05-10 03:18:51 -0700
committerFneufneu <mickael.maillot@gmail.com>2012-05-10 03:18:51 -0700
commitdaf3b4082ce42e2d061f19f0d90707f2f8e08d7a (patch)
tree8524ccb54cd635b196648704bab4dca3d3b25fa8 /Makefile.in
parent051b9a94ee89d68a27c1244c424334b373398dc1 (diff)
parenta7c35bcca2c74e2de879243835852cb546fb1b7d (diff)
Merge pull request #37 from Fneufneu/freebsd
add FreeBSD support
Diffstat (limited to 'Makefile.in')
-rwxr-xr-xMakefile.in10
1 files changed, 9 insertions, 1 deletions
diff --git a/Makefile.in b/Makefile.in
index 2596c67a27..4500b2c7a5 100755
--- a/Makefile.in
+++ b/Makefile.in
@@ -112,6 +112,10 @@ DIRECTORY_ARCHIVES += xbmc/storage/linux/storage_linux.a
DIRECTORY_ARCHIVES += xbmc/windowing/X11/windowing_X11.a
endif
+ifeq ($(findstring freebsd,@ARCH@),freebsd)
+DIRECTORY_ARCHIVES += xbmc/freebsd/freebsd.a
+endif
+
ifeq (@HAVE_XBMC_NONFREE@,1)
DIRECTORY_ARCHIVES += lib/UnrarXLib/UnrarXLib.a
endif
@@ -291,7 +295,7 @@ ifeq (@USE_ASAP_CODEC@,1)
endif
endif
$(MAKE) -C lib/stsound/StSoundLibrary
-ifeq ($(or $(findstring powerpc,@ARCH@),$(findstring x86_64-linux,@ARCH@),$(findstring arm, @ARCH@)),)
+ifeq ($(or $(findstring powerpc,@ARCH@),$(findstring x86_64-linux,@ARCH@),$(findstring arm, @ARCH@),$(findstring freebsd,@ARCH@)),)
$(MAKE) -C lib/snesapu/SNES/SNESAPU
endif
imagelib: dllloader
@@ -323,6 +327,10 @@ DYNOBJSXBMC= \
xbmc/video/video.a \
xbmc/guilib/guilib.a # must be dynamic to avoid linker errors
+ifeq ($(findstring freebsd,@ARCH@),freebsd)
+DYNOBJSXBMC+= xbmc/freebsd/freebsd.a
+endif
+
OBJSXBMC:=$(filter-out $(DYNOBJSXBMC), $(OBJSXBMC))
LIBS += @PYTHON_LDFLAGS@