Mercurial > mplayer.hg
annotate loader/Makefile @ 25585:233c5bbd1c15
Get the dshow test program closer to linking.
author | diego |
---|---|
date | Sun, 06 Jan 2008 11:27:07 +0000 |
parents | 0d1a383697d6 |
children | 2c25326ad773 |
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 |
21178 | 5 #CFLAGS+=-Ddbg_printf=__vprintf -DTRACE=__vprintf -DDETAILED_OUT |
21169
8a017ed1c615
Remove bug workarounds for ancient gcc and libc versions.
diego
parents:
20835
diff
changeset
|
6 |
22528
8bcff5c7e387
Give more descriptive names to the source and library variables and split
diego
parents:
22305
diff
changeset
|
7 SRCS_COMMON = driver.c afl.c vfl.c |
20825 | 8 ifneq ($(TARGET_WIN32),yes) |
22528
8bcff5c7e387
Give more descriptive names to the source and library variables and split
diego
parents:
22305
diff
changeset
|
9 SRCS_COMMON += ldt_keeper.c pe_image.c module.c ext.c win32.c \ |
22531
090ec2169aee
cosmetics: Fix indentation, reorder some lines for consistency.
diego
parents:
22528
diff
changeset
|
10 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
|
11 # QTX emulation is not supported in Darwin |
efc774a1e5a4
fix compilation for win32 dll codec support for intel osx
nplourde
parents:
21259
diff
changeset
|
12 ifneq ($(TARGET_OS),Darwin) |
22528
8bcff5c7e387
Give more descriptive names to the source and library variables and split
diego
parents:
22305
diff
changeset
|
13 SRCS_COMMON += wrapper.S |
24663
f5610b142363
Detect support of and add necessary CFLAGS to avoid crashes when loading
diego
parents:
24201
diff
changeset
|
14 else |
f5610b142363
Detect support of and add necessary CFLAGS to avoid crashes when loading
diego
parents:
24201
diff
changeset
|
15 win32.o: CFLAGS += $(CFLAG_STACKREALIGN) |
12680 | 16 endif |
21315
410a59bd1897
wrapper.S should be compiled on non-Darwin, non-Windows systems.
diego
parents:
21298
diff
changeset
|
17 endif |
1 | 18 |
22528
8bcff5c7e387
Give more descriptive names to the source and library variables and split
diego
parents:
22305
diff
changeset
|
19 SRCS_COMMON += dshow/DS_AudioDecoder.c \ |
22531
090ec2169aee
cosmetics: Fix indentation, reorder some lines for consistency.
diego
parents:
22528
diff
changeset
|
20 dshow/DS_Filter.c \ |
090ec2169aee
cosmetics: Fix indentation, reorder some lines for consistency.
diego
parents:
22528
diff
changeset
|
21 dshow/DS_VideoDecoder.c \ |
090ec2169aee
cosmetics: Fix indentation, reorder some lines for consistency.
diego
parents:
22528
diff
changeset
|
22 dshow/allocator.c \ |
090ec2169aee
cosmetics: Fix indentation, reorder some lines for consistency.
diego
parents:
22528
diff
changeset
|
23 dshow/mediatype.c \ |
090ec2169aee
cosmetics: Fix indentation, reorder some lines for consistency.
diego
parents:
22528
diff
changeset
|
24 dshow/cmediasample.c \ |
090ec2169aee
cosmetics: Fix indentation, reorder some lines for consistency.
diego
parents:
22528
diff
changeset
|
25 dshow/guids.c \ |
090ec2169aee
cosmetics: Fix indentation, reorder some lines for consistency.
diego
parents:
22528
diff
changeset
|
26 dshow/inputpin.c \ |
090ec2169aee
cosmetics: Fix indentation, reorder some lines for consistency.
diego
parents:
22528
diff
changeset
|
27 dshow/outputpin.c \ |
090ec2169aee
cosmetics: Fix indentation, reorder some lines for consistency.
diego
parents:
22528
diff
changeset
|
28 dmo/DMO_AudioDecoder.c \ |
090ec2169aee
cosmetics: Fix indentation, reorder some lines for consistency.
diego
parents:
22528
diff
changeset
|
29 dmo/DMO_VideoDecoder.c \ |
090ec2169aee
cosmetics: Fix indentation, reorder some lines for consistency.
diego
parents:
22528
diff
changeset
|
30 dmo/buffer.c \ |
090ec2169aee
cosmetics: Fix indentation, reorder some lines for consistency.
diego
parents:
22528
diff
changeset
|
31 dmo/dmo.c \ |
090ec2169aee
cosmetics: Fix indentation, reorder some lines for consistency.
diego
parents:
22528
diff
changeset
|
32 dmo/dmo_guids.c \ |
21185 | 33 |
21259
92b122592776
Merge common parts of all Makefiles into one file included by all.
diego
parents:
21218
diff
changeset
|
34 include ../mpcommon.mak |
21183 | 35 |
21624
78e06aec663a
Fix crashes in loader code: There is still some code that can not handle omitted frame pointers.
reimar
parents:
21368
diff
changeset
|
36 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
|
37 |
25585 | 38 dshow/test: dshow/test.c $(LIBNAME_COMMON) ../cpudetect.o ../get_path.o ../mp_msg.o ../mp_fifo.o ../osdep/libosdep.a |
39 $(CC) $(CFLAGS) -o $@ $^ -ltermcap -ldl -lm -lpthread -g -lstdc++ | |
21185 | 40 |
21259
92b122592776
Merge common parts of all Makefiles into one file included by all.
diego
parents:
21218
diff
changeset
|
41 clean:: |
21185 | 42 rm -f dshow/*.o dshow/*.a dshow/*~ |
43 rm -f dmo/*.o dmo/*.a dmo/*~ | |
1 | 44 |
21259
92b122592776
Merge common parts of all Makefiles into one file included by all.
diego
parents:
21218
diff
changeset
|
45 distclean:: |
21218 | 46 rm -f dshow/test dshow/test.raw |