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/audio_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/audio_out/Makefile.am')
| -rw-r--r-- | src/audio_out/Makefile.am | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/src/audio_out/Makefile.am b/src/audio_out/Makefile.am index 84173fad2..6451fcc37 100644 --- a/src/audio_out/Makefile.am +++ b/src/audio_out/Makefile.am @@ -1,8 +1,8 @@ include $(top_srcdir)/misc/Makefile.common -AM_CFLAGS = -DXINE_COMPILE $(ALSA_CFLAGS) $(ESD_CFLAGS) $(IRIXAL_CFLAGS) $(ARTS_CFLAGS) +AM_CFLAGS = -DXINE_COMPILE $(ALSA_CFLAGS) $(ESD_CFLAGS) $(IRIXAL_CFLAGS) $(ARTS_CFLAGS) $(DIRECTX_CFLAGS) -EXTRA_DIST = audio_irixal_out.c audio_directx_out.c +EXTRA_DIST = audio_irixal_out.c libdir = $(XINE_PLUGINDIR) @@ -32,6 +32,10 @@ if HAVE_ARTS arts_module = xineplug_ao_out_arts.la endif +if HAVE_DIRECTX +directx_module = xineplug_ao_out_directx.la +endif + ## # IMPORTANT: # --------- @@ -42,7 +46,8 @@ lib_LTLIBRARIES = xineplug_ao_out_none.la $(oss_module) \ $(alsa_module) \ $(sun_module) \ $(arts_module) \ - $(esd_module) + $(esd_module) \ + $(directx_module) #lib_LTLIBRARIES = \ # $(alsa_module) \ @@ -78,3 +83,7 @@ xineplug_ao_out_sun_la_LDFLAGS = -avoid-version -module @XINE_PLUGIN_MIN_SYMS@ xineplug_ao_out_arts_la_SOURCES = audio_arts_out.c xineplug_ao_out_arts_la_LIBADD = $(ARTS_LIBS) xineplug_ao_out_arts_la_LDFLAGS = -avoid-version -module @XINE_PLUGIN_MIN_SYMS@ + +xineplug_ao_out_directx_la_SOURCES = audio_directx_out.c +xineplug_ao_out_directx_la_LIBADD = $(DIRECTX_AUDIO_LIBS) $(XINE_LIB) +xineplug_ao_out_directx_la_LDFLAGS = -avoid-version -module @XINE_PLUGIN_MIN_SYMS@ |
