view Makefile.am @ 370:d80a041928be src

gettimeofday() doesn't exist on windows, but recent mingw32 runtime include a replacement. The dvdnav replacement clashes with mingw32's one. This patch will check for it in configure.ac and define the private function only if gettimeofday() is not defined. Patch by Rafael Carr (funman videolan org)
author nicodvb
date Thu, 05 Jun 2008 08:45:35 +0000
parents 62dd6af82d7b
children 5f2ccadb2123
line wrap: on
line source

include $(top_srcdir)/misc/Makefile.common

SUBDIRS = libdvdread vm

includedir = ${prefix}/include/dvdnav

AM_CPPFLAGS = -DDVDNAV_COMPILE $(THREAD_CFLAGS) \
	-I$(top_srcdir)/src/libdvdread -I$(top_srcdir)/src/vm

EXTRA_DIST = README.MAP FELLOWSHIP.map

lib_LTLIBRARIES = libdvdnav.la libdvdnavmini.la

libdvdnav_la_SOURCES = dvdnav.c \
	read_cache.c navigation.c highlight.c \
	searching.c settings.c remap.c \
	dvdnav_internal.h read_cache.h remap.h

libdvdnav_la_LIBADD = $(THREAD_LIBS) \
	$(top_builddir)/src/libdvdread/libdvdread.la \
	$(top_builddir)/src/vm/libdvdvm.la

libdvdnav_la_LDFLAGS = \
	-version-info $(DVDNAV_LT_CURRENT):$(DVDNAV_LT_REVISION):$(DVDNAV_LT_AGE) \
	-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