1 # Makefile for the Sherlock Charset Library (c) 1997--2002 Martin Mares <mj@ucw.cz>
5 LIBCHARSET_MODS=toupper tolower tocat toligatures unaccent charconv setnames fb-charconv stk-charconv mp-charconv
6 LIBCHARSET_INCLUDES=charconv.h unicat.h fb-charconv.h stk-charconv.h mp-charconv.h
8 $(o)/charset/libcharset.a: $(addsuffix .o,$(addprefix $(o)/charset/,$(LIBCHARSET_MODS)))
9 $(o)/charset/libcharset.so: $(addsuffix .oo,$(addprefix $(o)/charset/,$(LIBCHARSET_MODS)))
11 INCLUDES+=$(o)/charset/.include-stamp
12 $(o)/charset/.include-stamp: $(addprefix $(s)/charset/,$(LIBCHARSET_INCLUDES))
13 $(s)/build/install-includes $(s)/charset run/include/charset $(?F)
14 touch $(o)/charset/.include-stamp
17 cd $(s)/charset && sh misc/generate
20 rm -f $(s)/charset/misc/u-*