changeset 296:044e33c6ab04 src

added targets to build a version of the library (libdvdnavmini) without dvdread embedded and corresponding dvdnav-config --minilibs
author nicodvb
date Sun, 29 Apr 2007 18:10:02 +0000
parents 2d75ce9fa252
children eb96940d93e0
files Makefile.am
diffstat 1 files changed, 8 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/Makefile.am	Sat Apr 28 09:27:27 2007 +0000
+++ b/Makefile.am	Sun Apr 29 18:10:02 2007 +0000
@@ -9,7 +9,7 @@
 
 EXTRA_DIST = README.MAP FELLOWSHIP.map
 
-lib_LTLIBRARIES = libdvdnav.la
+lib_LTLIBRARIES = libdvdnav.la libdvdnavmini.la
 
 libdvdnav_la_SOURCES = dvdnav.c \
 	read_cache.c navigation.c highlight.c \
@@ -25,4 +25,11 @@
 	-export-symbols-regex "(^dvdnav.*|^nav.*|^ifo.*|^DVD.*)"
 #	-release $(DVDNAV_MAJOR).$(DVDNAV_MINOR).$(DVDNAV_SUB)
 
+libdvdnavmini_la_SOURCES = $(libdvdnav_la_SOURCES)
+
+libdvdnavmini_la_LIBADD = $(THREAD_LIBS) \
+	$(top_builddir)/src/vm/libdvdvm.la
+
+libdvdnavmini_la_LDFLAGS = $(libdvdnav_la_LDFLAGS)
+
 include_HEADERS = dvdnav.h dvdnav_events.h dvd_types.h