view Makefile.am @ 6:e5663591d13c src

gettimeofday() doesn't exist in windows, but recent mingw32 runtime include a replacement that 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:52:00 +0000
parents 5f0f78aac041
children 7b2a843accd9
line wrap: on
line source

include $(top_srcdir)/misc/Makefile.common

includedir = ${prefix}/include/libdvdread

AM_CPPFLAGS = -I$(top_srcdir)/src

lib_LTLIBRARIES = libdvdread.la

libdvdread_la_SOURCES = dvd_reader.c nav_read.c ifo_read.c \
	dvd_input.c dvd_udf.c md5.c nav_print.c ifo_print.c bitreader.c \
	bswap.h dvd_input.h dvdread_internal.h dvd_udf.h md5.h bitreader.h

libdvdread_la_LIBADD = $(DYNAMIC_LD_LIBS)

libdvdread_la_LDFLAGS = -version-info $(DVDREAD_LT_CURRENT):$(DVDREAD_LT_REVISION):$(DVDREAD_LT_AGE) \
	-export-symbols-regex "(^dvd.*|^nav.*|^ifo.*|^DVD.*|^UDF.*)"

include_HEADERS = dvd_reader.h nav_read.h ifo_read.h \
	nav_print.h ifo_print.h ifo_types.h nav_types.h dvd_udf.h bitreader.h