Mercurial > mplayer.hg
annotate loader/Makefile @ 21298:6b6d7fd5a00d
simplify test target
author | diego |
---|---|
date | Mon, 27 Nov 2006 11:25:15 +0000 |
parents | efc774a1e5a4 |
children | 410a59bd1897 |
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 \ | |
21290
efc774a1e5a4
fix compilation for win32 dll codec support for intel osx
nplourde
parents:
21259
diff
changeset
|
11 pe_resource.c resource.c registry.c elfdll.c stubs.S |
efc774a1e5a4
fix compilation for win32 dll codec support for intel osx
nplourde
parents:
21259
diff
changeset
|
12 endif |
efc774a1e5a4
fix compilation for win32 dll codec support for intel osx
nplourde
parents:
21259
diff
changeset
|
13 |
efc774a1e5a4
fix compilation for win32 dll codec support for intel osx
nplourde
parents:
21259
diff
changeset
|
14 # QTX emulation is not supported in Darwin |
efc774a1e5a4
fix compilation for win32 dll codec support for intel osx
nplourde
parents:
21259
diff
changeset
|
15 ifneq ($(TARGET_OS),Darwin) |
efc774a1e5a4
fix compilation for win32 dll codec support for intel osx
nplourde
parents:
21259
diff
changeset
|
16 SRCS+= wrapper.S |
12680 | 17 endif |
1 | 18 |
21185 | 19 SRCS+= dshow/DS_AudioDecoder.c \ |
20 dshow/DS_Filter.c \ | |
21 dshow/DS_VideoDecoder.c \ | |
22 dshow/allocator.c \ | |
23 dshow/cmediasample.c \ | |
24 dshow/guids.c \ | |
25 dshow/inputpin.c \ | |
26 dshow/outputpin.c \ | |
27 dmo/DMO_AudioDecoder.c \ | |
28 dmo/DMO_VideoDecoder.c \ | |
29 dmo/buffer.c \ | |
30 dmo/dmo.c \ | |
31 dmo/dmo_guids.c \ | |
32 | |
21259
92b122592776
Merge common parts of all Makefiles into one file included by all.
diego
parents:
21218
diff
changeset
|
33 include ../mpcommon.mak |
21183 | 34 |
21298 | 35 dshow/test: dshow/test.c $(LIBNAME) |
36 $(CC) $(CFLAGS) -o $@ $^ -lstdc++ | |
21185 | 37 |
21259
92b122592776
Merge common parts of all Makefiles into one file included by all.
diego
parents:
21218
diff
changeset
|
38 clean:: |
21185 | 39 rm -f dshow/*.o dshow/*.a dshow/*~ |
40 rm -f dmo/*.o dmo/*.a dmo/*~ | |
1 | 41 |
21259
92b122592776
Merge common parts of all Makefiles into one file included by all.
diego
parents:
21218
diff
changeset
|
42 distclean:: |
21218 | 43 rm -f dshow/test dshow/test.raw |