X-Git-Url: http://mj.ucw.cz/gitweb/?a=blobdiff_plain;ds=sidebyside;f=charset%2FMakefile;h=8e121369474edae8b577c067cf6f94c836c547fc;hb=14e105850c5d3451a44fc50f2814683c0df3ae1b;hp=dc8f46810554bc6923d4e875473f04f463b46728;hpb=13499b70e642fa92ae3152ed8b17bebd778a8ac0;p=libucw.git diff --git a/charset/Makefile b/charset/Makefile index dc8f4681..8e121369 100644 --- a/charset/Makefile +++ b/charset/Makefile @@ -1,4 +1,4 @@ -# Makefile for the Sherlock Charset Library (c) 1997--2002 Martin Mares +# Makefile for the Sherlock Charset Library (c) 1997--2007 Martin Mares DIRS+=charset @@ -7,11 +7,13 @@ LIBCHARSET_INCLUDES=charconv.h unicat.h fb-charconv.h stk-charconv.h mp-charconv $(o)/charset/libcharset.a: $(addsuffix .o,$(addprefix $(o)/charset/,$(LIBCHARSET_MODS))) $(o)/charset/libcharset.so: $(addsuffix .oo,$(addprefix $(o)/charset/,$(LIBCHARSET_MODS))) +$(o)/charset/libcharset.pc: $(LIBUCW) -INCLUDES+=$(o)/charset/.include-stamp +API_LIBS+=libcharset +API_INCLUDES+=$(o)/charset/.include-stamp $(o)/charset/.include-stamp: $(addprefix $(s)/charset/,$(LIBCHARSET_INCLUDES)) - $(s)/build/install-includes $(s)/charset run/include/charset $(?F) - touch $(o)/charset/.include-stamp +$(o)/charset/.include-stamp: IDST=charset +run/lib/pkgconfig/libcharset.pc: $(o)/charset/libcharset.pc build_charsets: cd $(s)/charset && sh misc/generate