summaryrefslogtreecommitdiff
path: root/src/video_out/macosx
diff options
context:
space:
mode:
authorAndre Pang <athp@users.sourceforge.net>2004-06-19 04:07:38 +0000
committerAndre Pang <athp@users.sourceforge.net>2004-06-19 04:07:38 +0000
commit73a709eeb0e188c0e911457d1ded45fd841c9435 (patch)
treeaf690175b0974a668b530803735857ca36bc1dd8 /src/video_out/macosx
parent5eb58051dac24e6c2958de46eddeefea99ed9791 (diff)
downloadxine-lib-73a709eeb0e188c0e911457d1ded45fd841c9435.tar.gz
xine-lib-73a709eeb0e188c0e911457d1ded45fd841c9435.tar.bz2
Build code in src/video_out/macosx directory again
Added comment about why "-Wl,-framework -Wl,Cocoa" libtool options are needed to src/video_out/(macosx)?/Makefile.am CVS patchset: 6700 CVS date: 2004/06/19 04:07:38
Diffstat (limited to 'src/video_out/macosx')
-rw-r--r--src/video_out/macosx/Makefile.am20
1 files changed, 20 insertions, 0 deletions
diff --git a/src/video_out/macosx/Makefile.am b/src/video_out/macosx/Makefile.am
index a0e268e9b..137707f72 100644
--- a/src/video_out/macosx/Makefile.am
+++ b/src/video_out/macosx/Makefile.am
@@ -3,5 +3,25 @@ include $(top_srcdir)/misc/Makefile.common
EXTRA_DIST = video_window.m video_window.h
if HAVE_MACOSX_VIDEO
+
+AM_CFLAGS = $(X_CFLAGS) -DXINE_COMPILE \
+ $(SUNDGA_CFLAGS) $(SDL_CFLAGS) $(VIDIX_CFLAGS) \
+ $(AALIB_CFLAGS) $(MLIB_CFLAGS) $(LIBSTK_CFLAGS) \
+ $(DIRECTFB_CFLAGS) $(DIRECTX_CFLAGS) $(CACA_CFLAGS)
+
+macosx_module = xineplug_vo_out_macosx.la
+
+lib_LTLIBRARIES = libxine_macosx_video.la
+
+libxine_macosx_video_la_SOURCES = video_window.m
+libxine_macosx_video_la_LIBADD =
+# The -Wl,-framework -Wl,Cocoa is needed for libtool versions before
+# 1.5.x (1.257): the default version that ships with Mac OS X is 1.5 (1.1220)
+libxine_macosx_video_la_LDFLAGS = -version-info \
+ $(LT_CURRENT):$(LT_REVISION):$(LT_AGE) \
+ -Wl,-framework -Wl,Cocoa -framework Cocoa \
+ -Wl,-framework -Wl,OpenGL -framework OpenGL \
+libxine_macosx_video_la_OBJCFLAGS = $(OBJCFLAGS)
+
include_HEADERS = video_window.h
endif