]> mj.ucw.cz Git - libucw.git/blobdiff - charset/Makefile
dmalloc and efence work again (ported from rel-2.1 branch).
[libucw.git] / charset / Makefile
index 6c3d1c386a9b621fece00f9106ffa92b9bbcd866..40423122fc2daae7b542c7e4e9acd0e7862361b3 100644 (file)
@@ -1,22 +1,14 @@
-# Makefile for the Sherlock Charset Library (c) 1997--2000 Martin Mares <mj@ucw.cz>
+# Makefile for the Sherlock Charset Library (c) 1997--2001 Martin Mares <mj@ucw.cz>
 
 DIRS+=charset
 
 
 DIRS+=charset
 
-UNI_OBJS=toupper.o tolower.o tocat.o utf8.o unaccent.o tosig.o strlen.o debug.o \
-       charconv.o setnames.o
+UNI_OBJS=toupper.o tolower.o tocat.o utf8.o unaccent.o strlen.o debug.o \
+       charconv.o setnames.o unistream.o
 
 obj/charset/libcharset.a: $(addprefix obj/charset/,$(UNI_OBJS))
 
 
 obj/charset/libcharset.a: $(addprefix obj/charset/,$(UNI_OBJS))
 
-build_charsets: clean_charsets
-       misc/unisplit
-       misc/gentab _U_cat byte <misc/u-cat >U-cat.h
-       misc/gentab _U_lower word <misc/u-lower >U-lower.h
-       misc/gentab _U_upper word <misc/u-upper >U-upper.h
-       misc/mkunacc >misc/u-unacc
-       misc/gentab _U_unaccent word <misc/u-unacc >U-unacc.h
-       misc/mksig >misc/u-sig
-       misc/gentab _U_sig byte <misc/u-sig >U-sig.h
-       misc/tabgen <misc/chartable.in >chartable.h
+build_charsets:
+       cd charset && sh misc/generate
 
 
-clean_charsets:
-       rm -f misc/u-* U-*.h chartable.h
+clean::
+       rm -f charset/misc/u-*