diff options
author | spiff_ <spiff_@svn> | 2010-05-11 21:35:07 +0000 |
---|---|---|
committer | spiff_ <spiff_@svn> | 2010-05-11 21:35:07 +0000 |
commit | 3ae87f2e60490bc8b84b71de67695b3fddb80949 (patch) | |
tree | eb88cb45ebee1f2135cff9b5ac6aaf3a49a03f35 /lib/libass | |
parent | 747ed37056bc329a817fe0fc605a7cb90666d5de (diff) |
changed: Move Makefile where we want it
git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk@30026 568bbfeb-2a22-0410-94d2-cc84cf5bfa90
Diffstat (limited to 'lib/libass')
-rw-r--r-- | lib/libass/xbmc/Makefile.in | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/lib/libass/xbmc/Makefile.in b/lib/libass/xbmc/Makefile.in new file mode 100644 index 0000000000..4a25c8b707 --- /dev/null +++ b/lib/libass/xbmc/Makefile.in @@ -0,0 +1,29 @@ +ARCH=@ARCH@ +SYSDIR=../../../../system/players/dvdplayer +SO=libass-$(ARCH).so +SLIB=$(SYSDIR)/$(SO) +DIRS=.. + +.PHONY: compile + +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 $@ + chmod +x $@ + +../libass/.libs/libass.dylib: compile + export MACOSX_DEPLOYMENT_TARGET=10.4 + $(MAKE) -C .. +else +$(SLIB): ../libass/.libs/libass.so + $(CXX) -shared -fPIC -o $(SLIB) ../libass/.libs/*.o \ + `cat ../../../cores/DllLoader/exports/wrapper.def` \ + ../../../cores/DllLoader/exports/wrapper.o + +../libass/.libs/libass.so: compile + $(MAKE) -C .. +endif + +include ../../../../Makefile.include |