Mercurial > mplayer.hg
annotate loader/Makefile @ 22528:8bcff5c7e387
Give more descriptive names to the source and library variables and split
between common, MPlayer-specific and MEncoder-specific parts.
author | diego |
---|---|
date | Tue, 13 Mar 2007 12:10:57 +0000 |
parents | 3d1b23cf3d08 |
children | 090ec2169aee |
rev | line source |
---|---|
1 | 1 include ../config.mak |
2 | |
22528
8bcff5c7e387
Give more descriptive names to the source and library variables and split
diego
parents:
22305
diff
changeset
|
3 LIBNAME_COMMON = libloader.a |
21259
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 |
22528
8bcff5c7e387
Give more descriptive names to the source and library variables and split
diego
parents:
22305
diff
changeset
|
8 SRCS_COMMON = driver.c afl.c vfl.c |
20825 | 9 ifneq ($(TARGET_WIN32),yes) |
22528
8bcff5c7e387
Give more descriptive names to the source and library variables and split
diego
parents:
22305
diff
changeset
|
10 SRCS_COMMON += ldt_keeper.c pe_image.c module.c ext.c win32.c \ |
21368 | 11 pe_resource.c resource.c registry.c elfdll.c |
21290
efc774a1e5a4
fix compilation for win32 dll codec support for intel osx
nplourde
parents:
21259
diff
changeset
|
12 # QTX emulation is not supported in Darwin |
efc774a1e5a4
fix compilation for win32 dll codec support for intel osx
nplourde
parents:
21259
diff
changeset
|
13 ifneq ($(TARGET_OS),Darwin) |
22528
8bcff5c7e387
Give more descriptive names to the source and library variables and split
diego
parents:
22305
diff
changeset
|
14 SRCS_COMMON += wrapper.S |
12680 | 15 endif |
21315
410a59bd1897
wrapper.S should be compiled on non-Darwin, non-Windows systems.
diego
parents:
21298
diff
changeset
|
16 endif |
1 | 17 |
22528
8bcff5c7e387
Give more descriptive names to the source and library variables and split
diego
parents:
22305
diff
changeset
|
18 SRCS_COMMON += dshow/DS_AudioDecoder.c \ |
21185 | 19 dshow/DS_Filter.c \ |
20 dshow/DS_VideoDecoder.c \ | |
21 dshow/allocator.c \ | |
22305
3d1b23cf3d08
Moving duplicated (and sometimes wrong) AM_MEDIA_TYPE related code into separate file
voroshil
parents:
21624
diff
changeset
|
22 dshow/mediatype.c \ |
21185 | 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 |
21624
78e06aec663a
Fix crashes in loader code: There is still some code that can not handle omitted frame pointers.
reimar
parents:
21368
diff
changeset
|
35 CFLAGS+=-fno-omit-frame-pointer -mno-omit-leaf-frame-pointer |
78e06aec663a
Fix crashes in loader code: There is still some code that can not handle omitted frame pointers.
reimar
parents:
21368
diff
changeset
|
36 |
21298 | 37 dshow/test: dshow/test.c $(LIBNAME) |
38 $(CC) $(CFLAGS) -o $@ $^ -lstdc++ | |
21185 | 39 |
21259
92b122592776
Merge common parts of all Makefiles into one file included by all.
diego
parents:
21218
diff
changeset
|
40 clean:: |
21185 | 41 rm -f dshow/*.o dshow/*.a dshow/*~ |
42 rm -f dmo/*.o dmo/*.a dmo/*~ | |
1 | 43 |
21259
92b122592776
Merge common parts of all Makefiles into one file included by all.
diego
parents:
21218
diff
changeset
|
44 distclean:: |
21218 | 45 rm -f dshow/test dshow/test.raw |