str: Add some functions for handling UTF-8.
[pspp-builds.git] / Smake
diff --git a/Smake b/Smake
index 5362c276d723d4c1e41edda08b32fa308d8d0835..6e6b70235a2e7ef7d3c7af126642b8e2d398c10c 100644 (file)
--- a/Smake
+++ b/Smake
@@ -71,8 +71,10 @@ GNULIB_MODULES = \
        unilbrk/ulc-width-linebreaks \
        unistd \
        unistr/u8-cpy \
+       unistr/u8-mbtouc \
        unistr/u8-strlen \
        unistr/u8-strncat \
+       unitypes \
        unlocked-io \
        vasprintf-posix \
        version-etc \
@@ -97,13 +99,20 @@ all:
        $(GNULIB_TOOL) --import --no-changelog --m4-base=gl/m4 \
                --source-base=gl --lib=libgl --tests-base=tests \
                --doc-base=gl/doc --aux-dir=build-aux --import \
-               $(GNULIB_MODULES)
+               --libtool $(GNULIB_MODULES)
        libtoolize --force --automake
        aclocal -I m4 -I gl/m4
        autoconf
        autoheader
        automake --add-missing --copy --no-force
 
+gnulib:
+       $(GNULIB_TOOL) --add-import --no-changelog --m4-base=gl/m4 \
+               --source-base=gl --lib=libgl --tests-base=tests \
+               --doc-base=gl/doc --aux-dir=build-aux --import \
+               --libtool $(GNULIB_MODULES)
+
+
 gettextize:
        test -d m4 || mkdir m4
        touch m4/Makefile.am