2001-02-24 20:28:24 +00:00
|
|
|
include ../config.mak
|
|
|
|
|
2007-03-13 12:10:57 +00:00
|
|
|
LIBNAME_COMMON = libloader.a
|
2006-11-26 18:12:36 +00:00
|
|
|
|
2006-11-24 20:19:29 +00:00
|
|
|
#CFLAGS+=-Ddbg_printf=__vprintf -DTRACE=__vprintf -DDETAILED_OUT
|
2006-11-24 00:42:44 +00:00
|
|
|
|
2007-03-13 12:10:57 +00:00
|
|
|
SRCS_COMMON = driver.c afl.c vfl.c
|
2008-03-03 18:15:35 +00:00
|
|
|
SRCS_COMMON-$(QTX_EMULATION) += wrapper.S
|
|
|
|
SRCS_COMMON-$(WIN32_EMULATION) += elfdll.c \
|
|
|
|
ext.c \
|
|
|
|
ldt_keeper.c \
|
|
|
|
module.c \
|
|
|
|
pe_image.c \
|
|
|
|
pe_resource.c \
|
|
|
|
registry.c \
|
|
|
|
resource.c \
|
|
|
|
win32.c \
|
2001-02-24 20:28:24 +00:00
|
|
|
|
2007-03-13 12:10:57 +00:00
|
|
|
SRCS_COMMON += dshow/DS_AudioDecoder.c \
|
2007-03-13 21:55:23 +00:00
|
|
|
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 \
|
2006-11-25 00:31:07 +00:00
|
|
|
|
2006-11-26 18:12:36 +00:00
|
|
|
include ../mpcommon.mak
|
2006-11-25 00:09:39 +00:00
|
|
|
|
2008-02-24 11:15:30 +00:00
|
|
|
CFLAGS+=-fno-omit-frame-pointer $(CFLAG_NO_OMIT_LEAF_FRAME_POINTER)
|
2008-03-03 17:50:25 +00:00
|
|
|
win32.o: CFLAGS += $(CFLAG_STACKREALIGN)
|
2006-12-16 23:59:06 +00:00
|
|
|
|
2008-01-06 11:40:49 +00:00
|
|
|
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)
|
2006-11-25 00:31:07 +00:00
|
|
|
|
2006-11-26 18:12:36 +00:00
|
|
|
clean::
|
2006-11-25 00:31:07 +00:00
|
|
|
rm -f dshow/*.o dshow/*.a dshow/*~
|
|
|
|
rm -f dmo/*.o dmo/*.a dmo/*~
|
2006-11-25 17:31:07 +00:00
|
|
|
rm -f dshow/test dshow/test.raw
|
2008-01-06 12:50:13 +00:00
|
|
|
rm -f qtx/list qtx/qtxload
|