Mercurial > mplayer.hg
view loader/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 | 232cb92a2f1c |
children | 3eedbd7321ea |
line wrap: on
line source
include ../config.mak LIBNAME_COMMON = libloader.a #CFLAGS+=-Ddbg_printf=__vprintf -DTRACE=__vprintf -DDETAILED_OUT SRCS_COMMON = driver.c afl.c vfl.c ifneq ($(TARGET_WIN32),yes) SRCS_COMMON += ldt_keeper.c pe_image.c module.c ext.c win32.c \ pe_resource.c resource.c registry.c elfdll.c # QTX emulation is not supported in Darwin ifneq ($(TARGET_OS),Darwin) SRCS_COMMON += wrapper.S else win32.o: CFLAGS += $(CFLAG_STACKREALIGN) endif endif SRCS_COMMON += dshow/DS_AudioDecoder.c \ dshow/DS_Filter.c \ dshow/DS_VideoDecoder.c \ dshow/allocator.c \ dshow/mediatype.c \ dshow/cmediasample.c \ dshow/guids.c \ dshow/inputpin.c \ dshow/outputpin.c \ dmo/DMO_AudioDecoder.c \ dmo/DMO_VideoDecoder.c \ dmo/buffer.c \ dmo/dmo.c \ dmo/dmo_guids.c \ include ../mpcommon.mak CFLAGS+=-fno-omit-frame-pointer $(CFLAG_NO_OMIT_LEAF_FRAME_POINTER) TEST_OBJS = $(LIBNAME_COMMON) ../cpudetect.o ../mp_msg.o ../mp_fifo.o ../osdep/libosdep.a TEST_LDFLAGS = -ltermcap -ldl -lm -lpthread -g dshow/test: dshow/test.c ../get_path.o $(TEST_OBJS) $(CC) $(CFLAGS) -o $@ $^ $(TEST_LDFLAGS) -lstdc++ qtx/qtxload: qtx/qtxload.c $(TEST_OBJS) $(CC) -o $@ $^ $(TEST_LDFLAGS) qtx/list: qtx/list.c $(TEST_OBJS) $(CC) -o $@ $^ $(TEST_LDFLAGS) clean:: rm -f dshow/*.o dshow/*.a dshow/*~ rm -f dmo/*.o dmo/*.a dmo/*~ rm -f dshow/test dshow/test.raw rm -f qtx/list qtx/qtxload