diff options
| author | František Dvořák <valtri@users.sourceforge.net> | 2004-01-01 18:14:51 +0000 |
|---|---|---|
| committer | František Dvořák <valtri@users.sourceforge.net> | 2004-01-01 18:14:51 +0000 |
| commit | 6fc61879fcde8b512d5654588bc8daa2fb13128e (patch) | |
| tree | 84c442c3905af9aa974d8179236b8f86a89e51bf /src/video_out/Makefile.am | |
| parent | 68651ae25728f746df6736cc7291179d60232315 (diff) | |
| download | xine-lib-6fc61879fcde8b512d5654588bc8daa2fb13128e.tar.gz xine-lib-6fc61879fcde8b512d5654588bc8daa2fb13128e.tar.bz2 | |
Win32 port, mainly DirectX:
* use DirectX under CygWin and basic auto-stuff
* move some my macros in configure.ac
* I don't know why, but shared directx plugins can't be linked with
libdxguid.a. Used cute-hack, idea is from mplayer. Also thanks to
hexedit, because I haven't sources of w32api.
* Fix some warnings in vo directx and ao directx.
* Decrease version of directx. It seems it still works.
For compilation with DirectX under Cygwin you need header files from
directx-sdk. Autoconf macros are only basic, but it works. for example:
DIRECTX_CFLAGS=-I/cygrive/c/Program\ Files/Directx/include ./autogen.sh
CVS patchset: 5971
CVS date: 2004/01/01 18:14:51
Diffstat (limited to 'src/video_out/Makefile.am')
| -rw-r--r-- | src/video_out/Makefile.am | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/src/video_out/Makefile.am b/src/video_out/Makefile.am index 2e26d832f..af4a3c221 100644 --- a/src/video_out/Makefile.am +++ b/src/video_out/Makefile.am @@ -10,7 +10,7 @@ VIDIX_CFLAGS = -I$(top_builddir)/src/video_out/vidix \ AM_CFLAGS = $(X_CFLAGS) \ -DXINE_COMPILE $(SDL_CFLAGS) $(VIDIX_CFLAGS) \ $(AALIB_CFLAGS) $(MLIB_CFLAGS) $(LIBSTK_CFLAGS) \ - $(DIRECTFB_CFLAGS) + $(DIRECTFB_CFLAGS) $(DIRECTX_CFLAGS) libdir = $(XINE_PLUGINDIR) @@ -56,6 +56,10 @@ if HAVE_STK stk_module = xineplug_vo_out_stk.la endif +if HAVE_DIRECTX +directx_module = xineplug_vo_out_directx.la +endif + # important: # # all xine video out plugins should be named @@ -65,7 +69,8 @@ endif # $(syncfb_module) $(fb_module) $(opengl_module) $(sdl_module) $(vidix_module) lib_LTLIBRARIES = $(xshm_module) $(xv_module) $(xvmc_module) $(aa_module) $(pgx64_module) \ $(vidix_module) $(fb_module) $(sdl_module) $(syncfb_module) \ - $(stk_module) $(directfb_module) xineplug_vo_out_none.la + $(stk_module) $(directfb_module) xineplug_vo_out_none.la \ + $(directx_module) xineplug_vo_out_xv_la_SOURCES = $(X11OSD) deinterlace.c alphablend.c video_out_xv.c @@ -126,5 +131,10 @@ xineplug_vo_out_stk_la_SOURCES = alphablend.c video_out_stk.c xineplug_vo_out_stk_la_LIBADD = $(LIBSTK_LIBS) xineplug_vo_out_stk_la_LDFLAGS = -avoid-version -module @XINE_PLUGIN_MIN_SYMS@ + +xineplug_vo_out_directx_la_SOURCES = alphablend.c yuv2rgb.c yuv2rgb_mmx.c video_out_directx.c +xineplug_vo_out_directx_la_LIBADD = $(DIRECTX_VIDEO_LIBS) $(XINE_LIB) +xineplug_vo_out_directx_la_LDFLAGS = -avoid-version -module @XINE_PLUGIN_MIN_SYMS@ + noinst_HEADERS = alphablend.h deinterlace.h video_out_syncfb.h \ yuv2rgb.h video_out_win32.h x11osd.h |
