Mercurial > mplayer.hg
changeset 26317:955f4b8ac094
Merge simplifications from FFmpeg r12764.
author | diego |
---|---|
date | Tue, 08 Apr 2008 17:06:25 +0000 |
parents | 7abf7a9345d9 |
children | 7e0162c50768 |
files | common.mak subdir.mak |
diffstat | 2 files changed, 4 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/common.mak Mon Apr 07 23:49:39 2008 +0000 +++ b/common.mak Tue Apr 08 17:06:25 2008 +0000 @@ -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 @@ 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)
--- a/subdir.mak Mon Apr 07 23:49:39 2008 +0000 +++ b/subdir.mak Tue Apr 08 17:06:25 2008 +0000 @@ -19,7 +19,7 @@ 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 @@ $(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