summaryrefslogtreecommitdiff
path: root/src/input/libdvdnav/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'src/input/libdvdnav/Makefile.am')
-rw-r--r--src/input/libdvdnav/Makefile.am30
1 files changed, 30 insertions, 0 deletions
diff --git a/src/input/libdvdnav/Makefile.am b/src/input/libdvdnav/Makefile.am
new file mode 100644
index 000000000..cf30e12e4
--- /dev/null
+++ b/src/input/libdvdnav/Makefile.am
@@ -0,0 +1,30 @@
+DVD_CFLAGS = -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE \
+ -Ilibdvdnav/ \
+ -Ilibdvdread/
+
+CFLAGS = @CFLAGS@ $(DVD_CFLAGS)
+
+noinst_LTLIBRARIES = libdvdnav.la
+
+libdvdnav_la_SOURCES = decoder.c dvdnav.c vm.c vmcmd.c \
+ read_cache.c navigation.c highlight.c \
+ searching.c settings.c
+libdvdnav_la_LDFLAGS = $(THREAD_LIBS) \
+ -avoid-version -module
+
+noinst_HEADERS = decoder.h dvdnav.h dvdnav_events.h \
+ dvdnav_internal.h vm.h vmcmd.h read_cache.h dvd_types.h
+
+debug:
+ @$(MAKE) CFLAGS="$(DEBUG_CFLAGS) $(OGG_CFLAGS) $(VORBIS_CFLAGS)"
+
+install-debug: debug
+ @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+
+mostlyclean-generic:
+ -rm -f *~ \#* .*~ .\#*
+
+maintainer-clean-generic:
+ -@echo "This command is intended for maintainers to use;"
+ -@echo "it deletes files that may require special tools to rebuild."
+ -rm -f Makefile.in