1
0
mirror of https://github.com/mpv-player/mpv synced 2025-02-22 15:56:59 +00:00

Merge simplifications from FFmpeg r12764.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26349 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
diego 2008-04-08 17:06:25 +00:00
parent 4022a072f0
commit ae75174784
2 changed files with 4 additions and 3 deletions

View File

@ -4,7 +4,7 @@
all: # make "all" default target
ifeq ($(SUBDIR),)
ifndef SUBDIR
vpath %.c $(SRC_DIR)
vpath %.h $(SRC_DIR)
vpath %.S $(SRC_DIR)
@ -36,6 +36,7 @@ OBJS += $(OBJS-yes)
ASM_OBJS += $(ASM_OBJS-yes)
CPP_OBJS += $(CPP_OBJS-yes)
FFLIBS := $(FFLIBS-yes) $(FFLIBS)
TESTS += $(TESTS-yes)
FFEXTRALIBS := $(addprefix -l,$(addsuffix $(BUILDSUF),$(FFLIBS))) $(EXTRALIBS)
FFLDFLAGS := $(addprefix -L$(BUILD_ROOT)/lib,$(FFLIBS)) $(LDFLAGS)

View File

@ -19,7 +19,7 @@ endif
INCINSTDIR := $(INCDIR)/lib$(NAME)
define RULES
ifeq ($(BUILD_SHARED),yes)
ifdef BUILD_SHARED
all: $(SUBDIR)$(SLIBNAME)
install-libs: install-lib$(NAME)-shared
@ -32,7 +32,7 @@ $(SUBDIR)$(SLIBNAME_WITH_MAJOR): $(OBJS)
$(CC) $(SHFLAGS) $(FFLDFLAGS) -o $$@ $$^ $(FFEXTRALIBS) $(EXTRAOBJS)
$(SLIB_EXTRA_CMD)
ifneq ($(SUBDIR),)
ifdef SUBDIR
$(SUBDIR)$(SLIBNAME_WITH_MAJOR): \
$(foreach L,$(FFLIBS),lib$(L)/$(SLIBPREF)$(L)$(SLIBSUF))
endif