Mercurial > mplayer.hg
annotate loader/Makefile @ 21218:f9014ec91226
There are no more .depend files in subdirectories.
author | diego |
---|---|
date | Sat, 25 Nov 2006 17:31:07 +0000 |
parents | 68df3b19a160 |
children | 92b122592776 |
rev | line source |
---|---|
1 | 1 include ../config.mak |
2 | |
21185 | 3 CFLAGS=-I. -I.. -Idshow -DMPLAYER -D__WINE__ -DNOAVIFILE_HEADERS $(OPTFLAGS) |
21178 | 4 #CFLAGS+=-Ddbg_printf=__vprintf -DTRACE=__vprintf -DDETAILED_OUT |
21169
8a017ed1c615
Remove bug workarounds for ancient gcc and libc versions.
diego
parents:
20835
diff
changeset
|
5 |
20825 | 6 SRCS= driver.c afl.c vfl.c |
7 ifneq ($(TARGET_WIN32),yes) | |
8 SRCS+= ldt_keeper.c pe_image.c module.c ext.c win32.c \ | |
21181 | 9 pe_resource.c resource.c registry.c elfdll.c wrapper.S stubs.s |
12680 | 10 endif |
1 | 11 |
21185 | 12 SRCS+= dshow/DS_AudioDecoder.c \ |
13 dshow/DS_Filter.c \ | |
14 dshow/DS_VideoDecoder.c \ | |
15 dshow/allocator.c \ | |
16 dshow/cmediasample.c \ | |
17 dshow/guids.c \ | |
18 dshow/inputpin.c \ | |
19 dshow/outputpin.c \ | |
20 dmo/DMO_AudioDecoder.c \ | |
21 dmo/DMO_VideoDecoder.c \ | |
22 dmo/buffer.c \ | |
23 dmo/dmo.c \ | |
24 dmo/dmo_guids.c \ | |
25 | |
26 OBJS = $(SRCS:.c=.o) | |
20835
60e80b52abdd
Hack to make wrapper.S be compiled again. Someone who knows make please fix properly.
reimar
parents:
20827
diff
changeset
|
27 OBJS := $(OBJS:.S=.o) |
21181 | 28 OBJS := $(OBJS:.s=.o) |
20825 | 29 |
1 | 30 all: libloader.a |
1307
d8c1b0b38edc
Add prototypes to wine/loader stuff, so that we can catch __stdcall function
jkeil
parents:
235
diff
changeset
|
31 |
21183 | 32 libloader.a: $(OBJS) |
21184
32a571ec877d
Use $@ and $^ to designate target and prerequisites.
diego
parents:
21183
diff
changeset
|
33 $(AR) -r $@ $^ |
32a571ec877d
Use $@ and $^ to designate target and prerequisites.
diego
parents:
21183
diff
changeset
|
34 $(RANLIB) $@ |
21183 | 35 |
21185 | 36 dshow/test: libloader.a |
37 $(CC) dshow/test.c $(CFLAGS) -o $@ $^ -lstdc++ | |
38 | |
1 | 39 clean: |
17488
ce1ba8fd57e7
Make clean/distclean behave uniformly in all directories.
diego
parents:
12680
diff
changeset
|
40 rm -f *.o *.a *~ |
21185 | 41 rm -f dshow/*.o dshow/*.a dshow/*~ |
42 rm -f dmo/*.o dmo/*.a dmo/*~ | |
1 | 43 |
44 distclean: clean | |
21179 | 45 rm -f .depend |
21218 | 46 rm -f dshow/test dshow/test.raw |
1 | 47 |
20827 | 48 dep depend: |
49 $(CC) -MM $(CFLAGS) $(SRCS) 1>.depend | |
50 | |
51 ifneq ($(wildcard .depend),) | |
52 include .depend | |
53 endif |