aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authordavilla <davilla@svn>2010-05-11 21:46:54 +0000
committerdavilla <davilla@svn>2010-05-11 21:46:54 +0000
commit2bcf28e254d20a9314c2397b397bcfa0707e6e3d (patch)
tree7e07e1936ac4fb54582f96d14cf44b464300f755 /lib
parent3ae87f2e60490bc8b84b71de67695b3fddb80949 (diff)
[osx] fixup Makefile for new location
git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk@30027 568bbfeb-2a22-0410-94d2-cc84cf5bfa90
Diffstat (limited to 'lib')
-rw-r--r--lib/libass/xbmc/Makefile.in8
1 files changed, 5 insertions, 3 deletions
diff --git a/lib/libass/xbmc/Makefile.in b/lib/libass/xbmc/Makefile.in
index 4a25c8b707..209602f6d5 100644
--- a/lib/libass/xbmc/Makefile.in
+++ b/lib/libass/xbmc/Makefile.in
@@ -1,5 +1,7 @@
+abs_top_srcdir=@abs_top_srcdir@
+
ARCH=@ARCH@
-SYSDIR=../../../../system/players/dvdplayer
+SYSDIR=$(abs_top_srcdir)/system/players/dvdplayer
SO=libass-$(ARCH).so
SLIB=$(SYSDIR)/$(SO)
DIRS=..
@@ -10,7 +12,7 @@ ifeq ($(findstring osx,$(ARCH)), osx)
$(SLIB): ../libass/.libs/libass.dylib
$(CXX) -bundle -flat_namespace -undefined suppress -shared -fPIC \
-mmacosx-version-min=10.4 -o $@ ../libass/.libs/*.o
- ../../../../tools/Mach5/wrapper.rb $@;mv output.so $@
+ $(abs_top_srcdir)/tools/Mach5/wrapper.rb $@;mv output.so $@
chmod +x $@
../libass/.libs/libass.dylib: compile
@@ -26,4 +28,4 @@ $(SLIB): ../libass/.libs/libass.so
$(MAKE) -C ..
endif
-include ../../../../Makefile.include
+include $(abs_top_srcdir)/Makefile.include