annotate loader/Makefile @ 21182:b5e20880785f

Remove superfluous suffix rule.
author diego
date Sat, 25 Nov 2006 00:08:15 +0000
parents d2a3e5845d17
children 2b2580edbd10
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1 include ../config.mak
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
2
21178
c9ac2772aa2e Clean up CFLAGS handling.
diego
parents: 21169
diff changeset
3 CFLAGS=-I. -I.. -DMPLAYER -D__WINE__ $(OPTFLAGS)
c9ac2772aa2e Clean up CFLAGS handling.
diego
parents: 21169
diff changeset
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
f596e1b45ba7 Use default variable names.
diego
parents: 20824
diff changeset
6 SRCS= driver.c afl.c vfl.c
f596e1b45ba7 Use default variable names.
diego
parents: 20824
diff changeset
7 ifneq ($(TARGET_WIN32),yes)
f596e1b45ba7 Use default variable names.
diego
parents: 20824
diff changeset
8 SRCS+= ldt_keeper.c pe_image.c module.c ext.c win32.c \
21181
d2a3e5845d17 Handle stubs.s like all other source files.
diego
parents: 21179
diff changeset
9 pe_resource.c resource.c registry.c elfdll.c wrapper.S stubs.s
12680
331104f5743c fix loader build on windows
faust3
parents: 12632
diff changeset
10 endif
1
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
11
20825
f596e1b45ba7 Use default variable names.
diego
parents: 20824
diff changeset
12 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
13 OBJS := $(OBJS:.S=.o)
21181
d2a3e5845d17 Handle stubs.s like all other source files.
diego
parents: 21179
diff changeset
14 OBJS := $(OBJS:.s=.o)
20825
f596e1b45ba7 Use default variable names.
diego
parents: 20824
diff changeset
15
1
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
16 all: libloader.a
1307
d8c1b0b38edc Add prototypes to wine/loader stuff, so that we can catch __stdcall function
jkeil
parents: 235
diff changeset
17
1
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
18 clean:
17488
ce1ba8fd57e7 Make clean/distclean behave uniformly in all directories.
diego
parents: 12680
diff changeset
19 rm -f *.o *.a *~
1
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
20
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
21 distclean: clean
21179
10f8f9918ec9 Remove .depend on distclean.
diego
parents: 21178
diff changeset
22 rm -f .depend
1
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
23
21181
d2a3e5845d17 Handle stubs.s like all other source files.
diego
parents: 21179
diff changeset
24 libloader.a: $(OBJS)
d2a3e5845d17 Handle stubs.s like all other source files.
diego
parents: 21179
diff changeset
25 $(AR) -r libloader.a $(OBJS)
12632
80973aa180a5 ranlib cleanup by Dan Christiansen
alex
parents: 11875
diff changeset
26 $(RANLIB) libloader.a
1
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
27
20827
b44ff1c746fe Add standard depend target.
diego
parents: 20826
diff changeset
28 dep depend:
b44ff1c746fe Add standard depend target.
diego
parents: 20826
diff changeset
29 $(CC) -MM $(CFLAGS) $(SRCS) 1>.depend
b44ff1c746fe Add standard depend target.
diego
parents: 20826
diff changeset
30
b44ff1c746fe Add standard depend target.
diego
parents: 20826
diff changeset
31 #
b44ff1c746fe Add standard depend target.
diego
parents: 20826
diff changeset
32 # include dependency files if they exist
b44ff1c746fe Add standard depend target.
diego
parents: 20826
diff changeset
33 #
b44ff1c746fe Add standard depend target.
diego
parents: 20826
diff changeset
34 ifneq ($(wildcard .depend),)
b44ff1c746fe Add standard depend target.
diego
parents: 20826
diff changeset
35 include .depend
b44ff1c746fe Add standard depend target.
diego
parents: 20826
diff changeset
36 endif