segment: New library for low-level phase of lexical syntax analysis.
[pspp-builds.git] / Smake
diff --git a/Smake b/Smake
index 5362c276d723d4c1e41edda08b32fa308d8d0835..14c2a75f28fc1a482eed7e6e7d1c2f5e2027d789 100644 (file)
--- a/Smake
+++ b/Smake
@@ -15,7 +15,9 @@ GNULIB_MODULES = \
        count-one-bits \
        crc \
        crypto/md4 \
+       crypto/md5 \
        dirname \
+       dtoastr \
        environ \
        fatal-signal \
        fcntl \
@@ -47,6 +49,7 @@ GNULIB_MODULES = \
        printf-posix \
        printf-safe \
        progname \
+       read-file \
        regex \
        relocatable-prog \
        rename \
@@ -68,11 +71,17 @@ GNULIB_MODULES = \
        sys_stat \
        tempname \
        trunc \
-       unilbrk/ulc-width-linebreaks \
+       unictype/property-id-continue \
+       unictype/property-id-start \
+       unigbrk/uc-is-grapheme-break \
        unistd \
+       unistr/u8-check \
        unistr/u8-cpy \
+       unistr/u8-mbtouc \
        unistr/u8-strlen \
        unistr/u8-strncat \
+       uniwidth/u8-strwidth \
+       unitypes \
        unlocked-io \
        vasprintf-posix \
        version-etc \
@@ -94,16 +103,20 @@ all:
        test -e ChangeLog || touch ChangeLog
        test -d m4 || mkdir m4
        touch m4/Makefile.am
-       $(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)
+       $(MAKE) -f Smake gnulib
        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