comparison loader/Makefile @ 20825:f596e1b45ba7

Use default variable names.
author diego
date Fri, 10 Nov 2006 18:27:33 +0000
parents 8c6ace19e785
children bad45d01be6a
comparison
equal deleted inserted replaced
20824:8c6ace19e785 20825:f596e1b45ba7
2 2
3 # Generated automatically from Makefile.in by configure. 3 # Generated automatically from Makefile.in by configure.
4 DEFINES=-DMPLAYER -D__WINE__ #-Ddbg_printf=__vprintf \ 4 DEFINES=-DMPLAYER -D__WINE__ #-Ddbg_printf=__vprintf \
5 #-DTRACE=__vprintf # -DDETAILED_OUT 5 #-DTRACE=__vprintf # -DDETAILED_OUT
6 6
7 ifeq ($(TARGET_WIN32),yes) 7 SRCS= driver.c afl.c vfl.c
8 LIB_OBJECTS= driver.o afl.o vfl.o 8 ifneq ($(TARGET_WIN32),yes)
9 else 9 SRCS+= ldt_keeper.c pe_image.c module.c ext.c win32.c \
10 LIB_OBJECTS= ldt_keeper.o pe_image.o module.o ext.o win32.o \ 10 pe_resource.c resource.c registry.c elfdll.c wrapper.S
11 driver.o pe_resource.o resource.o registry.o \
12 elfdll.o afl.o vfl.o wrapper.o
13 endif 11 endif
12
13 OBJS = $(SRCS:.c=.o)
14 14
15 # gcc-3.0 produces buggy code for acmStreamOpen() with 15 # gcc-3.0 produces buggy code for acmStreamOpen() with
16 # "-O3 -fomit-frame-pointer" or "-O2 -fomit-frame-pointer 16 # "-O3 -fomit-frame-pointer" or "-O2 -fomit-frame-pointer
17 # -finline-functions -frename-registers" (code is OK with sole -O2), 17 # -finline-functions -frename-registers" (code is OK with sole -O2),
18 # the bad code accesses parameters via %ebp without setting up a 18 # the bad code accesses parameters via %ebp without setting up a
31 distclean: clean 31 distclean: clean
32 32
33 .c.o: 33 .c.o:
34 $(CC) $(CFLAGS) $(DEFINES) -c $< 34 $(CC) $(CFLAGS) $(DEFINES) -c $<
35 35
36 libloader.a: $(LIB_OBJECTS) stubs.s 36 libloader.a: $(OBJS) stubs.s
37 $(CC) -c ./stubs.s -o stubs.o 37 $(CC) -c ./stubs.s -o stubs.o
38 ifeq ($(TARGET_OS),OpenBSD) 38 ifeq ($(TARGET_OS),OpenBSD)
39 ./loader_objfix.sh 39 ./loader_objfix.sh
40 endif 40 endif
41 $(AR) -r libloader.a $(LIB_OBJECTS) stubs.o 41 $(AR) -r libloader.a $(OBJS) stubs.o
42 $(RANLIB) libloader.a 42 $(RANLIB) libloader.a
43 43
44 dep: 44 dep:
45 echo "dependency not required/supported" 45 echo "dependency not required/supported"