]> mj.ucw.cz Git - libucw.git/blobdiff - charset/Makefile
Daemon: Preliminary documentation
[libucw.git] / charset / Makefile
index 23d40f8c8e896cf52b7e166ab30e5d294eb08862..32cc82a7637102008980eb58efa37daf6dced645 100644 (file)
@@ -20,6 +20,12 @@ $(o)/charset/.include-stamp: $(addprefix $(s)/charset/,$(LIBCHARSET_INCLUDES))
 $(o)/charset/.include-stamp: IDST=charset
 run/lib/pkgconfig/libcharset.pc: $(o)/charset/libcharset.pc
 
+ifdef CONFIG_CHARSET_UTILS
+PROGS+=$(o)/charset/cs2cs
+endif
+
+$(o)/charset/cs2cs: $(o)/charset/cs2cs.o $(LIBUCW) $(o)/charset/libcharset.pc
+
 build_charsets:
        cd $(s)/charset && sh misc/generate