summaryrefslogtreecommitdiff
path: root/src/xine-engine/Makefile.am
diff options
context:
space:
mode:
authorDaniel Caujolle-Bert <f1rmb@users.sourceforge.net>2002-06-16 22:16:55 +0000
committerDaniel Caujolle-Bert <f1rmb@users.sourceforge.net>2002-06-16 22:16:55 +0000
commite3314f597d12f6885377170c541ea155846228f3 (patch)
tree2cb02d7bc8e68c9d205272f29b03e9e80e17aa81 /src/xine-engine/Makefile.am
parentae4d95894f7fe74e452e29ed13ddcac663ba95a6 (diff)
downloadxine-lib-e3314f597d12f6885377170c541ea155846228f3.tar.gz
xine-lib-e3314f597d12f6885377170c541ea155846228f3.tar.bz2
xine lib is X11 independent, so don't include nvtv support if X11 is not
available. use X11 cflags when it's available (needed for nvtv). CVS patchset: 2083 CVS date: 2002/06/16 22:16:55
Diffstat (limited to 'src/xine-engine/Makefile.am')
-rw-r--r--src/xine-engine/Makefile.am12
1 files changed, 8 insertions, 4 deletions
diff --git a/src/xine-engine/Makefile.am b/src/xine-engine/Makefile.am
index 6db088824..5787ab7bd 100644
--- a/src/xine-engine/Makefile.am
+++ b/src/xine-engine/Makefile.am
@@ -2,15 +2,19 @@
## Process this file with automake to produce Makefile.in
##
-CFLAGS = @CFLAGS@ $(THREAD_CFLAGS) -DXINE_LOGO_FILE=\"file://@XINE_SKINPATH@/xine_logo.mpg\"
+CFLAGS = @CFLAGS@ $(THREAD_CFLAGS) $(X_CFLAGS) -DXINE_LOGO_FILE=\"file://@XINE_SKINPATH@/xine_logo.mpg\"
lib_LTLIBRARIES = libxine.la
-libxine_la_SOURCES = xine.c metronom.c configfile.c buffer.c \
+if HAVE_X11
+nvtv = nvtvd.c tvmode.c
+endif
+
+libxine_la_SOURCES = $(nvtv) xine.c metronom.c configfile.c buffer.c \
load_plugins.c video_decoder.c buffer_types.c \
audio_decoder.c video_out.c audio_out.c resample.c events.c lrb.c \
- video_overlay.c osd.c scratch.c locale.c demux.c nvtvd.c tvmode.c
+ video_overlay.c osd.c scratch.c locale.c demux.c
libxine_la_DEPENDENCIES = @INTLLIBS@
libxine_la_LIBADD = $(THREAD_LIBS) $(DYNAMIC_LD_LIBS) @INTLLIBS@ $(ZLIB_LIBS) -lm
@@ -27,7 +31,7 @@ noinst_HEADERS = bswap.h nvtvd.h
@INCLUDED_INTL_TRUE@ @cd $(top_builddir)/intl && $(MAKE) libintl.la
debug:
- @$(MAKE) CFLAGS="$(DEBUG_CFLAGS) -DXINE_LOGO_FILE=\\\"file://@XINE_SKINPATH@/xine_logo.mpg\\\""
+ @$(MAKE) CFLAGS="$(DEBUG_CFLAGS) $(X_CFLAGS) -DXINE_LOGO_FILE=\\\"file://@XINE_SKINPATH@/xine_logo.mpg\\\""
install-debug: debug
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am