]> mj.ucw.cz Git - libucw.git/blob - charset/Makefile
Unified installation of includes.
[libucw.git] / charset / Makefile
1 # Makefile for the Sherlock Charset Library (c) 1997--2002 Martin Mares <mj@ucw.cz>
2
3 DIRS+=charset
4
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
7
8 $(o)/charset/libcharset.a: $(addsuffix .o,$(addprefix $(o)/charset/,$(LIBCHARSET_MODS)))
9 $(o)/charset/libcharset.so: $(addsuffix .oo,$(addprefix $(o)/charset/,$(LIBCHARSET_MODS)))
10
11 INCLUDES+=$(o)/charset/.include-stamp
12 $(o)/charset/.include-stamp: $(addprefix $(s)/charset/,$(LIBCHARSET_INCLUDES))
13 $(o)/charset/.include-stamp: IDST=charset
14
15 build_charsets:
16         cd $(s)/charset && sh misc/generate
17
18 clean::
19         rm -f $(s)/charset/misc/u-*