Mercurial > mplayer.hg
annotate loader/Makefile @ 21171:9412a906a058
fix another typo
author | ivo |
---|---|
date | Fri, 24 Nov 2006 11:27:08 +0000 |
parents | 8a017ed1c615 |
children | c9ac2772aa2e |
rev | line source |
---|---|
1 | 1 include ../config.mak |
2 | |
3 # Generated automatically from Makefile.in by configure. | |
9962 | 4 DEFINES=-DMPLAYER -D__WINE__ #-Ddbg_printf=__vprintf \ |
5 #-DTRACE=__vprintf # -DDETAILED_OUT | |
1 | 6 |
21169
8a017ed1c615
Remove bug workarounds for ancient gcc and libc versions.
diego
parents:
20835
diff
changeset
|
7 CFLAGS=-I. -I.. $(OPTFLAGS) |
8a017ed1c615
Remove bug workarounds for ancient gcc and libc versions.
diego
parents:
20835
diff
changeset
|
8 |
20825 | 9 SRCS= driver.c afl.c vfl.c |
10 ifneq ($(TARGET_WIN32),yes) | |
11 SRCS+= ldt_keeper.c pe_image.c module.c ext.c win32.c \ | |
12 pe_resource.c resource.c registry.c elfdll.c wrapper.S | |
12680 | 13 endif |
1 | 14 |
20825 | 15 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
|
16 OBJS := $(OBJS:.S=.o) |
20825 | 17 |
1 | 18 all: libloader.a |
1307
d8c1b0b38edc
Add prototypes to wine/loader stuff, so that we can catch __stdcall function
jkeil
parents:
235
diff
changeset
|
19 |
1 | 20 clean: |
17488
ce1ba8fd57e7
Make clean/distclean behave uniformly in all directories.
diego
parents:
12680
diff
changeset
|
21 rm -f *.o *.a *~ |
1 | 22 |
23 distclean: clean | |
24 | |
11875
6b28eb95c08b
* changes mencoder's exit code on explicit kill to 2
attila
parents:
9962
diff
changeset
|
25 .c.o: |
1 | 26 $(CC) $(CFLAGS) $(DEFINES) -c $< |
27 | |
20825 | 28 libloader.a: $(OBJS) stubs.s |
1 | 29 $(CC) -c ./stubs.s -o stubs.o |
20825 | 30 $(AR) -r libloader.a $(OBJS) stubs.o |
12632 | 31 $(RANLIB) libloader.a |
1 | 32 |
20827 | 33 dep depend: |
34 $(CC) -MM $(CFLAGS) $(SRCS) 1>.depend | |
35 | |
36 # | |
37 # include dependency files if they exist | |
38 # | |
39 ifneq ($(wildcard .depend),) | |
40 include .depend | |
41 endif |