1
0
mirror of https://github.com/mpv-player/mpv synced 2025-01-31 12:11:52 +00:00

Use default variable names.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20841 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
diego 2006-11-10 18:27:33 +00:00
parent 6d06eb4082
commit a70fd19af3

View File

@ -4,14 +4,14 @@ include ../config.mak
DEFINES=-DMPLAYER -D__WINE__ #-Ddbg_printf=__vprintf \ DEFINES=-DMPLAYER -D__WINE__ #-Ddbg_printf=__vprintf \
#-DTRACE=__vprintf # -DDETAILED_OUT #-DTRACE=__vprintf # -DDETAILED_OUT
ifeq ($(TARGET_WIN32),yes) SRCS= driver.c afl.c vfl.c
LIB_OBJECTS= driver.o afl.o vfl.o ifneq ($(TARGET_WIN32),yes)
else SRCS+= ldt_keeper.c pe_image.c module.c ext.c win32.c \
LIB_OBJECTS= ldt_keeper.o pe_image.o module.o ext.o win32.o \ pe_resource.c resource.c registry.c elfdll.c wrapper.S
driver.o pe_resource.o resource.o registry.o \
elfdll.o afl.o vfl.o wrapper.o
endif endif
OBJS = $(SRCS:.c=.o)
# gcc-3.0 produces buggy code for acmStreamOpen() with # gcc-3.0 produces buggy code for acmStreamOpen() with
# "-O3 -fomit-frame-pointer" or "-O2 -fomit-frame-pointer # "-O3 -fomit-frame-pointer" or "-O2 -fomit-frame-pointer
# -finline-functions -frename-registers" (code is OK with sole -O2), # -finline-functions -frename-registers" (code is OK with sole -O2),
@ -33,12 +33,12 @@ distclean: clean
.c.o: .c.o:
$(CC) $(CFLAGS) $(DEFINES) -c $< $(CC) $(CFLAGS) $(DEFINES) -c $<
libloader.a: $(LIB_OBJECTS) stubs.s libloader.a: $(OBJS) stubs.s
$(CC) -c ./stubs.s -o stubs.o $(CC) -c ./stubs.s -o stubs.o
ifeq ($(TARGET_OS),OpenBSD) ifeq ($(TARGET_OS),OpenBSD)
./loader_objfix.sh ./loader_objfix.sh
endif endif
$(AR) -r libloader.a $(LIB_OBJECTS) stubs.o $(AR) -r libloader.a $(OBJS) stubs.o
$(RANLIB) libloader.a $(RANLIB) libloader.a
dep: dep: