From 84a372ab43f70cdd65898b02808f014486d73fcb Mon Sep 17 00:00:00 2001 From: Mike Lampard Date: Thu, 1 Nov 2001 15:31:34 +0000 Subject: enable autoconfig for dxr3enc plugin CVS patchset: 926 CVS date: 2001/11/01 15:31:34 --- src/dxr3/Makefile.am | 22 ++++++++-------------- 1 file changed, 8 insertions(+), 14 deletions(-) (limited to 'src') diff --git a/src/dxr3/Makefile.am b/src/dxr3/Makefile.am index 24e0de580..ff838b586 100644 --- a/src/dxr3/Makefile.am +++ b/src/dxr3/Makefile.am @@ -6,20 +6,14 @@ LIBTOOL = $(SHELL) $(top_builddir)/libtool-nofpic libdir = $(XINE_PLUGINDIR) -dxr3enc_module = -#uncomment the next lines and (some of) the lines below for the dxr3enc plugin -#dxr3enc_module = xineplug_vo_out_dxr3enc.la -#pick one (or link against both) see defines in video_out_dxr3enc.c file -#note: don't use libavcodec from xine sources! -dxr3enc_encoder=-lfame -#dxr3enc_encoder=-lavcodec -#dxr3enc_encoder=-lfame -lavcodec - if HAVE_DXR3 -dxr3_modules = xineplug_decode_dxr3.la xineplug_vo_out_dxr3.la $(dxr3enc_module) +if HAVE_FAME +dxr3enc_module = xineplug_vo_out_dxr3enc.la +endif +dxr3_modules = xineplug_decode_dxr3.la xineplug_vo_out_dxr3.la endif -lib_LTLIBRARIES = $(dxr3_modules) +lib_LTLIBRARIES = $(dxr3_modules) $(dxr3enc_module) xineplug_decode_dxr3_la_SOURCES = dxr3_decoder.c xineplug_decode_dxr3_la_LDFLAGS = -avoid-version -module @@ -27,9 +21,9 @@ xineplug_decode_dxr3_la_LDFLAGS = -avoid-version -module xineplug_vo_out_dxr3_la_SOURCES = video_out_dxr3.c overlay.c xineplug_vo_out_dxr3_la_LDFLAGS = -avoid-version -module $(X_LIBS) -#xineplug_vo_out_dxr3enc_la_SOURCES = video_out_dxr3enc.c overlay.c -#xineplug_vo_out_dxr3enc_la_LDFLAGS = \ - -avoid-version -module $(dxr3enc_encoder) $(X_LIBS) +xineplug_vo_out_dxr3enc_la_SOURCES = video_out_dxr3enc.c overlay.c +xineplug_vo_out_dxr3enc_la_LDFLAGS = \ + -avoid-version -module -lfame $(X_LIBS) include_HEADERS = dxr3_overlay.h -- cgit v1.2.3