Support moments
[pspp-builds.git] / Smake
diff --git a/Smake b/Smake
index 35dd3285f17fea957427c41381d44fb43c9d4bd8..723e75beba0b1e6cd74fb8566229fc5ee4157f9c 100644 (file)
--- a/Smake
+++ b/Smake
@@ -11,6 +11,7 @@ GNULIB_MODULES = \
        byteswap \
        c-ctype \
        c-strtod \
+       dirname \
        exit \
        full-read \
        full-write \
@@ -23,6 +24,7 @@ GNULIB_MODULES = \
        inttostr \
        linebreak \
        localcharset \
+        mbchar \
        memcasecmp \
        memchr \
        memcmp \
@@ -30,10 +32,10 @@ GNULIB_MODULES = \
        memmove \
        mempcpy \
        memset \
+       minmax \
+       mkstemp \
        progname \
-       readlink \
        snprintf \
-       stat-macros \
        stdarg \
        stdbool \
        stdint \
@@ -43,17 +45,17 @@ GNULIB_MODULES = \
        strerror \
        strftime \
        strsep \
-       strstr \
        strtod \
        strtok_r \
        strtol \
        strtoul \
+       sys_stat \
+       tmpfile \
        unistd \
        unlocked-io \
        vsnprintf \
        xalloc \
        xalloc-die \
-       xreadlink \
        xsize \
        xstrndup \
        xvasprintf
@@ -101,6 +103,10 @@ _build: all
        test -d _build || mkdir _build
        cd _build && ../configure $(CONFIGUREFLAGS)
 
+_debug: all
+       test -d _debug || mkdir _debug
+       cd _debug && ../configure $(CONFIGUREFLAGS) --enable-debug
+
 PO_FILES = po/ChangeLog po/Makefile po/Makefile.in po/Makefile.in.in   \
 po/POTFILES po/POTFILES.in po/Rules-quot po/boldquot.sed               \
 po/cat-id-tbl.c po/en@boldquot.header po/en@quot.header                        \