]> mj.ucw.cz Git - libucw.git/blobdiff - charset/Makefile
Added bskip() which skips the given number of bytes by reading.
[libucw.git] / charset / Makefile
index 6c3d1c386a9b621fece00f9106ffa92b9bbcd866..dbd352f7b916ca4275ed32a076a03cb56b9b61d5 100644 (file)
@@ -1,22 +1,15 @@
-# Makefile for the Sherlock Charset Library (c) 1997--2000 Martin Mares <mj@ucw.cz>
+# Makefile for the Sherlock Charset Library (c) 1997--2002 Martin Mares <mj@ucw.cz>
 
 DIRS+=charset
 
-UNI_OBJS=toupper.o tolower.o tocat.o utf8.o unaccent.o tosig.o strlen.o debug.o \
-       charconv.o setnames.o
+LIBCHARSET_MODS=toupper tolower tocat toligatures utf8 unaccent strlen debug \
+       charconv setnames unistream fb-charconv
 
-obj/charset/libcharset.a: $(addprefix obj/charset/,$(UNI_OBJS))
+obj/charset/libcharset.a: $(addsuffix .o,$(addprefix obj/charset/,$(LIBCHARSET_MODS)))
+obj/charset/libcharset.so: $(addsuffix .oo,$(addprefix obj/charset/,$(LIBCHARSET_MODS)))
 
-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-*