summaryrefslogtreecommitdiff
path: root/src/libspudec
diff options
context:
space:
mode:
Diffstat (limited to 'src/libspudec')
-rw-r--r--src/libspudec/Makefile.am26
1 files changed, 26 insertions, 0 deletions
diff --git a/src/libspudec/Makefile.am b/src/libspudec/Makefile.am
new file mode 100644
index 000000000..7c0dcd78d
--- /dev/null
+++ b/src/libspudec/Makefile.am
@@ -0,0 +1,26 @@
+include $(top_srcdir)/misc/Makefile.common
+
+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) $(LTLIBINTL)
+
+else
+
+xineplug_decode_spu_la_SOURCES = \
+ nav_read.c \
+ spu.c \
+ xine_spu_decoder.c
+AM_CPPFLAGS = -I$(top_srcdir)/src/input/libdvdnav
+xineplug_decode_spu_la_LIBADD = $(XINE_LIB) $(PTHREAD_LIBS) $(LTLIBINTL)
+
+endif
+
+xineplug_decode_spu_la_CFLAGS = $(DVDNAV_CFLAGS) $(VISIBILITY_FLAG)
+xineplug_decode_spu_la_LDFLAGS = $(xineplug_ldflags)
+
+noinst_HEADERS = spu.h