Mercurial > mplayer.hg
diff loader/Makefile @ 21185:0c866f72b921
Make loader Makefile non-recursive.
author | diego |
---|---|
date | Sat, 25 Nov 2006 00:31:07 +0000 |
parents | 32a571ec877d |
children | 68df3b19a160 |
line wrap: on
line diff
--- a/loader/Makefile Sat Nov 25 00:12:08 2006 +0000 +++ b/loader/Makefile Sat Nov 25 00:31:07 2006 +0000 @@ -1,6 +1,6 @@ include ../config.mak -CFLAGS=-I. -I.. -DMPLAYER -D__WINE__ $(OPTFLAGS) +CFLAGS=-I. -I.. -Idshow -DMPLAYER -D__WINE__ -DNOAVIFILE_HEADERS $(OPTFLAGS) #CFLAGS+=-Ddbg_printf=__vprintf -DTRACE=__vprintf -DDETAILED_OUT SRCS= driver.c afl.c vfl.c @@ -9,7 +9,21 @@ pe_resource.c resource.c registry.c elfdll.c wrapper.S stubs.s endif -OBJS = $(SRCS:.c=.o) +SRCS+= dshow/DS_AudioDecoder.c \ + dshow/DS_Filter.c \ + dshow/DS_VideoDecoder.c \ + dshow/allocator.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 \ + +OBJS = $(SRCS:.c=.o) OBJS := $(OBJS:.S=.o) OBJS := $(OBJS:.s=.o) @@ -19,11 +33,18 @@ $(AR) -r $@ $^ $(RANLIB) $@ +dshow/test: libloader.a + $(CC) dshow/test.c $(CFLAGS) -o $@ $^ -lstdc++ + clean: rm -f *.o *.a *~ + rm -f dshow/*.o dshow/*.a dshow/*~ + rm -f dmo/*.o dmo/*.a dmo/*~ distclean: clean rm -f .depend + rm -f dshow/.depend dshow/test dshow/test.raw + rm -f dmo/.depend dep depend: $(CC) -MM $(CFLAGS) $(SRCS) 1>.depend