From e2a63bb39fc40d168a361cc46be3134de47c9ece Mon Sep 17 00:00:00 2001 From: Pavel Charvat Date: Tue, 7 Jan 2014 14:30:53 +0100 Subject: [PATCH] Packages: pkg-config dependencies moved to Requires.private. --- charset/Makefile | 4 ++-- charset/libucw-charset.pc | 2 +- images/Makefile | 14 +++++++------- images/libucw-images.pc | 2 +- xml/Makefile | 4 ++-- xml/libucw-xml.pc | 2 +- 6 files changed, 14 insertions(+), 14 deletions(-) diff --git a/charset/Makefile b/charset/Makefile index 2baf00ed..dc074272 100644 --- a/charset/Makefile +++ b/charset/Makefile @@ -8,7 +8,7 @@ LIBCHARSET_INCLUDES=charconv.h unicat.h fb-charconv.h stk-charconv.h mp-charconv $(o)/charset/libucw-charset$(LV).a: $(addsuffix .o,$(addprefix $(o)/charset/,$(LIBCHARSET_MODS))) $(o)/charset/libucw-charset$(LV)-pic.a: $(addsuffix .oo,$(addprefix $(o)/charset/,$(LIBCHARSET_MODS))) -$(o)/charset/libucw-charset$(LV).so: $(addsuffix .oo,$(addprefix $(o)/charset/,$(LIBCHARSET_MODS))) +$(o)/charset/libucw-charset$(LV).so: $(addsuffix .oo,$(addprefix $(o)/charset/,$(LIBCHARSET_MODS))) $(LIBUCW) $(o)/charset/libucw-charset$(LV).so: SONAME_SUFFIX=.$(UCW_ABI_MAJOR) $(o)/charset/libucw-charset.pc: $(LIBUCW) @@ -29,7 +29,7 @@ ifdef CONFIG_CHARSET_UTILS LIBCHARSET_PROGS+=$(o)/charset/ucw-cs2cs endif -$(o)/charset/ucw-cs2cs: $(o)/charset/ucw-cs2cs.o $(LIBCHARSET) +$(o)/charset/ucw-cs2cs: $(o)/charset/ucw-cs2cs.o $(LIBCHARSET) $(LIBUCW) PROGS+=$(LIBCHARSET_PROGS) diff --git a/charset/libucw-charset.pc b/charset/libucw-charset.pc index baf0245b..1795258e 100644 --- a/charset/libucw-charset.pc +++ b/charset/libucw-charset.pc @@ -11,4 +11,4 @@ Description: Character set conversion library Version: @UCW_VERSION@ Cflags: -I${incdir} Libs: -L${libdir} -lucw-charset@UCW_ABI_SUFFIX@${picsuffix} -Requires: @DEPS@ +Requires.private: @DEPS@ diff --git a/images/Makefile b/images/Makefile index 8b4bba34..be7fed3c 100644 --- a/images/Makefile +++ b/images/Makefile @@ -69,22 +69,22 @@ CONFIGS+=$(LIBIMAGES_CONFIGS) $(o)/images/libucw-images$(LV).a: $(addsuffix .o,$(addprefix $(o)/images/,$(LIBIMAGES_MODS))) $(o)/images/libucw-images$(LV)-pic.a: $(addsuffix .oo,$(addprefix $(o)/images/,$(LIBIMAGES_MODS))) -$(o)/images/libucw-images$(LV).so: $(addsuffix .oo,$(addprefix $(o)/images/,$(LIBIMAGES_MODS))) +$(o)/images/libucw-images$(LV).so: $(addsuffix .oo,$(addprefix $(o)/images/,$(LIBIMAGES_MODS))) $(LIBIMAGES_DEPS) $(o)/images/libucw-images$(LV).so: SONAME_SUFFIX=.$(UCW_ABI_MAJOR) $(o)/images/libucw-images$(LV).so: LIBS+=$(LIBIMAGES_LIBS) $(o)/images/libucw-images.pc: $(LIBIMAGES_DEPS) -$(o)/images/ucw-image-tool: $(o)/images/ucw-image-tool.o $(LIBIMAGES) -$(o)/images/ucw-color-tool: $(o)/images/ucw-color-tool.o $(LIBIMAGES) -$(o)/images/ucw-image-dup-test: $(o)/images/ucw-image-dup-test.o $(LIBIMAGES) -$(o)/images/ucw-image-sim-test: $(o)/images/ucw-image-sim-test.o $(LIBIMAGES) +$(o)/images/ucw-image-tool: $(o)/images/ucw-image-tool.o $(LIBIMAGES) $(LIBUCW) +$(o)/images/ucw-color-tool: $(o)/images/ucw-color-tool.o $(LIBIMAGES) $(LIBUCW) +$(o)/images/ucw-image-dup-test: $(o)/images/ucw-image-dup-test.o $(LIBIMAGES) $(LIBUCW) +$(o)/images/ucw-image-sim-test: $(o)/images/ucw-image-sim-test.o $(LIBIMAGES) $(LIBUCW) TESTS+=$(o)/images/image-test.test -$(o)/images/image-test: $(o)/images/image-test.o $(LIBIMAGES) +$(o)/images/image-test: $(o)/images/image-test.o $(LIBIMAGES) $(LIBUCW) $(o)/images/image-test.test: $(o)/images/image-test TESTS+=$(o)/images/color.test -$(o)/images/color-t: $(LIBIMAGES) +$(o)/images/color-t: $(LIBIMAGES) $(LIBUCW) $(o)/images/color.test: $(o)/images/color-t API_LIBS+=libucw-images diff --git a/images/libucw-images.pc b/images/libucw-images.pc index 445a0d0f..7f24b3c0 100644 --- a/images/libucw-images.pc +++ b/images/libucw-images.pc @@ -12,4 +12,4 @@ Version: @UCW_VERSION@ Cflags: -I${incdir} Libs: -L${libdir} -lucw-images@UCW_ABI_SUFFIX@${picsuffix} Libs.private: @LIBIMAGES_LIBS@ -Requires: @DEPS@ +Requires.private: @DEPS@ diff --git a/xml/Makefile b/xml/Makefile index 44e13c6c..7e7d2429 100644 --- a/xml/Makefile +++ b/xml/Makefile @@ -11,7 +11,7 @@ LIBXML_MOD_PATHS=$(addprefix $(o)/xml/,$(LIBXML_MODS)) $(o)/xml/libucw-xml$(LV).a: $(addsuffix .o,$(LIBXML_MOD_PATHS)) $(o)/xml/libucw-xml$(LV)-pic.a: $(addsuffix .oo,$(LIBXML_MOD_PATHS)) -$(o)/xml/libucw-xml$(LV).so: $(addsuffix .oo,$(LIBXML_MOD_PATHS)) +$(o)/xml/libucw-xml$(LV).so: $(addsuffix .oo,$(LIBXML_MOD_PATHS)) $(LIBCHARSET) $(o)/xml/libucw-xml$(LV).so: SONAME_SUFFIX=.$(UCW_ABI_MAJOR) $(o)/xml/libucw-xml.pc: $(LIBCHARSET) @@ -36,7 +36,7 @@ $(o)/xml/unicat.h: $(s)/xml/unicat.pl $(Q)touch $@ TESTS+=$(o)/xml/xml-test.test -$(o)/xml/xml-test: $(o)/xml/xml-test.o $(LIBXML) +$(o)/xml/xml-test: $(o)/xml/xml-test.o $(LIBXML) $(LIBCHARSET) $(LIBUCW) $(o)/xml/xml-test.test: $(o)/xml/xml-test API_LIBS+=libucw-xml diff --git a/xml/libucw-xml.pc b/xml/libucw-xml.pc index 82ee1766..908328de 100644 --- a/xml/libucw-xml.pc +++ b/xml/libucw-xml.pc @@ -11,4 +11,4 @@ Description: XML parser for LibUCW project Version: @UCW_VERSION@ Cflags: -I${incdir} Libs: -L${libdir} -lucw-xml@UCW_ABI_SUFFIX@${picsuffix} -Requires: @DEPS@ +Requires.private: @DEPS@ -- 2.39.5