view dvdread/Makefile @ 26110:69790f7caffa

configure: Set CONFIG_ENCODERS=yes in config.mak unconditionally config.h already had "#define CONFIG_ENCODERS 1" unconditionally, but the config.mak value depended on whether MEncoder was enabled. Encoders need to be enabled as some encoder code is used by MPlayer too. The inconsistent values broke compilation with --disable-mencoder after libavcodec Makefile made compilation of i386/dsputilenc_mmx.o depend on the config.mak value.
author uau
date Mon, 03 Mar 2008 03:02:36 +0000
parents 39b8ccb91251
children d4f4ce3534c3
line wrap: on
line source

include ../config.mak

LIBNAME_COMMON = libdvdread.a

SRCS_COMMON = cmd_print.c \
              dvd_input.c \
              dvd_reader.c \
              dvd_udf.c \
              ifo_print.c \
              ifo_read.c \
              md5.c \
              nav_print.c \
              nav_read.c \

CFLAGS = -D__USE_UNIX98 -D_GNU_SOURCE

CFLAGS-$(DVDCSS_INTERNAL) += -I../libdvdcss -DHAVE_DVDCSS_DVDCSS_H

include ../mpcommon.mak