annotate loader/Makefile @ 21171:9412a906a058

fix another typo
author ivo
date Fri, 24 Nov 2006 11:27:08 +0000
parents 8a017ed1c615
children c9ac2772aa2e
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
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
3 # Generated automatically from Makefile.in by configure.
9962
496fbdabeb7c moved some obsolete debug stuff
alex
parents: 9462
diff changeset
4 DEFINES=-DMPLAYER -D__WINE__ #-Ddbg_printf=__vprintf \
496fbdabeb7c moved some obsolete debug stuff
alex
parents: 9462
diff changeset
5 #-DTRACE=__vprintf # -DDETAILED_OUT
1
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
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
f596e1b45ba7 Use default variable names.
diego
parents: 20824
diff changeset
9 SRCS= driver.c afl.c vfl.c
f596e1b45ba7 Use default variable names.
diego
parents: 20824
diff changeset
10 ifneq ($(TARGET_WIN32),yes)
f596e1b45ba7 Use default variable names.
diego
parents: 20824
diff changeset
11 SRCS+= ldt_keeper.c pe_image.c module.c ext.c win32.c \
f596e1b45ba7 Use default variable names.
diego
parents: 20824
diff changeset
12 pe_resource.c resource.c registry.c elfdll.c wrapper.S
12680
331104f5743c fix loader build on windows
faust3
parents: 12632
diff changeset
13 endif
1
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
14
20825
f596e1b45ba7 Use default variable names.
diego
parents: 20824
diff changeset
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
f596e1b45ba7 Use default variable names.
diego
parents: 20824
diff changeset
17
1
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
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
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
20 clean:
17488
ce1ba8fd57e7 Make clean/distclean behave uniformly in all directories.
diego
parents: 12680
diff changeset
21 rm -f *.o *.a *~
1
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
22
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
23 distclean: clean
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
24
11875
6b28eb95c08b * changes mencoder's exit code on explicit kill to 2
attila
parents: 9962
diff changeset
25 .c.o:
1
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
26 $(CC) $(CFLAGS) $(DEFINES) -c $<
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
27
20825
f596e1b45ba7 Use default variable names.
diego
parents: 20824
diff changeset
28 libloader.a: $(OBJS) stubs.s
1
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
29 $(CC) -c ./stubs.s -o stubs.o
20825
f596e1b45ba7 Use default variable names.
diego
parents: 20824
diff changeset
30 $(AR) -r libloader.a $(OBJS) stubs.o
12632
80973aa180a5 ranlib cleanup by Dan Christiansen
alex
parents: 11875
diff changeset
31 $(RANLIB) libloader.a
1
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
32
20827
b44ff1c746fe Add standard depend target.
diego
parents: 20826
diff changeset
33 dep depend:
b44ff1c746fe Add standard depend target.
diego
parents: 20826
diff changeset
34 $(CC) -MM $(CFLAGS) $(SRCS) 1>.depend
b44ff1c746fe Add standard depend target.
diego
parents: 20826
diff changeset
35
b44ff1c746fe Add standard depend target.
diego
parents: 20826
diff changeset
36 #
b44ff1c746fe Add standard depend target.
diego
parents: 20826
diff changeset
37 # include dependency files if they exist
b44ff1c746fe Add standard depend target.
diego
parents: 20826
diff changeset
38 #
b44ff1c746fe Add standard depend target.
diego
parents: 20826
diff changeset
39 ifneq ($(wildcard .depend),)
b44ff1c746fe Add standard depend target.
diego
parents: 20826
diff changeset
40 include .depend
b44ff1c746fe Add standard depend target.
diego
parents: 20826
diff changeset
41 endif