1## DO NOT EDIT! GENERATED AUTOMATICALLY!
2## Process this file with automake to produce Makefile.in.
3# Copyright (C) 2002-2010 Free Software Foundation, Inc.
4#
5# This file is free software, distributed under the terms of the GNU
6# General Public License.  As a special exception to the GNU General
7# Public License, this file may be distributed as part of a program
8# that contains a configuration script generated by Autoconf, under
9# the same distribution terms as the rest of that program.
10#
11# Generated by gnulib-tool.
12# Reproduce by: gnulib-tool --import --dir=. --local-dir=gl --lib=libcoreutils --source-base=lib --m4-base=m4 --doc-base=doc --tests-base=gnulib-tests --aux-dir=build-aux --with-tests --avoid=canonicalize-lgpl --avoid=dummy --no-libtool --macro-prefix=gl acl alloca announce-gen areadlink-with-size argmatch argv-iter assert atexit autobuild backupfile base64 c-strcase c-strtod c-strtold calloc canon-host canonicalize chown cloexec closein closeout config-h configmake crypto/md5 crypto/sha1 crypto/sha256 crypto/sha512 cycle-check d-ino d-type diacrit dirfd dirname do-release-commit-and-tag dup2 environ error euidaccess exclude exitfail faccessat fchdir fcntl fcntl-safer fdl file-type fileblocks filemode filenamecat filevercmp fnmatch-gnu fopen-safer fprintftime freopen freopen-safer fseeko fsusage fsync ftello ftruncate fts getdate getgroups gethrxtime getline getloadavg getndelim2 getopt-gnu getpagesize getpass-gnu gettext gettime gettimeofday getugroups getusershell git-version-gen gitlog-to-changelog gnu-make gnu-web-doc-update gnumakefile gnupload group-member hard-locale hash hash-pjw host-os human idcache ignore-value inttostr inttypes isapipe isblank lchmod lchown lib-ignore linebuffer link link-follow linkat long-options lstat maintainer-makefile malloc manywarnings mbrtowc mbsalign mbswidth memcasecmp memchr memcmp memcmp2 memcpy memmove mempcpy memrchr memset mgetgroups mkancesdirs mkdir mkdir-p mkstemp mktime modechange mountlist mpsort nproc obstack pathmax perl physmem posix-shell posixtm posixver priv-set progname propername putenv quote quotearg raise randint randperm readlink readtokens readtokens0 readutmp realloc regex remove rename rmdir root-dev-ino rpmatch safe-read same save-cwd savedir savewd selinux-at settime sig2str sigaction ssize_t stat-macros stat-time stdbool stdlib-safer stpcpy stpncpy strcspn strdup-posix strftime strpbrk strsignal strtod strtoimax strtol strtoumax symlink sys_stat timespec tzset uname unicodeio unistd-safer unlink-busy unlocked-io unsetenv update-copyright uptime useless-if-before-free userspec utimecmp utimens vasprintf-posix vc-list-files verify verror version-etc-fsf wcwidth winsz-ioctl winsz-termios write-any-file xalloc xfreopen xgetcwd xgethostname xmemcoll xnanosleep xprintf xprintf-posix xreadlink xstrtod xstrtoimax xstrtol xstrtold xstrtoumax yesno
13
14AUTOMAKE_OPTIONS = 1.5 gnits subdir-objects
15
16SUBDIRS =
17noinst_HEADERS =
18noinst_LIBRARIES =
19noinst_LTLIBRARIES =
20EXTRA_DIST =
21BUILT_SOURCES =
22SUFFIXES =
23MOSTLYCLEANFILES = core *.stackdump
24MOSTLYCLEANDIRS =
25CLEANFILES =
26DISTCLEANFILES =
27MAINTAINERCLEANFILES =
28
29AM_CPPFLAGS =
30AM_CFLAGS =
31
32noinst_LIBRARIES += libcoreutils.a
33
34libcoreutils_a_SOURCES =
35libcoreutils_a_LIBADD = $(gl_LIBOBJS)
36libcoreutils_a_DEPENDENCIES = $(gl_LIBOBJS)
37EXTRA_libcoreutils_a_SOURCES =
38
39## begin gnulib module acl
40
41libcoreutils_a_SOURCES += set-mode-acl.c copy-acl.c file-has-acl.c
42
43EXTRA_DIST += acl-internal.h acl.h acl_entries.c
44
45EXTRA_libcoreutils_a_SOURCES += acl_entries.c
46
47## end   gnulib module acl
48
49## begin gnulib module alignof
50
51
52EXTRA_DIST += alignof.h
53
54## end   gnulib module alignof
55
56## begin gnulib module alloca
57
58
59EXTRA_DIST += alloca.c
60
61EXTRA_libcoreutils_a_SOURCES += alloca.c
62
63libcoreutils_a_LIBADD += @ALLOCA@
64libcoreutils_a_DEPENDENCIES += @ALLOCA@
65## end   gnulib module alloca
66
67## begin gnulib module alloca-opt
68
69BUILT_SOURCES += $(ALLOCA_H)
70
71# We need the following in order to create <alloca.h> when the system
72# doesn't have one that works with the given compiler.
73alloca.h: alloca.in.h
74	$(AM_V_GEN)rm -f $@-t $@ && \
75	{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
76	  cat $(srcdir)/alloca.in.h; \
77	} > $@-t && \
78	mv -f $@-t $@
79MOSTLYCLEANFILES += alloca.h alloca.h-t
80
81EXTRA_DIST += alloca.in.h
82
83## end   gnulib module alloca-opt
84
85## begin gnulib module announce-gen
86
87
88EXTRA_DIST += $(top_srcdir)/build-aux/announce-gen
89
90## end   gnulib module announce-gen
91
92## begin gnulib module areadlink
93
94libcoreutils_a_SOURCES += areadlink.c
95
96EXTRA_DIST += areadlink.h
97
98## end   gnulib module areadlink
99
100## begin gnulib module areadlink-with-size
101
102libcoreutils_a_SOURCES += areadlink-with-size.c
103
104EXTRA_DIST += areadlink.h
105
106## end   gnulib module areadlink-with-size
107
108## begin gnulib module areadlinkat
109
110libcoreutils_a_SOURCES += areadlinkat.c
111
112EXTRA_DIST += areadlink.h
113
114## end   gnulib module areadlinkat
115
116## begin gnulib module arg-nonnull
117
118# The BUILT_SOURCES created by this Makefile snippet are not used via #include
119# statements but through direct file reference. Therefore this snippet must be
120# present in all Makefile.am that need it. This is ensured by the applicability
121# 'all' defined above.
122
123BUILT_SOURCES += arg-nonnull.h
124# The arg-nonnull.h that gets inserted into generated .h files is the same as
125# build-aux/arg-nonnull.h, except that it has the copyright header cut off.
126arg-nonnull.h: $(top_srcdir)/build-aux/arg-nonnull.h
127	$(AM_V_GEN)rm -f $@-t $@ && \
128	sed -n -e '/GL_ARG_NONNULL/,$$p' \
129	  < $(top_srcdir)/build-aux/arg-nonnull.h \
130	  > $@-t && \
131	mv $@-t $@
132MOSTLYCLEANFILES += arg-nonnull.h arg-nonnull.h-t
133
134ARG_NONNULL_H=arg-nonnull.h
135
136EXTRA_DIST += $(top_srcdir)/build-aux/arg-nonnull.h
137
138## end   gnulib module arg-nonnull
139
140## begin gnulib module argmatch
141
142
143EXTRA_DIST += argmatch.c argmatch.h
144
145EXTRA_libcoreutils_a_SOURCES += argmatch.c
146
147## end   gnulib module argmatch
148
149## begin gnulib module argv-iter
150
151libcoreutils_a_SOURCES += argv-iter.c argv-iter.h
152
153## end   gnulib module argv-iter
154
155## begin gnulib module arpa_inet
156
157BUILT_SOURCES += arpa/inet.h
158
159# We need the following in order to create <arpa/inet.h> when the system
160# doesn't have one.
161arpa/inet.h: arpa_inet.in.h $(LINK_WARNING_H) $(ARG_NONNULL_H)
162	$(AM_V_at)$(MKDIR_P) arpa
163	$(AM_V_GEN)rm -f $@-t $@ && \
164	{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
165	  sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
166	      -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
167	      -e 's|@''NEXT_ARPA_INET_H''@|$(NEXT_ARPA_INET_H)|g' \
168	      -e 's|@''HAVE_ARPA_INET_H''@|$(HAVE_ARPA_INET_H)|g' \
169	      -e 's|@''GNULIB_INET_NTOP''@|$(GNULIB_INET_NTOP)|g' \
170	      -e 's|@''GNULIB_INET_PTON''@|$(GNULIB_INET_PTON)|g' \
171	      -e 's|@''HAVE_DECL_INET_NTOP''@|$(HAVE_DECL_INET_NTOP)|g' \
172	      -e 's|@''HAVE_DECL_INET_PTON''@|$(HAVE_DECL_INET_PTON)|g' \
173	      -e '/definition of GL_LINK_WARNING/r $(LINK_WARNING_H)' \
174	      -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
175	      < $(srcdir)/arpa_inet.in.h; \
176	} > $@-t && \
177	mv $@-t $@
178MOSTLYCLEANFILES += arpa/inet.h arpa/inet.h-t
179MOSTLYCLEANDIRS += arpa
180
181EXTRA_DIST += arpa_inet.in.h
182
183## end   gnulib module arpa_inet
184
185## begin gnulib module atexit
186
187
188EXTRA_DIST += atexit.c
189
190EXTRA_libcoreutils_a_SOURCES += atexit.c
191
192## end   gnulib module atexit
193
194## begin gnulib module backupfile
195
196
197EXTRA_DIST += backupfile.c backupfile.h
198
199EXTRA_libcoreutils_a_SOURCES += backupfile.c
200
201## end   gnulib module backupfile
202
203## begin gnulib module base64
204
205libcoreutils_a_SOURCES += base64.h base64.c
206
207## end   gnulib module base64
208
209## begin gnulib module bitrotate
210
211libcoreutils_a_SOURCES += bitrotate.h
212
213## end   gnulib module bitrotate
214
215## begin gnulib module btowc
216
217
218EXTRA_DIST += btowc.c
219
220EXTRA_libcoreutils_a_SOURCES += btowc.c
221
222## end   gnulib module btowc
223
224## begin gnulib module c-ctype
225
226libcoreutils_a_SOURCES += c-ctype.h c-ctype.c
227
228## end   gnulib module c-ctype
229
230## begin gnulib module c-strcase
231
232libcoreutils_a_SOURCES += c-strcase.h c-strcasecmp.c c-strncasecmp.c
233
234## end   gnulib module c-strcase
235
236## begin gnulib module c-strtod
237
238
239EXTRA_DIST += c-strtod.c c-strtod.h
240
241EXTRA_libcoreutils_a_SOURCES += c-strtod.c
242
243## end   gnulib module c-strtod
244
245## begin gnulib module c-strtold
246
247
248EXTRA_DIST += c-strtod.c c-strtod.h c-strtold.c
249
250EXTRA_libcoreutils_a_SOURCES += c-strtod.c c-strtold.c
251
252## end   gnulib module c-strtold
253
254## begin gnulib module calloc
255
256
257EXTRA_DIST += calloc.c
258
259EXTRA_libcoreutils_a_SOURCES += calloc.c
260
261## end   gnulib module calloc
262
263## begin gnulib module calloc-posix
264
265
266EXTRA_DIST += calloc.c
267
268EXTRA_libcoreutils_a_SOURCES += calloc.c
269
270## end   gnulib module calloc-posix
271
272## begin gnulib module canon-host
273
274
275EXTRA_DIST += canon-host.c canon-host.h
276
277EXTRA_libcoreutils_a_SOURCES += canon-host.c
278
279## end   gnulib module canon-host
280
281## begin gnulib module canonicalize
282
283
284EXTRA_DIST += canonicalize.c canonicalize.h
285
286EXTRA_libcoreutils_a_SOURCES += canonicalize.c
287
288## end   gnulib module canonicalize
289
290## begin gnulib module chdir-long
291
292
293EXTRA_DIST += chdir-long.c chdir-long.h
294
295EXTRA_libcoreutils_a_SOURCES += chdir-long.c
296
297## end   gnulib module chdir-long
298
299## begin gnulib module chown
300
301
302EXTRA_DIST += chown.c fchown-stub.c
303
304EXTRA_libcoreutils_a_SOURCES += chown.c fchown-stub.c
305
306## end   gnulib module chown
307
308## begin gnulib module cloexec
309
310
311EXTRA_DIST += cloexec.c cloexec.h
312
313EXTRA_libcoreutils_a_SOURCES += cloexec.c
314
315## end   gnulib module cloexec
316
317## begin gnulib module close
318
319
320EXTRA_DIST += close.c
321
322EXTRA_libcoreutils_a_SOURCES += close.c
323
324## end   gnulib module close
325
326## begin gnulib module close-hook
327
328libcoreutils_a_SOURCES += close-hook.c
329
330EXTRA_DIST += close-hook.h
331
332## end   gnulib module close-hook
333
334## begin gnulib module close-stream
335
336
337EXTRA_DIST += close-stream.c close-stream.h
338
339EXTRA_libcoreutils_a_SOURCES += close-stream.c
340
341## end   gnulib module close-stream
342
343## begin gnulib module closein
344
345
346EXTRA_DIST += closein.c closein.h
347
348EXTRA_libcoreutils_a_SOURCES += closein.c
349
350## end   gnulib module closein
351
352## begin gnulib module closeout
353
354
355EXTRA_DIST += closeout.c closeout.h
356
357EXTRA_libcoreutils_a_SOURCES += closeout.c
358
359## end   gnulib module closeout
360
361## begin gnulib module configmake
362
363# Retrieve values of the variables through 'configure' followed by
364# 'make', not directly through 'configure', so that a user who
365# sets some of these variables consistently on the 'make' command
366# line gets correct results.
367#
368# One advantage of this approach, compared to the classical
369# approach of adding -DLIBDIR=\"$(libdir)\" etc. to AM_CPPFLAGS,
370# is that it protects against the use of undefined variables.
371# If, say, $(libdir) is not set in the Makefile, LIBDIR is not
372# defined by this module, and code using LIBDIR gives a
373# compilation error.
374#
375# Another advantage is that 'make' output is shorter.
376#
377# Listed in the same order as the GNU makefile conventions.
378# The Automake-defined pkg* macros are appended, in the order
379# listed in the Automake 1.10a+ documentation.
380configmake.h: Makefile
381	$(AM_V_GEN)rm -f $@-t && \
382	{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
383	  echo '#define PREFIX "$(prefix)"'; \
384	  echo '#define EXEC_PREFIX "$(exec_prefix)"'; \
385	  echo '#define BINDIR "$(bindir)"'; \
386	  echo '#define SBINDIR "$(sbindir)"'; \
387	  echo '#define LIBEXECDIR "$(libexecdir)"'; \
388	  echo '#define DATAROOTDIR "$(datarootdir)"'; \
389	  echo '#define DATADIR "$(datadir)"'; \
390	  echo '#define SYSCONFDIR "$(sysconfdir)"'; \
391	  echo '#define SHAREDSTATEDIR "$(sharedstatedir)"'; \
392	  echo '#define LOCALSTATEDIR "$(localstatedir)"'; \
393	  echo '#define INCLUDEDIR "$(includedir)"'; \
394	  echo '#define OLDINCLUDEDIR "$(oldincludedir)"'; \
395	  echo '#define DOCDIR "$(docdir)"'; \
396	  echo '#define INFODIR "$(infodir)"'; \
397	  echo '#define HTMLDIR "$(htmldir)"'; \
398	  echo '#define DVIDIR "$(dvidir)"'; \
399	  echo '#define PDFDIR "$(pdfdir)"'; \
400	  echo '#define PSDIR "$(psdir)"'; \
401	  echo '#define LIBDIR "$(libdir)"'; \
402	  echo '#define LISPDIR "$(lispdir)"'; \
403	  echo '#define LOCALEDIR "$(localedir)"'; \
404	  echo '#define MANDIR "$(mandir)"'; \
405	  echo '#define MANEXT "$(manext)"'; \
406	  echo '#define PKGDATADIR "$(pkgdatadir)"'; \
407	  echo '#define PKGINCLUDEDIR "$(pkgincludedir)"'; \
408	  echo '#define PKGLIBDIR "$(pkglibdir)"'; \
409	  echo '#define PKGLIBEXECDIR "$(pkglibexecdir)"'; \
410	} | sed '/""/d' > $@-t && \
411	if test -f $@ && cmp $@-t $@ > /dev/null; then \
412	  rm -f $@-t; \
413	else \
414	  rm -f $@; mv $@-t $@; \
415	fi
416
417BUILT_SOURCES += configmake.h
418CLEANFILES += configmake.h configmake.h-t
419
420## end   gnulib module configmake
421
422## begin gnulib module crypto/md5
423
424
425EXTRA_DIST += md5.c md5.h
426
427EXTRA_libcoreutils_a_SOURCES += md5.c
428
429## end   gnulib module crypto/md5
430
431## begin gnulib module crypto/sha1
432
433
434EXTRA_DIST += sha1.c sha1.h
435
436EXTRA_libcoreutils_a_SOURCES += sha1.c
437
438## end   gnulib module crypto/sha1
439
440## begin gnulib module crypto/sha256
441
442
443EXTRA_DIST += sha256.c sha256.h
444
445EXTRA_libcoreutils_a_SOURCES += sha256.c
446
447## end   gnulib module crypto/sha256
448
449## begin gnulib module crypto/sha512
450
451
452EXTRA_DIST += sha512.c sha512.h
453
454EXTRA_libcoreutils_a_SOURCES += sha512.c
455
456## end   gnulib module crypto/sha512
457
458## begin gnulib module ctype
459
460BUILT_SOURCES += ctype.h
461
462# We need the following in order to create <ctype.h> when the system
463# doesn't have one that works with the given compiler.
464ctype.h: ctype.in.h $(LINK_WARNING_H)
465	$(AM_V_GEN)rm -f $@-t $@ && \
466	{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
467	  sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
468	      -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
469	      -e 's|@''NEXT_CTYPE_H''@|$(NEXT_CTYPE_H)|g' \
470	      -e 's/@''GNULIB_ISBLANK''@/$(GNULIB_ISBLANK)/g' \
471	      -e 's/@''HAVE_ISBLANK''@/$(HAVE_ISBLANK)/g' \
472	      -e '/definition of GL_LINK_WARNING/r $(LINK_WARNING_H)' \
473	      < $(srcdir)/ctype.in.h; \
474	} > $@-t && \
475	mv $@-t $@
476MOSTLYCLEANFILES += ctype.h ctype.h-t
477
478EXTRA_DIST += ctype.in.h
479
480## end   gnulib module ctype
481
482## begin gnulib module cycle-check
483
484
485EXTRA_DIST += cycle-check.c cycle-check.h
486
487EXTRA_libcoreutils_a_SOURCES += cycle-check.c
488
489## end   gnulib module cycle-check
490
491## begin gnulib module dev-ino
492
493
494EXTRA_DIST += dev-ino.h
495
496## end   gnulib module dev-ino
497
498## begin gnulib module diacrit
499
500libcoreutils_a_SOURCES += diacrit.h diacrit.c
501
502## end   gnulib module diacrit
503
504## begin gnulib module dirent
505
506BUILT_SOURCES += dirent.h
507
508# We need the following in order to create <dirent.h> when the system
509# doesn't have one that works with the given compiler.
510dirent.h: dirent.in.h $(LINK_WARNING_H) $(ARG_NONNULL_H)
511	$(AM_V_GEN)rm -f $@-t $@ && \
512	{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
513	  sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
514	      -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
515	      -e 's|@''NEXT_DIRENT_H''@|$(NEXT_DIRENT_H)|g' \
516	      -e 's|@''GNULIB_DIRFD''@|$(GNULIB_DIRFD)|g' \
517	      -e 's|@''GNULIB_FDOPENDIR''@|$(GNULIB_FDOPENDIR)|g' \
518	      -e 's|@''GNULIB_SCANDIR''@|$(GNULIB_SCANDIR)|g' \
519	      -e 's|@''GNULIB_ALPHASORT''@|$(GNULIB_ALPHASORT)|g' \
520	      -e 's|@''HAVE_DECL_DIRFD''@|$(HAVE_DECL_DIRFD)|g' \
521	      -e 's|@''HAVE_FDOPENDIR''@|$(HAVE_FDOPENDIR)|g' \
522	      -e 's|@''HAVE_SCANDIR''@|$(HAVE_SCANDIR)|g' \
523	      -e 's|@''HAVE_ALPHASORT''@|$(HAVE_ALPHASORT)|g' \
524	      -e 's|@''REPLACE_CLOSEDIR''@|$(REPLACE_CLOSEDIR)|g' \
525	      -e 's|@''REPLACE_FDOPENDIR''@|$(REPLACE_FDOPENDIR)|g' \
526	      -e 's|@''REPLACE_OPENDIR''@|$(REPLACE_OPENDIR)|g' \
527	      -e '/definition of GL_LINK_WARNING/r $(LINK_WARNING_H)' \
528	      -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
529	      < $(srcdir)/dirent.in.h; \
530	} > $@-t && \
531	mv $@-t $@
532MOSTLYCLEANFILES += dirent.h dirent.h-t
533
534EXTRA_DIST += dirent.in.h
535
536## end   gnulib module dirent
537
538## begin gnulib module dirent-safer
539
540
541EXTRA_DIST += dirent--.h dirent-safer.h opendir-safer.c
542
543EXTRA_libcoreutils_a_SOURCES += opendir-safer.c
544
545## end   gnulib module dirent-safer
546
547## begin gnulib module dirfd
548
549
550EXTRA_DIST += dirfd.c
551
552EXTRA_libcoreutils_a_SOURCES += dirfd.c
553
554## end   gnulib module dirfd
555
556## begin gnulib module dirname
557
558
559EXTRA_DIST += basename.c dirname.c stripslash.c
560
561EXTRA_libcoreutils_a_SOURCES += basename.c dirname.c stripslash.c
562
563## end   gnulib module dirname
564
565## begin gnulib module dirname-lgpl
566
567
568EXTRA_DIST += basename-lgpl.c dirname-lgpl.c dirname.h stripslash.c
569
570EXTRA_libcoreutils_a_SOURCES += basename-lgpl.c dirname-lgpl.c stripslash.c
571
572## end   gnulib module dirname-lgpl
573
574## begin gnulib module do-release-commit-and-tag
575
576
577EXTRA_DIST += $(top_srcdir)/build-aux/do-release-commit-and-tag
578
579## end   gnulib module do-release-commit-and-tag
580
581## begin gnulib module dup2
582
583
584EXTRA_DIST += dup2.c
585
586EXTRA_libcoreutils_a_SOURCES += dup2.c
587
588## end   gnulib module dup2
589
590## begin gnulib module errno
591
592BUILT_SOURCES += $(ERRNO_H)
593
594# We need the following in order to create <errno.h> when the system
595# doesn't have one that is POSIX compliant.
596errno.h: errno.in.h
597	$(AM_V_GEN)rm -f $@-t $@ && \
598	{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
599	  sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
600	      -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
601	      -e 's|@''NEXT_ERRNO_H''@|$(NEXT_ERRNO_H)|g' \
602	      -e 's|@''EMULTIHOP_HIDDEN''@|$(EMULTIHOP_HIDDEN)|g' \
603	      -e 's|@''EMULTIHOP_VALUE''@|$(EMULTIHOP_VALUE)|g' \
604	      -e 's|@''ENOLINK_HIDDEN''@|$(ENOLINK_HIDDEN)|g' \
605	      -e 's|@''ENOLINK_VALUE''@|$(ENOLINK_VALUE)|g' \
606	      -e 's|@''EOVERFLOW_HIDDEN''@|$(EOVERFLOW_HIDDEN)|g' \
607	      -e 's|@''EOVERFLOW_VALUE''@|$(EOVERFLOW_VALUE)|g' \
608	      < $(srcdir)/errno.in.h; \
609	} > $@-t && \
610	mv $@-t $@
611MOSTLYCLEANFILES += errno.h errno.h-t
612
613EXTRA_DIST += errno.in.h
614
615## end   gnulib module errno
616
617## begin gnulib module error
618
619
620EXTRA_DIST += error.c error.h
621
622EXTRA_libcoreutils_a_SOURCES += error.c
623
624## end   gnulib module error
625
626## begin gnulib module euidaccess
627
628
629EXTRA_DIST += euidaccess.c
630
631EXTRA_libcoreutils_a_SOURCES += euidaccess.c
632
633## end   gnulib module euidaccess
634
635## begin gnulib module exclude
636
637
638EXTRA_DIST += exclude.c exclude.h
639
640EXTRA_libcoreutils_a_SOURCES += exclude.c
641
642## end   gnulib module exclude
643
644## begin gnulib module exitfail
645
646
647EXTRA_DIST += exitfail.c exitfail.h
648
649EXTRA_libcoreutils_a_SOURCES += exitfail.c
650
651## end   gnulib module exitfail
652
653## begin gnulib module faccessat
654
655
656EXTRA_DIST += faccessat.c
657
658EXTRA_libcoreutils_a_SOURCES += faccessat.c
659
660## end   gnulib module faccessat
661
662## begin gnulib module fchdir
663
664
665EXTRA_DIST += fchdir.c
666
667EXTRA_libcoreutils_a_SOURCES += fchdir.c
668
669## end   gnulib module fchdir
670
671## begin gnulib module fclose
672
673
674EXTRA_DIST += fclose.c
675
676EXTRA_libcoreutils_a_SOURCES += fclose.c
677
678## end   gnulib module fclose
679
680## begin gnulib module fcntl
681
682
683EXTRA_DIST += fcntl.c
684
685EXTRA_libcoreutils_a_SOURCES += fcntl.c
686
687## end   gnulib module fcntl
688
689## begin gnulib module fcntl-h
690
691BUILT_SOURCES += fcntl.h
692
693# We need the following in order to create <fcntl.h> when the system
694# doesn't have one that works with the given compiler.
695fcntl.h: fcntl.in.h $(LINK_WARNING_H) $(ARG_NONNULL_H)
696	$(AM_V_GEN)rm -f $@-t $@ && \
697	{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
698	  sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
699	      -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
700	      -e 's|@''NEXT_FCNTL_H''@|$(NEXT_FCNTL_H)|g' \
701	      -e 's|@''GNULIB_FCNTL''@|$(GNULIB_FCNTL)|g' \
702	      -e 's|@''GNULIB_OPEN''@|$(GNULIB_OPEN)|g' \
703	      -e 's|@''GNULIB_OPENAT''@|$(GNULIB_OPENAT)|g' \
704	      -e 's|@''HAVE_FCNTL''@|$(HAVE_FCNTL)|g' \
705	      -e 's|@''HAVE_OPENAT''@|$(HAVE_OPENAT)|g' \
706	      -e 's|@''REPLACE_FCNTL''@|$(REPLACE_FCNTL)|g' \
707	      -e 's|@''REPLACE_OPEN''@|$(REPLACE_OPEN)|g' \
708	      -e 's|@''REPLACE_OPENAT''@|$(REPLACE_OPENAT)|g' \
709	      -e '/definition of GL_LINK_WARNING/r $(LINK_WARNING_H)' \
710	      -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
711	      < $(srcdir)/fcntl.in.h; \
712	} > $@-t && \
713	mv $@-t $@
714MOSTLYCLEANFILES += fcntl.h fcntl.h-t
715
716EXTRA_DIST += fcntl.in.h
717
718## end   gnulib module fcntl-h
719
720## begin gnulib module fcntl-safer
721
722
723EXTRA_DIST += creat-safer.c fcntl--.h fcntl-safer.h open-safer.c
724
725EXTRA_libcoreutils_a_SOURCES += creat-safer.c open-safer.c
726
727## end   gnulib module fcntl-safer
728
729## begin gnulib module fd-safer-flag
730
731libcoreutils_a_SOURCES += fd-safer-flag.c dup-safer-flag.c
732
733## end   gnulib module fd-safer-flag
734
735## begin gnulib module fdopendir
736
737
738EXTRA_DIST += fdopendir.c openat-priv.h openat-proc.c
739
740EXTRA_libcoreutils_a_SOURCES += fdopendir.c openat-proc.c
741
742## end   gnulib module fdopendir
743
744## begin gnulib module fflush
745
746
747EXTRA_DIST += fflush.c stdio-impl.h
748
749EXTRA_libcoreutils_a_SOURCES += fflush.c
750
751## end   gnulib module fflush
752
753## begin gnulib module file-set
754
755libcoreutils_a_SOURCES += file-set.c
756
757EXTRA_DIST += file-set.h
758
759## end   gnulib module file-set
760
761## begin gnulib module file-type
762
763
764EXTRA_DIST += file-type.c file-type.h
765
766EXTRA_libcoreutils_a_SOURCES += file-type.c
767
768## end   gnulib module file-type
769
770## begin gnulib module fileblocks
771
772
773EXTRA_DIST += fileblocks.c
774
775EXTRA_libcoreutils_a_SOURCES += fileblocks.c
776
777## end   gnulib module fileblocks
778
779## begin gnulib module filemode
780
781
782EXTRA_DIST += filemode.c filemode.h
783
784EXTRA_libcoreutils_a_SOURCES += filemode.c
785
786## end   gnulib module filemode
787
788## begin gnulib module filenamecat
789
790
791EXTRA_DIST += filenamecat.c
792
793EXTRA_libcoreutils_a_SOURCES += filenamecat.c
794
795## end   gnulib module filenamecat
796
797## begin gnulib module filenamecat-lgpl
798
799
800EXTRA_DIST += filenamecat-lgpl.c filenamecat.h
801
802EXTRA_libcoreutils_a_SOURCES += filenamecat-lgpl.c
803
804## end   gnulib module filenamecat-lgpl
805
806## begin gnulib module filevercmp
807
808libcoreutils_a_SOURCES += filevercmp.c
809
810EXTRA_DIST += filevercmp.h
811
812## end   gnulib module filevercmp
813
814## begin gnulib module float
815
816BUILT_SOURCES += $(FLOAT_H)
817
818# We need the following in order to create <float.h> when the system
819# doesn't have one that works with the given compiler.
820float.h: float.in.h
821	$(AM_V_GEN)rm -f $@-t $@ && \
822	{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
823	  sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
824	      -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
825	      -e 's|@''NEXT_FLOAT_H''@|$(NEXT_FLOAT_H)|g' \
826	      < $(srcdir)/float.in.h; \
827	} > $@-t && \
828	mv $@-t $@
829MOSTLYCLEANFILES += float.h float.h-t
830
831EXTRA_DIST += float.in.h
832
833## end   gnulib module float
834
835## begin gnulib module fnmatch
836
837BUILT_SOURCES += $(FNMATCH_H)
838
839# We need the following in order to create <fnmatch.h> when the system
840# doesn't have one that supports the required API.
841fnmatch.h: fnmatch.in.h $(ARG_NONNULL_H)
842	$(AM_V_GEN)rm -f $@-t $@ && \
843	{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
844	  sed -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
845	      < $(srcdir)/fnmatch.in.h; \
846	} > $@-t && \
847	mv -f $@-t $@
848MOSTLYCLEANFILES += fnmatch.h fnmatch.h-t
849
850EXTRA_DIST += fnmatch.c fnmatch.in.h fnmatch_loop.c
851
852EXTRA_libcoreutils_a_SOURCES += fnmatch.c fnmatch_loop.c
853
854## end   gnulib module fnmatch
855
856## begin gnulib module fopen
857
858
859EXTRA_DIST += fopen.c
860
861EXTRA_libcoreutils_a_SOURCES += fopen.c
862
863## end   gnulib module fopen
864
865## begin gnulib module fopen-safer
866
867
868EXTRA_DIST += fopen-safer.c stdio--.h stdio-safer.h
869
870EXTRA_libcoreutils_a_SOURCES += fopen-safer.c
871
872## end   gnulib module fopen-safer
873
874## begin gnulib module fpending
875
876
877EXTRA_DIST += fpending.c fpending.h
878
879EXTRA_libcoreutils_a_SOURCES += fpending.c
880
881## end   gnulib module fpending
882
883## begin gnulib module fprintftime
884
885
886EXTRA_DIST += fprintftime.c fprintftime.h
887
888EXTRA_libcoreutils_a_SOURCES += fprintftime.c
889
890## end   gnulib module fprintftime
891
892## begin gnulib module fpucw
893
894
895EXTRA_DIST += fpucw.h
896
897## end   gnulib module fpucw
898
899## begin gnulib module fpurge
900
901
902EXTRA_DIST += fpurge.c stdio-impl.h
903
904EXTRA_libcoreutils_a_SOURCES += fpurge.c
905
906## end   gnulib module fpurge
907
908## begin gnulib module freadahead
909
910libcoreutils_a_SOURCES += freadahead.c
911
912EXTRA_DIST += freadahead.h stdio-impl.h
913
914## end   gnulib module freadahead
915
916## begin gnulib module freading
917
918libcoreutils_a_SOURCES += freading.c
919
920EXTRA_DIST += freading.h stdio-impl.h
921
922## end   gnulib module freading
923
924## begin gnulib module freadptr
925
926libcoreutils_a_SOURCES += freadptr.c
927
928EXTRA_DIST += freadptr.h stdio-impl.h
929
930## end   gnulib module freadptr
931
932## begin gnulib module freadseek
933
934libcoreutils_a_SOURCES += freadseek.c
935
936EXTRA_DIST += freadseek.h stdio-impl.h
937
938## end   gnulib module freadseek
939
940## begin gnulib module freopen
941
942
943EXTRA_DIST += freopen.c
944
945EXTRA_libcoreutils_a_SOURCES += freopen.c
946
947## end   gnulib module freopen
948
949## begin gnulib module freopen-safer
950
951
952EXTRA_DIST += freopen-safer.c stdio--.h stdio-safer.h
953
954EXTRA_libcoreutils_a_SOURCES += freopen-safer.c
955
956## end   gnulib module freopen-safer
957
958## begin gnulib module frexp-nolibm
959
960
961EXTRA_DIST += frexp.c
962
963EXTRA_libcoreutils_a_SOURCES += frexp.c
964
965## end   gnulib module frexp-nolibm
966
967## begin gnulib module frexpl-nolibm
968
969
970EXTRA_DIST += frexp.c frexpl.c
971
972EXTRA_libcoreutils_a_SOURCES += frexp.c frexpl.c
973
974## end   gnulib module frexpl-nolibm
975
976## begin gnulib module fseeko
977
978
979EXTRA_DIST += fseeko.c stdio-impl.h
980
981EXTRA_libcoreutils_a_SOURCES += fseeko.c
982
983## end   gnulib module fseeko
984
985## begin gnulib module fseterr
986
987libcoreutils_a_SOURCES += fseterr.c
988
989EXTRA_DIST += fseterr.h stdio-impl.h
990
991## end   gnulib module fseterr
992
993## begin gnulib module fsusage
994
995
996EXTRA_DIST += fsusage.c fsusage.h
997
998EXTRA_libcoreutils_a_SOURCES += fsusage.c
999
1000## end   gnulib module fsusage
1001
1002## begin gnulib module fsync
1003
1004
1005EXTRA_DIST += fsync.c
1006
1007EXTRA_libcoreutils_a_SOURCES += fsync.c
1008
1009## end   gnulib module fsync
1010
1011## begin gnulib module ftello
1012
1013
1014EXTRA_DIST += ftello.c
1015
1016EXTRA_libcoreutils_a_SOURCES += ftello.c
1017
1018## end   gnulib module ftello
1019
1020## begin gnulib module ftruncate
1021
1022
1023EXTRA_DIST += ftruncate.c
1024
1025EXTRA_libcoreutils_a_SOURCES += ftruncate.c
1026
1027## end   gnulib module ftruncate
1028
1029## begin gnulib module fts
1030
1031
1032EXTRA_DIST += fts-cycle.c fts.c fts_.h
1033
1034EXTRA_libcoreutils_a_SOURCES += fts-cycle.c fts.c
1035
1036## end   gnulib module fts
1037
1038## begin gnulib module full-read
1039
1040libcoreutils_a_SOURCES += full-read.h full-read.c
1041
1042## end   gnulib module full-read
1043
1044## begin gnulib module full-write
1045
1046libcoreutils_a_SOURCES += full-write.h full-write.c
1047
1048## end   gnulib module full-write
1049
1050## begin gnulib module gendocs
1051
1052
1053EXTRA_DIST += $(top_srcdir)/build-aux/gendocs.sh
1054
1055## end   gnulib module gendocs
1056
1057## begin gnulib module getaddrinfo
1058
1059
1060EXTRA_DIST += gai_strerror.c getaddrinfo.c
1061
1062EXTRA_libcoreutils_a_SOURCES += gai_strerror.c getaddrinfo.c
1063
1064## end   gnulib module getaddrinfo
1065
1066## begin gnulib module getcwd
1067
1068
1069EXTRA_DIST += getcwd.c
1070
1071EXTRA_libcoreutils_a_SOURCES += getcwd.c
1072
1073## end   gnulib module getcwd
1074
1075## begin gnulib module getdate
1076
1077libcoreutils_a_SOURCES += getdate.y
1078BUILT_SOURCES += getdate.c
1079MAINTAINERCLEANFILES += getdate.c
1080EXTRA_DIST += getdate.c
1081
1082EXTRA_DIST += getdate.h
1083
1084## end   gnulib module getdate
1085
1086## begin gnulib module getdelim
1087
1088
1089EXTRA_DIST += getdelim.c
1090
1091EXTRA_libcoreutils_a_SOURCES += getdelim.c
1092
1093## end   gnulib module getdelim
1094
1095## begin gnulib module getgroups
1096
1097
1098EXTRA_DIST += getgroups.c
1099
1100EXTRA_libcoreutils_a_SOURCES += getgroups.c
1101
1102## end   gnulib module getgroups
1103
1104## begin gnulib module gethostname
1105
1106
1107EXTRA_DIST += gethostname.c w32sock.h
1108
1109EXTRA_libcoreutils_a_SOURCES += gethostname.c
1110
1111## end   gnulib module gethostname
1112
1113## begin gnulib module gethrxtime
1114
1115
1116EXTRA_DIST += gethrxtime.c gethrxtime.h xtime.h
1117
1118EXTRA_libcoreutils_a_SOURCES += gethrxtime.c
1119
1120## end   gnulib module gethrxtime
1121
1122## begin gnulib module getline
1123
1124
1125EXTRA_DIST += getline.c
1126
1127EXTRA_libcoreutils_a_SOURCES += getline.c
1128
1129## end   gnulib module getline
1130
1131## begin gnulib module getloadavg
1132
1133
1134EXTRA_DIST += getloadavg.c
1135
1136EXTRA_libcoreutils_a_SOURCES += getloadavg.c
1137
1138## end   gnulib module getloadavg
1139
1140## begin gnulib module getndelim2
1141
1142
1143EXTRA_DIST += getndelim2.c getndelim2.h
1144
1145EXTRA_libcoreutils_a_SOURCES += getndelim2.c
1146
1147## end   gnulib module getndelim2
1148
1149## begin gnulib module getopt-posix
1150
1151BUILT_SOURCES += $(GETOPT_H)
1152
1153# We need the following in order to create <getopt.h> when the system
1154# doesn't have one that works with the given compiler.
1155getopt.h: getopt.in.h $(ARG_NONNULL_H)
1156	$(AM_V_GEN)rm -f $@-t $@ && \
1157	{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
1158	  sed -e 's|@''HAVE_GETOPT_H''@|$(HAVE_GETOPT_H)|g' \
1159	      -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1160	      -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1161	      -e 's|@''NEXT_GETOPT_H''@|$(NEXT_GETOPT_H)|g' \
1162	      -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
1163	      < $(srcdir)/getopt.in.h; \
1164	} > $@-t && \
1165	mv -f $@-t $@
1166MOSTLYCLEANFILES += getopt.h getopt.h-t
1167
1168EXTRA_DIST += getopt.c getopt.in.h getopt1.c getopt_int.h
1169
1170EXTRA_libcoreutils_a_SOURCES += getopt.c getopt1.c
1171
1172## end   gnulib module getopt-posix
1173
1174## begin gnulib module getpagesize
1175
1176
1177EXTRA_DIST += getpagesize.c
1178
1179EXTRA_libcoreutils_a_SOURCES += getpagesize.c
1180
1181## end   gnulib module getpagesize
1182
1183## begin gnulib module getpass-gnu
1184
1185
1186EXTRA_DIST += getpass.c getpass.h
1187
1188EXTRA_libcoreutils_a_SOURCES += getpass.c
1189
1190## end   gnulib module getpass-gnu
1191
1192## begin gnulib module gettext
1193
1194# This is for those projects which use "gettextize --intl" to put a source-code
1195# copy of libintl into their package. In such projects, every Makefile.am needs
1196# -I$(top_builddir)/intl, so that <libintl.h> can be found in this directory.
1197# For the Makefile.ams in other directories it is the maintainer's
1198# responsibility; for the one from gnulib we do it here.
1199# This option has no effect when the user disables NLS (because then the intl
1200# directory contains no libintl.h file) or when the project does not use
1201# "gettextize --intl".
1202#AM_CPPFLAGS += -I$(top_builddir)/intl
1203
1204EXTRA_DIST += $(top_srcdir)/build-aux/config.rpath
1205
1206## end   gnulib module gettext
1207
1208## begin gnulib module gettext-h
1209
1210libcoreutils_a_SOURCES += gettext.h
1211
1212## end   gnulib module gettext-h
1213
1214## begin gnulib module gettime
1215
1216
1217EXTRA_DIST += gettime.c
1218
1219EXTRA_libcoreutils_a_SOURCES += gettime.c
1220
1221## end   gnulib module gettime
1222
1223## begin gnulib module gettimeofday
1224
1225
1226EXTRA_DIST += gettimeofday.c
1227
1228EXTRA_libcoreutils_a_SOURCES += gettimeofday.c
1229
1230## end   gnulib module gettimeofday
1231
1232## begin gnulib module getugroups
1233
1234
1235EXTRA_DIST += getugroups.c getugroups.h
1236
1237EXTRA_libcoreutils_a_SOURCES += getugroups.c
1238
1239## end   gnulib module getugroups
1240
1241## begin gnulib module getusershell
1242
1243
1244EXTRA_DIST += getusershell.c
1245
1246EXTRA_libcoreutils_a_SOURCES += getusershell.c
1247
1248## end   gnulib module getusershell
1249
1250## begin gnulib module git-version-gen
1251
1252
1253EXTRA_DIST += $(top_srcdir)/build-aux/git-version-gen
1254
1255## end   gnulib module git-version-gen
1256
1257## begin gnulib module gitlog-to-changelog
1258
1259
1260EXTRA_DIST += $(top_srcdir)/build-aux/gitlog-to-changelog
1261
1262## end   gnulib module gitlog-to-changelog
1263
1264## begin gnulib module gnu-make
1265
1266##Sample usage of gnu-make module:
1267#if GNU_MAKE
1268#	[nicer features that work only with GNU Make]
1269#else
1270#	[fallback features that work in any 'make' implementation; see
1271#	http://www.opengroup.org/susv3/utilities/make.html
1272#	for the 2004 POSIX specification]
1273#endif
1274
1275## end   gnulib module gnu-make
1276
1277## begin gnulib module gnu-web-doc-update
1278
1279
1280EXTRA_DIST += $(top_srcdir)/build-aux/gnu-web-doc-update
1281
1282## end   gnulib module gnu-web-doc-update
1283
1284## begin gnulib module gnumakefile
1285
1286distclean-local: clean-GNUmakefile
1287clean-GNUmakefile:
1288	test x'$(VPATH)' != x && rm -f $(top_builddir)/GNUmakefile || :
1289
1290EXTRA_DIST += $(top_srcdir)/GNUmakefile
1291
1292## end   gnulib module gnumakefile
1293
1294## begin gnulib module gnupload
1295
1296
1297EXTRA_DIST += $(top_srcdir)/build-aux/gnupload
1298
1299## end   gnulib module gnupload
1300
1301## begin gnulib module gperf
1302
1303GPERF = gperf
1304
1305## end   gnulib module gperf
1306
1307## begin gnulib module group-member
1308
1309
1310EXTRA_DIST += group-member.c group-member.h
1311
1312EXTRA_libcoreutils_a_SOURCES += group-member.c
1313
1314## end   gnulib module group-member
1315
1316## begin gnulib module hard-locale
1317
1318
1319EXTRA_DIST += hard-locale.c hard-locale.h
1320
1321EXTRA_libcoreutils_a_SOURCES += hard-locale.c
1322
1323## end   gnulib module hard-locale
1324
1325## begin gnulib module hash
1326
1327
1328EXTRA_DIST += hash.c hash.h
1329
1330EXTRA_libcoreutils_a_SOURCES += hash.c
1331
1332## end   gnulib module hash
1333
1334## begin gnulib module hash-pjw
1335
1336libcoreutils_a_SOURCES += hash-pjw.h hash-pjw.c
1337
1338## end   gnulib module hash-pjw
1339
1340## begin gnulib module hash-triple
1341
1342libcoreutils_a_SOURCES += hash-triple.c
1343
1344EXTRA_DIST += hash-triple.h
1345
1346## end   gnulib module hash-triple
1347
1348## begin gnulib module havelib
1349
1350
1351EXTRA_DIST += $(top_srcdir)/build-aux/config.rpath
1352
1353## end   gnulib module havelib
1354
1355## begin gnulib module human
1356
1357
1358EXTRA_DIST += human.c human.h
1359
1360EXTRA_libcoreutils_a_SOURCES += human.c
1361
1362## end   gnulib module human
1363
1364## begin gnulib module i-ring
1365
1366
1367EXTRA_DIST += i-ring.c i-ring.h
1368
1369EXTRA_libcoreutils_a_SOURCES += i-ring.c
1370
1371## end   gnulib module i-ring
1372
1373## begin gnulib module iconv_open
1374
1375BUILT_SOURCES += $(ICONV_H)
1376
1377# We need the following in order to create <iconv.h> when the system
1378# doesn't have one that works with the given compiler.
1379iconv.h: iconv.in.h $(ARG_NONNULL_H)
1380	$(AM_V_GEN)rm -f $@-t $@ && \
1381	{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
1382	  sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1383	      -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1384	      -e 's|@''NEXT_ICONV_H''@|$(NEXT_ICONV_H)|g' \
1385	      -e 's|@''ICONV_CONST''@|$(ICONV_CONST)|g' \
1386	      -e 's|@''REPLACE_ICONV''@|$(REPLACE_ICONV)|g' \
1387	      -e 's|@''REPLACE_ICONV_OPEN''@|$(REPLACE_ICONV_OPEN)|g' \
1388	      -e 's|@''REPLACE_ICONV_UTF''@|$(REPLACE_ICONV_UTF)|g' \
1389	      -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
1390	      < $(srcdir)/iconv.in.h; \
1391	} > $@-t && \
1392	mv $@-t $@
1393MOSTLYCLEANFILES += iconv.h iconv.h-t
1394
1395iconv_open-aix.h: iconv_open-aix.gperf
1396	$(GPERF) -m 10 $(srcdir)/iconv_open-aix.gperf > $(srcdir)/iconv_open-aix.h-t
1397	mv $(srcdir)/iconv_open-aix.h-t $(srcdir)/iconv_open-aix.h
1398iconv_open-hpux.h: iconv_open-hpux.gperf
1399	$(GPERF) -m 10 $(srcdir)/iconv_open-hpux.gperf > $(srcdir)/iconv_open-hpux.h-t
1400	mv $(srcdir)/iconv_open-hpux.h-t $(srcdir)/iconv_open-hpux.h
1401iconv_open-irix.h: iconv_open-irix.gperf
1402	$(GPERF) -m 10 $(srcdir)/iconv_open-irix.gperf > $(srcdir)/iconv_open-irix.h-t
1403	mv $(srcdir)/iconv_open-irix.h-t $(srcdir)/iconv_open-irix.h
1404iconv_open-osf.h: iconv_open-osf.gperf
1405	$(GPERF) -m 10 $(srcdir)/iconv_open-osf.gperf > $(srcdir)/iconv_open-osf.h-t
1406	mv $(srcdir)/iconv_open-osf.h-t $(srcdir)/iconv_open-osf.h
1407iconv_open-solaris.h: iconv_open-solaris.gperf
1408	$(GPERF) -m 10 $(srcdir)/iconv_open-solaris.gperf > $(srcdir)/iconv_open-solaris.h-t
1409	mv $(srcdir)/iconv_open-solaris.h-t $(srcdir)/iconv_open-solaris.h
1410BUILT_SOURCES        += iconv_open-aix.h iconv_open-hpux.h iconv_open-irix.h iconv_open-osf.h iconv_open-solaris.h
1411MOSTLYCLEANFILES     += iconv_open-aix.h-t iconv_open-hpux.h-t iconv_open-irix.h-t iconv_open-osf.h-t iconv_open-solaris.h-t
1412MAINTAINERCLEANFILES += iconv_open-aix.h iconv_open-hpux.h iconv_open-irix.h iconv_open-osf.h iconv_open-solaris.h
1413EXTRA_DIST           += iconv_open-aix.h iconv_open-hpux.h iconv_open-irix.h iconv_open-osf.h iconv_open-solaris.h
1414
1415EXTRA_DIST += iconv.in.h iconv_open-aix.gperf iconv_open-hpux.gperf iconv_open-irix.gperf iconv_open-osf.gperf iconv_open-solaris.gperf iconv_open.c
1416
1417EXTRA_libcoreutils_a_SOURCES += iconv_open.c
1418
1419## end   gnulib module iconv_open
1420
1421## begin gnulib module idcache
1422
1423
1424EXTRA_DIST += idcache.c idcache.h
1425
1426EXTRA_libcoreutils_a_SOURCES += idcache.c
1427
1428## end   gnulib module idcache
1429
1430## begin gnulib module ignore-value
1431
1432libcoreutils_a_SOURCES += ignore-value.h
1433
1434## end   gnulib module ignore-value
1435
1436## begin gnulib module inet_ntop
1437
1438
1439EXTRA_DIST += inet_ntop.c
1440
1441EXTRA_libcoreutils_a_SOURCES += inet_ntop.c
1442
1443## end   gnulib module inet_ntop
1444
1445## begin gnulib module intprops
1446
1447
1448EXTRA_DIST += intprops.h
1449
1450## end   gnulib module intprops
1451
1452## begin gnulib module inttostr
1453
1454
1455EXTRA_DIST += imaxtostr.c inttostr.c inttostr.h offtostr.c uinttostr.c umaxtostr.c
1456
1457EXTRA_libcoreutils_a_SOURCES += imaxtostr.c inttostr.c offtostr.c uinttostr.c umaxtostr.c
1458
1459## end   gnulib module inttostr
1460
1461## begin gnulib module inttypes
1462
1463BUILT_SOURCES += inttypes.h
1464
1465# We need the following in order to create <inttypes.h> when the system
1466# doesn't have one that works with the given compiler.
1467inttypes.h: inttypes.in.h $(LINK_WARNING_H) $(ARG_NONNULL_H)
1468	$(AM_V_GEN)rm -f $@-t $@ && \
1469	{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
1470	  sed -e 's/@''HAVE_INTTYPES_H''@/$(HAVE_INTTYPES_H)/g' \
1471	      -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1472	      -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1473	      -e 's|@''NEXT_INTTYPES_H''@|$(NEXT_INTTYPES_H)|g' \
1474	      -e 's/@''PRI_MACROS_BROKEN''@/$(PRI_MACROS_BROKEN)/g' \
1475	      -e 's/@''APPLE_UNIVERSAL_BUILD''@/$(APPLE_UNIVERSAL_BUILD)/g' \
1476	      -e 's/@''HAVE_LONG_LONG_INT''@/$(HAVE_LONG_LONG_INT)/g' \
1477	      -e 's/@''HAVE_UNSIGNED_LONG_LONG_INT''@/$(HAVE_UNSIGNED_LONG_LONG_INT)/g' \
1478	      -e 's/@''PRIPTR_PREFIX''@/$(PRIPTR_PREFIX)/g' \
1479	      -e 's/@''GNULIB_IMAXABS''@/$(GNULIB_IMAXABS)/g' \
1480	      -e 's/@''GNULIB_IMAXDIV''@/$(GNULIB_IMAXDIV)/g' \
1481	      -e 's/@''GNULIB_STRTOIMAX''@/$(GNULIB_STRTOIMAX)/g' \
1482	      -e 's/@''GNULIB_STRTOUMAX''@/$(GNULIB_STRTOUMAX)/g' \
1483	      -e 's/@''HAVE_DECL_IMAXABS''@/$(HAVE_DECL_IMAXABS)/g' \
1484	      -e 's/@''HAVE_DECL_IMAXDIV''@/$(HAVE_DECL_IMAXDIV)/g' \
1485	      -e 's/@''HAVE_DECL_STRTOIMAX''@/$(HAVE_DECL_STRTOIMAX)/g' \
1486	      -e 's/@''HAVE_DECL_STRTOUMAX''@/$(HAVE_DECL_STRTOUMAX)/g' \
1487	      -e 's/@''INT32_MAX_LT_INTMAX_MAX''@/$(INT32_MAX_LT_INTMAX_MAX)/g' \
1488	      -e 's/@''INT64_MAX_EQ_LONG_MAX''@/$(INT64_MAX_EQ_LONG_MAX)/g' \
1489	      -e 's/@''UINT32_MAX_LT_UINTMAX_MAX''@/$(UINT32_MAX_LT_UINTMAX_MAX)/g' \
1490	      -e 's/@''UINT64_MAX_EQ_ULONG_MAX''@/$(UINT64_MAX_EQ_ULONG_MAX)/g' \
1491	      -e '/definition of GL_LINK_WARNING/r $(LINK_WARNING_H)' \
1492	      -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
1493	      < $(srcdir)/inttypes.in.h; \
1494	} > $@-t && \
1495	mv $@-t $@
1496MOSTLYCLEANFILES += inttypes.h inttypes.h-t
1497
1498EXTRA_DIST += inttypes.in.h
1499
1500## end   gnulib module inttypes
1501
1502## begin gnulib module isapipe
1503
1504
1505EXTRA_DIST += isapipe.c isapipe.h
1506
1507EXTRA_libcoreutils_a_SOURCES += isapipe.c
1508
1509## end   gnulib module isapipe
1510
1511## begin gnulib module isblank
1512
1513
1514EXTRA_DIST += isblank.c
1515
1516EXTRA_libcoreutils_a_SOURCES += isblank.c
1517
1518## end   gnulib module isblank
1519
1520## begin gnulib module isnand-nolibm
1521
1522
1523EXTRA_DIST += float+.h isnan.c isnand-nolibm.h isnand.c
1524
1525EXTRA_libcoreutils_a_SOURCES += isnan.c isnand.c
1526
1527## end   gnulib module isnand-nolibm
1528
1529## begin gnulib module isnanf-nolibm
1530
1531
1532EXTRA_DIST += float+.h isnan.c isnanf-nolibm.h isnanf.c
1533
1534EXTRA_libcoreutils_a_SOURCES += isnan.c isnanf.c
1535
1536## end   gnulib module isnanf-nolibm
1537
1538## begin gnulib module isnanl-nolibm
1539
1540
1541EXTRA_DIST += float+.h isnan.c isnanl-nolibm.h isnanl.c
1542
1543EXTRA_libcoreutils_a_SOURCES += isnan.c isnanl.c
1544
1545## end   gnulib module isnanl-nolibm
1546
1547## begin gnulib module langinfo
1548
1549BUILT_SOURCES += langinfo.h
1550
1551# We need the following in order to create an empty placeholder for
1552# <langinfo.h> when the system doesn't have one.
1553langinfo.h: langinfo.in.h $(LINK_WARNING_H)
1554	$(AM_V_GEN)rm -f $@-t $@ && \
1555	{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
1556	  sed -e 's|@''HAVE_LANGINFO_H''@|$(HAVE_LANGINFO_H)|g' \
1557	      -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1558	      -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1559	      -e 's|@''NEXT_LANGINFO_H''@|$(NEXT_LANGINFO_H)|g' \
1560	      -e 's|@''GNULIB_NL_LANGINFO''@|$(GNULIB_NL_LANGINFO)|g' \
1561	      -e 's|@''HAVE_LANGINFO_CODESET''@|$(HAVE_LANGINFO_CODESET)|g' \
1562	      -e 's|@''HAVE_LANGINFO_ERA''@|$(HAVE_LANGINFO_ERA)|g' \
1563	      -e 's|@''HAVE_NL_LANGINFO''@|$(HAVE_NL_LANGINFO)|g' \
1564	      -e 's|@''REPLACE_NL_LANGINFO''@|$(REPLACE_NL_LANGINFO)|g' \
1565	      -e '/definition of GL_LINK_WARNING/r $(LINK_WARNING_H)' \
1566	      < $(srcdir)/langinfo.in.h; \
1567	} > $@-t && \
1568	mv $@-t $@
1569MOSTLYCLEANFILES += langinfo.h langinfo.h-t
1570
1571EXTRA_DIST += langinfo.in.h
1572
1573## end   gnulib module langinfo
1574
1575## begin gnulib module lchown
1576
1577
1578EXTRA_DIST += lchown.c
1579
1580EXTRA_libcoreutils_a_SOURCES += lchown.c
1581
1582## end   gnulib module lchown
1583
1584## begin gnulib module linebuffer
1585
1586libcoreutils_a_SOURCES += linebuffer.h linebuffer.c
1587
1588## end   gnulib module linebuffer
1589
1590## begin gnulib module link
1591
1592
1593EXTRA_DIST += link.c
1594
1595EXTRA_libcoreutils_a_SOURCES += link.c
1596
1597## end   gnulib module link
1598
1599## begin gnulib module link-warning
1600
1601# The BUILT_SOURCES created by this Makefile snippet are not used via #include
1602# statements but through direct file reference. Therefore this snippet must be
1603# present in all Makefile.am that need it. This is ensured by the applicability
1604# 'all' defined above.
1605
1606BUILT_SOURCES += link-warning.h
1607# The link-warning.h that gets inserted into generated .h files is the same as
1608# build-aux/link-warning.h, except that it has the copyright header cut off.
1609link-warning.h: $(top_srcdir)/build-aux/link-warning.h
1610	$(AM_V_GEN)rm -f $@-t $@ && \
1611	sed -n -e '/GL_LINK_WARNING/,$$p' \
1612	  < $(top_srcdir)/build-aux/link-warning.h \
1613	  > $@-t && \
1614	mv $@-t $@
1615MOSTLYCLEANFILES += link-warning.h link-warning.h-t
1616
1617LINK_WARNING_H=link-warning.h
1618
1619EXTRA_DIST += $(top_srcdir)/build-aux/link-warning.h
1620
1621## end   gnulib module link-warning
1622
1623## begin gnulib module linkat
1624
1625
1626EXTRA_DIST += at-func2.c linkat.c
1627
1628EXTRA_libcoreutils_a_SOURCES += at-func2.c linkat.c
1629
1630## end   gnulib module linkat
1631
1632## begin gnulib module localcharset
1633
1634libcoreutils_a_SOURCES += localcharset.h localcharset.c
1635
1636# We need the following in order to install a simple file in $(libdir)
1637# which is shared with other installed packages. We use a list of referencing
1638# packages so that "make uninstall" will remove the file if and only if it
1639# is not used by another installed package.
1640# On systems with glibc-2.1 or newer, the file is redundant, therefore we
1641# avoid installing it.
1642
1643all-local: charset.alias ref-add.sed ref-del.sed
1644
1645charset_alias = $(DESTDIR)$(libdir)/charset.alias
1646charset_tmp = $(DESTDIR)$(libdir)/charset.tmp
1647install-exec-local: install-exec-localcharset
1648install-exec-localcharset: all-local
1649	if test $(GLIBC21) = no; then \
1650	  case '$(host_os)' in \
1651	    darwin[56]*) \
1652	      need_charset_alias=true ;; \
1653	    darwin* | cygwin* | mingw* | pw32* | cegcc*) \
1654	      need_charset_alias=false ;; \
1655	    *) \
1656	      need_charset_alias=true ;; \
1657	  esac ; \
1658	else \
1659	  need_charset_alias=false ; \
1660	fi ; \
1661	if $$need_charset_alias; then \
1662	  $(mkinstalldirs) $(DESTDIR)$(libdir) ; \
1663	fi ; \
1664	if test -f $(charset_alias); then \
1665	  sed -f ref-add.sed $(charset_alias) > $(charset_tmp) ; \
1666	  $(INSTALL_DATA) $(charset_tmp) $(charset_alias) ; \
1667	  rm -f $(charset_tmp) ; \
1668	else \
1669	  if $$need_charset_alias; then \
1670	    sed -f ref-add.sed charset.alias > $(charset_tmp) ; \
1671	    $(INSTALL_DATA) $(charset_tmp) $(charset_alias) ; \
1672	    rm -f $(charset_tmp) ; \
1673	  fi ; \
1674	fi
1675
1676uninstall-local: uninstall-localcharset
1677uninstall-localcharset: all-local
1678	if test -f $(charset_alias); then \
1679	  sed -f ref-del.sed $(charset_alias) > $(charset_tmp); \
1680	  if grep '^# Packages using this file: $$' $(charset_tmp) \
1681	      > /dev/null; then \
1682	    rm -f $(charset_alias); \
1683	  else \
1684	    $(INSTALL_DATA) $(charset_tmp) $(charset_alias); \
1685	  fi; \
1686	  rm -f $(charset_tmp); \
1687	fi
1688
1689charset.alias: config.charset
1690	$(AM_V_GEN)rm -f t-$@ $@ && \
1691	$(SHELL) $(srcdir)/config.charset '$(host)' > t-$@ && \
1692	mv t-$@ $@
1693
1694SUFFIXES += .sed .sin
1695.sin.sed:
1696	$(AM_V_GEN)rm -f t-$@ $@ && \
1697	sed -e '/^#/d' -e 's/@''PACKAGE''@/$(PACKAGE)/g' $< > t-$@ && \
1698	mv t-$@ $@
1699
1700CLEANFILES += charset.alias ref-add.sed ref-del.sed
1701
1702EXTRA_DIST += config.charset ref-add.sin ref-del.sin
1703
1704## end   gnulib module localcharset
1705
1706## begin gnulib module locale
1707
1708BUILT_SOURCES += locale.h
1709
1710# We need the following in order to create <locale.h> when the system
1711# doesn't have one that provides all definitions.
1712locale.h: locale.in.h $(LINK_WARNING_H) $(ARG_NONNULL_H)
1713	$(AM_V_GEN)rm -f $@-t $@ && \
1714	{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
1715	  sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1716	      -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1717	      -e 's|@''NEXT_LOCALE_H''@|$(NEXT_LOCALE_H)|g' \
1718	      -e 's|@''GNULIB_DUPLOCALE''@|$(GNULIB_DUPLOCALE)|g' \
1719	      -e 's|@''HAVE_XLOCALE_H''@|$(HAVE_XLOCALE_H)|g' \
1720	      -e 's|@''REPLACE_DUPLOCALE''@|$(REPLACE_DUPLOCALE)|g' \
1721	      -e '/definition of GL_LINK_WARNING/r $(LINK_WARNING_H)' \
1722	      -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
1723	      < $(srcdir)/locale.in.h; \
1724	} > $@-t && \
1725	mv $@-t $@
1726MOSTLYCLEANFILES += locale.h locale.h-t
1727
1728EXTRA_DIST += locale.in.h
1729
1730## end   gnulib module locale
1731
1732## begin gnulib module lock
1733
1734libcoreutils_a_SOURCES += glthread/lock.h glthread/lock.c
1735
1736## end   gnulib module lock
1737
1738## begin gnulib module long-options
1739
1740
1741EXTRA_DIST += long-options.c long-options.h
1742
1743EXTRA_libcoreutils_a_SOURCES += long-options.c
1744
1745## end   gnulib module long-options
1746
1747## begin gnulib module lseek
1748
1749
1750EXTRA_DIST += lseek.c
1751
1752EXTRA_libcoreutils_a_SOURCES += lseek.c
1753
1754## end   gnulib module lseek
1755
1756## begin gnulib module lstat
1757
1758
1759EXTRA_DIST += lstat.c
1760
1761EXTRA_libcoreutils_a_SOURCES += lstat.c
1762
1763## end   gnulib module lstat
1764
1765## begin gnulib module maintainer-makefile
1766
1767EXTRA_DIST += $(top_srcdir)/maint.mk
1768
1769## end   gnulib module maintainer-makefile
1770
1771## begin gnulib module malloc
1772
1773
1774EXTRA_DIST += malloc.c
1775
1776EXTRA_libcoreutils_a_SOURCES += malloc.c
1777
1778## end   gnulib module malloc
1779
1780## begin gnulib module malloc-posix
1781
1782
1783EXTRA_DIST += malloc.c
1784
1785EXTRA_libcoreutils_a_SOURCES += malloc.c
1786
1787## end   gnulib module malloc-posix
1788
1789## begin gnulib module malloca
1790
1791libcoreutils_a_SOURCES += malloca.c
1792
1793EXTRA_DIST += malloca.h malloca.valgrind
1794
1795## end   gnulib module malloca
1796
1797## begin gnulib module math
1798
1799BUILT_SOURCES += math.h
1800
1801# We need the following in order to create <math.h> when the system
1802# doesn't have one that works with the given compiler.
1803math.h: math.in.h $(LINK_WARNING_H) $(WARN_ON_USE_H) $(ARG_NONNULL_H)
1804	$(AM_V_GEN)rm -f $@-t $@ && \
1805	{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
1806	  sed -e 's|@''INCLUDE_NEXT_AS_FIRST_DIRECTIVE''@|$(INCLUDE_NEXT_AS_FIRST_DIRECTIVE)|g' \
1807	      -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1808	      -e 's|@''NEXT_AS_FIRST_DIRECTIVE_MATH_H''@|$(NEXT_AS_FIRST_DIRECTIVE_MATH_H)|g' \
1809	      -e 's|@''GNULIB_CEILF''@|$(GNULIB_CEILF)|g' \
1810	      -e 's|@''GNULIB_CEILL''@|$(GNULIB_CEILL)|g' \
1811	      -e 's|@''GNULIB_FLOORF''@|$(GNULIB_FLOORF)|g' \
1812	      -e 's|@''GNULIB_FLOORL''@|$(GNULIB_FLOORL)|g' \
1813	      -e 's|@''GNULIB_FREXP''@|$(GNULIB_FREXP)|g' \
1814	      -e 's|@''GNULIB_FREXPL''@|$(GNULIB_FREXPL)|g' \
1815	      -e 's|@''GNULIB_ISFINITE''@|$(GNULIB_ISFINITE)|g' \
1816	      -e 's|@''GNULIB_ISINF''@|$(GNULIB_ISINF)|g' \
1817	      -e 's|@''GNULIB_ISNAN''@|$(GNULIB_ISNAN)|g' \
1818	      -e 's|@''GNULIB_ISNANF''@|$(GNULIB_ISNANF)|g' \
1819	      -e 's|@''GNULIB_ISNAND''@|$(GNULIB_ISNAND)|g' \
1820	      -e 's|@''GNULIB_ISNANL''@|$(GNULIB_ISNANL)|g' \
1821	      -e 's|@''GNULIB_LDEXPL''@|$(GNULIB_LDEXPL)|g' \
1822	      -e 's|@''GNULIB_MATHL''@|$(GNULIB_MATHL)|g' \
1823	      -e 's|@''GNULIB_ROUND''@|$(GNULIB_ROUND)|g' \
1824	      -e 's|@''GNULIB_ROUNDF''@|$(GNULIB_ROUNDF)|g' \
1825	      -e 's|@''GNULIB_ROUNDL''@|$(GNULIB_ROUNDL)|g' \
1826	      -e 's|@''GNULIB_SIGNBIT''@|$(GNULIB_SIGNBIT)|g' \
1827	      -e 's|@''GNULIB_TRUNC''@|$(GNULIB_TRUNC)|g' \
1828	      -e 's|@''GNULIB_TRUNCF''@|$(GNULIB_TRUNCF)|g' \
1829	      -e 's|@''GNULIB_TRUNCL''@|$(GNULIB_TRUNCL)|g' \
1830	      -e 's|@''HAVE_ISNANF''@|$(HAVE_ISNANF)|g' \
1831	      -e 's|@''HAVE_ISNAND''@|$(HAVE_ISNAND)|g' \
1832	      -e 's|@''HAVE_ISNANL''@|$(HAVE_ISNANL)|g' \
1833	      -e 's|@''HAVE_DECL_ACOSL''@|$(HAVE_DECL_ACOSL)|g' \
1834	      -e 's|@''HAVE_DECL_ASINL''@|$(HAVE_DECL_ASINL)|g' \
1835	      -e 's|@''HAVE_DECL_ATANL''@|$(HAVE_DECL_ATANL)|g' \
1836	      -e 's|@''HAVE_DECL_COSL''@|$(HAVE_DECL_COSL)|g' \
1837	      -e 's|@''HAVE_DECL_EXPL''@|$(HAVE_DECL_EXPL)|g' \
1838	      -e 's|@''HAVE_DECL_FREXPL''@|$(HAVE_DECL_FREXPL)|g' \
1839	      -e 's|@''HAVE_DECL_LDEXPL''@|$(HAVE_DECL_LDEXPL)|g' \
1840	      -e 's|@''HAVE_DECL_LOGL''@|$(HAVE_DECL_LOGL)|g' \
1841	      -e 's|@''HAVE_DECL_SINL''@|$(HAVE_DECL_SINL)|g' \
1842	      -e 's|@''HAVE_DECL_SQRTL''@|$(HAVE_DECL_SQRTL)|g' \
1843	      -e 's|@''HAVE_DECL_TANL''@|$(HAVE_DECL_TANL)|g' \
1844	      -e 's|@''HAVE_DECL_TRUNC''@|$(HAVE_DECL_TRUNC)|g' \
1845	      -e 's|@''HAVE_DECL_TRUNCF''@|$(HAVE_DECL_TRUNCF)|g' \
1846	      -e 's|@''REPLACE_CEILF''@|$(REPLACE_CEILF)|g' \
1847	      -e 's|@''REPLACE_CEILL''@|$(REPLACE_CEILL)|g' \
1848	      -e 's|@''REPLACE_FLOORF''@|$(REPLACE_FLOORF)|g' \
1849	      -e 's|@''REPLACE_FLOORL''@|$(REPLACE_FLOORL)|g' \
1850	      -e 's|@''REPLACE_FREXP''@|$(REPLACE_FREXP)|g' \
1851	      -e 's|@''REPLACE_FREXPL''@|$(REPLACE_FREXPL)|g' \
1852	      -e 's|@''REPLACE_HUGE_VAL''@|$(REPLACE_HUGE_VAL)|g' \
1853	      -e 's|@''REPLACE_ISFINITE''@|$(REPLACE_ISFINITE)|g' \
1854	      -e 's|@''REPLACE_ISINF''@|$(REPLACE_ISINF)|g' \
1855	      -e 's|@''REPLACE_ISNAN''@|$(REPLACE_ISNAN)|g' \
1856	      -e 's|@''REPLACE_LDEXPL''@|$(REPLACE_LDEXPL)|g' \
1857	      -e 's|@''REPLACE_NAN''@|$(REPLACE_NAN)|g' \
1858	      -e 's|@''REPLACE_ROUND''@|$(REPLACE_ROUND)|g' \
1859	      -e 's|@''REPLACE_ROUNDF''@|$(REPLACE_ROUNDF)|g' \
1860	      -e 's|@''REPLACE_ROUNDL''@|$(REPLACE_ROUNDL)|g' \
1861	      -e 's|@''REPLACE_SIGNBIT''@|$(REPLACE_SIGNBIT)|g' \
1862	      -e 's|@''REPLACE_SIGNBIT_USING_GCC''@|$(REPLACE_SIGNBIT_USING_GCC)|g' \
1863	      -e 's|@''REPLACE_TRUNCL''@|$(REPLACE_TRUNCL)|g' \
1864	      -e '/definition of GL_LINK_WARNING/r $(LINK_WARNING_H)' \
1865	      -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
1866	      -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
1867	      < $(srcdir)/math.in.h; \
1868	} > $@-t && \
1869	mv $@-t $@
1870MOSTLYCLEANFILES += math.h math.h-t
1871
1872EXTRA_DIST += math.in.h
1873
1874## end   gnulib module math
1875
1876## begin gnulib module mbchar
1877
1878libcoreutils_a_SOURCES += mbchar.c
1879
1880EXTRA_DIST += mbchar.h
1881
1882## end   gnulib module mbchar
1883
1884## begin gnulib module mbiter
1885
1886libcoreutils_a_SOURCES += mbiter.h
1887
1888## end   gnulib module mbiter
1889
1890## begin gnulib module mbrlen
1891
1892
1893EXTRA_DIST += mbrlen.c
1894
1895EXTRA_libcoreutils_a_SOURCES += mbrlen.c
1896
1897## end   gnulib module mbrlen
1898
1899## begin gnulib module mbrtowc
1900
1901
1902EXTRA_DIST += mbrtowc.c
1903
1904EXTRA_libcoreutils_a_SOURCES += mbrtowc.c
1905
1906## end   gnulib module mbrtowc
1907
1908## begin gnulib module mbsalign
1909
1910libcoreutils_a_SOURCES += mbsalign.c mbsalign.h
1911
1912## end   gnulib module mbsalign
1913
1914## begin gnulib module mbscasecmp
1915
1916libcoreutils_a_SOURCES += mbscasecmp.c
1917
1918## end   gnulib module mbscasecmp
1919
1920## begin gnulib module mbsinit
1921
1922
1923EXTRA_DIST += mbsinit.c
1924
1925EXTRA_libcoreutils_a_SOURCES += mbsinit.c
1926
1927## end   gnulib module mbsinit
1928
1929## begin gnulib module mbslen
1930
1931libcoreutils_a_SOURCES += mbslen.c
1932
1933## end   gnulib module mbslen
1934
1935## begin gnulib module mbsrtowcs
1936
1937
1938EXTRA_DIST += mbsrtowcs-state.c mbsrtowcs.c
1939
1940EXTRA_libcoreutils_a_SOURCES += mbsrtowcs-state.c mbsrtowcs.c
1941
1942## end   gnulib module mbsrtowcs
1943
1944## begin gnulib module mbsstr
1945
1946libcoreutils_a_SOURCES += mbsstr.c
1947
1948EXTRA_DIST += str-kmp.h
1949
1950## end   gnulib module mbsstr
1951
1952## begin gnulib module mbswidth
1953
1954libcoreutils_a_SOURCES += mbswidth.h mbswidth.c
1955
1956## end   gnulib module mbswidth
1957
1958## begin gnulib module mbuiter
1959
1960libcoreutils_a_SOURCES += mbuiter.h
1961
1962## end   gnulib module mbuiter
1963
1964## begin gnulib module memcasecmp
1965
1966
1967EXTRA_DIST += memcasecmp.c memcasecmp.h
1968
1969EXTRA_libcoreutils_a_SOURCES += memcasecmp.c
1970
1971## end   gnulib module memcasecmp
1972
1973## begin gnulib module memchr
1974
1975
1976EXTRA_DIST += memchr.c memchr.valgrind
1977
1978EXTRA_libcoreutils_a_SOURCES += memchr.c
1979
1980## end   gnulib module memchr
1981
1982## begin gnulib module memchr2
1983
1984libcoreutils_a_SOURCES += memchr2.h memchr2.c
1985
1986EXTRA_DIST += memchr2.valgrind
1987
1988## end   gnulib module memchr2
1989
1990## begin gnulib module memcmp
1991
1992
1993EXTRA_DIST += memcmp.c
1994
1995EXTRA_libcoreutils_a_SOURCES += memcmp.c
1996
1997## end   gnulib module memcmp
1998
1999## begin gnulib module memcmp2
2000
2001libcoreutils_a_SOURCES += memcmp2.c
2002
2003EXTRA_DIST += memcmp2.h
2004
2005## end   gnulib module memcmp2
2006
2007## begin gnulib module memcoll
2008
2009
2010EXTRA_DIST += memcoll.c memcoll.h
2011
2012EXTRA_libcoreutils_a_SOURCES += memcoll.c
2013
2014## end   gnulib module memcoll
2015
2016## begin gnulib module memcpy
2017
2018
2019EXTRA_DIST += memcpy.c
2020
2021EXTRA_libcoreutils_a_SOURCES += memcpy.c
2022
2023## end   gnulib module memcpy
2024
2025## begin gnulib module memmove
2026
2027
2028EXTRA_DIST += memmove.c
2029
2030EXTRA_libcoreutils_a_SOURCES += memmove.c
2031
2032## end   gnulib module memmove
2033
2034## begin gnulib module mempcpy
2035
2036
2037EXTRA_DIST += mempcpy.c
2038
2039EXTRA_libcoreutils_a_SOURCES += mempcpy.c
2040
2041## end   gnulib module mempcpy
2042
2043## begin gnulib module memrchr
2044
2045
2046EXTRA_DIST += memrchr.c
2047
2048EXTRA_libcoreutils_a_SOURCES += memrchr.c
2049
2050## end   gnulib module memrchr
2051
2052## begin gnulib module memset
2053
2054
2055EXTRA_DIST += memset.c
2056
2057EXTRA_libcoreutils_a_SOURCES += memset.c
2058
2059## end   gnulib module memset
2060
2061## begin gnulib module mgetgroups
2062
2063
2064EXTRA_DIST += mgetgroups.c mgetgroups.h
2065
2066EXTRA_libcoreutils_a_SOURCES += mgetgroups.c
2067
2068## end   gnulib module mgetgroups
2069
2070## begin gnulib module mkancesdirs
2071
2072
2073EXTRA_DIST += mkancesdirs.c mkancesdirs.h
2074
2075EXTRA_libcoreutils_a_SOURCES += mkancesdirs.c
2076
2077## end   gnulib module mkancesdirs
2078
2079## begin gnulib module mkdir
2080
2081
2082EXTRA_DIST += mkdir.c
2083
2084EXTRA_libcoreutils_a_SOURCES += mkdir.c
2085
2086## end   gnulib module mkdir
2087
2088## begin gnulib module mkdir-p
2089
2090
2091EXTRA_DIST += dirchownmod.c dirchownmod.h mkdir-p.c mkdir-p.h
2092
2093EXTRA_libcoreutils_a_SOURCES += dirchownmod.c mkdir-p.c
2094
2095## end   gnulib module mkdir-p
2096
2097## begin gnulib module mkstemp
2098
2099
2100EXTRA_DIST += mkstemp.c
2101
2102EXTRA_libcoreutils_a_SOURCES += mkstemp.c
2103
2104## end   gnulib module mkstemp
2105
2106## begin gnulib module mktime
2107
2108
2109EXTRA_DIST += mktime-internal.h mktime.c
2110
2111EXTRA_libcoreutils_a_SOURCES += mktime.c
2112
2113## end   gnulib module mktime
2114
2115## begin gnulib module modechange
2116
2117
2118EXTRA_DIST += modechange.c modechange.h
2119
2120EXTRA_libcoreutils_a_SOURCES += modechange.c
2121
2122## end   gnulib module modechange
2123
2124## begin gnulib module mountlist
2125
2126
2127EXTRA_DIST += mountlist.c mountlist.h
2128
2129EXTRA_libcoreutils_a_SOURCES += mountlist.c
2130
2131## end   gnulib module mountlist
2132
2133## begin gnulib module mpsort
2134
2135
2136EXTRA_DIST += mpsort.c mpsort.h
2137
2138EXTRA_libcoreutils_a_SOURCES += mpsort.c
2139
2140## end   gnulib module mpsort
2141
2142## begin gnulib module nanosleep
2143
2144
2145EXTRA_DIST += nanosleep.c
2146
2147EXTRA_libcoreutils_a_SOURCES += nanosleep.c
2148
2149## end   gnulib module nanosleep
2150
2151## begin gnulib module netdb
2152
2153BUILT_SOURCES += $(NETDB_H)
2154
2155# We need the following in order to create <netdb.h> when the system
2156# doesn't have one that works with the given compiler.
2157netdb.h: netdb.in.h $(ARG_NONNULL_H)
2158	$(AM_V_GEN)rm -f $@-t $@ && \
2159	{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
2160	  sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
2161	      -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
2162	      -e 's|@''NEXT_NETDB_H''@|$(NEXT_NETDB_H)|g' \
2163	      -e 's|@''HAVE_NETDB_H''@|$(HAVE_NETDB_H)|g' \
2164	      -e 's|@''GNULIB_GETADDRINFO''@|$(GNULIB_GETADDRINFO)|g' \
2165	      -e 's|@''HAVE_STRUCT_ADDRINFO''@|$(HAVE_STRUCT_ADDRINFO)|g' \
2166	      -e 's|@''HAVE_DECL_FREEADDRINFO''@|$(HAVE_DECL_FREEADDRINFO)|g' \
2167	      -e 's|@''HAVE_DECL_GAI_STRERROR''@|$(HAVE_DECL_GAI_STRERROR)|g' \
2168	      -e 's|@''HAVE_DECL_GETADDRINFO''@|$(HAVE_DECL_GETADDRINFO)|g' \
2169	      -e 's|@''HAVE_DECL_GETNAMEINFO''@|$(HAVE_DECL_GETNAMEINFO)|g' \
2170	      -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
2171	      < $(srcdir)/netdb.in.h; \
2172	} > $@-t && \
2173	mv $@-t $@
2174MOSTLYCLEANFILES += netdb.h netdb.h-t
2175
2176EXTRA_DIST += netdb.in.h
2177
2178## end   gnulib module netdb
2179
2180## begin gnulib module netinet_in
2181
2182BUILT_SOURCES += $(NETINET_IN_H)
2183
2184# We need the following in order to create <netinet/in.h> when the system
2185# doesn't have one.
2186netinet/in.h: netinet_in.in.h
2187	$(AM_V_at)$(MKDIR_P) netinet
2188	$(AM_V_GEN)rm -f $@-t $@ && \
2189	{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
2190	  sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
2191	      -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
2192	      -e 's|@''NEXT_NETINET_IN_H''@|$(NEXT_NETINET_IN_H)|g' \
2193	      -e 's|@''HAVE_NETINET_IN_H''@|$(HAVE_NETINET_IN_H)|g' \
2194	      < $(srcdir)/netinet_in.in.h; \
2195	} > $@-t && \
2196	mv $@-t $@
2197MOSTLYCLEANFILES += netinet/in.h netinet/in.h-t
2198MOSTLYCLEANDIRS += netinet
2199
2200EXTRA_DIST += netinet_in.in.h
2201
2202## end   gnulib module netinet_in
2203
2204## begin gnulib module nl_langinfo
2205
2206
2207EXTRA_DIST += nl_langinfo.c
2208
2209EXTRA_libcoreutils_a_SOURCES += nl_langinfo.c
2210
2211## end   gnulib module nl_langinfo
2212
2213## begin gnulib module nproc
2214
2215libcoreutils_a_SOURCES += nproc.c
2216
2217EXTRA_DIST += nproc.h
2218
2219## end   gnulib module nproc
2220
2221## begin gnulib module obstack
2222
2223
2224EXTRA_DIST += obstack.c obstack.h
2225
2226EXTRA_libcoreutils_a_SOURCES += obstack.c
2227
2228## end   gnulib module obstack
2229
2230## begin gnulib module open
2231
2232
2233EXTRA_DIST += open.c
2234
2235EXTRA_libcoreutils_a_SOURCES += open.c
2236
2237## end   gnulib module open
2238
2239## begin gnulib module openat
2240
2241
2242EXTRA_DIST += at-func.c fchmodat.c fchownat.c fstatat.c mkdirat.c openat-priv.h openat-proc.c openat.c openat.h unlinkat.c
2243
2244EXTRA_libcoreutils_a_SOURCES += at-func.c fchmodat.c fchownat.c fstatat.c mkdirat.c openat-proc.c openat.c unlinkat.c
2245
2246## end   gnulib module openat
2247
2248## begin gnulib module openat-die
2249
2250libcoreutils_a_SOURCES += openat-die.c
2251
2252## end   gnulib module openat-die
2253
2254## begin gnulib module openat-safer
2255
2256
2257EXTRA_DIST += fcntl--.h fcntl-safer.h openat-safer.c
2258
2259EXTRA_libcoreutils_a_SOURCES += openat-safer.c
2260
2261## end   gnulib module openat-safer
2262
2263## begin gnulib module pathmax
2264
2265
2266EXTRA_DIST += pathmax.h
2267
2268## end   gnulib module pathmax
2269
2270## begin gnulib module physmem
2271
2272
2273EXTRA_DIST += physmem.c physmem.h
2274
2275EXTRA_libcoreutils_a_SOURCES += physmem.c
2276
2277## end   gnulib module physmem
2278
2279## begin gnulib module posix-shell
2280
2281##Sample usage of posix-shell module:
2282#script: script.in
2283#	rm -f $@-t $@
2284#	sed -e 's#@''PREFERABLY_POSIX_SHELL''@#$(PREFERABLY_POSIX_SHELL)#g' \
2285#	    -e 's#@''POSIX_SHELL''@#$(POSIX_SHELL)#g' \
2286#	    -e $(srcdir)/$@.in >$@-t
2287#	chmod a+x $@-t
2288#	mv $@-t $@
2289#EXTRA_DIST += script.in
2290#MOSTLYCLEANFILES += script script-t
2291
2292## end   gnulib module posix-shell
2293
2294## begin gnulib module posixtm
2295
2296
2297EXTRA_DIST += posixtm.c posixtm.h
2298
2299EXTRA_libcoreutils_a_SOURCES += posixtm.c
2300
2301## end   gnulib module posixtm
2302
2303## begin gnulib module posixver
2304
2305
2306EXTRA_DIST += posixver.c posixver.h
2307
2308EXTRA_libcoreutils_a_SOURCES += posixver.c
2309
2310## end   gnulib module posixver
2311
2312## begin gnulib module printf-frexp
2313
2314libcoreutils_a_SOURCES += printf-frexp.c
2315
2316EXTRA_DIST += printf-frexp.h
2317
2318## end   gnulib module printf-frexp
2319
2320## begin gnulib module printf-frexpl
2321
2322libcoreutils_a_SOURCES += printf-frexpl.c
2323
2324EXTRA_DIST += printf-frexp.c printf-frexpl.h
2325
2326EXTRA_libcoreutils_a_SOURCES += printf-frexp.c
2327
2328## end   gnulib module printf-frexpl
2329
2330## begin gnulib module priv-set
2331
2332libcoreutils_a_SOURCES += priv-set.c
2333
2334EXTRA_DIST += priv-set.h
2335
2336## end   gnulib module priv-set
2337
2338## begin gnulib module progname
2339
2340libcoreutils_a_SOURCES += progname.h progname.c
2341
2342## end   gnulib module progname
2343
2344## begin gnulib module propername
2345
2346libcoreutils_a_SOURCES += propername.h propername.c
2347
2348## end   gnulib module propername
2349
2350## begin gnulib module putenv
2351
2352
2353EXTRA_DIST += putenv.c
2354
2355EXTRA_libcoreutils_a_SOURCES += putenv.c
2356
2357## end   gnulib module putenv
2358
2359## begin gnulib module quote
2360
2361
2362EXTRA_DIST += quote.c quote.h
2363
2364EXTRA_libcoreutils_a_SOURCES += quote.c
2365
2366## end   gnulib module quote
2367
2368## begin gnulib module quotearg
2369
2370
2371EXTRA_DIST += quotearg.c quotearg.h
2372
2373EXTRA_libcoreutils_a_SOURCES += quotearg.c
2374
2375## end   gnulib module quotearg
2376
2377## begin gnulib module raise
2378
2379
2380EXTRA_DIST += raise.c
2381
2382EXTRA_libcoreutils_a_SOURCES += raise.c
2383
2384## end   gnulib module raise
2385
2386## begin gnulib module randint
2387
2388libcoreutils_a_SOURCES += randint.c randint.h
2389
2390## end   gnulib module randint
2391
2392## begin gnulib module randperm
2393
2394libcoreutils_a_SOURCES += randperm.c randperm.h
2395
2396## end   gnulib module randperm
2397
2398## begin gnulib module randread
2399
2400libcoreutils_a_SOURCES += randread.c randread.h rand-isaac.c rand-isaac.h
2401
2402## end   gnulib module randread
2403
2404## begin gnulib module readlink
2405
2406
2407EXTRA_DIST += readlink.c
2408
2409EXTRA_libcoreutils_a_SOURCES += readlink.c
2410
2411## end   gnulib module readlink
2412
2413## begin gnulib module readtokens
2414
2415
2416EXTRA_DIST += readtokens.c readtokens.h
2417
2418EXTRA_libcoreutils_a_SOURCES += readtokens.c
2419
2420## end   gnulib module readtokens
2421
2422## begin gnulib module readtokens0
2423
2424libcoreutils_a_SOURCES += readtokens0.h readtokens0.c
2425
2426## end   gnulib module readtokens0
2427
2428## begin gnulib module readutmp
2429
2430
2431EXTRA_DIST += readutmp.c readutmp.h
2432
2433EXTRA_libcoreutils_a_SOURCES += readutmp.c
2434
2435## end   gnulib module readutmp
2436
2437## begin gnulib module realloc
2438
2439
2440EXTRA_DIST += realloc.c
2441
2442EXTRA_libcoreutils_a_SOURCES += realloc.c
2443
2444## end   gnulib module realloc
2445
2446## begin gnulib module realloc-posix
2447
2448
2449EXTRA_DIST += realloc.c
2450
2451EXTRA_libcoreutils_a_SOURCES += realloc.c
2452
2453## end   gnulib module realloc-posix
2454
2455## begin gnulib module regex
2456
2457
2458EXTRA_DIST += regcomp.c regex.c regex.h regex_internal.c regex_internal.h regexec.c
2459
2460EXTRA_libcoreutils_a_SOURCES += regcomp.c regex.c regex_internal.c regexec.c
2461
2462## end   gnulib module regex
2463
2464## begin gnulib module remove
2465
2466
2467EXTRA_DIST += remove.c
2468
2469EXTRA_libcoreutils_a_SOURCES += remove.c
2470
2471## end   gnulib module remove
2472
2473## begin gnulib module rename
2474
2475
2476EXTRA_DIST += rename.c
2477
2478EXTRA_libcoreutils_a_SOURCES += rename.c
2479
2480## end   gnulib module rename
2481
2482## begin gnulib module rmdir
2483
2484
2485EXTRA_DIST += rmdir.c
2486
2487EXTRA_libcoreutils_a_SOURCES += rmdir.c
2488
2489## end   gnulib module rmdir
2490
2491## begin gnulib module root-dev-ino
2492
2493
2494EXTRA_DIST += root-dev-ino.c root-dev-ino.h
2495
2496EXTRA_libcoreutils_a_SOURCES += root-dev-ino.c
2497
2498## end   gnulib module root-dev-ino
2499
2500## begin gnulib module rpmatch
2501
2502
2503EXTRA_DIST += rpmatch.c
2504
2505EXTRA_libcoreutils_a_SOURCES += rpmatch.c
2506
2507## end   gnulib module rpmatch
2508
2509## begin gnulib module safe-read
2510
2511
2512EXTRA_DIST += safe-read.c safe-read.h
2513
2514EXTRA_libcoreutils_a_SOURCES += safe-read.c
2515
2516## end   gnulib module safe-read
2517
2518## begin gnulib module safe-write
2519
2520
2521EXTRA_DIST += safe-write.c safe-write.h
2522
2523EXTRA_libcoreutils_a_SOURCES += safe-write.c
2524
2525## end   gnulib module safe-write
2526
2527## begin gnulib module same
2528
2529
2530EXTRA_DIST += same.c same.h
2531
2532EXTRA_libcoreutils_a_SOURCES += same.c
2533
2534## end   gnulib module same
2535
2536## begin gnulib module same-inode
2537
2538
2539EXTRA_DIST += same-inode.h
2540
2541## end   gnulib module same-inode
2542
2543## begin gnulib module save-cwd
2544
2545
2546EXTRA_DIST += save-cwd.c save-cwd.h
2547
2548EXTRA_libcoreutils_a_SOURCES += save-cwd.c
2549
2550## end   gnulib module save-cwd
2551
2552## begin gnulib module savedir
2553
2554
2555EXTRA_DIST += savedir.c savedir.h
2556
2557EXTRA_libcoreutils_a_SOURCES += savedir.c
2558
2559## end   gnulib module savedir
2560
2561## begin gnulib module savewd
2562
2563libcoreutils_a_SOURCES += savewd.h savewd.c
2564
2565## end   gnulib module savewd
2566
2567## begin gnulib module select
2568
2569
2570EXTRA_DIST += select.c
2571
2572EXTRA_libcoreutils_a_SOURCES += select.c
2573
2574## end   gnulib module select
2575
2576## begin gnulib module selinux-at
2577
2578
2579EXTRA_DIST += selinux-at.c selinux-at.h
2580
2581EXTRA_libcoreutils_a_SOURCES += selinux-at.c
2582
2583## end   gnulib module selinux-at
2584
2585## begin gnulib module selinux-h
2586
2587libcoreutils_a_SOURCES += se-context.in.h se-selinux.in.h
2588
2589BUILT_SOURCES += selinux/selinux.h
2590selinux/selinux.h: se-selinux.in.h $(UNUSED_PARAMETER_H)
2591	$(AM_V_at)$(MKDIR_P) selinux
2592	$(AM_V_GEN)rm -f $@-t $@ && \
2593	{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
2594	  sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
2595	      -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
2596	      -e 's|@''NEXT_SELINUX_SELINUX_H''@|$(NEXT_SELINUX_SELINUX_H)|g' \
2597	      -e '/definition of _GL_UNUSED_PARAMETER/r $(UNUSED_PARAMETER_H)' \
2598	      < $(srcdir)/se-selinux.in.h; \
2599	} > $@-t && \
2600	chmod a-x $@-t && \
2601	mv $@-t $@
2602MOSTLYCLEANFILES += selinux/selinux.h selinux/selinux.h-t
2603
2604BUILT_SOURCES += $(SELINUX_CONTEXT_H)
2605selinux/context.h: se-context.in.h $(UNUSED_PARAMETER_H)
2606	$(AM_V_at)$(MKDIR_P) selinux
2607	$(AM_V_GEN)rm -f $@-t $@ && \
2608	{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
2609	  sed -e '/definition of _GL_UNUSED_PARAMETER/r $(UNUSED_PARAMETER_H)' \
2610	      < $(srcdir)/se-context.in.h; \
2611	} > $@-t && \
2612	chmod a-x $@-t && \
2613	mv $@-t $@
2614MOSTLYCLEANFILES += selinux/context.h selinux/context.h-t
2615MOSTLYCLEANDIRS += selinux
2616
2617EXTRA_DIST += getfilecon.c
2618
2619EXTRA_libcoreutils_a_SOURCES += getfilecon.c
2620
2621## end   gnulib module selinux-h
2622
2623## begin gnulib module setenv
2624
2625
2626EXTRA_DIST += setenv.c
2627
2628EXTRA_libcoreutils_a_SOURCES += setenv.c
2629
2630## end   gnulib module setenv
2631
2632## begin gnulib module settime
2633
2634
2635EXTRA_DIST += settime.c
2636
2637EXTRA_libcoreutils_a_SOURCES += settime.c
2638
2639## end   gnulib module settime
2640
2641## begin gnulib module sig2str
2642
2643
2644EXTRA_DIST += sig2str.c sig2str.h
2645
2646EXTRA_libcoreutils_a_SOURCES += sig2str.c
2647
2648## end   gnulib module sig2str
2649
2650## begin gnulib module sigaction
2651
2652
2653EXTRA_DIST += sig-handler.h sigaction.c
2654
2655EXTRA_libcoreutils_a_SOURCES += sigaction.c
2656
2657## end   gnulib module sigaction
2658
2659## begin gnulib module signal
2660
2661BUILT_SOURCES += signal.h
2662
2663# We need the following in order to create <signal.h> when the system
2664# doesn't have a complete one.
2665signal.h: signal.in.h $(LINK_WARNING_H) $(ARG_NONNULL_H)
2666	$(AM_V_GEN)rm -f $@-t $@ && \
2667	{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
2668	  sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
2669	      -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
2670	      -e 's|@''NEXT_SIGNAL_H''@|$(NEXT_SIGNAL_H)|g' \
2671	      -e 's|@''GNULIB_SIGNAL_H_SIGPIPE''@|$(GNULIB_SIGNAL_H_SIGPIPE)|g' \
2672	      -e 's|@''GNULIB_SIGPROCMASK''@|$(GNULIB_SIGPROCMASK)|g' \
2673	      -e 's|@''GNULIB_SIGACTION''@|$(GNULIB_SIGACTION)|g' \
2674	      -e 's|@''HAVE_POSIX_SIGNALBLOCKING''@|$(HAVE_POSIX_SIGNALBLOCKING)|g' \
2675	      -e 's|@''HAVE_SIGSET_T''@|$(HAVE_SIGSET_T)|g' \
2676	      -e 's|@''HAVE_SIGINFO_T''@|$(HAVE_SIGINFO_T)|g' \
2677	      -e 's|@''HAVE_SIGACTION''@|$(HAVE_SIGACTION)|g' \
2678	      -e 's|@''HAVE_STRUCT_SIGACTION_SA_SIGACTION''@|$(HAVE_STRUCT_SIGACTION_SA_SIGACTION)|g' \
2679	      -e 's|@''HAVE_TYPE_VOLATILE_SIG_ATOMIC_T''@|$(HAVE_TYPE_VOLATILE_SIG_ATOMIC_T)|g' \
2680	      -e '/definition of GL_LINK_WARNING/r $(LINK_WARNING_H)' \
2681	      -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
2682	      < $(srcdir)/signal.in.h; \
2683	} > $@-t && \
2684	mv $@-t $@
2685MOSTLYCLEANFILES += signal.h signal.h-t
2686
2687EXTRA_DIST += signal.in.h
2688
2689## end   gnulib module signal
2690
2691## begin gnulib module signbit
2692
2693
2694EXTRA_DIST += float+.h signbitd.c signbitf.c signbitl.c
2695
2696EXTRA_libcoreutils_a_SOURCES += signbitd.c signbitf.c signbitl.c
2697
2698## end   gnulib module signbit
2699
2700## begin gnulib module sigprocmask
2701
2702
2703EXTRA_DIST += sigprocmask.c
2704
2705EXTRA_libcoreutils_a_SOURCES += sigprocmask.c
2706
2707## end   gnulib module sigprocmask
2708
2709## begin gnulib module size_max
2710
2711libcoreutils_a_SOURCES += size_max.h
2712
2713## end   gnulib module size_max
2714
2715## begin gnulib module snprintf
2716
2717
2718EXTRA_DIST += snprintf.c
2719
2720EXTRA_libcoreutils_a_SOURCES += snprintf.c
2721
2722## end   gnulib module snprintf
2723
2724## begin gnulib module sockets
2725
2726libcoreutils_a_SOURCES += sockets.h sockets.c
2727
2728EXTRA_DIST += w32sock.h
2729
2730## end   gnulib module sockets
2731
2732## begin gnulib module stat
2733
2734
2735EXTRA_DIST += stat.c
2736
2737EXTRA_libcoreutils_a_SOURCES += stat.c
2738
2739## end   gnulib module stat
2740
2741## begin gnulib module stat-macros
2742
2743
2744EXTRA_DIST += stat-macros.h
2745
2746## end   gnulib module stat-macros
2747
2748## begin gnulib module stat-time
2749
2750
2751EXTRA_DIST += stat-time.h
2752
2753## end   gnulib module stat-time
2754
2755## begin gnulib module stdarg
2756
2757BUILT_SOURCES += $(STDARG_H)
2758
2759# We need the following in order to create <stdarg.h> when the system
2760# doesn't have one that works with the given compiler.
2761stdarg.h: stdarg.in.h
2762	$(AM_V_GEN)rm -f $@-t $@ && \
2763	{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
2764	  sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
2765	      -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
2766	      -e 's|@''NEXT_STDARG_H''@|$(NEXT_STDARG_H)|g' \
2767	      < $(srcdir)/stdarg.in.h; \
2768	} > $@-t && \
2769	mv $@-t $@
2770MOSTLYCLEANFILES += stdarg.h stdarg.h-t
2771
2772EXTRA_DIST += stdarg.in.h
2773
2774## end   gnulib module stdarg
2775
2776## begin gnulib module stdbool
2777
2778BUILT_SOURCES += $(STDBOOL_H)
2779
2780# We need the following in order to create <stdbool.h> when the system
2781# doesn't have one that works.
2782stdbool.h: stdbool.in.h
2783	$(AM_V_GEN)rm -f $@-t $@ && \
2784	{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
2785	  sed -e 's/@''HAVE__BOOL''@/$(HAVE__BOOL)/g' < $(srcdir)/stdbool.in.h; \
2786	} > $@-t && \
2787	mv $@-t $@
2788MOSTLYCLEANFILES += stdbool.h stdbool.h-t
2789
2790EXTRA_DIST += stdbool.in.h
2791
2792## end   gnulib module stdbool
2793
2794## begin gnulib module stddef
2795
2796BUILT_SOURCES += $(STDDEF_H)
2797
2798# We need the following in order to create <stddef.h> when the system
2799# doesn't have one that works with the given compiler.
2800stddef.h: stddef.in.h
2801	$(AM_V_GEN)rm -f $@-t $@ && \
2802	{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
2803	  sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
2804	      -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
2805	      -e 's|@''NEXT_STDDEF_H''@|$(NEXT_STDDEF_H)|g' \
2806	      -e 's|@''HAVE_WCHAR_T''@|$(HAVE_WCHAR_T)|g' \
2807	      -e 's|@''REPLACE_NULL''@|$(REPLACE_NULL)|g' \
2808	      < $(srcdir)/stddef.in.h; \
2809	} > $@-t && \
2810	mv $@-t $@
2811MOSTLYCLEANFILES += stddef.h stddef.h-t
2812
2813EXTRA_DIST += stddef.in.h
2814
2815## end   gnulib module stddef
2816
2817## begin gnulib module stdint
2818
2819BUILT_SOURCES += $(STDINT_H)
2820
2821# We need the following in order to create <stdint.h> when the system
2822# doesn't have one that works with the given compiler.
2823stdint.h: stdint.in.h
2824	$(AM_V_GEN)rm -f $@-t $@ && \
2825	{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
2826	  sed -e 's/@''HAVE_STDINT_H''@/$(HAVE_STDINT_H)/g' \
2827	      -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
2828	      -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
2829	      -e 's|@''NEXT_STDINT_H''@|$(NEXT_STDINT_H)|g' \
2830	      -e 's/@''HAVE_SYS_TYPES_H''@/$(HAVE_SYS_TYPES_H)/g' \
2831	      -e 's/@''HAVE_INTTYPES_H''@/$(HAVE_INTTYPES_H)/g' \
2832	      -e 's/@''HAVE_SYS_INTTYPES_H''@/$(HAVE_SYS_INTTYPES_H)/g' \
2833	      -e 's/@''HAVE_SYS_BITYPES_H''@/$(HAVE_SYS_BITYPES_H)/g' \
2834	      -e 's/@''HAVE_LONG_LONG_INT''@/$(HAVE_LONG_LONG_INT)/g' \
2835	      -e 's/@''HAVE_UNSIGNED_LONG_LONG_INT''@/$(HAVE_UNSIGNED_LONG_LONG_INT)/g' \
2836	      -e 's/@''APPLE_UNIVERSAL_BUILD''@/$(APPLE_UNIVERSAL_BUILD)/g' \
2837	      -e 's/@''BITSIZEOF_PTRDIFF_T''@/$(BITSIZEOF_PTRDIFF_T)/g' \
2838	      -e 's/@''PTRDIFF_T_SUFFIX''@/$(PTRDIFF_T_SUFFIX)/g' \
2839	      -e 's/@''BITSIZEOF_SIG_ATOMIC_T''@/$(BITSIZEOF_SIG_ATOMIC_T)/g' \
2840	      -e 's/@''HAVE_SIGNED_SIG_ATOMIC_T''@/$(HAVE_SIGNED_SIG_ATOMIC_T)/g' \
2841	      -e 's/@''SIG_ATOMIC_T_SUFFIX''@/$(SIG_ATOMIC_T_SUFFIX)/g' \
2842	      -e 's/@''BITSIZEOF_SIZE_T''@/$(BITSIZEOF_SIZE_T)/g' \
2843	      -e 's/@''SIZE_T_SUFFIX''@/$(SIZE_T_SUFFIX)/g' \
2844	      -e 's/@''BITSIZEOF_WCHAR_T''@/$(BITSIZEOF_WCHAR_T)/g' \
2845	      -e 's/@''HAVE_SIGNED_WCHAR_T''@/$(HAVE_SIGNED_WCHAR_T)/g' \
2846	      -e 's/@''WCHAR_T_SUFFIX''@/$(WCHAR_T_SUFFIX)/g' \
2847	      -e 's/@''BITSIZEOF_WINT_T''@/$(BITSIZEOF_WINT_T)/g' \
2848	      -e 's/@''HAVE_SIGNED_WINT_T''@/$(HAVE_SIGNED_WINT_T)/g' \
2849	      -e 's/@''WINT_T_SUFFIX''@/$(WINT_T_SUFFIX)/g' \
2850	      < $(srcdir)/stdint.in.h; \
2851	} > $@-t && \
2852	mv $@-t $@
2853MOSTLYCLEANFILES += stdint.h stdint.h-t
2854
2855EXTRA_DIST += stdint.in.h
2856
2857## end   gnulib module stdint
2858
2859## begin gnulib module stdio
2860
2861BUILT_SOURCES += stdio.h
2862
2863# We need the following in order to create <stdio.h> when the system
2864# doesn't have one that works with the given compiler.
2865stdio.h: stdio.in.h $(LINK_WARNING_H) $(WARN_ON_USE_H) $(ARG_NONNULL_H)
2866	$(AM_V_GEN)rm -f $@-t $@ && \
2867	{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
2868	  sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
2869	      -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
2870	      -e 's|@''NEXT_STDIO_H''@|$(NEXT_STDIO_H)|g' \
2871	      -e 's|@''GNULIB_DPRINTF''@|$(GNULIB_DPRINTF)|g' \
2872	      -e 's|@''GNULIB_FCLOSE''@|$(GNULIB_FCLOSE)|g' \
2873	      -e 's|@''GNULIB_FFLUSH''@|$(GNULIB_FFLUSH)|g' \
2874	      -e 's|@''GNULIB_FOPEN''@|$(GNULIB_FOPEN)|g' \
2875	      -e 's|@''GNULIB_FPRINTF''@|$(GNULIB_FPRINTF)|g' \
2876	      -e 's|@''GNULIB_FPRINTF_POSIX''@|$(GNULIB_FPRINTF_POSIX)|g' \
2877	      -e 's|@''GNULIB_FPURGE''@|$(GNULIB_FPURGE)|g' \
2878	      -e 's|@''GNULIB_FPUTC''@|$(GNULIB_FPUTC)|g' \
2879	      -e 's|@''GNULIB_FPUTS''@|$(GNULIB_FPUTS)|g' \
2880	      -e 's|@''GNULIB_FREOPEN''@|$(GNULIB_FREOPEN)|g' \
2881	      -e 's|@''GNULIB_FSEEK''@|$(GNULIB_FSEEK)|g' \
2882	      -e 's|@''GNULIB_FSEEKO''@|$(GNULIB_FSEEKO)|g' \
2883	      -e 's|@''GNULIB_FTELL''@|$(GNULIB_FTELL)|g' \
2884	      -e 's|@''GNULIB_FTELLO''@|$(GNULIB_FTELLO)|g' \
2885	      -e 's|@''GNULIB_FWRITE''@|$(GNULIB_FWRITE)|g' \
2886	      -e 's|@''GNULIB_GETDELIM''@|$(GNULIB_GETDELIM)|g' \
2887	      -e 's|@''GNULIB_GETLINE''@|$(GNULIB_GETLINE)|g' \
2888	      -e 's|@''GNULIB_OBSTACK_PRINTF''@|$(GNULIB_OBSTACK_PRINTF)|g' \
2889	      -e 's|@''GNULIB_OBSTACK_PRINTF_POSIX''@|$(GNULIB_OBSTACK_PRINTF_POSIX)|g' \
2890	      -e 's|@''GNULIB_PERROR''@|$(GNULIB_PERROR)|g' \
2891	      -e 's|@''GNULIB_POPEN''@|$(GNULIB_POPEN)|g' \
2892	      -e 's|@''GNULIB_PRINTF''@|$(GNULIB_PRINTF)|g' \
2893	      -e 's|@''GNULIB_PRINTF_POSIX''@|$(GNULIB_PRINTF_POSIX)|g' \
2894	      -e 's|@''GNULIB_PUTC''@|$(GNULIB_PUTC)|g' \
2895	      -e 's|@''GNULIB_PUTCHAR''@|$(GNULIB_PUTCHAR)|g' \
2896	      -e 's|@''GNULIB_PUTS''@|$(GNULIB_PUTS)|g' \
2897	      -e 's|@''GNULIB_REMOVE''@|$(GNULIB_REMOVE)|g' \
2898	      -e 's|@''GNULIB_RENAME''@|$(GNULIB_RENAME)|g' \
2899	      -e 's|@''GNULIB_RENAMEAT''@|$(GNULIB_RENAMEAT)|g' \
2900	      -e 's|@''GNULIB_SNPRINTF''@|$(GNULIB_SNPRINTF)|g' \
2901	      -e 's|@''GNULIB_SPRINTF_POSIX''@|$(GNULIB_SPRINTF_POSIX)|g' \
2902	      -e 's|@''GNULIB_STDIO_H_SIGPIPE''@|$(GNULIB_STDIO_H_SIGPIPE)|g' \
2903	      -e 's|@''GNULIB_VASPRINTF''@|$(GNULIB_VASPRINTF)|g' \
2904	      -e 's|@''GNULIB_VDPRINTF''@|$(GNULIB_VDPRINTF)|g' \
2905	      -e 's|@''GNULIB_VFPRINTF''@|$(GNULIB_VFPRINTF)|g' \
2906	      -e 's|@''GNULIB_VFPRINTF_POSIX''@|$(GNULIB_VFPRINTF_POSIX)|g' \
2907	      -e 's|@''GNULIB_VPRINTF''@|$(GNULIB_VPRINTF)|g' \
2908	      -e 's|@''GNULIB_VPRINTF_POSIX''@|$(GNULIB_VPRINTF_POSIX)|g' \
2909	      -e 's|@''GNULIB_VSNPRINTF''@|$(GNULIB_VSNPRINTF)|g' \
2910	      -e 's|@''GNULIB_VSPRINTF_POSIX''@|$(GNULIB_VSPRINTF_POSIX)|g' \
2911	      -e 's|@''HAVE_DECL_FPURGE''@|$(HAVE_DECL_FPURGE)|g' \
2912	      -e 's|@''HAVE_DECL_GETDELIM''@|$(HAVE_DECL_GETDELIM)|g' \
2913	      -e 's|@''HAVE_DECL_GETLINE''@|$(HAVE_DECL_GETLINE)|g' \
2914	      -e 's|@''HAVE_DECL_OBSTACK_PRINTF''@|$(HAVE_DECL_OBSTACK_PRINTF)|g' \
2915	      -e 's|@''HAVE_DECL_SNPRINTF''@|$(HAVE_DECL_SNPRINTF)|g' \
2916	      -e 's|@''HAVE_DECL_VSNPRINTF''@|$(HAVE_DECL_VSNPRINTF)|g' \
2917	      -e 's|@''HAVE_DPRINTF''@|$(HAVE_DPRINTF)|g' \
2918	      -e 's|@''HAVE_RENAMEAT''@|$(HAVE_RENAMEAT)|g' \
2919	      -e 's|@''HAVE_VASPRINTF''@|$(HAVE_VASPRINTF)|g' \
2920	      -e 's|@''HAVE_VDPRINTF''@|$(HAVE_VDPRINTF)|g' \
2921	      -e 's|@''REPLACE_DPRINTF''@|$(REPLACE_DPRINTF)|g' \
2922	      -e 's|@''REPLACE_FCLOSE''@|$(REPLACE_FCLOSE)|g' \
2923	      -e 's|@''REPLACE_FFLUSH''@|$(REPLACE_FFLUSH)|g' \
2924	      -e 's|@''REPLACE_FOPEN''@|$(REPLACE_FOPEN)|g' \
2925	      -e 's|@''REPLACE_FPRINTF''@|$(REPLACE_FPRINTF)|g' \
2926	      -e 's|@''REPLACE_FPURGE''@|$(REPLACE_FPURGE)|g' \
2927	      -e 's|@''REPLACE_FREOPEN''@|$(REPLACE_FREOPEN)|g' \
2928	      -e 's|@''REPLACE_FSEEK''@|$(REPLACE_FSEEK)|g' \
2929	      -e 's|@''REPLACE_FSEEKO''@|$(REPLACE_FSEEKO)|g' \
2930	      -e 's|@''REPLACE_FTELL''@|$(REPLACE_FTELL)|g' \
2931	      -e 's|@''REPLACE_FTELLO''@|$(REPLACE_FTELLO)|g' \
2932	      -e 's|@''REPLACE_GETLINE''@|$(REPLACE_GETLINE)|g' \
2933	      -e 's|@''REPLACE_OBSTACK_PRINTF''@|$(REPLACE_OBSTACK_PRINTF)|g' \
2934	      -e 's|@''REPLACE_PERROR''@|$(REPLACE_PERROR)|g' \
2935	      -e 's|@''REPLACE_POPEN''@|$(REPLACE_POPEN)|g' \
2936	      -e 's|@''REPLACE_PRINTF''@|$(REPLACE_PRINTF)|g' \
2937	      -e 's|@''REPLACE_REMOVE''@|$(REPLACE_REMOVE)|g' \
2938	      -e 's|@''REPLACE_RENAME''@|$(REPLACE_RENAME)|g' \
2939	      -e 's|@''REPLACE_RENAMEAT''@|$(REPLACE_RENAMEAT)|g' \
2940	      -e 's|@''REPLACE_SNPRINTF''@|$(REPLACE_SNPRINTF)|g' \
2941	      -e 's|@''REPLACE_SPRINTF''@|$(REPLACE_SPRINTF)|g' \
2942	      -e 's|@''REPLACE_STDIO_WRITE_FUNCS''@|$(REPLACE_STDIO_WRITE_FUNCS)|g' \
2943	      -e 's|@''REPLACE_VASPRINTF''@|$(REPLACE_VASPRINTF)|g' \
2944	      -e 's|@''REPLACE_VDPRINTF''@|$(REPLACE_VDPRINTF)|g' \
2945	      -e 's|@''REPLACE_VFPRINTF''@|$(REPLACE_VFPRINTF)|g' \
2946	      -e 's|@''REPLACE_VPRINTF''@|$(REPLACE_VPRINTF)|g' \
2947	      -e 's|@''REPLACE_VSNPRINTF''@|$(REPLACE_VSNPRINTF)|g' \
2948	      -e 's|@''REPLACE_VSPRINTF''@|$(REPLACE_VSPRINTF)|g' \
2949	      -e '/definition of GL_LINK_WARNING/r $(LINK_WARNING_H)' \
2950	      -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
2951	      -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
2952	      < $(srcdir)/stdio.in.h; \
2953	} > $@-t && \
2954	mv $@-t $@
2955MOSTLYCLEANFILES += stdio.h stdio.h-t
2956
2957EXTRA_DIST += stdio-write.c stdio.in.h
2958
2959EXTRA_libcoreutils_a_SOURCES += stdio-write.c
2960
2961## end   gnulib module stdio
2962
2963## begin gnulib module stdlib
2964
2965BUILT_SOURCES += stdlib.h
2966
2967# We need the following in order to create <stdlib.h> when the system
2968# doesn't have one that works with the given compiler.
2969stdlib.h: stdlib.in.h $(LINK_WARNING_H) $(ARG_NONNULL_H)
2970	$(AM_V_GEN)rm -f $@-t $@ && \
2971	{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
2972	  sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
2973	      -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
2974	      -e 's|@''NEXT_STDLIB_H''@|$(NEXT_STDLIB_H)|g' \
2975	      -e 's|@''GNULIB_ATOLL''@|$(GNULIB_ATOLL)|g' \
2976	      -e 's|@''GNULIB_CALLOC_POSIX''@|$(GNULIB_CALLOC_POSIX)|g' \
2977	      -e 's|@''GNULIB_CANONICALIZE_FILE_NAME''@|$(GNULIB_CANONICALIZE_FILE_NAME)|g' \
2978	      -e 's|@''GNULIB_GETLOADAVG''@|$(GNULIB_GETLOADAVG)|g' \
2979	      -e 's|@''GNULIB_GETSUBOPT''@|$(GNULIB_GETSUBOPT)|g' \
2980	      -e 's|@''GNULIB_MALLOC_POSIX''@|$(GNULIB_MALLOC_POSIX)|g' \
2981	      -e 's|@''GNULIB_MKDTEMP''@|$(GNULIB_MKDTEMP)|g' \
2982	      -e 's|@''GNULIB_MKOSTEMP''@|$(GNULIB_MKOSTEMP)|g' \
2983	      -e 's|@''GNULIB_MKOSTEMPS''@|$(GNULIB_MKOSTEMPS)|g' \
2984	      -e 's|@''GNULIB_MKSTEMP''@|$(GNULIB_MKSTEMP)|g' \
2985	      -e 's|@''GNULIB_MKSTEMPS''@|$(GNULIB_MKSTEMPS)|g' \
2986	      -e 's|@''GNULIB_PUTENV''@|$(GNULIB_PUTENV)|g' \
2987	      -e 's|@''GNULIB_RANDOM_R''@|$(GNULIB_RANDOM_R)|g' \
2988	      -e 's|@''GNULIB_REALLOC_POSIX''@|$(GNULIB_REALLOC_POSIX)|g' \
2989	      -e 's|@''GNULIB_REALPATH''@|$(GNULIB_REALPATH)|g' \
2990	      -e 's|@''GNULIB_RPMATCH''@|$(GNULIB_RPMATCH)|g' \
2991	      -e 's|@''GNULIB_SETENV''@|$(GNULIB_SETENV)|g' \
2992	      -e 's|@''GNULIB_STRTOD''@|$(GNULIB_STRTOD)|g' \
2993	      -e 's|@''GNULIB_STRTOLL''@|$(GNULIB_STRTOLL)|g' \
2994	      -e 's|@''GNULIB_STRTOULL''@|$(GNULIB_STRTOULL)|g' \
2995	      -e 's|@''GNULIB_UNSETENV''@|$(GNULIB_UNSETENV)|g' \
2996	      -e 's|@''HAVE_ATOLL''@|$(HAVE_ATOLL)|g' \
2997	      -e 's|@''HAVE_CALLOC_POSIX''@|$(HAVE_CALLOC_POSIX)|g' \
2998	      -e 's|@''HAVE_CANONICALIZE_FILE_NAME''@|$(HAVE_CANONICALIZE_FILE_NAME)|g' \
2999	      -e 's|@''HAVE_DECL_GETLOADAVG''@|$(HAVE_DECL_GETLOADAVG)|g' \
3000	      -e 's|@''HAVE_GETSUBOPT''@|$(HAVE_GETSUBOPT)|g' \
3001	      -e 's|@''HAVE_MALLOC_POSIX''@|$(HAVE_MALLOC_POSIX)|g' \
3002	      -e 's|@''HAVE_MKDTEMP''@|$(HAVE_MKDTEMP)|g' \
3003	      -e 's|@''HAVE_MKOSTEMP''@|$(HAVE_MKOSTEMP)|g' \
3004	      -e 's|@''HAVE_MKOSTEMPS''@|$(HAVE_MKOSTEMPS)|g' \
3005	      -e 's|@''HAVE_MKSTEMPS''@|$(HAVE_MKSTEMPS)|g' \
3006	      -e 's|@''HAVE_RANDOM_H''@|$(HAVE_RANDOM_H)|g' \
3007	      -e 's|@''HAVE_RANDOM_R''@|$(HAVE_RANDOM_R)|g' \
3008	      -e 's|@''HAVE_REALLOC_POSIX''@|$(HAVE_REALLOC_POSIX)|g' \
3009	      -e 's|@''HAVE_REALPATH''@|$(HAVE_REALPATH)|g' \
3010	      -e 's|@''HAVE_RPMATCH''@|$(HAVE_RPMATCH)|g' \
3011	      -e 's|@''HAVE_SETENV''@|$(HAVE_SETENV)|g' \
3012	      -e 's|@''HAVE_STRTOD''@|$(HAVE_STRTOD)|g' \
3013	      -e 's|@''HAVE_STRTOLL''@|$(HAVE_STRTOLL)|g' \
3014	      -e 's|@''HAVE_STRTOULL''@|$(HAVE_STRTOULL)|g' \
3015	      -e 's|@''HAVE_STRUCT_RANDOM_DATA''@|$(HAVE_STRUCT_RANDOM_DATA)|g' \
3016	      -e 's|@''HAVE_SYS_LOADAVG_H''@|$(HAVE_SYS_LOADAVG_H)|g' \
3017	      -e 's|@''HAVE_UNSETENV''@|$(HAVE_UNSETENV)|g' \
3018	      -e 's|@''REPLACE_CANONICALIZE_FILE_NAME''@|$(REPLACE_CANONICALIZE_FILE_NAME)|g' \
3019	      -e 's|@''REPLACE_MKSTEMP''@|$(REPLACE_MKSTEMP)|g' \
3020	      -e 's|@''REPLACE_PUTENV''@|$(REPLACE_PUTENV)|g' \
3021	      -e 's|@''REPLACE_REALPATH''@|$(REPLACE_REALPATH)|g' \
3022	      -e 's|@''REPLACE_SETENV''@|$(REPLACE_SETENV)|g' \
3023	      -e 's|@''REPLACE_STRTOD''@|$(REPLACE_STRTOD)|g' \
3024	      -e 's|@''REPLACE_UNSETENV''@|$(REPLACE_UNSETENV)|g' \
3025	      -e '/definition of GL_LINK_WARNING/r $(LINK_WARNING_H)' \
3026	      -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
3027	      < $(srcdir)/stdlib.in.h; \
3028	} > $@-t && \
3029	mv $@-t $@
3030MOSTLYCLEANFILES += stdlib.h stdlib.h-t
3031
3032EXTRA_DIST += stdlib.in.h
3033
3034## end   gnulib module stdlib
3035
3036## begin gnulib module stdlib-safer
3037
3038
3039EXTRA_DIST += mkstemp-safer.c stdlib--.h stdlib-safer.h
3040
3041EXTRA_libcoreutils_a_SOURCES += mkstemp-safer.c
3042
3043## end   gnulib module stdlib-safer
3044
3045## begin gnulib module stpcpy
3046
3047
3048EXTRA_DIST += stpcpy.c
3049
3050EXTRA_libcoreutils_a_SOURCES += stpcpy.c
3051
3052## end   gnulib module stpcpy
3053
3054## begin gnulib module stpncpy
3055
3056
3057EXTRA_DIST += stpncpy.c
3058
3059EXTRA_libcoreutils_a_SOURCES += stpncpy.c
3060
3061## end   gnulib module stpncpy
3062
3063## begin gnulib module strcspn
3064
3065
3066EXTRA_DIST += strcspn.c
3067
3068EXTRA_libcoreutils_a_SOURCES += strcspn.c
3069
3070## end   gnulib module strcspn
3071
3072## begin gnulib module strdup-posix
3073
3074
3075EXTRA_DIST += strdup.c
3076
3077EXTRA_libcoreutils_a_SOURCES += strdup.c
3078
3079## end   gnulib module strdup-posix
3080
3081## begin gnulib module streq
3082
3083
3084EXTRA_DIST += streq.h
3085
3086## end   gnulib module streq
3087
3088## begin gnulib module strerror
3089
3090
3091EXTRA_DIST += strerror.c
3092
3093EXTRA_libcoreutils_a_SOURCES += strerror.c
3094
3095## end   gnulib module strerror
3096
3097## begin gnulib module strftime
3098
3099
3100EXTRA_DIST += strftime.c strftime.h
3101
3102EXTRA_libcoreutils_a_SOURCES += strftime.c
3103
3104## end   gnulib module strftime
3105
3106## begin gnulib module striconv
3107
3108libcoreutils_a_SOURCES += striconv.h striconv.c
3109if GL_COND_LIBTOOL
3110endif
3111
3112## end   gnulib module striconv
3113
3114## begin gnulib module string
3115
3116BUILT_SOURCES += string.h
3117
3118# We need the following in order to create <string.h> when the system
3119# doesn't have one that works with the given compiler.
3120string.h: string.in.h $(LINK_WARNING_H) $(ARG_NONNULL_H)
3121	$(AM_V_GEN)rm -f $@-t $@ && \
3122	{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
3123	  sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
3124	      -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
3125	      -e 's|@''NEXT_STRING_H''@|$(NEXT_STRING_H)|g' \
3126	      -e 's|@''GNULIB_MBSLEN''@|$(GNULIB_MBSLEN)|g' \
3127	      -e 's|@''GNULIB_MBSNLEN''@|$(GNULIB_MBSNLEN)|g' \
3128	      -e 's|@''GNULIB_MBSCHR''@|$(GNULIB_MBSCHR)|g' \
3129	      -e 's|@''GNULIB_MBSRCHR''@|$(GNULIB_MBSRCHR)|g' \
3130	      -e 's|@''GNULIB_MBSSTR''@|$(GNULIB_MBSSTR)|g' \
3131	      -e 's|@''GNULIB_MBSCASECMP''@|$(GNULIB_MBSCASECMP)|g' \
3132	      -e 's|@''GNULIB_MBSNCASECMP''@|$(GNULIB_MBSNCASECMP)|g' \
3133	      -e 's|@''GNULIB_MBSPCASECMP''@|$(GNULIB_MBSPCASECMP)|g' \
3134	      -e 's|@''GNULIB_MBSCASESTR''@|$(GNULIB_MBSCASESTR)|g' \
3135	      -e 's|@''GNULIB_MBSCSPN''@|$(GNULIB_MBSCSPN)|g' \
3136	      -e 's|@''GNULIB_MBSPBRK''@|$(GNULIB_MBSPBRK)|g' \
3137	      -e 's|@''GNULIB_MBSSPN''@|$(GNULIB_MBSSPN)|g' \
3138	      -e 's|@''GNULIB_MBSSEP''@|$(GNULIB_MBSSEP)|g' \
3139	      -e 's|@''GNULIB_MBSTOK_R''@|$(GNULIB_MBSTOK_R)|g' \
3140	      -e 's|@''GNULIB_MEMCHR''@|$(GNULIB_MEMCHR)|g' \
3141	      -e 's|@''GNULIB_MEMMEM''@|$(GNULIB_MEMMEM)|g' \
3142	      -e 's|@''GNULIB_MEMPCPY''@|$(GNULIB_MEMPCPY)|g' \
3143	      -e 's|@''GNULIB_MEMRCHR''@|$(GNULIB_MEMRCHR)|g' \
3144	      -e 's|@''GNULIB_RAWMEMCHR''@|$(GNULIB_RAWMEMCHR)|g' \
3145	      -e 's|@''GNULIB_STPCPY''@|$(GNULIB_STPCPY)|g' \
3146	      -e 's|@''GNULIB_STPNCPY''@|$(GNULIB_STPNCPY)|g' \
3147	      -e 's|@''GNULIB_STRCHRNUL''@|$(GNULIB_STRCHRNUL)|g' \
3148	      -e 's|@''GNULIB_STRDUP''@|$(GNULIB_STRDUP)|g' \
3149	      -e 's|@''GNULIB_STRNDUP''@|$(GNULIB_STRNDUP)|g' \
3150	      -e 's|@''GNULIB_STRNLEN''@|$(GNULIB_STRNLEN)|g' \
3151	      -e 's|@''GNULIB_STRPBRK''@|$(GNULIB_STRPBRK)|g' \
3152	      -e 's|@''GNULIB_STRSEP''@|$(GNULIB_STRSEP)|g' \
3153	      -e 's|@''GNULIB_STRSTR''@|$(GNULIB_STRSTR)|g' \
3154	      -e 's|@''GNULIB_STRCASESTR''@|$(GNULIB_STRCASESTR)|g' \
3155	      -e 's|@''GNULIB_STRTOK_R''@|$(GNULIB_STRTOK_R)|g' \
3156	      -e 's|@''GNULIB_STRERROR''@|$(GNULIB_STRERROR)|g' \
3157	      -e 's|@''GNULIB_STRSIGNAL''@|$(GNULIB_STRSIGNAL)|g' \
3158	      -e 's|@''GNULIB_STRVERSCMP''@|$(GNULIB_STRVERSCMP)|g' \
3159	      -e 's|@''HAVE_MBSLEN''@|$(HAVE_MBSLEN)|g' \
3160	      -e 's|@''HAVE_DECL_MEMMEM''@|$(HAVE_DECL_MEMMEM)|g' \
3161	      -e 's|@''HAVE_MEMPCPY''@|$(HAVE_MEMPCPY)|g' \
3162	      -e 's|@''HAVE_DECL_MEMRCHR''@|$(HAVE_DECL_MEMRCHR)|g' \
3163	      -e 's|@''HAVE_RAWMEMCHR''@|$(HAVE_RAWMEMCHR)|g' \
3164	      -e 's|@''HAVE_STPCPY''@|$(HAVE_STPCPY)|g' \
3165	      -e 's|@''HAVE_STPNCPY''@|$(HAVE_STPNCPY)|g' \
3166	      -e 's|@''HAVE_STRCHRNUL''@|$(HAVE_STRCHRNUL)|g' \
3167	      -e 's|@''HAVE_DECL_STRDUP''@|$(HAVE_DECL_STRDUP)|g' \
3168	      -e 's|@''HAVE_DECL_STRNDUP''@|$(HAVE_DECL_STRNDUP)|g' \
3169	      -e 's|@''HAVE_DECL_STRNLEN''@|$(HAVE_DECL_STRNLEN)|g' \
3170	      -e 's|@''HAVE_STRPBRK''@|$(HAVE_STRPBRK)|g' \
3171	      -e 's|@''HAVE_STRSEP''@|$(HAVE_STRSEP)|g' \
3172	      -e 's|@''HAVE_STRCASESTR''@|$(HAVE_STRCASESTR)|g' \
3173	      -e 's|@''HAVE_DECL_STRTOK_R''@|$(HAVE_DECL_STRTOK_R)|g' \
3174	      -e 's|@''HAVE_DECL_STRERROR''@|$(HAVE_DECL_STRERROR)|g' \
3175	      -e 's|@''HAVE_DECL_STRSIGNAL''@|$(HAVE_DECL_STRSIGNAL)|g' \
3176	      -e 's|@''HAVE_STRVERSCMP''@|$(HAVE_STRVERSCMP)|g' \
3177	      -e 's|@''REPLACE_MEMCHR''@|$(REPLACE_MEMCHR)|g' \
3178	      -e 's|@''REPLACE_MEMMEM''@|$(REPLACE_MEMMEM)|g' \
3179	      -e 's|@''REPLACE_STRCASESTR''@|$(REPLACE_STRCASESTR)|g' \
3180	      -e 's|@''REPLACE_STRDUP''@|$(REPLACE_STRDUP)|g' \
3181	      -e 's|@''REPLACE_STRSTR''@|$(REPLACE_STRSTR)|g' \
3182	      -e 's|@''REPLACE_STRERROR''@|$(REPLACE_STRERROR)|g' \
3183	      -e 's|@''REPLACE_STRNDUP''@|$(REPLACE_STRNDUP)|g' \
3184	      -e 's|@''REPLACE_STRSIGNAL''@|$(REPLACE_STRSIGNAL)|g' \
3185	      -e 's|@''REPLACE_STRTOK_R''@|$(REPLACE_STRTOK_R)|g' \
3186	      -e 's|@''UNDEFINE_STRTOK_R''@|$(UNDEFINE_STRTOK_R)|g' \
3187	      -e '/definition of GL_LINK_WARNING/r $(LINK_WARNING_H)' \
3188	      -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
3189	      < $(srcdir)/string.in.h; \
3190	} > $@-t && \
3191	mv $@-t $@
3192MOSTLYCLEANFILES += string.h string.h-t
3193
3194EXTRA_DIST += string.in.h
3195
3196## end   gnulib module string
3197
3198## begin gnulib module strndup
3199
3200
3201EXTRA_DIST += strndup.c
3202
3203EXTRA_libcoreutils_a_SOURCES += strndup.c
3204
3205## end   gnulib module strndup
3206
3207## begin gnulib module strnlen
3208
3209
3210EXTRA_DIST += strnlen.c
3211
3212EXTRA_libcoreutils_a_SOURCES += strnlen.c
3213
3214## end   gnulib module strnlen
3215
3216## begin gnulib module strnlen1
3217
3218libcoreutils_a_SOURCES += strnlen1.h strnlen1.c
3219
3220## end   gnulib module strnlen1
3221
3222## begin gnulib module strpbrk
3223
3224
3225EXTRA_DIST += strpbrk.c
3226
3227EXTRA_libcoreutils_a_SOURCES += strpbrk.c
3228
3229## end   gnulib module strpbrk
3230
3231## begin gnulib module strsignal
3232
3233
3234EXTRA_DIST += siglist.h strsignal.c
3235
3236EXTRA_libcoreutils_a_SOURCES += strsignal.c
3237
3238## end   gnulib module strsignal
3239
3240## begin gnulib module strstr-simple
3241
3242
3243EXTRA_DIST += str-two-way.h strstr.c
3244
3245EXTRA_libcoreutils_a_SOURCES += strstr.c
3246
3247## end   gnulib module strstr-simple
3248
3249## begin gnulib module strtod
3250
3251LIBS += $(POW_LIB)
3252
3253EXTRA_DIST += strtod.c
3254
3255EXTRA_libcoreutils_a_SOURCES += strtod.c
3256
3257## end   gnulib module strtod
3258
3259## begin gnulib module strtoimax
3260
3261
3262EXTRA_DIST += strtoimax.c
3263
3264EXTRA_libcoreutils_a_SOURCES += strtoimax.c
3265
3266## end   gnulib module strtoimax
3267
3268## begin gnulib module strtol
3269
3270
3271EXTRA_DIST += strtol.c
3272
3273EXTRA_libcoreutils_a_SOURCES += strtol.c
3274
3275## end   gnulib module strtol
3276
3277## begin gnulib module strtoll
3278
3279
3280EXTRA_DIST += strtoll.c
3281
3282EXTRA_libcoreutils_a_SOURCES += strtoll.c
3283
3284## end   gnulib module strtoll
3285
3286## begin gnulib module strtoul
3287
3288
3289EXTRA_DIST += strtoul.c
3290
3291EXTRA_libcoreutils_a_SOURCES += strtoul.c
3292
3293## end   gnulib module strtoul
3294
3295## begin gnulib module strtoull
3296
3297
3298EXTRA_DIST += strtoull.c
3299
3300EXTRA_libcoreutils_a_SOURCES += strtoull.c
3301
3302## end   gnulib module strtoull
3303
3304## begin gnulib module strtoumax
3305
3306
3307EXTRA_DIST += strtoumax.c
3308
3309EXTRA_libcoreutils_a_SOURCES += strtoumax.c
3310
3311## end   gnulib module strtoumax
3312
3313## begin gnulib module symlink
3314
3315
3316EXTRA_DIST += symlink.c
3317
3318EXTRA_libcoreutils_a_SOURCES += symlink.c
3319
3320## end   gnulib module symlink
3321
3322## begin gnulib module symlinkat
3323
3324
3325EXTRA_DIST += symlinkat.c
3326
3327EXTRA_libcoreutils_a_SOURCES += symlinkat.c
3328
3329## end   gnulib module symlinkat
3330
3331## begin gnulib module sys_select
3332
3333BUILT_SOURCES += sys/select.h
3334
3335# We need the following in order to create <sys/select.h> when the system
3336# doesn't have one that works with the given compiler.
3337sys/select.h: sys_select.in.h $(LINK_WARNING_H)
3338	$(AM_V_at)$(MKDIR_P) sys
3339	$(AM_V_GEN)rm -f $@-t $@ && \
3340	{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
3341	  sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
3342	      -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
3343	      -e 's|@''NEXT_SYS_SELECT_H''@|$(NEXT_SYS_SELECT_H)|g' \
3344	      -e 's|@''HAVE_SYS_SELECT_H''@|$(HAVE_SYS_SELECT_H)|g' \
3345	      -e 's|@''GNULIB_SELECT''@|$(GNULIB_SELECT)|g' \
3346	      -e 's|@''HAVE_WINSOCK2_H''@|$(HAVE_WINSOCK2_H)|g' \
3347	      -e 's|@''REPLACE_SELECT''@|$(REPLACE_SELECT)|g' \
3348	      -e '/definition of GL_LINK_WARNING/r $(LINK_WARNING_H)' \
3349	      < $(srcdir)/sys_select.in.h; \
3350	} > $@-t && \
3351	mv $@-t $@
3352MOSTLYCLEANFILES += sys/select.h sys/select.h-t
3353MOSTLYCLEANDIRS += sys
3354
3355EXTRA_DIST += sys_select.in.h
3356
3357## end   gnulib module sys_select
3358
3359## begin gnulib module sys_socket
3360
3361BUILT_SOURCES += sys/socket.h
3362
3363# We need the following in order to create <sys/socket.h> when the system
3364# doesn't have one that works with the given compiler.
3365sys/socket.h: sys_socket.in.h $(LINK_WARNING_H) $(ARG_NONNULL_H)
3366	$(AM_V_at)$(MKDIR_P) sys
3367	$(AM_V_GEN)rm -f $@-t $@ && \
3368	{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
3369	  sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
3370	      -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
3371	      -e 's|@''NEXT_SYS_SOCKET_H''@|$(NEXT_SYS_SOCKET_H)|g' \
3372	      -e 's|@''HAVE_SYS_SOCKET_H''@|$(HAVE_SYS_SOCKET_H)|g' \
3373	      -e 's|@''GNULIB_CLOSE''@|$(GNULIB_CLOSE)|g' \
3374	      -e 's|@''GNULIB_SOCKET''@|$(GNULIB_SOCKET)|g' \
3375	      -e 's|@''GNULIB_CONNECT''@|$(GNULIB_CONNECT)|g' \
3376	      -e 's|@''GNULIB_ACCEPT''@|$(GNULIB_ACCEPT)|g' \
3377	      -e 's|@''GNULIB_BIND''@|$(GNULIB_BIND)|g' \
3378	      -e 's|@''GNULIB_GETPEERNAME''@|$(GNULIB_GETPEERNAME)|g' \
3379	      -e 's|@''GNULIB_GETSOCKNAME''@|$(GNULIB_GETSOCKNAME)|g' \
3380	      -e 's|@''GNULIB_GETSOCKOPT''@|$(GNULIB_GETSOCKOPT)|g' \
3381	      -e 's|@''GNULIB_LISTEN''@|$(GNULIB_LISTEN)|g' \
3382	      -e 's|@''GNULIB_RECV''@|$(GNULIB_RECV)|g' \
3383	      -e 's|@''GNULIB_SEND''@|$(GNULIB_SEND)|g' \
3384	      -e 's|@''GNULIB_RECVFROM''@|$(GNULIB_RECVFROM)|g' \
3385	      -e 's|@''GNULIB_SENDTO''@|$(GNULIB_SENDTO)|g' \
3386	      -e 's|@''GNULIB_SETSOCKOPT''@|$(GNULIB_SETSOCKOPT)|g' \
3387	      -e 's|@''GNULIB_SHUTDOWN''@|$(GNULIB_SHUTDOWN)|g' \
3388	      -e 's|@''GNULIB_ACCEPT4''@|$(GNULIB_ACCEPT4)|g' \
3389	      -e 's|@''HAVE_WINSOCK2_H''@|$(HAVE_WINSOCK2_H)|g' \
3390	      -e 's|@''HAVE_WS2TCPIP_H''@|$(HAVE_WS2TCPIP_H)|g' \
3391	      -e 's|@''HAVE_STRUCT_SOCKADDR_STORAGE''@|$(HAVE_STRUCT_SOCKADDR_STORAGE)|g' \
3392	      -e 's|@''HAVE_SA_FAMILY_T''@|$(HAVE_SA_FAMILY_T)|g' \
3393	      -e 's|@''HAVE_ACCEPT4''@|$(HAVE_ACCEPT4)|g' \
3394	      -e '/definition of GL_LINK_WARNING/r $(LINK_WARNING_H)' \
3395	      -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
3396	      < $(srcdir)/sys_socket.in.h; \
3397	} > $@-t && \
3398	mv -f $@-t $@
3399MOSTLYCLEANFILES += sys/socket.h sys/socket.h-t
3400MOSTLYCLEANDIRS += sys
3401
3402EXTRA_DIST += sys_socket.in.h
3403
3404## end   gnulib module sys_socket
3405
3406## begin gnulib module sys_stat
3407
3408BUILT_SOURCES += sys/stat.h
3409
3410# We need the following in order to create <sys/stat.h> when the system
3411# has one that is incomplete.
3412sys/stat.h: sys_stat.in.h $(LINK_WARNING_H) $(ARG_NONNULL_H)
3413	$(AM_V_at)$(MKDIR_P) sys
3414	$(AM_V_GEN)rm -f $@-t $@ && \
3415	{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
3416	  sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
3417	      -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
3418	      -e 's|@''NEXT_SYS_STAT_H''@|$(NEXT_SYS_STAT_H)|g' \
3419	      -e 's|@''GNULIB_FCHMODAT''@|$(GNULIB_FCHMODAT)|g' \
3420	      -e 's|@''GNULIB_FSTATAT''@|$(GNULIB_FSTATAT)|g' \
3421	      -e 's|@''GNULIB_FUTIMENS''@|$(GNULIB_FUTIMENS)|g' \
3422	      -e 's|@''GNULIB_LCHMOD''@|$(GNULIB_LCHMOD)|g' \
3423	      -e 's|@''GNULIB_LSTAT''@|$(GNULIB_LSTAT)|g' \
3424	      -e 's|@''GNULIB_MKDIRAT''@|$(GNULIB_MKDIRAT)|g' \
3425	      -e 's|@''GNULIB_MKFIFO''@|$(GNULIB_MKFIFO)|g' \
3426	      -e 's|@''GNULIB_MKFIFOAT''@|$(GNULIB_MKFIFOAT)|g' \
3427	      -e 's|@''GNULIB_MKNOD''@|$(GNULIB_MKNOD)|g' \
3428	      -e 's|@''GNULIB_MKNODAT''@|$(GNULIB_MKNODAT)|g' \
3429	      -e 's|@''GNULIB_STAT''@|$(GNULIB_STAT)|g' \
3430	      -e 's|@''GNULIB_UTIMENSAT''@|$(GNULIB_UTIMENSAT)|g' \
3431	      -e 's|@''HAVE_FCHMODAT''@|$(HAVE_FCHMODAT)|g' \
3432	      -e 's|@''HAVE_FSTATAT''@|$(HAVE_FSTATAT)|g' \
3433	      -e 's|@''HAVE_FUTIMENS''@|$(HAVE_FUTIMENS)|g' \
3434	      -e 's|@''HAVE_LCHMOD''@|$(HAVE_LCHMOD)|g' \
3435	      -e 's|@''HAVE_LSTAT''@|$(HAVE_LSTAT)|g' \
3436	      -e 's|@''HAVE_MKDIRAT''@|$(HAVE_MKDIRAT)|g' \
3437	      -e 's|@''HAVE_MKFIFO''@|$(HAVE_MKFIFO)|g' \
3438	      -e 's|@''HAVE_MKFIFOAT''@|$(HAVE_MKFIFOAT)|g' \
3439	      -e 's|@''HAVE_MKNOD''@|$(HAVE_MKNOD)|g' \
3440	      -e 's|@''HAVE_MKNODAT''@|$(HAVE_MKNODAT)|g' \
3441	      -e 's|@''HAVE_UTIMENSAT''@|$(HAVE_UTIMENSAT)|g' \
3442	      -e 's|@''REPLACE_FSTAT''@|$(REPLACE_FSTAT)|g' \
3443	      -e 's|@''REPLACE_FSTATAT''@|$(REPLACE_FSTATAT)|g' \
3444	      -e 's|@''REPLACE_FUTIMENS''@|$(REPLACE_FUTIMENS)|g' \
3445	      -e 's|@''REPLACE_LSTAT''@|$(REPLACE_LSTAT)|g' \
3446	      -e 's|@''REPLACE_MKDIR''@|$(REPLACE_MKDIR)|g' \
3447	      -e 's|@''REPLACE_MKFIFO''@|$(REPLACE_MKFIFO)|g' \
3448	      -e 's|@''REPLACE_MKNOD''@|$(REPLACE_MKNOD)|g' \
3449	      -e 's|@''REPLACE_STAT''@|$(REPLACE_STAT)|g' \
3450	      -e 's|@''REPLACE_UTIMENSAT''@|$(REPLACE_UTIMENSAT)|g' \
3451	      -e '/definition of GL_LINK_WARNING/r $(LINK_WARNING_H)' \
3452	      -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
3453	      < $(srcdir)/sys_stat.in.h; \
3454	} > $@-t && \
3455	mv $@-t $@
3456MOSTLYCLEANFILES += sys/stat.h sys/stat.h-t
3457MOSTLYCLEANDIRS += sys
3458
3459EXTRA_DIST += sys_stat.in.h
3460
3461## end   gnulib module sys_stat
3462
3463## begin gnulib module sys_time
3464
3465BUILT_SOURCES += $(SYS_TIME_H)
3466
3467# We need the following in order to create <sys/time.h> when the system
3468# doesn't have one that works with the given compiler.
3469sys/time.h: sys_time.in.h $(ARG_NONNULL_H)
3470	$(AM_V_at)$(MKDIR_P) sys
3471	$(AM_V_GEN)rm -f $@-t $@ && \
3472	{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
3473	  sed -e 's/@''HAVE_SYS_TIME_H''@/$(HAVE_SYS_TIME_H)/g' \
3474	      -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
3475	      -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
3476	      -e 's|@''NEXT_SYS_TIME_H''@|$(NEXT_SYS_TIME_H)|g' \
3477	      -e 's/@''REPLACE_GETTIMEOFDAY''@/$(REPLACE_GETTIMEOFDAY)/g' \
3478	      -e 's/@''HAVE_STRUCT_TIMEVAL''@/$(HAVE_STRUCT_TIMEVAL)/g' \
3479	      -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
3480	      < $(srcdir)/sys_time.in.h; \
3481	} > $@-t && \
3482	mv $@-t $@
3483MOSTLYCLEANFILES += sys/time.h sys/time.h-t
3484
3485EXTRA_DIST += sys_time.in.h
3486
3487## end   gnulib module sys_time
3488
3489## begin gnulib module sys_utsname
3490
3491BUILT_SOURCES += sys/utsname.h
3492
3493# We need the following in order to create <sys/utsname.h> when the system
3494# does not have one.
3495sys/utsname.h: sys_utsname.in.h $(LINK_WARNING_H) $(ARG_NONNULL_H)
3496	$(AM_V_at)$(MKDIR_P) sys
3497	$(AM_V_GEN)rm -f $@-t $@ && \
3498	{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
3499	  sed -e 's/@''HAVE_SYS_UTSNAME_H''@/$(HAVE_SYS_UTSNAME_H)/g' \
3500	      -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
3501	      -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
3502	      -e 's|@''NEXT_SYS_UTSNAME_H''@|$(NEXT_SYS_UTSNAME_H)|g' \
3503	      -e 's|@''GNULIB_UNAME''@|$(GNULIB_UNAME)|g' \
3504	      -e 's|@''HAVE_STRUCT_UTSNAME''@|$(HAVE_STRUCT_UTSNAME)|g' \
3505	      -e 's|@''HAVE_UNAME''@|$(HAVE_UNAME)|g' \
3506	      -e '/definition of GL_LINK_WARNING/r $(LINK_WARNING_H)' \
3507	      -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
3508	      < $(srcdir)/sys_utsname.in.h; \
3509	} > $@-t && \
3510	mv $@-t $@
3511MOSTLYCLEANFILES += sys/utsname.h sys/utsname.h-t
3512MOSTLYCLEANDIRS += sys
3513
3514EXTRA_DIST += sys_utsname.in.h
3515
3516## end   gnulib module sys_utsname
3517
3518## begin gnulib module tempname
3519
3520
3521EXTRA_DIST += tempname.c tempname.h
3522
3523EXTRA_libcoreutils_a_SOURCES += tempname.c
3524
3525## end   gnulib module tempname
3526
3527## begin gnulib module threadlib
3528
3529libcoreutils_a_SOURCES += glthread/threadlib.c
3530
3531EXTRA_DIST += $(top_srcdir)/build-aux/config.rpath
3532
3533## end   gnulib module threadlib
3534
3535## begin gnulib module time
3536
3537BUILT_SOURCES += time.h
3538
3539# We need the following in order to create <time.h> when the system
3540# doesn't have one that works with the given compiler.
3541time.h: time.in.h $(ARG_NONNULL_H)
3542	$(AM_V_GEN)rm -f $@-t $@ && \
3543	{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
3544	  sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
3545	      -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
3546	      -e 's|@NEXT_TIME_H''@|$(NEXT_TIME_H)|g' \
3547	      -e 's|@REPLACE_LOCALTIME_R''@|$(REPLACE_LOCALTIME_R)|g' \
3548	      -e 's|@REPLACE_MKTIME''@|$(REPLACE_MKTIME)|g' \
3549	      -e 's|@REPLACE_NANOSLEEP''@|$(REPLACE_NANOSLEEP)|g' \
3550	      -e 's|@REPLACE_STRPTIME''@|$(REPLACE_STRPTIME)|g' \
3551	      -e 's|@REPLACE_TIMEGM''@|$(REPLACE_TIMEGM)|g' \
3552	      -e 's|@SYS_TIME_H_DEFINES_STRUCT_TIMESPEC''@|$(SYS_TIME_H_DEFINES_STRUCT_TIMESPEC)|g' \
3553	      -e 's|@TIME_H_DEFINES_STRUCT_TIMESPEC''@|$(TIME_H_DEFINES_STRUCT_TIMESPEC)|g' \
3554	      -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
3555	      < $(srcdir)/time.in.h; \
3556	} > $@-t && \
3557	mv $@-t $@
3558MOSTLYCLEANFILES += time.h time.h-t
3559
3560EXTRA_DIST += time.in.h
3561
3562## end   gnulib module time
3563
3564## begin gnulib module time_r
3565
3566
3567EXTRA_DIST += time_r.c
3568
3569EXTRA_libcoreutils_a_SOURCES += time_r.c
3570
3571## end   gnulib module time_r
3572
3573## begin gnulib module timespec
3574
3575
3576EXTRA_DIST += timespec.h
3577
3578## end   gnulib module timespec
3579
3580## begin gnulib module tls
3581
3582libcoreutils_a_SOURCES += glthread/tls.h glthread/tls.c
3583
3584## end   gnulib module tls
3585
3586## begin gnulib module trim
3587
3588libcoreutils_a_SOURCES += trim.c
3589
3590EXTRA_DIST += trim.h
3591
3592## end   gnulib module trim
3593
3594## begin gnulib module u64
3595
3596
3597EXTRA_DIST += u64.h
3598
3599## end   gnulib module u64
3600
3601## begin gnulib module uname
3602
3603
3604EXTRA_DIST += uname.c
3605
3606EXTRA_libcoreutils_a_SOURCES += uname.c
3607
3608## end   gnulib module uname
3609
3610## begin gnulib module unicodeio
3611
3612libcoreutils_a_SOURCES += unicodeio.h unicodeio.c
3613
3614## end   gnulib module unicodeio
3615
3616## begin gnulib module unistd
3617
3618BUILT_SOURCES += unistd.h
3619
3620# We need the following in order to create an empty placeholder for
3621# <unistd.h> when the system doesn't have one.
3622unistd.h: unistd.in.h $(LINK_WARNING_H) $(WARN_ON_USE_H) $(ARG_NONNULL_H)
3623	$(AM_V_GEN)rm -f $@-t $@ && \
3624	{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
3625	  sed -e 's|@''HAVE_UNISTD_H''@|$(HAVE_UNISTD_H)|g' \
3626	      -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
3627	      -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
3628	      -e 's|@''NEXT_UNISTD_H''@|$(NEXT_UNISTD_H)|g' \
3629	      -e 's|@''GNULIB_CHOWN''@|$(GNULIB_CHOWN)|g' \
3630	      -e 's|@''GNULIB_CLOSE''@|$(GNULIB_CLOSE)|g' \
3631	      -e 's|@''GNULIB_DUP2''@|$(GNULIB_DUP2)|g' \
3632	      -e 's|@''GNULIB_DUP3''@|$(GNULIB_DUP3)|g' \
3633	      -e 's|@''GNULIB_ENVIRON''@|$(GNULIB_ENVIRON)|g' \
3634	      -e 's|@''GNULIB_EUIDACCESS''@|$(GNULIB_EUIDACCESS)|g' \
3635	      -e 's|@''GNULIB_FACCESSAT''@|$(GNULIB_FACCESSAT)|g' \
3636	      -e 's|@''GNULIB_FCHDIR''@|$(GNULIB_FCHDIR)|g' \
3637	      -e 's|@''GNULIB_FCHOWNAT''@|$(GNULIB_FCHOWNAT)|g' \
3638	      -e 's|@''GNULIB_FSYNC''@|$(GNULIB_FSYNC)|g' \
3639	      -e 's|@''GNULIB_FTRUNCATE''@|$(GNULIB_FTRUNCATE)|g' \
3640	      -e 's|@''GNULIB_GETCWD''@|$(GNULIB_GETCWD)|g' \
3641	      -e 's|@''GNULIB_GETDOMAINNAME''@|$(GNULIB_GETDOMAINNAME)|g' \
3642	      -e 's|@''GNULIB_GETDTABLESIZE''@|$(GNULIB_GETDTABLESIZE)|g' \
3643	      -e 's|@''GNULIB_GETGROUPS''@|$(GNULIB_GETGROUPS)|g' \
3644	      -e 's|@''GNULIB_GETHOSTNAME''@|$(GNULIB_GETHOSTNAME)|g' \
3645	      -e 's|@''GNULIB_GETLOGIN''@|$(GNULIB_GETLOGIN)|g' \
3646	      -e 's|@''GNULIB_GETLOGIN_R''@|$(GNULIB_GETLOGIN_R)|g' \
3647	      -e 's|@''GNULIB_GETPAGESIZE''@|$(GNULIB_GETPAGESIZE)|g' \
3648	      -e 's|@''GNULIB_GETUSERSHELL''@|$(GNULIB_GETUSERSHELL)|g' \
3649	      -e 's|@''GNULIB_LCHOWN''@|$(GNULIB_LCHOWN)|g' \
3650	      -e 's|@''GNULIB_LINK''@|$(GNULIB_LINK)|g' \
3651	      -e 's|@''GNULIB_LINKAT''@|$(GNULIB_LINKAT)|g' \
3652	      -e 's|@''GNULIB_LSEEK''@|$(GNULIB_LSEEK)|g' \
3653	      -e 's|@''GNULIB_PIPE2''@|$(GNULIB_PIPE2)|g' \
3654	      -e 's|@''GNULIB_PREAD''@|$(GNULIB_PREAD)|g' \
3655	      -e 's|@''GNULIB_READLINK''@|$(GNULIB_READLINK)|g' \
3656	      -e 's|@''GNULIB_READLINKAT''@|$(GNULIB_READLINKAT)|g' \
3657	      -e 's|@''GNULIB_RMDIR''@|$(GNULIB_RMDIR)|g' \
3658	      -e 's|@''GNULIB_SLEEP''@|$(GNULIB_SLEEP)|g' \
3659	      -e 's|@''GNULIB_SYMLINK''@|$(GNULIB_SYMLINK)|g' \
3660	      -e 's|@''GNULIB_SYMLINKAT''@|$(GNULIB_SYMLINKAT)|g' \
3661	      -e 's|@''GNULIB_UNISTD_H_GETOPT''@|$(GNULIB_UNISTD_H_GETOPT)|g' \
3662	      -e 's|@''GNULIB_UNISTD_H_SIGPIPE''@|$(GNULIB_UNISTD_H_SIGPIPE)|g' \
3663	      -e 's|@''GNULIB_UNLINK''@|$(GNULIB_UNLINK)|g' \
3664	      -e 's|@''GNULIB_UNLINKAT''@|$(GNULIB_UNLINKAT)|g' \
3665	      -e 's|@''GNULIB_USLEEP''@|$(GNULIB_USLEEP)|g' \
3666	      -e 's|@''GNULIB_WRITE''@|$(GNULIB_WRITE)|g' \
3667	      -e 's|@''HAVE_CHOWN''@|$(HAVE_CHOWN)|g' \
3668	      -e 's|@''HAVE_DUP2''@|$(HAVE_DUP2)|g' \
3669	      -e 's|@''HAVE_DUP3''@|$(HAVE_DUP3)|g' \
3670	      -e 's|@''HAVE_EUIDACCESS''@|$(HAVE_EUIDACCESS)|g' \
3671	      -e 's|@''HAVE_FACCESSAT''@|$(HAVE_FACCESSAT)|g' \
3672	      -e 's|@''HAVE_FCHOWNAT''@|$(HAVE_FCHOWNAT)|g' \
3673	      -e 's|@''HAVE_FSYNC''@|$(HAVE_FSYNC)|g' \
3674	      -e 's|@''HAVE_FTRUNCATE''@|$(HAVE_FTRUNCATE)|g' \
3675	      -e 's|@''HAVE_GETDOMAINNAME''@|$(HAVE_GETDOMAINNAME)|g' \
3676	      -e 's|@''HAVE_GETDTABLESIZE''@|$(HAVE_GETDTABLESIZE)|g' \
3677	      -e 's|@''HAVE_GETGROUPS''@|$(HAVE_GETGROUPS)|g' \
3678	      -e 's|@''HAVE_GETHOSTNAME''@|$(HAVE_GETHOSTNAME)|g' \
3679	      -e 's|@''HAVE_GETLOGIN''@|$(HAVE_GETLOGIN)|g' \
3680	      -e 's|@''HAVE_GETPAGESIZE''@|$(HAVE_GETPAGESIZE)|g' \
3681	      -e 's|@''HAVE_GETUSERSHELL''@|$(HAVE_GETUSERSHELL)|g' \
3682	      -e 's|@''HAVE_LCHOWN''@|$(HAVE_LCHOWN)|g' \
3683	      -e 's|@''HAVE_LINK''@|$(HAVE_LINK)|g' \
3684	      -e 's|@''HAVE_LINKAT''@|$(HAVE_LINKAT)|g' \
3685	      -e 's|@''HAVE_PIPE2''@|$(HAVE_PIPE2)|g' \
3686	      -e 's|@''HAVE_PREAD''@|$(HAVE_PREAD)|g' \
3687	      -e 's|@''HAVE_READLINK''@|$(HAVE_READLINK)|g' \
3688	      -e 's|@''HAVE_READLINKAT''@|$(HAVE_READLINKAT)|g' \
3689	      -e 's|@''HAVE_SLEEP''@|$(HAVE_SLEEP)|g' \
3690	      -e 's|@''HAVE_SYMLINK''@|$(HAVE_SYMLINK)|g' \
3691	      -e 's|@''HAVE_SYMLINKAT''@|$(HAVE_SYMLINKAT)|g' \
3692	      -e 's|@''HAVE_UNLINKAT''@|$(HAVE_UNLINKAT)|g' \
3693	      -e 's|@''HAVE_USLEEP''@|$(HAVE_USLEEP)|g' \
3694	      -e 's|@''HAVE_DECL_ENVIRON''@|$(HAVE_DECL_ENVIRON)|g' \
3695	      -e 's|@''HAVE_DECL_GETLOGIN_R''@|$(HAVE_DECL_GETLOGIN_R)|g' \
3696	      -e 's|@''HAVE_OS_H''@|$(HAVE_OS_H)|g' \
3697	      -e 's|@''HAVE_SYS_PARAM_H''@|$(HAVE_SYS_PARAM_H)|g' \
3698	      -e 's|@''REPLACE_CHOWN''@|$(REPLACE_CHOWN)|g' \
3699	      -e 's|@''REPLACE_CLOSE''@|$(REPLACE_CLOSE)|g' \
3700	      -e 's|@''REPLACE_DUP''@|$(REPLACE_DUP)|g' \
3701	      -e 's|@''REPLACE_DUP2''@|$(REPLACE_DUP2)|g' \
3702	      -e 's|@''REPLACE_FCHDIR''@|$(REPLACE_FCHDIR)|g' \
3703	      -e 's|@''REPLACE_FCHOWNAT''@|$(REPLACE_FCHOWNAT)|g' \
3704	      -e 's|@''REPLACE_GETCWD''@|$(REPLACE_GETCWD)|g' \
3705	      -e 's|@''REPLACE_GETGROUPS''@|$(REPLACE_GETGROUPS)|g' \
3706	      -e 's|@''REPLACE_GETPAGESIZE''@|$(REPLACE_GETPAGESIZE)|g' \
3707	      -e 's|@''REPLACE_LCHOWN''@|$(REPLACE_LCHOWN)|g' \
3708	      -e 's|@''REPLACE_LINK''@|$(REPLACE_LINK)|g' \
3709	      -e 's|@''REPLACE_LINKAT''@|$(REPLACE_LINKAT)|g' \
3710	      -e 's|@''REPLACE_LSEEK''@|$(REPLACE_LSEEK)|g' \
3711	      -e 's|@''REPLACE_PREAD''@|$(REPLACE_PREAD)|g' \
3712	      -e 's|@''REPLACE_READLINK''@|$(REPLACE_READLINK)|g' \
3713	      -e 's|@''REPLACE_RMDIR''@|$(REPLACE_RMDIR)|g' \
3714	      -e 's|@''REPLACE_SLEEP''@|$(REPLACE_SLEEP)|g' \
3715	      -e 's|@''REPLACE_SYMLINK''@|$(REPLACE_SYMLINK)|g' \
3716	      -e 's|@''REPLACE_UNLINK''@|$(REPLACE_UNLINK)|g' \
3717	      -e 's|@''REPLACE_UNLINKAT''@|$(REPLACE_UNLINKAT)|g' \
3718	      -e 's|@''REPLACE_USLEEP''@|$(REPLACE_USLEEP)|g' \
3719	      -e 's|@''REPLACE_WRITE''@|$(REPLACE_WRITE)|g' \
3720	      -e 's|@''UNISTD_H_HAVE_WINSOCK2_H''@|$(UNISTD_H_HAVE_WINSOCK2_H)|g' \
3721	      -e 's|@''UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS''@|$(UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS)|g' \
3722	      -e '/definition of GL_LINK_WARNING/r $(LINK_WARNING_H)' \
3723	      -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
3724	      -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
3725	      < $(srcdir)/unistd.in.h; \
3726	} > $@-t && \
3727	mv $@-t $@
3728MOSTLYCLEANFILES += unistd.h unistd.h-t
3729
3730EXTRA_DIST += unistd.in.h
3731
3732## end   gnulib module unistd
3733
3734## begin gnulib module unistd-safer
3735
3736
3737EXTRA_DIST += dup-safer.c fd-safer.c pipe-safer.c unistd--.h unistd-safer.h
3738
3739EXTRA_libcoreutils_a_SOURCES += dup-safer.c fd-safer.c pipe-safer.c
3740
3741## end   gnulib module unistd-safer
3742
3743## begin gnulib module unistr/base
3744
3745
3746EXTRA_DIST += unistr.h
3747
3748## end   gnulib module unistr/base
3749
3750## begin gnulib module unistr/u8-uctomb
3751
3752libcoreutils_a_SOURCES += unistr/u8-uctomb.c unistr/u8-uctomb-aux.c
3753
3754## end   gnulib module unistr/u8-uctomb
3755
3756## begin gnulib module unitypes
3757
3758
3759EXTRA_DIST += unitypes.h
3760
3761## end   gnulib module unitypes
3762
3763## begin gnulib module uniwidth/base
3764
3765
3766EXTRA_DIST += localcharset.h uniwidth.h
3767
3768## end   gnulib module uniwidth/base
3769
3770## begin gnulib module uniwidth/width
3771
3772libcoreutils_a_SOURCES += uniwidth/width.c
3773
3774EXTRA_DIST += uniwidth/cjk.h
3775
3776## end   gnulib module uniwidth/width
3777
3778## begin gnulib module unlink
3779
3780
3781EXTRA_DIST += unlink.c
3782
3783EXTRA_libcoreutils_a_SOURCES += unlink.c
3784
3785## end   gnulib module unlink
3786
3787## begin gnulib module unlocked-io
3788
3789
3790EXTRA_DIST += unlocked-io.h
3791
3792## end   gnulib module unlocked-io
3793
3794## begin gnulib module unsetenv
3795
3796
3797EXTRA_DIST += unsetenv.c
3798
3799EXTRA_libcoreutils_a_SOURCES += unsetenv.c
3800
3801## end   gnulib module unsetenv
3802
3803## begin gnulib module unused-parameter
3804
3805# The BUILT_SOURCES created by this Makefile snippet are not used via #include
3806# statements but through direct file reference. Therefore this snippet must be
3807# present in all Makefile.am that need it. This is ensured by the applicability
3808# 'all' defined above.
3809
3810BUILT_SOURCES += unused-parameter.h
3811# The unused-parameter.h that gets inserted into generated .h files is the same
3812# as build-aux/unused-parameter.h, except that it has the copyright header cut
3813# off.
3814unused-parameter.h: $(top_srcdir)/build-aux/unused-parameter.h
3815	$(AM_V_GEN)rm -f $@-t $@ && \
3816	sed -n -e '/GL_UNUSED_PARAMETER/,$$p' \
3817	  < $(top_srcdir)/build-aux/unused-parameter.h \
3818	  > $@-t && \
3819	mv $@-t $@
3820MOSTLYCLEANFILES += unused-parameter.h unused-parameter.h-t
3821
3822UNUSED_PARAMETER_H=unused-parameter.h
3823
3824EXTRA_DIST += $(top_srcdir)/build-aux/unused-parameter.h
3825
3826## end   gnulib module unused-parameter
3827
3828## begin gnulib module update-copyright
3829
3830
3831EXTRA_DIST += $(top_srcdir)/build-aux/update-copyright
3832
3833## end   gnulib module update-copyright
3834
3835## begin gnulib module useless-if-before-free
3836
3837
3838EXTRA_DIST += $(top_srcdir)/build-aux/useless-if-before-free
3839
3840## end   gnulib module useless-if-before-free
3841
3842## begin gnulib module userspec
3843
3844
3845EXTRA_DIST += inttostr.h userspec.c userspec.h
3846
3847EXTRA_libcoreutils_a_SOURCES += userspec.c
3848
3849## end   gnulib module userspec
3850
3851## begin gnulib module utimecmp
3852
3853
3854EXTRA_DIST += utimecmp.c utimecmp.h
3855
3856EXTRA_libcoreutils_a_SOURCES += utimecmp.c
3857
3858## end   gnulib module utimecmp
3859
3860## begin gnulib module utimens
3861
3862
3863EXTRA_DIST += utimens.c utimens.h
3864
3865EXTRA_libcoreutils_a_SOURCES += utimens.c
3866
3867## end   gnulib module utimens
3868
3869## begin gnulib module vasnprintf
3870
3871
3872EXTRA_DIST += asnprintf.c float+.h printf-args.c printf-args.h printf-parse.c printf-parse.h vasnprintf.c vasnprintf.h
3873
3874EXTRA_libcoreutils_a_SOURCES += asnprintf.c printf-args.c printf-parse.c vasnprintf.c
3875
3876## end   gnulib module vasnprintf
3877
3878## begin gnulib module vasprintf
3879
3880
3881EXTRA_DIST += asprintf.c vasprintf.c
3882
3883EXTRA_libcoreutils_a_SOURCES += asprintf.c vasprintf.c
3884
3885## end   gnulib module vasprintf
3886
3887## begin gnulib module vc-list-files
3888
3889
3890EXTRA_DIST += $(top_srcdir)/build-aux/vc-list-files
3891
3892## end   gnulib module vc-list-files
3893
3894## begin gnulib module verify
3895
3896libcoreutils_a_SOURCES += verify.h
3897
3898## end   gnulib module verify
3899
3900## begin gnulib module verror
3901
3902libcoreutils_a_SOURCES += verror.h verror.c
3903
3904## end   gnulib module verror
3905
3906## begin gnulib module version-etc
3907
3908libcoreutils_a_SOURCES += version-etc.h version-etc.c
3909
3910## end   gnulib module version-etc
3911
3912## begin gnulib module version-etc-fsf
3913
3914libcoreutils_a_SOURCES += version-etc-fsf.c
3915
3916## end   gnulib module version-etc-fsf
3917
3918## begin gnulib module vfprintf-posix
3919
3920
3921EXTRA_DIST += vfprintf.c
3922
3923EXTRA_libcoreutils_a_SOURCES += vfprintf.c
3924
3925## end   gnulib module vfprintf-posix
3926
3927## begin gnulib module vprintf-posix
3928
3929
3930EXTRA_DIST += vprintf.c
3931
3932EXTRA_libcoreutils_a_SOURCES += vprintf.c
3933
3934## end   gnulib module vprintf-posix
3935
3936## begin gnulib module warn-on-use
3937
3938BUILT_SOURCES += warn-on-use.h
3939# The warn-on-use.h that gets inserted into generated .h files is the same as
3940# build-aux/warn-on-use.h, except that it has the copyright header cut off.
3941warn-on-use.h: $(top_srcdir)/build-aux/warn-on-use.h
3942	$(AM_V_GEN)rm -f $@-t $@ && \
3943	sed -n -e '/^.ifndef/,$$p' \
3944	  < $(top_srcdir)/build-aux/warn-on-use.h \
3945	  > $@-t && \
3946	mv $@-t $@
3947MOSTLYCLEANFILES += warn-on-use.h warn-on-use.h-t
3948
3949WARN_ON_USE_H=warn-on-use.h
3950
3951EXTRA_DIST += $(top_srcdir)/build-aux/warn-on-use.h
3952
3953## end   gnulib module warn-on-use
3954
3955## begin gnulib module wchar
3956
3957BUILT_SOURCES += wchar.h
3958
3959# We need the following in order to create <wchar.h> when the system
3960# version does not work standalone.
3961wchar.h: wchar.in.h $(LINK_WARNING_H) $(ARG_NONNULL_H)
3962	$(AM_V_GEN)rm -f $@-t $@ && \
3963	{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
3964	  sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
3965	      -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
3966	      -e 's|@''NEXT_WCHAR_H''@|$(NEXT_WCHAR_H)|g' \
3967	      -e 's|@''HAVE_WCHAR_H''@|$(HAVE_WCHAR_H)|g' \
3968	      -e 's|@''GNULIB_BTOWC''@|$(GNULIB_BTOWC)|g' \
3969	      -e 's|@''GNULIB_WCTOB''@|$(GNULIB_WCTOB)|g' \
3970	      -e 's|@''GNULIB_MBSINIT''@|$(GNULIB_MBSINIT)|g' \
3971	      -e 's|@''GNULIB_MBRTOWC''@|$(GNULIB_MBRTOWC)|g' \
3972	      -e 's|@''GNULIB_MBRLEN''@|$(GNULIB_MBRLEN)|g' \
3973	      -e 's|@''GNULIB_MBSRTOWCS''@|$(GNULIB_MBSRTOWCS)|g' \
3974	      -e 's|@''GNULIB_MBSNRTOWCS''@|$(GNULIB_MBSNRTOWCS)|g' \
3975	      -e 's|@''GNULIB_WCRTOMB''@|$(GNULIB_WCRTOMB)|g' \
3976	      -e 's|@''GNULIB_WCSRTOMBS''@|$(GNULIB_WCSRTOMBS)|g' \
3977	      -e 's|@''GNULIB_WCSNRTOMBS''@|$(GNULIB_WCSNRTOMBS)|g' \
3978	      -e 's|@''GNULIB_WCWIDTH''@|$(GNULIB_WCWIDTH)|g' \
3979	      -e 's|@''HAVE_WINT_T''@|$(HAVE_WINT_T)|g' \
3980	      -e 's|@''HAVE_BTOWC''@|$(HAVE_BTOWC)|g' \
3981	      -e 's|@''HAVE_MBSINIT''@|$(HAVE_MBSINIT)|g' \
3982	      -e 's|@''HAVE_MBRTOWC''@|$(HAVE_MBRTOWC)|g' \
3983	      -e 's|@''HAVE_MBRLEN''@|$(HAVE_MBRLEN)|g' \
3984	      -e 's|@''HAVE_MBSRTOWCS''@|$(HAVE_MBSRTOWCS)|g' \
3985	      -e 's|@''HAVE_MBSNRTOWCS''@|$(HAVE_MBSNRTOWCS)|g' \
3986	      -e 's|@''HAVE_WCRTOMB''@|$(HAVE_WCRTOMB)|g' \
3987	      -e 's|@''HAVE_WCSRTOMBS''@|$(HAVE_WCSRTOMBS)|g' \
3988	      -e 's|@''HAVE_WCSNRTOMBS''@|$(HAVE_WCSNRTOMBS)|g' \
3989	      -e 's|@''HAVE_DECL_WCTOB''@|$(HAVE_DECL_WCTOB)|g' \
3990	      -e 's|@''HAVE_DECL_WCWIDTH''@|$(HAVE_DECL_WCWIDTH)|g' \
3991	      -e 's|@''REPLACE_MBSTATE_T''@|$(REPLACE_MBSTATE_T)|g' \
3992	      -e 's|@''REPLACE_BTOWC''@|$(REPLACE_BTOWC)|g' \
3993	      -e 's|@''REPLACE_WCTOB''@|$(REPLACE_WCTOB)|g' \
3994	      -e 's|@''REPLACE_MBSINIT''@|$(REPLACE_MBSINIT)|g' \
3995	      -e 's|@''REPLACE_MBRTOWC''@|$(REPLACE_MBRTOWC)|g' \
3996	      -e 's|@''REPLACE_MBRLEN''@|$(REPLACE_MBRLEN)|g' \
3997	      -e 's|@''REPLACE_MBSRTOWCS''@|$(REPLACE_MBSRTOWCS)|g' \
3998	      -e 's|@''REPLACE_MBSNRTOWCS''@|$(REPLACE_MBSNRTOWCS)|g' \
3999	      -e 's|@''REPLACE_WCRTOMB''@|$(REPLACE_WCRTOMB)|g' \
4000	      -e 's|@''REPLACE_WCSRTOMBS''@|$(REPLACE_WCSRTOMBS)|g' \
4001	      -e 's|@''REPLACE_WCSNRTOMBS''@|$(REPLACE_WCSNRTOMBS)|g' \
4002	      -e 's|@''REPLACE_WCWIDTH''@|$(REPLACE_WCWIDTH)|g' \
4003	      -e '/definition of GL_LINK_WARNING/r $(LINK_WARNING_H)' \
4004	      -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
4005	    < $(srcdir)/wchar.in.h; \
4006	} > $@-t && \
4007	mv $@-t $@
4008MOSTLYCLEANFILES += wchar.h wchar.h-t
4009
4010EXTRA_DIST += wchar.in.h
4011
4012## end   gnulib module wchar
4013
4014## begin gnulib module wcrtomb
4015
4016
4017EXTRA_DIST += wcrtomb.c
4018
4019EXTRA_libcoreutils_a_SOURCES += wcrtomb.c
4020
4021## end   gnulib module wcrtomb
4022
4023## begin gnulib module wctype
4024
4025BUILT_SOURCES += $(WCTYPE_H)
4026
4027# We need the following in order to create <wctype.h> when the system
4028# doesn't have one that works with the given compiler.
4029wctype.h: wctype.in.h
4030	$(AM_V_GEN)rm -f $@-t $@ && \
4031	{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
4032	  sed -e 's/@''HAVE_WCTYPE_H''@/$(HAVE_WCTYPE_H)/g' \
4033	      -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
4034	      -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
4035	      -e 's|@''NEXT_WCTYPE_H''@|$(NEXT_WCTYPE_H)|g' \
4036	      -e 's/@''HAVE_ISWCNTRL''@/$(HAVE_ISWCNTRL)/g' \
4037	      -e 's/@''HAVE_WINT_T''@/$(HAVE_WINT_T)/g' \
4038	      -e 's/@''REPLACE_ISWCNTRL''@/$(REPLACE_ISWCNTRL)/g' \
4039	      < $(srcdir)/wctype.in.h; \
4040	} > $@-t && \
4041	mv $@-t $@
4042MOSTLYCLEANFILES += wctype.h wctype.h-t
4043
4044EXTRA_DIST += wctype.in.h
4045
4046## end   gnulib module wctype
4047
4048## begin gnulib module wcwidth
4049
4050
4051EXTRA_DIST += wcwidth.c
4052
4053EXTRA_libcoreutils_a_SOURCES += wcwidth.c
4054
4055## end   gnulib module wcwidth
4056
4057## begin gnulib module write
4058
4059
4060EXTRA_DIST += write.c
4061
4062EXTRA_libcoreutils_a_SOURCES += write.c
4063
4064## end   gnulib module write
4065
4066## begin gnulib module write-any-file
4067
4068
4069EXTRA_DIST += write-any-file.c write-any-file.h
4070
4071EXTRA_libcoreutils_a_SOURCES += write-any-file.c
4072
4073## end   gnulib module write-any-file
4074
4075## begin gnulib module xalloc
4076
4077
4078EXTRA_DIST += xalloc.h xmalloc.c
4079
4080EXTRA_libcoreutils_a_SOURCES += xmalloc.c
4081
4082## end   gnulib module xalloc
4083
4084## begin gnulib module xalloc-die
4085
4086libcoreutils_a_SOURCES += xalloc-die.c
4087
4088## end   gnulib module xalloc-die
4089
4090## begin gnulib module xfreopen
4091
4092libcoreutils_a_SOURCES += xfreopen.c xfreopen.h
4093
4094## end   gnulib module xfreopen
4095
4096## begin gnulib module xgetcwd
4097
4098
4099EXTRA_DIST += xgetcwd.c xgetcwd.h
4100
4101EXTRA_libcoreutils_a_SOURCES += xgetcwd.c
4102
4103## end   gnulib module xgetcwd
4104
4105## begin gnulib module xgethostname
4106
4107libcoreutils_a_SOURCES += xgethostname.h xgethostname.c
4108
4109## end   gnulib module xgethostname
4110
4111## begin gnulib module xmemcoll
4112
4113libcoreutils_a_SOURCES += xmemcoll.h xmemcoll.c
4114
4115## end   gnulib module xmemcoll
4116
4117## begin gnulib module xnanosleep
4118
4119
4120EXTRA_DIST += xnanosleep.c xnanosleep.h
4121
4122EXTRA_libcoreutils_a_SOURCES += xnanosleep.c
4123
4124## end   gnulib module xnanosleep
4125
4126## begin gnulib module xprintf
4127
4128libcoreutils_a_SOURCES += xprintf.h xprintf.c
4129
4130## end   gnulib module xprintf
4131
4132## begin gnulib module xreadlink
4133
4134libcoreutils_a_SOURCES += xreadlink.c
4135
4136EXTRA_DIST += xreadlink.h
4137
4138## end   gnulib module xreadlink
4139
4140## begin gnulib module xsize
4141
4142libcoreutils_a_SOURCES += xsize.h
4143
4144## end   gnulib module xsize
4145
4146## begin gnulib module xstriconv
4147
4148libcoreutils_a_SOURCES += xstriconv.h xstriconv.c
4149
4150## end   gnulib module xstriconv
4151
4152## begin gnulib module xstrndup
4153
4154libcoreutils_a_SOURCES += xstrndup.h xstrndup.c
4155
4156## end   gnulib module xstrndup
4157
4158## begin gnulib module xstrtod
4159
4160
4161EXTRA_DIST += xstrtod.c xstrtod.h
4162
4163EXTRA_libcoreutils_a_SOURCES += xstrtod.c
4164
4165## end   gnulib module xstrtod
4166
4167## begin gnulib module xstrtoimax
4168
4169libcoreutils_a_SOURCES += xstrtoimax.c
4170
4171## end   gnulib module xstrtoimax
4172
4173## begin gnulib module xstrtol
4174
4175
4176EXTRA_DIST += xstrtol-error.c xstrtol.c xstrtol.h xstrtoul.c
4177
4178EXTRA_libcoreutils_a_SOURCES += xstrtol-error.c xstrtol.c xstrtoul.c
4179
4180## end   gnulib module xstrtol
4181
4182## begin gnulib module xstrtold
4183
4184
4185EXTRA_DIST += xstrtod.c xstrtod.h xstrtold.c
4186
4187EXTRA_libcoreutils_a_SOURCES += xstrtod.c xstrtold.c
4188
4189## end   gnulib module xstrtold
4190
4191## begin gnulib module xstrtoumax
4192
4193libcoreutils_a_SOURCES += xstrtoumax.c
4194
4195## end   gnulib module xstrtoumax
4196
4197## begin gnulib module xvasprintf
4198
4199libcoreutils_a_SOURCES += xvasprintf.h xvasprintf.c xasprintf.c
4200
4201EXTRA_DIST += xalloc.h
4202
4203## end   gnulib module xvasprintf
4204
4205## begin gnulib module yesno
4206
4207
4208EXTRA_DIST += yesno.c yesno.h
4209
4210EXTRA_libcoreutils_a_SOURCES += yesno.c
4211
4212## end   gnulib module yesno
4213
4214
4215mostlyclean-local: mostlyclean-generic
4216	@for dir in '' $(MOSTLYCLEANDIRS); do \
4217	  if test -n "$$dir" && test -d $$dir; then \
4218	    echo "rmdir $$dir"; rmdir $$dir; \
4219	  fi; \
4220	done; \
4221	:
4222