Revision bea81a52 subdir.mak

View differences:

subdir.mak
5 5
LIBVERSION := $(lib$(NAME)_VERSION)
6 6
LIBMAJOR   := $(lib$(NAME)_VERSION_MAJOR)
7 7

  
8
ifeq ($(BUILD_STATIC),yes)
8
ifeq ($(CONFIG_STATIC),yes)
9 9
all: $(SUBDIR)$(LIBNAME)
10 10

  
11 11
install-libs: install-lib$(NAME)-static
......
18 18

  
19 19
INCINSTDIR := $(INCDIR)/lib$(NAME)
20 20

  
21
THIS_LIB := $(SUBDIR)$($(BUILD_SHARED:yes=S)LIBNAME)
21
THIS_LIB := $(SUBDIR)$($(CONFIG_SHARED:yes=S)LIBNAME)
22 22

  
23 23
define RULES
24 24
$(SUBDIR)%$(EXESUF): $(SUBDIR)%.o
......
44 44
	rm -f  $(addprefix $(SUBDIR),$(DISTCLEANSUFFIXES)) \
45 45
            $(addprefix $(SUBDIR), $(foreach suffix,$(DISTCLEANSUFFIXES),$(addsuffix /$(suffix),$(DIRS))))
46 46

  
47
ifdef BUILD_SHARED
47
ifdef CONFIG_SHARED
48 48
all: $(SUBDIR)$(SLIBNAME)
49 49

  
50 50
install-libs: install-lib$(NAME)-shared

Also available in: Unified diff