X-Git-Url: http://mj.ucw.cz/gitweb/?a=blobdiff_plain;f=charset%2FMakefile;h=8e121369474edae8b577c067cf6f94c836c547fc;hb=c4bf633211b0424492b5a3937d6a6d2e0d79a4cf;hp=dbd352f7b916ca4275ed32a076a03cb56b9b61d5;hpb=4ca836182b50a84e7af4bf8237864fdc521520a1;p=libucw.git diff --git a/charset/Makefile b/charset/Makefile index dbd352f7..8e121369 100644 --- a/charset/Makefile +++ b/charset/Makefile @@ -1,15 +1,22 @@ -# Makefile for the Sherlock Charset Library (c) 1997--2002 Martin Mares +# Makefile for the Sherlock Charset Library (c) 1997--2007 Martin Mares DIRS+=charset -LIBCHARSET_MODS=toupper tolower tocat toligatures utf8 unaccent strlen debug \ - charconv setnames unistream fb-charconv +LIBCHARSET_MODS=toupper tolower tocat toligatures unaccent charconv setnames fb-charconv stk-charconv mp-charconv +LIBCHARSET_INCLUDES=charconv.h unicat.h fb-charconv.h stk-charconv.h mp-charconv.h -obj/charset/libcharset.a: $(addsuffix .o,$(addprefix obj/charset/,$(LIBCHARSET_MODS))) -obj/charset/libcharset.so: $(addsuffix .oo,$(addprefix obj/charset/,$(LIBCHARSET_MODS))) +$(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) + +API_LIBS+=libcharset +API_INCLUDES+=$(o)/charset/.include-stamp +$(o)/charset/.include-stamp: $(addprefix $(s)/charset/,$(LIBCHARSET_INCLUDES)) +$(o)/charset/.include-stamp: IDST=charset +run/lib/pkgconfig/libcharset.pc: $(o)/charset/libcharset.pc build_charsets: - cd charset && sh misc/generate + cd $(s)/charset && sh misc/generate clean:: - rm -f charset/misc/u-* + rm -f $(s)/charset/misc/u-*