diff options
author | Michael Roitzsch <mroi@users.sourceforge.net> | 2002-08-09 22:13:08 +0000 |
---|---|---|
committer | Michael Roitzsch <mroi@users.sourceforge.net> | 2002-08-09 22:13:08 +0000 |
commit | fc7461768bd38509f42f8e603ce28dde76585f99 (patch) | |
tree | 4cee3d9f070d1b937d01b81a50f9cdafd6708bff /src/input/Makefile.am | |
parent | c8682f39c9390420104ad9eaeff1b0c18c3f5459 (diff) | |
download | xine-lib-fc7461768bd38509f42f8e603ce28dde76585f99.tar.gz xine-lib-fc7461768bd38509f42f8e603ce28dde76585f99.tar.bz2 |
make developers life easier: add possibility to use an existing shared
version of libdvdnav
CVS patchset: 2415
CVS date: 2002/08/09 22:13:08
Diffstat (limited to 'src/input/Makefile.am')
-rw-r--r-- | src/input/Makefile.am | 20 |
1 files changed, 18 insertions, 2 deletions
diff --git a/src/input/Makefile.am b/src/input/Makefile.am index 5f40efecd..ff8a88d9a 100644 --- a/src/input/Makefile.am +++ b/src/input/Makefile.am @@ -2,7 +2,11 @@ ## Process this file with automake to produce Makefile.in ## +if HAVE_DVDNAV +SUBDIRS = libdvdread +else SUBDIRS = libdvdread libdvdnav +endif LIBTOOL = $(SHELL) $(top_builddir)/libtool-nofpic @@ -21,9 +25,15 @@ in_cda = xineplug_inp_cda.la endif # For DVD +if HAVE_DVDNAV +DVD_CFLAGS = -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE \ + $(DVDNAV_CFLAGS) \ + -Ilibdvdread/ +else DVD_CFLAGS = -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE \ -Ilibdvdnav/ \ -Ilibdvdread/ +endif CFLAGS = @CFLAGS@ $(DVD_CFLAGS) DEBUG_CFLAGS = @DEBUG_CFLAGS@ $(DVD_CFLAGS) @@ -37,9 +47,15 @@ xineplug_inp_file_la_LIBADD = $(top_builddir)/src/xine-engine/libxine.la xineplug_inp_file_la_LDFLAGS = -avoid-version -module xineplug_inp_dvd_la_SOURCES = input_dvd.c +if HAVE_DVDNAV +xineplug_inp_dvd_la_LIBADD = $(top_builddir)/src/xine-engine/libxine.la \ + libdvdread/libdvdread.la $(DVDNAV_LIBS) +xineplug_inp_dvd_la_LDFLAGS = -avoid-version -module +else xineplug_inp_dvd_la_LIBADD = $(top_builddir)/src/xine-engine/libxine.la \ libdvdnav/libdvdnav.la libdvdread/libdvdread.la xineplug_inp_dvd_la_LDFLAGS = -avoid-version -module +endif xineplug_inp_net_la_SOURCES = input_net.c net_buf_ctrl.c xineplug_inp_net_la_LIBADD = $(top_builddir)/src/xine-engine/libxine.la @@ -70,9 +86,9 @@ xineplug_inp_cda_la_LIBADD = $(top_builddir)/src/xine-engine/libxine.la xineplug_inp_cda_la_LDFLAGS = -avoid-version -module include_HEADERS = input_plugin.h -noinst_HEADERS = dvd_udf.h read_cache.h net_buf_ctrl.h mms.h +noinst_HEADERS = read_cache.h net_buf_ctrl.h mms.h -EXTRA_DIST = input_dvd.c dvd_udf.c input_vcd.c read_cache.c +EXTRA_DIST = input_dvd.c input_vcd.c read_cache.c ## ## Install header files (default=$includedir/xine) |