]> mj.ucw.cz Git - libucw.git/blob - charset/Makefile
Moved detaching of stdout from log_file() to the daemon-helper.
[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         $(s)/build/install-includes $(s)/charset run/include/charset $(?F)
14         touch $(o)/charset/.include-stamp
15
16 build_charsets:
17         cd $(s)/charset && sh misc/generate
18
19 clean::
20         rm -f $(s)/charset/misc/u-*