Mercurial > mplayer.hg
annotate loader/Makefile @ 21259:92b122592776
Merge common parts of all Makefiles into one file included by all.
author | diego |
---|---|
date | Sun, 26 Nov 2006 18:12:36 +0000 |
parents | f9014ec91226 |
children | efc774a1e5a4 |
rev | line source |
---|---|
1 | 1 include ../config.mak |
2 | |
21259
92b122592776
Merge common parts of all Makefiles into one file included by all.
diego
parents:
21218
diff
changeset
|
3 LIBNAME = libloader.a |
92b122592776
Merge common parts of all Makefiles into one file included by all.
diego
parents:
21218
diff
changeset
|
4 |
92b122592776
Merge common parts of all Makefiles into one file included by all.
diego
parents:
21218
diff
changeset
|
5 CFLAGS= -Idshow -DMPLAYER -D__WINE__ -DNOAVIFILE_HEADERS |
21178 | 6 #CFLAGS+=-Ddbg_printf=__vprintf -DTRACE=__vprintf -DDETAILED_OUT |
21169
8a017ed1c615
Remove bug workarounds for ancient gcc and libc versions.
diego
parents:
20835
diff
changeset
|
7 |
20825 | 8 SRCS= driver.c afl.c vfl.c |
9 ifneq ($(TARGET_WIN32),yes) | |
10 SRCS+= ldt_keeper.c pe_image.c module.c ext.c win32.c \ | |
21181 | 11 pe_resource.c resource.c registry.c elfdll.c wrapper.S stubs.s |
12680 | 12 endif |
1 | 13 |
21185 | 14 SRCS+= dshow/DS_AudioDecoder.c \ |
15 dshow/DS_Filter.c \ | |
16 dshow/DS_VideoDecoder.c \ | |
17 dshow/allocator.c \ | |
18 dshow/cmediasample.c \ | |
19 dshow/guids.c \ | |
20 dshow/inputpin.c \ | |
21 dshow/outputpin.c \ | |
22 dmo/DMO_AudioDecoder.c \ | |
23 dmo/DMO_VideoDecoder.c \ | |
24 dmo/buffer.c \ | |
25 dmo/dmo.c \ | |
26 dmo/dmo_guids.c \ | |
27 | |
21259
92b122592776
Merge common parts of all Makefiles into one file included by all.
diego
parents:
21218
diff
changeset
|
28 include ../mpcommon.mak |
21183 | 29 |
21185 | 30 dshow/test: libloader.a |
31 $(CC) dshow/test.c $(CFLAGS) -o $@ $^ -lstdc++ | |
32 | |
21259
92b122592776
Merge common parts of all Makefiles into one file included by all.
diego
parents:
21218
diff
changeset
|
33 clean:: |
21185 | 34 rm -f dshow/*.o dshow/*.a dshow/*~ |
35 rm -f dmo/*.o dmo/*.a dmo/*~ | |
1 | 36 |
21259
92b122592776
Merge common parts of all Makefiles into one file included by all.
diego
parents:
21218
diff
changeset
|
37 distclean:: |
21218 | 38 rm -f dshow/test dshow/test.raw |