Revision 9bcc2883

View differences:

Makefile
51 51

  
52 52
.depend: version.h $(PROGS_SRCS)
53 53

  
54
# bandaid to disable triggering shared library installation routines
55
DISABLE=yes
56

  
54 57
include common.mak
55 58

  
56 59
VHOOKCFLAGS += $(filter-out -mdynamic-no-pic,$(CFLAGS))
common.mak
31 31

  
32 32
all: $(LIBNAME) $(SLIBNAME)
33 33

  
34
$(LIBNAME): $(OBJS)
34
$(LIBNAME)$(DISABLE): $(OBJS)
35 35
	rm -f $@
36 36
	$(AR) rc $@ $^ $(EXTRAOBJS)
37 37
	$(RANLIB) $@
38 38

  
39
$(SLIBNAME): $(SLIBNAME_WITH_MAJOR)
39
$(SLIBNAME)$(DISABLE): $(SLIBNAME_WITH_MAJOR)
40 40
	$(LN_S) $^ $@
41 41

  
42 42
$(SLIBNAME_WITH_MAJOR): $(OBJS)
......
76 76

  
77 77
install: install-libs install-headers
78 78

  
79
install-libs: $(INSTALL_LIB_TARGETS-yes)
79
install-libs$(DISABLE): $(INSTALL_LIB_TARGETS-yes)
80 80

  
81 81
install-lib-shared: $(SLIBNAME)
82 82
	install -d "$(SHLIBDIR)"
......
95 95

  
96 96
INCINSTDIR = $(INCDIR)/lib$(NAME)
97 97

  
98
install-headers::
98
install-headers$(DISABLE)::
99 99
	install -d "$(INCINSTDIR)"
100 100
	install -d "$(LIBDIR)/pkgconfig"
101 101
	install -m 644 $(addprefix "$(SRC_DIR)"/,$(HEADERS)) "$(INCINSTDIR)"

Also available in: Unified diff