changeset 7492:cb5141654dbb

Distribute all lib/* source files through EXTRA_DIST.
author Bruno Haible <bruno@clisp.org>
date Thu, 12 Oct 2006 18:52:30 +0000
parents 49badf7492a0
children 6d1ff3009597
files ChangeLog modules/acl modules/arcfour modules/arctwo modules/argmatch modules/argz modules/atexit modules/backupfile modules/c-strtod modules/c-strtold modules/calloc modules/canon-host modules/canonicalize modules/chdir-long modules/chdir-safer modules/check-version modules/chown modules/cloexec modules/close-stream modules/closeout modules/crc modules/cycle-check modules/des modules/dirfd modules/dirname modules/dup2 modules/euidaccess modules/exclude modules/exitfail modules/fcntl-safer modules/file-type modules/fileblocks modules/filemode modules/filenamecat modules/fnmatch modules/fopen-safer modules/fpending modules/fprintftime modules/free modules/fsusage modules/ftruncate modules/fts modules/gc modules/gc-pbkdf2-sha1 modules/getaddrinfo modules/getcwd modules/getdelim modules/getdomainname modules/getgroups modules/gethostname modules/gethrxtime modules/getline modules/getloadavg modules/getlogin_r modules/getopt modules/getpass modules/getpass-gnu modules/getsubopt modules/gettime modules/gettimeofday modules/getugroups modules/getusershell modules/glob modules/group-member modules/hard-locale modules/hash modules/hmac-md5 modules/hmac-sha1 modules/human modules/idcache modules/imaxabs modules/imaxdiv modules/inet_ntop modules/inet_pton modules/inttostr modules/isapipe modules/lchown modules/long-options modules/lstat modules/malloc modules/mathl modules/mbchar modules/md2 modules/md4 modules/md5 modules/memcasecmp modules/memchr modules/memcmp modules/memcoll modules/memcpy modules/memmem modules/memmove modules/mempcpy modules/memrchr modules/memset modules/memxor modules/mkancesdirs modules/mkdir modules/mkdir-p modules/mkdtemp modules/mkstemp modules/mktime modules/modechange modules/mountlist modules/nanosleep modules/openat modules/pagealign_alloc modules/physmem modules/poll modules/posixtm modules/posixver modules/putenv modules/quote modules/quotearg modules/raise modules/read-file modules/readline modules/readlink modules/readtokens modules/readutmp modules/realloc modules/regex modules/rename modules/rename-dest-slash modules/rijndael modules/rmdir modules/rpmatch modules/safe-read modules/safe-write modules/same modules/save-cwd modules/savedir modules/setenv modules/settime modules/sha1 modules/sig2str modules/snprintf modules/stdlib-safer modules/stpcpy modules/stpncpy modules/strcase modules/strcasestr modules/strchrnul modules/strcspn modules/strdup modules/strerror modules/strftime modules/strndup modules/strnlen modules/strpbrk modules/strsep modules/strstr modules/strtod modules/strtoimax modules/strtok_r modules/strtol modules/strtoll modules/strtoul modules/strtoull modules/strtoumax modules/strverscmp modules/time_r modules/timegm modules/tmpfile-safer modules/unistd-safer modules/unlinkdir modules/userspec modules/utime modules/utimecmp modules/utimens modules/vasnprintf modules/vasprintf modules/vsnprintf modules/xalloc modules/xgetcwd modules/xnanosleep modules/xreadlink modules/xstrtod modules/xstrtol modules/xstrtold modules/yesno
diffstat 181 files changed, 367 insertions(+), 133 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,187 @@
+2006-10-12  Bruno Haible  <bruno@clisp.org>
+
+	* modules/acl (Makefile.am): Destribute all files in lib/ through
+	EXTRA_DIST.
+	* modules/arcfour (Makefile.am): Likewise.
+	* modules/arctwo (Makefile.am): Likewise.
+	* modules/argmatch (Makefile.am): Likewise.
+	* modules/argz (Makefile.am): Likewise.
+	* modules/atexit (Makefile.am): Likewise.
+	* modules/backupfile (Makefile.am): Likewise.
+	* modules/c-strtod (Makefile.am): Likewise.
+	* modules/c-strtold (Makefile.am): Likewise.
+	* modules/calloc (Makefile.am): Likewise.
+	* modules/canon-host (Makefile.am): Likewise.
+	* modules/canonicalize (Makefile.am): Likewise.
+	* modules/chdir-long (Makefile.am): Likewise.
+	* modules/chdir-safer (Makefile.am): Likewise.
+	* modules/check-version (Makefile.am): Likewise.
+	* modules/chown (Makefile.am): Likewise.
+	* modules/cloexec (Makefile.am): Likewise.
+	* modules/close-stream (Makefile.am): Likewise.
+	* modules/closeout (Makefile.am): Likewise.
+	* modules/crc (Makefile.am): Likewise.
+	* modules/cycle-check (Makefile.am): Likewise.
+	* modules/des (Makefile.am): Likewise.
+	* modules/dirfd (Makefile.am): Likewise.
+	* modules/dirname (Makefile.am): Likewise.
+	* modules/dup2 (Makefile.am): Likewise.
+	* modules/euidaccess (Makefile.am): Likewise.
+	* modules/exclude (Makefile.am): Likewise.
+	* modules/exitfail (Makefile.am): Likewise.
+	* modules/fcntl-safer (Makefile.am): Likewise.
+	* modules/file-type (Makefile.am): Likewise.
+	* modules/fileblocks (Makefile.am): Likewise.
+	* modules/filemode (Makefile.am): Likewise.
+	* modules/filenamecat (Makefile.am): Likewise.
+	* modules/fnmatch (Makefile.am): Likewise.
+	* modules/fopen-safer (Makefile.am): Likewise.
+	* modules/fpending (Makefile.am): Likewise.
+	* modules/fprintftime (Makefile.am): Likewise.
+	* modules/free (Makefile.am): Likewise.
+	* modules/fsusage (Makefile.am): Likewise.
+	* modules/ftruncate (Makefile.am): Likewise.
+	* modules/fts (Makefile.am): Likewise.
+	* modules/gc (Makefile.am): Likewise.
+	* modules/gc-pbkdf2-sha1 (Makefile.am): Likewise.
+	* modules/getaddrinfo (Makefile.am): Likewise.
+	* modules/getcwd (Makefile.am): Likewise.
+	* modules/getdelim (Makefile.am): Likewise.
+	* modules/getdomainname (Makefile.am): Likewise.
+	* modules/getgroups (Makefile.am): Likewise.
+	* modules/gethostname (Makefile.am): Likewise.
+	* modules/gethrxtime (Makefile.am): Likewise.
+	* modules/getline (Makefile.am): Likewise.
+	* modules/getloadavg (Makefile.am): Likewise.
+	* modules/getlogin_r (Makefile.am): Likewise.
+	* modules/getopt (Makefile.am): Likewise.
+	* modules/getpass (Makefile.am): Likewise.
+	* modules/getpass-gnu (Makefile.am): Likewise.
+	* modules/getsubopt (Makefile.am): Likewise.
+	* modules/gettime (Makefile.am): Likewise.
+	* modules/gettimeofday (Makefile.am): Likewise.
+	* modules/getugroups (Makefile.am): Likewise.
+	* modules/getusershell (Makefile.am): Likewise.
+	* modules/glob (Makefile.am): Likewise.
+	* modules/group-member (Makefile.am): Likewise.
+	* modules/hard-locale (Makefile.am): Likewise.
+	* modules/hash (Makefile.am): Likewise.
+	* modules/hmac-md5 (Makefile.am): Likewise.
+	* modules/hmac-sha1 (Makefile.am): Likewise.
+	* modules/human (Makefile.am): Likewise.
+	* modules/idcache (Makefile.am): Likewise.
+	* modules/imaxabs (Makefile.am): Likewise.
+	* modules/imaxdiv (Makefile.am): Likewise.
+	* modules/inet_ntop (Makefile.am): Likewise.
+	* modules/inet_pton (Makefile.am): Likewise.
+	* modules/inttostr (Makefile.am): Likewise.
+	* modules/isapipe (Makefile.am): Likewise.
+	* modules/lchown (Makefile.am): Likewise.
+	* modules/long-options (Makefile.am): Likewise.
+	* modules/lstat (Makefile.am): Likewise.
+	* modules/malloc (Makefile.am): Likewise.
+	* modules/mathl (Makefile.am): Likewise.
+	* modules/mbchar (Makefile.am): Likewise.
+	* modules/md2 (Makefile.am): Likewise.
+	* modules/md4 (Makefile.am): Likewise.
+	* modules/md5 (Makefile.am): Likewise.
+	* modules/memcasecmp (Makefile.am): Likewise.
+	* modules/memchr (Makefile.am): Likewise.
+	* modules/memcmp (Makefile.am): Likewise.
+	* modules/memcoll (Makefile.am): Likewise.
+	* modules/memcpy (Makefile.am): Likewise.
+	* modules/memmem (Makefile.am): Likewise.
+	* modules/memmove (Makefile.am): Likewise.
+	* modules/mempcpy (Makefile.am): Likewise.
+	* modules/memrchr (Makefile.am): Likewise.
+	* modules/memset (Makefile.am): Likewise.
+	* modules/memxor (Makefile.am): Likewise.
+	* modules/mkancesdirs (Makefile.am): Likewise.
+	* modules/mkdir (Makefile.am): Likewise.
+	* modules/mkdir-p (Makefile.am): Likewise.
+	* modules/mkdtemp (Makefile.am): Likewise.
+	* modules/mkstemp (Makefile.am): Likewise.
+	* modules/mktime (Makefile.am): Likewise.
+	* modules/modechange (Makefile.am): Likewise.
+	* modules/mountlist (Makefile.am): Likewise.
+	* modules/nanosleep (Makefile.am): Likewise.
+	* modules/openat (Makefile.am): Likewise.
+	* modules/pagealign_alloc (Makefile.am): Likewise.
+	* modules/physmem (Makefile.am): Likewise.
+	* modules/poll (Makefile.am): Likewise.
+	* modules/posixtm (Makefile.am): Likewise.
+	* modules/posixver (Makefile.am): Likewise.
+	* modules/putenv (Makefile.am): Likewise.
+	* modules/quote (Makefile.am): Likewise.
+	* modules/quotearg (Makefile.am): Likewise.
+	* modules/raise (Makefile.am): Likewise.
+	* modules/read-file (Makefile.am): Likewise.
+	* modules/readline (Makefile.am): Likewise.
+	* modules/readlink (Makefile.am): Likewise.
+	* modules/readtokens (Makefile.am): Likewise.
+	* modules/readutmp (Makefile.am): Likewise.
+	* modules/realloc (Makefile.am): Likewise.
+	* modules/regex (Makefile.am): Likewise.
+	* modules/rename (Makefile.am): Likewise.
+	* modules/rename-dest-slash (Makefile.am): Likewise.
+	* modules/rijndael (Makefile.am): Likewise.
+	* modules/rmdir (Makefile.am): Likewise.
+	* modules/rpmatch (Makefile.am): Likewise.
+	* modules/safe-read (Makefile.am): Likewise.
+	* modules/safe-write (Makefile.am): Likewise.
+	* modules/same (Makefile.am): Likewise.
+	* modules/save-cwd (Makefile.am): Likewise.
+	* modules/savedir (Makefile.am): Likewise.
+	* modules/setenv (Makefile.am): Likewise.
+	* modules/settime (Makefile.am): Likewise.
+	* modules/sha1 (Makefile.am): Likewise.
+	* modules/sig2str (Makefile.am): Likewise.
+	* modules/snprintf (Makefile.am): Likewise.
+	* modules/stdlib-safer (Makefile.am): Likewise.
+	* modules/stpcpy (Makefile.am): Likewise.
+	* modules/stpncpy (Makefile.am): Likewise.
+	* modules/strcase (Makefile.am): Likewise.
+	* modules/strcasestr (Makefile.am): Likewise.
+	* modules/strchrnul (Makefile.am): Likewise.
+	* modules/strcspn (Makefile.am): Likewise.
+	* modules/strdup (Makefile.am): Likewise.
+	* modules/strerror (Makefile.am): Likewise.
+	* modules/strftime (Makefile.am): Likewise.
+	* modules/strndup (Makefile.am): Likewise.
+	* modules/strnlen (Makefile.am): Likewise.
+	* modules/strpbrk (Makefile.am): Likewise.
+	* modules/strsep (Makefile.am): Likewise.
+	* modules/strstr (Makefile.am): Likewise.
+	* modules/strtod (Makefile.am): Likewise.
+	* modules/strtoimax (Makefile.am): Likewise.
+	* modules/strtok_r (Makefile.am): Likewise.
+	* modules/strtol (Makefile.am): Likewise.
+	* modules/strtoll (Makefile.am): Likewise.
+	* modules/strtoul (Makefile.am): Likewise.
+	* modules/strtoull (Makefile.am): Likewise.
+	* modules/strtoumax (Makefile.am): Likewise.
+	* modules/strverscmp (Makefile.am): Likewise.
+	* modules/time_r (Makefile.am): Likewise.
+	* modules/timegm (Makefile.am): Likewise.
+	* modules/tmpfile-safer (Makefile.am): Likewise.
+	* modules/unistd-safer (Makefile.am): Likewise.
+	* modules/unlinkdir (Makefile.am): Likewise.
+	* modules/userspec (Makefile.am): Likewise.
+	* modules/utime (Makefile.am): Likewise.
+	* modules/utimecmp (Makefile.am): Likewise.
+	* modules/utimens (Makefile.am): Likewise.
+	* modules/vasnprintf (Makefile.am): Likewise.
+	* modules/vasprintf (Makefile.am): Likewise.
+	* modules/vsnprintf (Makefile.am): Likewise.
+	* modules/xalloc (Makefile.am): Likewise.
+	* modules/xgetcwd (Makefile.am): Likewise.
+	* modules/xnanosleep (Makefile.am): Likewise.
+	* modules/xreadlink (Makefile.am): Likewise.
+	* modules/xstrtod (Makefile.am): Likewise.
+	* modules/xstrtol (Makefile.am): Likewise.
+	* modules/xstrtold (Makefile.am): Likewise.
+	* modules/yesno (Makefile.am): Likewise.
+
 2006-10-12  Jim Meyering  <jim@meyering.net>
 
 	* m4/getloadavg.m4: Revert the change below.
--- a/modules/acl
+++ b/modules/acl
@@ -14,7 +14,7 @@
 AC_FUNC_ACL
 
 Makefile.am:
-EXTRA_DIST += acl.h
+EXTRA_DIST += acl.h acl.c
 
 Include:
 "acl.h"
--- a/modules/arcfour
+++ b/modules/arcfour
@@ -13,7 +13,7 @@
 gl_ARCFOUR
 
 Makefile.am:
-EXTRA_DIST += arcfour.h
+EXTRA_DIST += arcfour.h arcfour.c
 
 Include:
 "arcfour.h"
--- a/modules/arctwo
+++ b/modules/arctwo
@@ -13,7 +13,7 @@
 gl_ARCTWO
 
 Makefile.am:
-EXTRA_DIST += arctwo.h
+EXTRA_DIST += arctwo.h arctwo.c
 
 Include:
 "arctwo.h"
--- a/modules/argmatch
+++ b/modules/argmatch
@@ -20,7 +20,7 @@
 gl_ARGMATCH
 
 Makefile.am:
-EXTRA_DIST += argmatch.h
+EXTRA_DIST += argmatch.h argmatch.c
 
 Include:
 "argmatch.h"
--- a/modules/argz
+++ b/modules/argz
@@ -13,7 +13,7 @@
 
 Makefile.am:
 BUILT_SOURCES += $(ARGZ_H)
-EXTRA_DIST += argz_.h
+EXTRA_DIST += argz_.h argz.c
 
 # We need the following in order to create <argz.h> when the system
 # doesn't have one that works with the given compiler.
--- a/modules/atexit
+++ b/modules/atexit
@@ -11,6 +11,7 @@
 gl_FUNC_ATEXIT
 
 Makefile.am:
+EXTRA_DIST += atexit.c
 
 Include:
 <stdlib.h>
--- a/modules/backupfile
+++ b/modules/backupfile
@@ -18,7 +18,7 @@
 gl_BACKUPFILE
 
 Makefile.am:
-EXTRA_DIST += backupfile.h
+EXTRA_DIST += backupfile.h backupfile.c
 
 Include:
 "backupfile.h"
--- a/modules/c-strtod
+++ b/modules/c-strtod
@@ -14,7 +14,7 @@
 gl_C_STRTOD
 
 Makefile.am:
-EXTRA_DIST += c-strtod.h
+EXTRA_DIST += c-strtod.h c-strtod.c
 
 Include:
 "c-strtod.h"
--- a/modules/c-strtold
+++ b/modules/c-strtold
@@ -15,7 +15,7 @@
 gl_C_STRTOLD
 
 Makefile.am:
-EXTRA_DIST += c-strtod.c c-strtod.h
+EXTRA_DIST += c-strtod.h c-strtod.c c-strtold.c
 
 Include:
 "c-strtod.h"
--- a/modules/calloc
+++ b/modules/calloc
@@ -11,6 +11,7 @@
 AC_FUNC_CALLOC
 
 Makefile.am:
+EXTRA_DIST += calloc.c
 
 Include:
 <stdlib.h>
--- a/modules/canon-host
+++ b/modules/canon-host
@@ -15,7 +15,7 @@
 gl_CANON_HOST
 
 Makefile.am:
-EXTRA_DIST += canon-host.h
+EXTRA_DIST += canon-host.h canon-host.c
 
 Include:
 #include "canon-host.h"
--- a/modules/canonicalize
+++ b/modules/canonicalize
@@ -19,7 +19,7 @@
 AC_FUNC_CANONICALIZE_FILE_NAME
 
 Makefile.am:
-EXTRA_DIST += canonicalize.h
+EXTRA_DIST += canonicalize.h canonicalize.c pathmax.h
 
 Include:
 "canonicalize.h"
--- a/modules/chdir-long
+++ b/modules/chdir-long
@@ -17,7 +17,7 @@
 gl_FUNC_CHDIR_LONG
 
 Makefile.am:
-EXTRA_DIST += chdir-long.h
+EXTRA_DIST += chdir-long.h chdir-long.c
 
 Include:
 "chdir-long.h"
--- a/modules/chdir-safer
+++ b/modules/chdir-safer
@@ -15,7 +15,7 @@
 gl_CHDIR_SAFER
 
 Makefile.am:
-EXTRA_DIST += chdir-safer.h
+EXTRA_DIST += chdir-safer.h chdir-safer.c
 
 Include:
 "chdir-safer.h"
--- a/modules/check-version
+++ b/modules/check-version
@@ -13,7 +13,7 @@
 gl_CHECK_VERSION
 
 Makefile.am:
-EXTRA_DIST += check-version.h
+EXTRA_DIST += check-version.h check-version.c
 
 Include:
 "check-version.h"
--- a/modules/chown
+++ b/modules/chown
@@ -13,6 +13,7 @@
 gl_FUNC_CHOWN
 
 Makefile.am:
+EXTRA_DIST += chown.c fchown-stub.c
 
 Include:
 <unistd.h>
--- a/modules/cloexec
+++ b/modules/cloexec
@@ -13,7 +13,7 @@
 gl_CLOEXEC
 
 Makefile.am:
-EXTRA_DIST += cloexec.h
+EXTRA_DIST += cloexec.h cloexec.c
 
 Include:
 "cloexec.h"
--- a/modules/close-stream
+++ b/modules/close-stream
@@ -14,7 +14,7 @@
 gl_CLOSE_STREAM
 
 Makefile.am:
-EXTRA_DIST += close-stream.h
+EXTRA_DIST += close-stream.h close-stream.c
 
 Include:
 "close-stream.h"
--- a/modules/closeout
+++ b/modules/closeout
@@ -17,7 +17,7 @@
 gl_CLOSEOUT
 
 Makefile.am:
-EXTRA_DIST += closeout.h
+EXTRA_DIST += closeout.h closeout.c
 
 Include:
 "closeout.h"
--- a/modules/crc
+++ b/modules/crc
@@ -13,7 +13,7 @@
 gl_CRC
 
 Makefile.am:
-EXTRA_DIST += crc.h
+EXTRA_DIST += crc.h crc.c
 
 Include:
 "crc.h"
--- a/modules/cycle-check
+++ b/modules/cycle-check
@@ -16,7 +16,7 @@
 gl_CYCLE_CHECK
 
 Makefile.am:
-EXTRA_DIST += cycle-check.h
+EXTRA_DIST += cycle-check.h cycle-check.c
 
 Include:
 "cycle-check.h"
--- a/modules/des
+++ b/modules/des
@@ -14,7 +14,7 @@
 gl_DES
 
 Makefile.am:
-EXTRA_DIST += des.h
+EXTRA_DIST += des.h des.c
 
 Include:
 "des.h"
--- a/modules/dirfd
+++ b/modules/dirfd
@@ -12,7 +12,7 @@
 gl_FUNC_DIRFD
 
 Makefile.am:
-EXTRA_DIST += dirfd.h
+EXTRA_DIST += dirfd.h dirfd.c
 
 Include:
 "dirfd.h"
--- a/modules/dirname
+++ b/modules/dirname
@@ -19,7 +19,7 @@
 gl_DIRNAME
 
 Makefile.am:
-EXTRA_DIST += dirname.h
+EXTRA_DIST += dirname.h dirname.c basename.c stripslash.c
 
 Include:
 "dirname.h"
--- a/modules/dup2
+++ b/modules/dup2
@@ -11,6 +11,7 @@
 gl_FUNC_DUP2
 
 Makefile.am:
+EXTRA_DIST += dup2.c
 
 Include:
 <unistd.h>
--- a/modules/euidaccess
+++ b/modules/euidaccess
@@ -14,7 +14,7 @@
 gl_FUNC_EUIDACCESS
 
 Makefile.am:
-lib_SOURCES += euidaccess.h
+EXTRA_DIST += euidaccess.h euidaccess.c
 
 Include:
 "euidaccess.h"
--- a/modules/exclude
+++ b/modules/exclude
@@ -17,7 +17,7 @@
 gl_EXCLUDE
 
 Makefile.am:
-EXTRA_DIST += exclude.h
+EXTRA_DIST += exclude.h exclude.c
 
 Include:
 "exclude.h"
--- a/modules/exitfail
+++ b/modules/exitfail
@@ -13,7 +13,7 @@
 gl_EXITFAIL
 
 Makefile.am:
-EXTRA_DIST += exitfail.h
+EXTRA_DIST += exitfail.h exitfail.c
 
 Include:
 "exitfail.h"
--- a/modules/fcntl-safer
+++ b/modules/fcntl-safer
@@ -15,7 +15,7 @@
 gl_FCNTL_SAFER
 
 Makefile.am:
-EXTRA_DIST += fcntl-safer.h fcntl--.h
+EXTRA_DIST += fcntl--.h creat-safer.c fcntl-safer.h open-safer.c
 
 Include:
 "fcntl-safer.h"
--- a/modules/file-type
+++ b/modules/file-type
@@ -14,7 +14,7 @@
 gl_FILE_TYPE
 
 Makefile.am:
-EXTRA_DIST += file-type.h
+EXTRA_DIST += file-type.h file-type.c
 
 Include:
 "file-type.h"
--- a/modules/fileblocks
+++ b/modules/fileblocks
@@ -11,6 +11,7 @@
 gl_FILEBLOCKS
 
 Makefile.am:
+EXTRA_DIST += fileblocks.c
 
 Include:
 
--- a/modules/filemode
+++ b/modules/filemode
@@ -15,7 +15,7 @@
 gl_FILEMODE
 
 Makefile.am:
-EXTRA_DIST += filemode.h
+EXTRA_DIST += filemode.h filemode.c
 
 Include:
 "filemode.h"
--- a/modules/filenamecat
+++ b/modules/filenamecat
@@ -15,7 +15,7 @@
 gl_FILE_NAME_CONCAT
 
 Makefile.am:
-EXTRA_DIST += filenamecat.h
+EXTRA_DIST += filenamecat.h filenamecat.c
 
 Include:
 "filenamecat.h"
--- a/modules/fnmatch
+++ b/modules/fnmatch
@@ -17,7 +17,7 @@
 
 Makefile.am:
 BUILT_SOURCES += $(FNMATCH_H)
-EXTRA_DIST += fnmatch_.h fnmatch_loop.c
+EXTRA_DIST += fnmatch_.h fnmatch.c fnmatch_loop.c
 
 # We need the following in order to create <fnmatch.h> when the system
 # doesn't have one that supports the required API.
--- a/modules/fopen-safer
+++ b/modules/fopen-safer
@@ -14,7 +14,7 @@
 gl_FOPEN_SAFER
 
 Makefile.am:
-EXTRA_DIST += stdio-safer.h stdio--.h
+EXTRA_DIST += stdio--.h stdio-safer.h fopen-safer.c
 
 Include:
 "stdio-safer.h"
--- a/modules/fpending
+++ b/modules/fpending
@@ -12,7 +12,7 @@
 gl_FUNC_FPENDING
 
 Makefile.am:
-EXTRA_DIST += __fpending.h
+EXTRA_DIST += __fpending.h __fpending.c
 
 Include:
 "__fpending.h"
--- a/modules/fprintftime
+++ b/modules/fprintftime
@@ -13,7 +13,7 @@
 gl_FPRINTFTIME
 
 Makefile.am:
-EXTRA_DIST += fprintftime.h
+EXTRA_DIST += fprintftime.h fprintftime.c
 
 Include:
 "fprintftime.h"
--- a/modules/free
+++ b/modules/free
@@ -11,6 +11,7 @@
 gl_FUNC_FREE
 
 Makefile.am:
+EXTRA_DIST += free.c
 
 Include:
 <stdlib.h>
--- a/modules/fsusage
+++ b/modules/fsusage
@@ -15,7 +15,7 @@
 gl_FSUSAGE
 
 Makefile.am:
-EXTRA_DIST += fsusage.h
+EXTRA_DIST += fsusage.h fsusage.c
 
 Include:
 "fsusage.h"
--- a/modules/ftruncate
+++ b/modules/ftruncate
@@ -11,6 +11,7 @@
 gl_FUNC_FTRUNCATE
 
 Makefile.am:
+EXTRA_DIST += ftruncate.c
 
 Include:
 <unistd.h>
--- a/modules/fts
+++ b/modules/fts
@@ -23,7 +23,7 @@
 gl_FUNC_FTS
 
 Makefile.am:
-EXTRA_DIST += fts_.h fts-cycle.c
+EXTRA_DIST += fts_.h fts.c fts-cycle.c
 
 Include:
 "fts_.h"
--- a/modules/gc
+++ b/modules/gc
@@ -18,7 +18,7 @@
 fi
 
 Makefile.am:
-EXTRA_DIST += gc.h
+EXTRA_DIST += gc.h gc-libgcrypt.c gc-gnulib.c
 if GL_COND_LIBTOOL
 lib_LDFLAGS += $(LTLIBGCRYPT)
 endif
--- a/modules/gc-pbkdf2-sha1
+++ b/modules/gc-pbkdf2-sha1
@@ -13,6 +13,7 @@
 gl_GC_PBKDF2_SHA1
 
 Makefile.am:
+EXTRA_DIST += gc-pbkdf2-sha1.c
 
 Include:
 "gc.h"
--- a/modules/getaddrinfo
+++ b/modules/getaddrinfo
@@ -20,7 +20,7 @@
 gl_GETADDRINFO
 
 Makefile.am:
-lib_SOURCES += getaddrinfo.h
+EXTRA_DIST += getaddrinfo.h getaddrinfo.c gai_strerror.c
 
 Include:
 "getaddrinfo.h"
--- a/modules/getcwd
+++ b/modules/getcwd
@@ -18,7 +18,7 @@
 gl_FUNC_GETCWD
 
 Makefile.am:
-EXTRA_DIST += getcwd.h
+EXTRA_DIST += getcwd.h getcwd.c
 
 Include:
 "getcwd.h"
--- a/modules/getdelim
+++ b/modules/getdelim
@@ -12,7 +12,7 @@
 gl_FUNC_GETDELIM
 
 Makefile.am:
-EXTRA_DIST += getdelim.h
+EXTRA_DIST += getdelim.h getdelim.c
 
 Include:
 "getdelim.h"
--- a/modules/getdomainname
+++ b/modules/getdomainname
@@ -12,7 +12,7 @@
 gl_FUNC_GETDOMAINNAME
 
 Makefile.am:
-lib_SOURCES += getdomainname.h
+EXTRA_DIST += getdomainname.h getdomainname.c
 
 Include:
 "getdomainname.h"
--- a/modules/getgroups
+++ b/modules/getgroups
@@ -12,6 +12,7 @@
 gl_FUNC_GETGROUPS
 
 Makefile.am:
+EXTRA_DIST += getgroups.c
 
 Include:
 <unistd.h>
--- a/modules/gethostname
+++ b/modules/gethostname
@@ -11,6 +11,7 @@
 gl_FUNC_GETHOSTNAME
 
 Makefile.am:
+EXTRA_DIST += gethostname.c
 
 Include:
 
--- a/modules/gethrxtime
+++ b/modules/gethrxtime
@@ -17,7 +17,7 @@
 gl_GETHRXTIME
 
 Makefile.am:
-EXTRA_DIST += gethrxtime.h xtime.h
+EXTRA_DIST += xtime.h gethrxtime.c gethrxtime.h
 
 Include:
 #include "xtime.h"
--- a/modules/getline
+++ b/modules/getline
@@ -13,7 +13,7 @@
 gl_FUNC_GETLINE
 
 Makefile.am:
-EXTRA_DIST += getline.h
+EXTRA_DIST += getline.h getline.c
 
 Include:
 "getline.h"
--- a/modules/getloadavg
+++ b/modules/getloadavg
@@ -17,6 +17,7 @@
 gl_GETLOADAVG([$gl_source_base])
 
 Makefile.am:
+EXTRA_DIST += getloadavg.c
 
 Include:
 
--- a/modules/getlogin_r
+++ b/modules/getlogin_r
@@ -14,7 +14,7 @@
 gl_GETLOGIN_R
 
 Makefile.am:
-EXTRA_DIST += getlogin_r.h
+EXTRA_DIST += getlogin_r.h getlogin_r.c
 
 Include:
 "getlogin_r.h"
--- a/modules/getopt
+++ b/modules/getopt
@@ -17,7 +17,7 @@
 
 Makefile.am:
 BUILT_SOURCES += $(GETOPT_H)
-EXTRA_DIST += getopt_.h getopt_int.h
+EXTRA_DIST += getopt_.h getopt.c getopt1.c getopt_int.h
 
 # We need the following in order to create <getopt.h> when the system
 # doesn't have one that works with the given compiler.
--- a/modules/getpass
+++ b/modules/getpass
@@ -14,7 +14,7 @@
 gl_FUNC_GETPASS
 
 Makefile.am:
-EXTRA_DIST += getpass.h
+EXTRA_DIST += getpass.h getpass.c
 
 Include:
 "getpass.h"
--- a/modules/getpass-gnu
+++ b/modules/getpass-gnu
@@ -14,7 +14,7 @@
 gl_FUNC_GETPASS_GNU
 
 Makefile.am:
-EXTRA_DIST += getpass.h
+EXTRA_DIST += getpass.h getpass.c
 
 Include:
 "getpass.h"
--- a/modules/getsubopt
+++ b/modules/getsubopt
@@ -13,7 +13,7 @@
 gl_FUNC_GETSUBOPT
 
 Makefile.am:
-lib_SOURCES += getsubopt.h
+EXTRA_DIST += getsubopt.h getsubopt.c
 
 Include:
 "getsubopt.h"
--- a/modules/gettime
+++ b/modules/gettime
@@ -16,6 +16,7 @@
 gl_GETTIME
 
 Makefile.am:
+EXTRA_DIST += gettime.c
 
 Include:
 #include "timespec.h"
--- a/modules/gettimeofday
+++ b/modules/gettimeofday
@@ -11,6 +11,7 @@
 AC_FUNC_GETTIMEOFDAY_CLOBBER
 
 Makefile.am:
+EXTRA_DIST += gettimeofday.c
 
 Include:
 <sys/time.h>
--- a/modules/getugroups
+++ b/modules/getugroups
@@ -11,6 +11,7 @@
 gl_GETUGROUPS
 
 Makefile.am:
+EXTRA_DIST += getugroups.c
 
 Include:
 
--- a/modules/getusershell
+++ b/modules/getusershell
@@ -13,6 +13,7 @@
 gl_FUNC_GETUSERSHELL
 
 Makefile.am:
+EXTRA_DIST += getusershell.c
 
 Include:
 
--- a/modules/glob
+++ b/modules/glob
@@ -25,7 +25,7 @@
 
 Makefile.am:
 BUILT_SOURCES += $(GLOB_H)
-EXTRA_DIST += glob_.h glob-libc.h
+EXTRA_DIST += glob_.h glob-libc.h glob.c
 
 # We need the following in order to create <glob.h> when the system
 # doesn't have one that works with the given compiler.
--- a/modules/group-member
+++ b/modules/group-member
@@ -14,7 +14,7 @@
 gl_FUNC_GROUP_MEMBER
 
 Makefile.am:
-EXTRA_DIST += group-member.h
+EXTRA_DIST += group-member.h group-member.c
 
 Include:
 "group-member.h"
--- a/modules/hard-locale
+++ b/modules/hard-locale
@@ -14,7 +14,7 @@
 gl_HARD_LOCALE
 
 Makefile.am:
-EXTRA_DIST += hard-locale.h
+EXTRA_DIST += hard-locale.h hard-locale.c
 
 Include:
 "hard-locale.h"
--- a/modules/hash
+++ b/modules/hash
@@ -14,7 +14,7 @@
 gl_HASH
 
 Makefile.am:
-EXTRA_DIST += hash.h
+EXTRA_DIST += hash.h hash.c
 
 Include:
 "hash.h"
--- a/modules/hmac-md5
+++ b/modules/hmac-md5
@@ -14,7 +14,7 @@
 gl_HMAC_MD5
 
 Makefile.am:
-EXTRA_DIST += hmac.h
+EXTRA_DIST += hmac.h hmac-md5.c
 
 Include:
 "hmac.h"
--- a/modules/hmac-sha1
+++ b/modules/hmac-sha1
@@ -14,7 +14,7 @@
 gl_HMAC_SHA1
 
 Makefile.am:
-EXTRA_DIST += hmac.h
+EXTRA_DIST += hmac.h hmac-sha1.c
 
 Include:
 "hmac.h"
--- a/modules/human
+++ b/modules/human
@@ -20,7 +20,7 @@
 gl_HUMAN
 
 Makefile.am:
-EXTRA_DIST += human.h
+EXTRA_DIST += human.h human.c
 
 Include:
 "human.h"
--- a/modules/idcache
+++ b/modules/idcache
@@ -12,6 +12,7 @@
 gl_IDCACHE
 
 Makefile.am:
+EXTRA_DIST += idcache.c
 
 Include:
 
--- a/modules/imaxabs
+++ b/modules/imaxabs
@@ -12,6 +12,7 @@
 gl_FUNC_IMAXABS
 
 Makefile.am:
+EXTRA_DIST += imaxabs.c
 
 Include:
 <inttypes.h>
--- a/modules/imaxdiv
+++ b/modules/imaxdiv
@@ -12,6 +12,7 @@
 gl_FUNC_IMAXDIV
 
 Makefile.am:
+EXTRA_DIST += imaxdiv.c
 
 Include:
 <inttypes.h>
--- a/modules/inet_ntop
+++ b/modules/inet_ntop
@@ -16,7 +16,7 @@
 gl_INET_NTOP
 
 Makefile.am:
-lib_SOURCES += inet_ntop.h
+EXTRA_DIST += inet_ntop.h inet_ntop.c
 
 License:
 LGPL
--- a/modules/inet_pton
+++ b/modules/inet_pton
@@ -16,7 +16,7 @@
 gl_INET_PTON
 
 Makefile.am:
-lib_SOURCES += inet_pton.h
+EXTRA_DIST += inet_pton.h inet_pton.c
 
 License:
 LGPL
--- a/modules/inttostr
+++ b/modules/inttostr
@@ -17,7 +17,7 @@
 gl_INTTOSTR
 
 Makefile.am:
-EXTRA_DIST += inttostr.c inttostr.h
+EXTRA_DIST += imaxtostr.c inttostr.c inttostr.h offtostr.c umaxtostr.c
 
 Include:
 "inttostr.h"
--- a/modules/isapipe
+++ b/modules/isapipe
@@ -15,7 +15,7 @@
 gl_ISAPIPE
 
 Makefile.am:
-EXTRA_DIST += isapipe.h
+EXTRA_DIST += isapipe.h isapipe.c
 
 Include:
 "isapipe.h"
--- a/modules/lchown
+++ b/modules/lchown
@@ -14,7 +14,7 @@
 gl_FUNC_LCHOWN
 
 Makefile.am:
-EXTRA_DIST += lchown.h
+EXTRA_DIST += lchown.h lchown.c
 
 Include:
 "lchown.h"
--- a/modules/long-options
+++ b/modules/long-options
@@ -13,7 +13,7 @@
 gl_LONG_OPTIONS
 
 Makefile.am:
-EXTRA_DIST += long-options.h
+EXTRA_DIST += long-options.h long-options.c
 
 Include:
 "long-options.h"
--- a/modules/lstat
+++ b/modules/lstat
@@ -13,7 +13,7 @@
 gl_FUNC_LSTAT
 
 Makefile.am:
-EXTRA_DIST += lstat.h
+EXTRA_DIST += lstat.h lstat.c
 
 Include:
 "lstat.h"
--- a/modules/malloc
+++ b/modules/malloc
@@ -10,6 +10,7 @@
 AC_FUNC_MALLOC
 
 Makefile.am:
+EXTRA_DIST += malloc.c
 
 Include:
 <stdlib.h>
--- a/modules/mathl
+++ b/modules/mathl
@@ -28,6 +28,8 @@
 
 Makefile.am:
 noinst_HEADERS += mathl.h trigl.h trigl.c sincosl.c
+EXTRA_DIST += floorl.c ceill.c sqrtl.c frexpl.c ldexpl.c asinl.c acosl.c atanl.c \
+              logl.c expl.c tanl.c sinl.c cosl.c
 
 Include:
 "mathl.h"
--- a/modules/mbchar
+++ b/modules/mbchar
@@ -14,7 +14,7 @@
 gl_MBCHAR
 
 Makefile.am:
-lib_SOURCES += mbchar.h
+EXTRA_DIST += mbchar.h mbchar.c
 
 Include:
 #if HAVE_WCHAR_H
--- a/modules/md2
+++ b/modules/md2
@@ -13,7 +13,7 @@
 gl_MD2
 
 Makefile.am:
-EXTRA_DIST += md2.h
+EXTRA_DIST += md2.h md2.c
 
 Include:
 "md2.h"
--- a/modules/md4
+++ b/modules/md4
@@ -13,7 +13,7 @@
 gl_MD4
 
 Makefile.am:
-EXTRA_DIST += md4.h
+EXTRA_DIST += md4.h md4.c
 
 Include:
 "md4.h"
--- a/modules/md5
+++ b/modules/md5
@@ -13,7 +13,7 @@
 gl_MD5
 
 Makefile.am:
-lib_SOURCES += md5.h
+EXTRA_DIST += md5.h md5.c
 
 Include:
 "md5.h"
--- a/modules/memcasecmp
+++ b/modules/memcasecmp
@@ -12,7 +12,7 @@
 gl_MEMCASECMP
 
 Makefile.am:
-EXTRA_DIST += memcasecmp.h
+EXTRA_DIST += memcasecmp.h memcasecmp.c
 
 Include:
 "memcasecmp.h"
--- a/modules/memchr
+++ b/modules/memchr
@@ -11,6 +11,7 @@
 gl_FUNC_MEMCHR
 
 Makefile.am:
+EXTRA_DIST += memchr.c
 
 Include:
 <string.h>
--- a/modules/memcmp
+++ b/modules/memcmp
@@ -11,6 +11,7 @@
 gl_FUNC_MEMCMP
 
 Makefile.am:
+EXTRA_DIST += memcmp.c
 
 Include:
 <string.h>
--- a/modules/memcoll
+++ b/modules/memcoll
@@ -12,7 +12,7 @@
 gl_MEMCOLL
 
 Makefile.am:
-EXTRA_DIST += memcoll.h
+EXTRA_DIST += memcoll.h memcoll.c
 
 Include:
 "memcoll.h"
--- a/modules/memcpy
+++ b/modules/memcpy
@@ -11,6 +11,7 @@
 gl_FUNC_MEMCPY
 
 Makefile.am:
+EXTRA_DIST += memcpy.c
 
 Include:
 <string.h>
--- a/modules/memmem
+++ b/modules/memmem
@@ -12,7 +12,7 @@
 gl_FUNC_MEMMEM
 
 Makefile.am:
-lib_SOURCES += memmem.h
+EXTRA_DIST += memmem.h memmem.c
 
 Include:
 "memmem.h"
--- a/modules/memmove
+++ b/modules/memmove
@@ -11,6 +11,7 @@
 gl_FUNC_MEMMOVE
 
 Makefile.am:
+EXTRA_DIST += memmove.c
 
 Include:
 <string.h>
--- a/modules/mempcpy
+++ b/modules/mempcpy
@@ -12,7 +12,7 @@
 gl_FUNC_MEMPCPY
 
 Makefile.am:
-EXTRA_DIST += mempcpy.h
+EXTRA_DIST += mempcpy.h mempcpy.c
 
 Include:
 "mempcpy.h"
--- a/modules/memrchr
+++ b/modules/memrchr
@@ -12,7 +12,7 @@
 gl_FUNC_MEMRCHR
 
 Makefile.am:
-EXTRA_DIST += memrchr.h
+EXTRA_DIST += memrchr.h memrchr.c
 
 Include:
 "memrchr.h"
--- a/modules/memset
+++ b/modules/memset
@@ -11,6 +11,7 @@
 gl_FUNC_MEMSET
 
 Makefile.am:
+EXTRA_DIST += memset.c
 
 Include:
 <string.h>
--- a/modules/memxor
+++ b/modules/memxor
@@ -12,7 +12,7 @@
 gl_MEMXOR
 
 Makefile.am:
-EXTRA_DIST += memxor.h
+EXTRA_DIST += memxor.h memxor.c
 
 Include:
 "memxor.h"
--- a/modules/mkancesdirs
+++ b/modules/mkancesdirs
@@ -16,7 +16,7 @@
 gl_MKANCESDIRS
 
 Makefile.am:
-EXTRA_DIST += mkancesdirs.h
+EXTRA_DIST += mkancesdirs.h mkancesdirs.c
 
 Include:
 "mkancesdirs.h"
--- a/modules/mkdir
+++ b/modules/mkdir
@@ -13,6 +13,7 @@
 gl_FUNC_MKDIR_TRAILING_SLASH
 
 Makefile.am:
+EXTRA_DIST += mkdir.c
 
 Include:
 <sys/stat.h>
--- a/modules/mkdir-p
+++ b/modules/mkdir-p
@@ -24,7 +24,7 @@
 gl_MKDIR_PARENTS
 
 Makefile.am:
-lib_SOURCES += dirchownmod.h mkdir-p.h
+EXTRA_DIST += dirchownmod.c dirchownmod.h mkdir-p.c mkdir-p.h
 
 Include:
 "mkdir-p.h"
--- a/modules/mkdtemp
+++ b/modules/mkdtemp
@@ -14,7 +14,7 @@
 gt_FUNC_MKDTEMP
 
 Makefile.am:
-lib_SOURCES += mkdtemp.h
+EXTRA_DIST += mkdtemp.h mkdtemp.c
 
 Include:
 "mkdtemp.h"
--- a/modules/mkstemp
+++ b/modules/mkstemp
@@ -17,7 +17,7 @@
 gl_FUNC_MKSTEMP
 
 Makefile.am:
-EXTRA_DIST += mkstemp.h
+EXTRA_DIST += mkstemp.h mkstemp.c tempname.c
 
 Include:
 "mkstemp.h"
--- a/modules/mktime
+++ b/modules/mktime
@@ -12,6 +12,7 @@
 gl_FUNC_MKTIME
 
 Makefile.am:
+EXTRA_DIST += mktime.c
 
 Include:
 <time.h>
--- a/modules/modechange
+++ b/modules/modechange
@@ -15,7 +15,7 @@
 gl_MODECHANGE
 
 Makefile.am:
-EXTRA_DIST += modechange.h
+EXTRA_DIST += modechange.h modechange.c
 
 Include:
 "modechange.h"
--- a/modules/mountlist
+++ b/modules/mountlist
@@ -16,7 +16,7 @@
 gl_MOUNTLIST
 
 Makefile.am:
-EXTRA_DIST += mountlist.h
+EXTRA_DIST += mountlist.h mountlist.c
 
 Include:
 "mountlist.h"
--- a/modules/nanosleep
+++ b/modules/nanosleep
@@ -15,6 +15,7 @@
 gl_FUNC_NANOSLEEP
 
 Makefile.am:
+EXTRA_DIST += nanosleep.c
 
 Include:
 <time.h>
--- a/modules/openat
+++ b/modules/openat
@@ -27,7 +27,8 @@
 gl_FUNC_OPENAT
 
 Makefile.am:
-EXTRA_DIST += at-func.c openat.h openat-priv.h
+EXTRA_DIST += at-func.c fchmodat.c mkdirat.c \
+              openat.c openat.h openat-die.c openat-priv.h openat-proc.c
 
 Include:
 "openat.h"
--- a/modules/pagealign_alloc
+++ b/modules/pagealign_alloc
@@ -19,7 +19,7 @@
 gl_PAGEALIGN_ALLOC
 
 Makefile.am:
-EXTRA_DIST += pagealign_alloc.h
+EXTRA_DIST += pagealign_alloc.h pagealign_alloc.c
 
 Include:
 #include "pagealign_alloc.h"
--- a/modules/physmem
+++ b/modules/physmem
@@ -12,7 +12,7 @@
 gl_PHYSMEM
 
 Makefile.am:
-EXTRA_DIST += physmem.h
+EXTRA_DIST += physmem.h physmem.c
 
 Include:
 "physmem.h"
--- a/modules/poll
+++ b/modules/poll
@@ -13,7 +13,7 @@
 
 Makefile.am:
 BUILT_SOURCES += $(POLL_H)
-EXTRA_DIST += poll_.h
+EXTRA_DIST += poll_.h poll.c
 
 # We need the following in order to create <poll.h> when the system
 # doesn't have one.
--- a/modules/posixtm
+++ b/modules/posixtm
@@ -14,7 +14,7 @@
 gl_POSIXTM
 
 Makefile.am:
-EXTRA_DIST += posixtm.h
+EXTRA_DIST += posixtm.h posixtm.c
 
 Include:
 "posixtm.h"
--- a/modules/posixver
+++ b/modules/posixver
@@ -13,7 +13,7 @@
 gl_POSIXVER
 
 Makefile.am:
-EXTRA_DIST += posixver.h
+EXTRA_DIST += posixver.h posixver.c
 
 Include:
 "posixver.h"
--- a/modules/putenv
+++ b/modules/putenv
@@ -11,6 +11,7 @@
 gl_FUNC_PUTENV
 
 Makefile.am:
+EXTRA_DIST += putenv.c
 
 Include:
 
--- a/modules/quote
+++ b/modules/quote
@@ -13,7 +13,7 @@
 gl_QUOTE
 
 Makefile.am:
-EXTRA_DIST += quote.h
+EXTRA_DIST += quote.h quote.c
 
 Include:
 "quote.h"
--- a/modules/quotearg
+++ b/modules/quotearg
@@ -17,7 +17,7 @@
 gl_QUOTEARG
 
 Makefile.am:
-EXTRA_DIST += quotearg.h
+EXTRA_DIST += quotearg.h quotearg.c
 
 Include:
 "quotearg.h"
--- a/modules/raise
+++ b/modules/raise
@@ -10,6 +10,7 @@
 AC_REPLACE_FUNCS(raise)
 
 Makefile.am:
+EXTRA_DIST += raise.c
 
 Include:
 
--- a/modules/read-file
+++ b/modules/read-file
@@ -12,7 +12,7 @@
 gl_FUNC_READ_FILE
 
 Makefile.am:
-EXTRA_DIST += read-file.h
+EXTRA_DIST += read-file.h read-file.c
 
 Include:
 "read-file.h"
--- a/modules/readline
+++ b/modules/readline
@@ -14,7 +14,7 @@
 gl_FUNC_READLINE
 
 Makefile.am:
-EXTRA_DIST += readline.h
+EXTRA_DIST += readline.h readline.c
 
 Include:
 "readline.h"
--- a/modules/readlink
+++ b/modules/readlink
@@ -11,6 +11,7 @@
 gl_FUNC_READLINK
 
 Makefile.am:
+EXTRA_DIST += readlink.c
 
 Include:
 
--- a/modules/readtokens
+++ b/modules/readtokens
@@ -14,7 +14,7 @@
 gl_READTOKENS
 
 Makefile.am:
-EXTRA_DIST += readtokens.h
+EXTRA_DIST += readtokens.h readtokens.c
 
 Include:
 "readtokens.h"
--- a/modules/readutmp
+++ b/modules/readutmp
@@ -15,7 +15,7 @@
 gl_READUTMP
 
 Makefile.am:
-EXTRA_DIST += readutmp.h
+EXTRA_DIST += readutmp.h readutmp.c
 
 Include:
 "readutmp.h"
--- a/modules/realloc
+++ b/modules/realloc
@@ -10,6 +10,7 @@
 AC_FUNC_REALLOC
 
 Makefile.am:
+EXTRA_DIST += realloc.c
 
 Include:
 <stdlib.h>
--- a/modules/regex
+++ b/modules/regex
@@ -24,7 +24,7 @@
 gl_REGEX
 
 Makefile.am:
-EXTRA_DIST += regcomp.c regex.h regex_internal.c regex_internal.h regexec.c
+EXTRA_DIST += regex.h regex.c regex_internal.c regex_internal.h regexec.c regcomp.c
 
 Include:
 "regex.h"
--- a/modules/rename
+++ b/modules/rename
@@ -13,6 +13,7 @@
 gl_FUNC_RENAME
 
 Makefile.am:
+EXTRA_DIST += rename.c
 
 Include:
 <stdio.h>
--- a/modules/rename-dest-slash
+++ b/modules/rename-dest-slash
@@ -13,6 +13,7 @@
 gl_FUNC_RENAME_TRAILING_DEST_SLASH
 
 Makefile.am:
+EXTRA_DIST += rename-dest-slash.c
 
 Include:
 <stdio.h>
--- a/modules/rijndael
+++ b/modules/rijndael
@@ -15,7 +15,7 @@
 gl_RIJNDAEL
 
 Makefile.am:
-EXTRA_DIST += rijndael-alg-fst.h rijndael-api-fst.h
+EXTRA_DIST += rijndael-alg-fst.c rijndael-alg-fst.h rijndael-api-fst.c rijndael-api-fst.h
 
 Include:
 "rijndael-alg-fst.h"
--- a/modules/rmdir
+++ b/modules/rmdir
@@ -12,6 +12,7 @@
 gl_FUNC_RMDIR
 
 Makefile.am:
+EXTRA_DIST += rmdir.c
 
 Include:
 <unistd.h>
--- a/modules/rpmatch
+++ b/modules/rpmatch
@@ -13,6 +13,7 @@
 gl_FUNC_RPMATCH
 
 Makefile.am:
+EXTRA_DIST += rpmatch.c
 
 Include:
 
--- a/modules/safe-read
+++ b/modules/safe-read
@@ -13,7 +13,7 @@
 gl_SAFE_READ
 
 Makefile.am:
-EXTRA_DIST += safe-read.h
+EXTRA_DIST += safe-read.h safe-read.c
 
 Include:
 "safe-read.h"
--- a/modules/safe-write
+++ b/modules/safe-write
@@ -13,7 +13,7 @@
 gl_SAFE_WRITE
 
 Makefile.am:
-EXTRA_DIST += safe-write.h
+EXTRA_DIST += safe-write.h safe-write.c
 
 Include:
 "safe-write.h"
--- a/modules/same
+++ b/modules/same
@@ -18,7 +18,7 @@
 gl_SAME
 
 Makefile.am:
-EXTRA_DIST += same.h
+EXTRA_DIST += same.h same.c
 
 Include:
 "same.h"
--- a/modules/save-cwd
+++ b/modules/save-cwd
@@ -16,7 +16,7 @@
 gl_SAVE_CWD
 
 Makefile.am:
-EXTRA_DIST += save-cwd.h
+EXTRA_DIST += save-cwd.h save-cwd.c
 
 Include:
 "save-cwd.h"
--- a/modules/savedir
+++ b/modules/savedir
@@ -14,7 +14,7 @@
 gl_SAVEDIR
 
 Makefile.am:
-EXTRA_DIST += savedir.h
+EXTRA_DIST += savedir.h savedir.c
 
 Include:
 "savedir.h"
--- a/modules/setenv
+++ b/modules/setenv
@@ -17,7 +17,7 @@
 gt_FUNC_SETENV
 
 Makefile.am:
-lib_SOURCES += setenv.h
+EXTRA_DIST += setenv.h setenv.c unsetenv.c
 
 Include:
 "setenv.h"
--- a/modules/settime
+++ b/modules/settime
@@ -14,6 +14,7 @@
 gl_SETTIME
 
 Makefile.am:
+EXTRA_DIST += settime.c
 
 Include:
 
--- a/modules/sha1
+++ b/modules/sha1
@@ -13,7 +13,7 @@
 gl_SHA1
 
 Makefile.am:
-EXTRA_DIST += sha1.h
+EXTRA_DIST += sha1.h sha1.c
 
 Include:
 "sha1.h"
--- a/modules/sig2str
+++ b/modules/sig2str
@@ -13,7 +13,7 @@
 gl_FUNC_SIG2STR
 
 Makefile.am:
-EXTRA_DIST += sig2str.h
+EXTRA_DIST += sig2str.h sig2str.c
 
 Include:
 "sig2str.h"
--- a/modules/snprintf
+++ b/modules/snprintf
@@ -13,7 +13,7 @@
 gl_FUNC_SNPRINTF
 
 Makefile.am:
-lib_SOURCES += snprintf.h
+EXTRA_DIST += snprintf.h snprintf.c
 
 Include:
 "snprintf.h"
--- a/modules/stdlib-safer
+++ b/modules/stdlib-safer
@@ -15,7 +15,7 @@
 gl_STDLIB_SAFER
 
 Makefile.am:
-EXTRA_DIST += stdlib-safer.h stdlib--.h
+EXTRA_DIST += stdlib--.h stdlib-safer.h mkstemp-safer.c
 
 Include:
 "stdlib-safer.h"
--- a/modules/stpcpy
+++ b/modules/stpcpy
@@ -12,7 +12,7 @@
 gl_FUNC_STPCPY
 
 Makefile.am:
-lib_SOURCES += stpcpy.h
+EXTRA_DIST += stpcpy.h stpcpy.c
 
 Include:
 "stpcpy.h"
--- a/modules/stpncpy
+++ b/modules/stpncpy
@@ -12,7 +12,7 @@
 gl_FUNC_STPNCPY
 
 Makefile.am:
-lib_SOURCES += stpncpy.h
+EXTRA_DIST += stpncpy.h stpncpy.c
 
 Include:
 "stpncpy.h"
--- a/modules/strcase
+++ b/modules/strcase
@@ -15,7 +15,7 @@
 gl_STRCASE
 
 Makefile.am:
-lib_SOURCES += strcase.h
+EXTRA_DIST += strcase.h strcasecmp.c strncasecmp.c
 
 Include:
 "strcase.h"
--- a/modules/strcasestr
+++ b/modules/strcasestr
@@ -14,7 +14,7 @@
 gl_FUNC_STRCASESTR
 
 Makefile.am:
-lib_SOURCES += strcasestr.h
+EXTRA_DIST += strcasestr.h strcasestr.c
 
 Include:
 "strcasestr.h"
--- a/modules/strchrnul
+++ b/modules/strchrnul
@@ -12,7 +12,7 @@
 gl_FUNC_STRCHRNUL
 
 Makefile.am:
-lib_SOURCES += strchrnul.h
+EXTRA_DIST += strchrnul.h strchrnul.c
 
 Include:
 "strchrnul.h"
--- a/modules/strcspn
+++ b/modules/strcspn
@@ -11,6 +11,7 @@
 gl_FUNC_STRCSPN
 
 Makefile.am:
+EXTRA_DIST += strcspn.c
 
 Include:
 <string.h>
--- a/modules/strdup
+++ b/modules/strdup
@@ -12,7 +12,7 @@
 gl_FUNC_STRDUP
 
 Makefile.am:
-EXTRA_DIST += strdup.h
+EXTRA_DIST += strdup.h strdup.c
 
 Include:
 "strdup.h"
--- a/modules/strerror
+++ b/modules/strerror
@@ -11,6 +11,7 @@
 gl_FUNC_STRERROR
 
 Makefile.am:
+EXTRA_DIST += strerror.c
 
 Include:
 <string.h>
--- a/modules/strftime
+++ b/modules/strftime
@@ -16,7 +16,7 @@
 gl_FUNC_GNU_STRFTIME
 
 Makefile.am:
-EXTRA_DIST += strftime.h
+EXTRA_DIST += strftime.h strftime.c
 
 Include:
 "strftime.h"
--- a/modules/strndup
+++ b/modules/strndup
@@ -13,7 +13,7 @@
 gl_FUNC_STRNDUP
 
 Makefile.am:
-EXTRA_DIST += strndup.h
+EXTRA_DIST += strndup.h strndup.c
 
 Include:
 "strndup.h"
--- a/modules/strnlen
+++ b/modules/strnlen
@@ -13,7 +13,7 @@
 gl_FUNC_STRNLEN
 
 Makefile.am:
-EXTRA_DIST += strnlen.h
+EXTRA_DIST += strnlen.h strnlen.c
 
 Include:
 "strnlen.h"
--- a/modules/strpbrk
+++ b/modules/strpbrk
@@ -12,7 +12,7 @@
 gl_FUNC_STRPBRK
 
 Makefile.am:
-lib_SOURCES += strpbrk.h
+EXTRA_DIST += strpbrk.h strpbrk.c
 
 Include:
 "strpbrk.h"
--- a/modules/strsep
+++ b/modules/strsep
@@ -13,7 +13,7 @@
 gl_FUNC_STRSEP
 
 Makefile.am:
-lib_SOURCES += strsep.h
+EXTRA_DIST += strsep.h strsep.c
 
 Include:
 "strsep.h"
--- a/modules/strstr
+++ b/modules/strstr
@@ -14,7 +14,7 @@
 gl_FUNC_STRSTR
 
 Makefile.am:
-lib_SOURCES += strstr.h
+EXTRA_DIST += strstr.h strstr.c
 
 Include:
 "strstr.h"
--- a/modules/strtod
+++ b/modules/strtod
@@ -12,6 +12,7 @@
 
 Makefile.am:
 LIBS += $(POW_LIB)
+EXTRA_DIST += strtod.c
 
 Include:
 <stdlib.h>
--- a/modules/strtoimax
+++ b/modules/strtoimax
@@ -16,6 +16,7 @@
 gl_FUNC_STRTOIMAX
 
 Makefile.am:
+EXTRA_DIST += strtoimax.c
 
 Include:
 
--- a/modules/strtok_r
+++ b/modules/strtok_r
@@ -12,7 +12,7 @@
 gl_FUNC_STRTOK_R
 
 Makefile.am:
-lib_SOURCES += strtok_r.h
+EXTRA_DIST += strtok_r.h strtok_r.c
 
 Include:
 "strtok_r.h"
--- a/modules/strtol
+++ b/modules/strtol
@@ -11,6 +11,7 @@
 gl_FUNC_STRTOL
 
 Makefile.am:
+EXTRA_DIST += strtol.c
 
 Include:
 <stdlib.h>
--- a/modules/strtoll
+++ b/modules/strtoll
@@ -13,6 +13,7 @@
 gl_FUNC_STRTOLL
 
 Makefile.am:
+EXTRA_DIST += strtoll.c
 
 Include:
 <stdlib.h>
--- a/modules/strtoul
+++ b/modules/strtoul
@@ -12,6 +12,7 @@
 gl_FUNC_STRTOUL
 
 Makefile.am:
+EXTRA_DIST += strtoul.c
 
 Include:
 <stdlib.h>
--- a/modules/strtoull
+++ b/modules/strtoull
@@ -13,6 +13,7 @@
 gl_FUNC_STRTOULL
 
 Makefile.am:
+EXTRA_DIST += strtoull.c
 
 Include:
 <stdlib.h>
--- a/modules/strtoumax
+++ b/modules/strtoumax
@@ -16,6 +16,7 @@
 gl_FUNC_STRTOUMAX
 
 Makefile.am:
+EXTRA_DIST += strtoumax.c
 
 Include:
 
--- a/modules/strverscmp
+++ b/modules/strverscmp
@@ -12,7 +12,7 @@
 gl_FUNC_STRVERSCMP
 
 Makefile.am:
-EXTRA_DIST += strverscmp.h
+EXTRA_DIST += strverscmp.h strverscmp.c
 
 Include:
 "strverscmp.h"
--- a/modules/time_r
+++ b/modules/time_r
@@ -13,7 +13,7 @@
 gl_TIME_R
 
 Makefile.am:
-EXTRA_DIST += time_r.h
+EXTRA_DIST += time_r.h time_r.c
 
 Include:
 "time_r.h"
--- a/modules/timegm
+++ b/modules/timegm
@@ -14,7 +14,7 @@
 gl_FUNC_TIMEGM
 
 Makefile.am:
-lib_SOURCES += timegm.h
+EXTRA_DIST += timegm.h timegm.c
 
 Include:
 "timegm.h"
--- a/modules/tmpfile-safer
+++ b/modules/tmpfile-safer
@@ -15,7 +15,7 @@
 gl_TMPFILE_SAFER
 
 Makefile.am:
-EXTRA_DIST += stdio-safer.h stdio--.h
+EXTRA_DIST += stdio--.h stdio-safer.h tmpfile-safer.c
 
 Include:
 "stdio-safer.h"
--- a/modules/unistd-safer
+++ b/modules/unistd-safer
@@ -15,7 +15,7 @@
 gl_UNISTD_SAFER
 
 Makefile.am:
-EXTRA_DIST += unistd-safer.h unistd--.h
+EXTRA_DIST += unistd--.h dup-safer.c fd-safer.c pipe-safer.c unistd-safer.h 
 
 Include:
 "unistd-safer.h"
--- a/modules/unlinkdir
+++ b/modules/unlinkdir
@@ -13,7 +13,7 @@
 gl_UNLINKDIR
 
 Makefile.am:
-EXTRA_DIST += unlinkdir.h
+EXTRA_DIST += unlinkdir.h unlinkdir.c
 
 Include:
 "unlinkdir.h"
--- a/modules/userspec
+++ b/modules/userspec
@@ -20,7 +20,7 @@
 gl_USERSPEC
 
 Makefile.am:
-EXTRA_DIST += userspec.h
+EXTRA_DIST += inttostr.h userspec.c userspec.h
 
 Include:
 "userspec.h"
--- a/modules/utime
+++ b/modules/utime
@@ -16,6 +16,7 @@
 gl_FUNC_UTIME
 
 Makefile.am:
+EXTRA_DIST += utime.c
 
 Include:
 #if HAVE_UTIME_H
--- a/modules/utimecmp
+++ b/modules/utimecmp
@@ -21,7 +21,7 @@
 gl_UTIMECMP
 
 Makefile.am:
-EXTRA_DIST += utimecmp.h
+EXTRA_DIST += utimecmp.h utimecmp.c
 
 Include:
 "utimecmp.h"
--- a/modules/utimens
+++ b/modules/utimens
@@ -15,7 +15,7 @@
 gl_UTIMENS
 
 Makefile.am:
-EXTRA_DIST += utimens.h
+EXTRA_DIST += utimens.h utimens.c
 
 Include:
 "utimens.h"
--- a/modules/vasnprintf
+++ b/modules/vasnprintf
@@ -28,7 +28,8 @@
 gl_FUNC_VASNPRINTF
 
 Makefile.am:
-lib_SOURCES += printf-args.h printf-parse.h vasnprintf.h
+EXTRA_DIST += printf-args.h printf-args.c printf-parse.h printf-parse.c \
+              vasnprintf.h vasnprintf.c asnprintf.c
 
 Include:
 "vasnprintf.h"
--- a/modules/vasprintf
+++ b/modules/vasprintf
@@ -14,7 +14,7 @@
 gl_FUNC_VASPRINTF
 
 Makefile.am:
-lib_SOURCES += vasprintf.h
+EXTRA_DIST += vasprintf.h vasprintf.c asprintf.c
 
 Include:
 "vasprintf.h"
--- a/modules/vsnprintf
+++ b/modules/vsnprintf
@@ -15,7 +15,7 @@
 gl_FUNC_VSNPRINTF
 
 Makefile.am:
-lib_SOURCES += vsnprintf.h
+EXTRA_DIST += vsnprintf.h vsnprintf.c
 
 Include:
 "vsnprintf.h"
--- a/modules/xalloc
+++ b/modules/xalloc
@@ -13,7 +13,7 @@
 gl_XALLOC
 
 Makefile.am:
-EXTRA_DIST += xalloc.h
+EXTRA_DIST += xalloc.h xmalloc.c
 
 Include:
 "xalloc.h"
--- a/modules/xgetcwd
+++ b/modules/xgetcwd
@@ -15,7 +15,7 @@
 gl_XGETCWD
 
 Makefile.am:
-EXTRA_DIST += xgetcwd.h
+EXTRA_DIST += xgetcwd.h xgetcwd.c
 
 Include:
 "xgetcwd.h"
--- a/modules/xnanosleep
+++ b/modules/xnanosleep
@@ -16,7 +16,7 @@
 gl_XNANOSLEEP
 
 Makefile.am:
-EXTRA_DIST += xnanosleep.h
+EXTRA_DIST += xnanosleep.h xnanosleep.c
 
 Include:
 "xnanosleep.h"
--- a/modules/xreadlink
+++ b/modules/xreadlink
@@ -15,7 +15,7 @@
 gl_XREADLINK
 
 Makefile.am:
-EXTRA_DIST += xreadlink.h
+EXTRA_DIST += xreadlink.h xreadlink.c
 
 Include:
 "xreadlink.h"
--- a/modules/xstrtod
+++ b/modules/xstrtod
@@ -13,7 +13,7 @@
 gl_XSTRTOD
 
 Makefile.am:
-EXTRA_DIST += xstrtod.h
+EXTRA_DIST += xstrtod.h xstrtod.c
 
 Include:
 "xstrtod.h"
--- a/modules/xstrtol
+++ b/modules/xstrtol
@@ -17,7 +17,7 @@
 gl_XSTRTOL
 
 Makefile.am:
-EXTRA_DIST += xstrtol.h
+EXTRA_DIST += xstrtol.h xstrtol.c xstrtoul.c
 
 Include:
 "xstrtol.h"
--- a/modules/xstrtold
+++ b/modules/xstrtold
@@ -14,7 +14,7 @@
 gl_XSTRTOLD
 
 Makefile.am:
-EXTRA_DIST += xstrtod.c xstrtod.h
+EXTRA_DIST += xstrtod.h xstrtod.c xstrtold.c
 
 Include:
 "xstrtod.h"
--- a/modules/yesno
+++ b/modules/yesno
@@ -16,7 +16,7 @@
 gl_YESNO
 
 Makefile.am:
-EXTRA_DIST += yesno.h
+EXTRA_DIST += yesno.h yesno.c
 
 Include:
 "yesno.h"