summaryrefslogtreecommitdiff
path: root/src/libspudec
diff options
context:
space:
mode:
authorMatt Messier <mmessier@grapetv.org>2007-05-11 19:28:18 -0400
committerMatt Messier <mmessier@grapetv.org>2007-05-11 19:28:18 -0400
commit67b0ebb21185cb8ea2972dead6870bab8306724e (patch)
treee6380633bd936b52020455aae9eabb3860d10c7a /src/libspudec
parent913f9b8ee348c91717cdf5cd4c8a4d56b9d22a5e (diff)
downloadxine-lib-67b0ebb21185cb8ea2972dead6870bab8306724e.tar.gz
xine-lib-67b0ebb21185cb8ea2972dead6870bab8306724e.tar.bz2
Another round of Makefile.am cleanups
Diffstat (limited to 'src/libspudec')
-rw-r--r--src/libspudec/Makefile.am29
1 files changed, 11 insertions, 18 deletions
diff --git a/src/libspudec/Makefile.am b/src/libspudec/Makefile.am
index d159728fc..13d5da6f5 100644
--- a/src/libspudec/Makefile.am
+++ b/src/libspudec/Makefile.am
@@ -1,28 +1,21 @@
include $(top_srcdir)/misc/Makefile.common
-AM_CFLAGS = $(DEFAULT_OCFLAGS) $(VISIBILITY_FLAG)
+AM_CFLAGS = $(DEFAULT_OCFLAGS) $(VISIBILITY_FLAG)
AM_CPPFLAGS = -I$(top_srcdir)/src/input/libdvdnav
-AM_LDFLAGS = $(xineplug_ldflags)
+AM_LDFLAGS = $(xineplug_ldflags)
+
+noinst_HEADERS = spu.h
xineplug_LTLIBRARIES = xineplug_decode_spu.la
if HAVE_DVDNAV
-
-xineplug_decode_spu_la_SOURCES = \
- spu.c \
- xine_spu_decoder.c
-xineplug_decode_spu_la_LIBADD = $(XINE_LIB) $(DVDNAV_LIBS) $(PTHREAD_LIBS)
-
+external_dvdnav_libs = $(DVDNAV_LIBS)
+internal_dvdnav_sources =
else
-
-xineplug_decode_spu_la_SOURCES = \
- nav_read.c \
- spu.c \
- xine_spu_decoder.c
-xineplug_decode_spu_la_LIBADD = $(XINE_LIB) $(PTHREAD_LIBS)
-
+external_dvdnav_libs =
+internal_dvdnav_sources = nav_read.c
endif
-xineplug_decode_spu_la_CFLAGS = $(AM_CFLAGS) $(DVDNAV_CFLAGS)
-
-noinst_HEADERS = spu.h
+xineplug_decode_spu_la_SOURCES = $(internal_dvdnav_sources) spu.c xine_spu_decoder.c
+xineplug_decode_spu_la_LIBADD = $(XINE_LIB) $(external_dvdnav_libs) $(PTHREAD_LIBS)
+xineplug_decode_spu_la_CFLAGS = $(AM_CFLAGS) $(DVDNAV_CFLAGS)