summaryrefslogtreecommitdiffstats
path: root/subdir.mak
diff options
context:
space:
mode:
authorMåns Rullgård <mans@mansr.com>2009-07-28 08:58:48 +0000
committerMåns Rullgård <mans@mansr.com>2009-07-28 08:58:48 +0000
commitbea81a52c9fd946ecf37a5d982d94be01d7b12e3 (patch)
tree8b007afaf946bf49e24677cc163eddd5b08a474a /subdir.mak
parentcd78208bd6699293b26f3a657b9148a26bab1237 (diff)
downloadffmpeg-streaming-bea81a52c9fd946ecf37a5d982d94be01d7b12e3.zip
ffmpeg-streaming-bea81a52c9fd946ecf37a5d982d94be01d7b12e3.tar.gz
Replace BUILD_{SHARED,STATIC} with CONFIG_ counterparts
Originally committed as revision 19527 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'subdir.mak')
-rw-r--r--subdir.mak6
1 files changed, 3 insertions, 3 deletions
diff --git a/subdir.mak b/subdir.mak
index 4824bc6..ada6e53 100644
--- a/subdir.mak
+++ b/subdir.mak
@@ -5,7 +5,7 @@ include $(SUBDIR)../common.mak
LIBVERSION := $(lib$(NAME)_VERSION)
LIBMAJOR := $(lib$(NAME)_VERSION_MAJOR)
-ifeq ($(BUILD_STATIC),yes)
+ifeq ($(CONFIG_STATIC),yes)
all: $(SUBDIR)$(LIBNAME)
install-libs: install-lib$(NAME)-static
@@ -18,7 +18,7 @@ endif
INCINSTDIR := $(INCDIR)/lib$(NAME)
-THIS_LIB := $(SUBDIR)$($(BUILD_SHARED:yes=S)LIBNAME)
+THIS_LIB := $(SUBDIR)$($(CONFIG_SHARED:yes=S)LIBNAME)
define RULES
$(SUBDIR)%$(EXESUF): $(SUBDIR)%.o
@@ -44,7 +44,7 @@ distclean:: clean
rm -f $(addprefix $(SUBDIR),$(DISTCLEANSUFFIXES)) \
$(addprefix $(SUBDIR), $(foreach suffix,$(DISTCLEANSUFFIXES),$(addsuffix /$(suffix),$(DIRS))))
-ifdef BUILD_SHARED
+ifdef CONFIG_SHARED
all: $(SUBDIR)$(SLIBNAME)
install-libs: install-lib$(NAME)-shared
OpenPOWER on IntegriCloud