]> mj.ucw.cz Git - libucw.git/blob - charset/Makefile
6c3d1c386a9b621fece00f9106ffa92b9bbcd866
[libucw.git] / charset / Makefile
1 # Makefile for the Sherlock Charset Library (c) 1997--2000 Martin Mares <mj@ucw.cz>
2
3 DIRS+=charset
4
5 UNI_OBJS=toupper.o tolower.o tocat.o utf8.o unaccent.o tosig.o strlen.o debug.o \
6         charconv.o setnames.o
7
8 obj/charset/libcharset.a: $(addprefix obj/charset/,$(UNI_OBJS))
9
10 build_charsets: clean_charsets
11         misc/unisplit
12         misc/gentab _U_cat byte <misc/u-cat >U-cat.h
13         misc/gentab _U_lower word <misc/u-lower >U-lower.h
14         misc/gentab _U_upper word <misc/u-upper >U-upper.h
15         misc/mkunacc >misc/u-unacc
16         misc/gentab _U_unaccent word <misc/u-unacc >U-unacc.h
17         misc/mksig >misc/u-sig
18         misc/gentab _U_sig byte <misc/u-sig >U-sig.h
19         misc/tabgen <misc/chartable.in >chartable.h
20
21 clean_charsets:
22         rm -f misc/u-* U-*.h chartable.h