Tizen 2.0 Release
[external/tizen-coreutils.git] / lib / gnulib.mk
1 ## DO NOT EDIT! GENERATED AUTOMATICALLY!
2 ## Process this file with automake to produce Makefile.in.
3 # Copyright (C) 2004-2007 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 --aux-dir=build-aux --avoid=lock --avoid=size_max --avoid=xsize --avoid=canonicalize-lgpl --no-libtool --macro-prefix=gl acl alloca announce-gen argmatch assert atexit backupfile base64 c-strcase c-strtod c-strtold calloc canon-host canonicalize chown cloexec closeout config-h configmake cycle-check d-ino d-type diacrit dirfd dirname dup2 error euidaccess exclude exitfail fchdir fcntl fcntl-safer fdl file-type fileblocks filemode filenamecat fnmatch-gnu fopen-safer fprintftime free fsusage ftruncate fts getdate getgroups gethrxtime getline getloadavg getndelim2 getopt getpagesize getpass-gnu gettext gettime gettimeofday getugroups getusershell gnupload group-member hard-locale hash hash-pjw host-os human idcache inttostr inttypes isapipe lchmod lchown lib-ignore linebuffer link-follow long-options lstat malloc mbswidth md5 memcasecmp memchr memcmp memcpy memmove mempcpy memrchr memset mkancesdirs mkdir mkdir-p mkstemp mktime modechange mountlist mpsort obstack pathmax perl physmem posixtm posixver putenv quote quotearg raise readlink readtokens readtokens0 readutmp realloc regex rename rename-dest-slash rmdir rmdir-errno root-dev-ino rpmatch safe-read same save-cwd savedir savewd settime sha1 sig2str ssize_t stat-macros stat-time stdbool stdlib-safer stpcpy strcspn strftime strpbrk strtod strtoimax strtol strtoumax strverscmp sys_stat timespec tzset unicodeio unistd-safer unlink-busy unlinkdir unlocked-io uptime userspec utime utimecmp utimens vasprintf verify version-etc-fsf wcwidth winsz-ioctl winsz-termios xalloc xgetcwd xgethostname xmemcoll xnanosleep xreadlink xreadlink-with-size xstrtod xstrtoimax xstrtol xstrtold xstrtoumax yesno
13
14 AUTOMAKE_OPTIONS = 1.5 gnits
15
16 noinst_HEADERS =
17 noinst_LIBRARIES =
18 noinst_LTLIBRARIES =
19 EXTRA_DIST =
20 BUILT_SOURCES =
21 SUFFIXES =
22 MOSTLYCLEANFILES = core *.stackdump
23 MOSTLYCLEANDIRS =
24 CLEANFILES =
25 DISTCLEANFILES =
26 MAINTAINERCLEANFILES =
27
28 AM_CPPFLAGS =
29
30 noinst_LIBRARIES += libcoreutils.a
31
32 libcoreutils_a_SOURCES =
33 libcoreutils_a_LIBADD = $(gl_LIBOBJS)
34 libcoreutils_a_DEPENDENCIES = $(gl_LIBOBJS)
35 EXTRA_libcoreutils_a_SOURCES =
36
37 ## begin gnulib module acl
38
39
40 EXTRA_DIST += acl-internal.h acl.c acl.h acl_entries.c file-has-acl.c
41
42 EXTRA_libcoreutils_a_SOURCES += acl.c acl_entries.c file-has-acl.c
43
44 ## end   gnulib module acl
45
46 ## begin gnulib module alloca
47
48
49 EXTRA_DIST += alloca.c
50
51 EXTRA_libcoreutils_a_SOURCES += alloca.c
52
53 libcoreutils_a_LIBADD += @ALLOCA@
54 libcoreutils_a_DEPENDENCIES += @ALLOCA@
55 ## end   gnulib module alloca
56
57 ## begin gnulib module alloca-opt
58
59 BUILT_SOURCES += $(ALLOCA_H)
60
61 # We need the following in order to create <alloca.h> when the system
62 # doesn't have one that works with the given compiler.
63 alloca.h: alloca_.h
64         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
65           cat $(srcdir)/alloca_.h; \
66         } > $@-t
67         mv -f $@-t $@
68 MOSTLYCLEANFILES += alloca.h alloca.h-t
69
70 EXTRA_DIST += alloca_.h
71
72 ## end   gnulib module alloca-opt
73
74 ## begin gnulib module allocsa
75
76 libcoreutils_a_SOURCES += allocsa.h allocsa.c
77
78 EXTRA_DIST += allocsa.valgrind
79
80 ## end   gnulib module allocsa
81
82 ## begin gnulib module argmatch
83
84
85 EXTRA_DIST += argmatch.c argmatch.h
86
87 EXTRA_libcoreutils_a_SOURCES += argmatch.c
88
89 ## end   gnulib module argmatch
90
91 ## begin gnulib module arpa_inet
92
93 BUILT_SOURCES += $(ARPA_INET_H)
94
95 # We need the following in order to create <arpa/inet.h> when the system
96 # doesn't have one.
97 arpa/inet.h:
98         @MKDIR_P@ arpa
99         rm -f $@-t $@
100         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
101           echo '#include <sys/socket.h>'; \
102         } > $@-t
103         mv $@-t $@
104 MOSTLYCLEANFILES += arpa/inet.h arpa/inet.h-t
105 MOSTLYCLEANDIRS += arpa
106
107 ## end   gnulib module arpa_inet
108
109 ## begin gnulib module atexit
110
111
112 EXTRA_DIST += atexit.c
113
114 EXTRA_libcoreutils_a_SOURCES += atexit.c
115
116 ## end   gnulib module atexit
117
118 ## begin gnulib module backupfile
119
120
121 EXTRA_DIST += backupfile.c backupfile.h
122
123 EXTRA_libcoreutils_a_SOURCES += backupfile.c
124
125 ## end   gnulib module backupfile
126
127 ## begin gnulib module base64
128
129 libcoreutils_a_SOURCES += base64.h base64.c
130
131 ## end   gnulib module base64
132
133 ## begin gnulib module c-ctype
134
135 libcoreutils_a_SOURCES += c-ctype.h c-ctype.c
136
137 ## end   gnulib module c-ctype
138
139 ## begin gnulib module c-strcase
140
141 libcoreutils_a_SOURCES += c-strcase.h c-strcasecmp.c c-strncasecmp.c
142
143 ## end   gnulib module c-strcase
144
145 ## begin gnulib module c-strtod
146
147
148 EXTRA_DIST += c-strtod.c c-strtod.h
149
150 EXTRA_libcoreutils_a_SOURCES += c-strtod.c
151
152 ## end   gnulib module c-strtod
153
154 ## begin gnulib module c-strtold
155
156
157 EXTRA_DIST += c-strtod.c c-strtod.h c-strtold.c
158
159 EXTRA_libcoreutils_a_SOURCES += c-strtod.c c-strtold.c
160
161 ## end   gnulib module c-strtold
162
163 ## begin gnulib module calloc
164
165
166 EXTRA_DIST += calloc.c
167
168 EXTRA_libcoreutils_a_SOURCES += calloc.c
169
170 ## end   gnulib module calloc
171
172 ## begin gnulib module canon-host
173
174
175 EXTRA_DIST += canon-host.c canon-host.h
176
177 EXTRA_libcoreutils_a_SOURCES += canon-host.c
178
179 ## end   gnulib module canon-host
180
181 ## begin gnulib module canonicalize
182
183
184 EXTRA_DIST += canonicalize.c canonicalize.h pathmax.h
185
186 EXTRA_libcoreutils_a_SOURCES += canonicalize.c
187
188 ## end   gnulib module canonicalize
189
190 ## begin gnulib module chdir-long
191
192
193 EXTRA_DIST += chdir-long.c chdir-long.h
194
195 EXTRA_libcoreutils_a_SOURCES += chdir-long.c
196
197 ## end   gnulib module chdir-long
198
199 ## begin gnulib module chown
200
201
202 EXTRA_DIST += chown.c fchown-stub.c
203
204 EXTRA_libcoreutils_a_SOURCES += chown.c fchown-stub.c
205
206 ## end   gnulib module chown
207
208 ## begin gnulib module cloexec
209
210
211 EXTRA_DIST += cloexec.c cloexec.h
212
213 EXTRA_libcoreutils_a_SOURCES += cloexec.c
214
215 ## end   gnulib module cloexec
216
217 ## begin gnulib module close-stream
218
219
220 EXTRA_DIST += close-stream.c close-stream.h
221
222 EXTRA_libcoreutils_a_SOURCES += close-stream.c
223
224 ## end   gnulib module close-stream
225
226 ## begin gnulib module closeout
227
228
229 EXTRA_DIST += closeout.c closeout.h
230
231 EXTRA_libcoreutils_a_SOURCES += closeout.c
232
233 ## end   gnulib module closeout
234
235 ## begin gnulib module configmake
236
237 # Retrieve values of the variables through 'configure' followed by
238 # 'make', not directly through 'configure', so that a user who
239 # sets some of these variables consistently on the 'make' command
240 # line gets correct results.
241 #
242 # One advantage of this approach, compared to the classical
243 # approach of adding -DLIBDIR=\"$(libdir)\" etc. to AM_CPPFLAGS,
244 # is that it protects against the use of undefined variables.
245 # If, say, $(libdir) is not set in the Makefile, LIBDIR is not
246 # defined by this module, and code using LIBDIR gives a
247 # compilation error.
248 #
249 # Another advantage is that 'make' output is shorter.
250 #
251 # Listed in the same order as the GNU makefile conventions.
252 # The Automake-defined pkg* macros are appended, in the order
253 # listed in the Automake 1.10a+ documentation.
254 configmake.h: Makefile
255         rm -f $@-t $@
256         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
257           echo '#define PREFIX "$(prefix)"'; \
258           echo '#define EXEC_PREFIX "$(exec_prefix)"'; \
259           echo '#define BINDIR "$(bindir)"'; \
260           echo '#define SBINDIR "$(sbindir)"'; \
261           echo '#define LIBEXECDIR "$(libexecdir)"'; \
262           echo '#define DATAROOTDIR "$(datarootdir)"'; \
263           echo '#define DATADIR "$(datadir)"'; \
264           echo '#define SYSCONFDIR "$(sysconfdir)"'; \
265           echo '#define SHAREDSTATEDIR "$(sharedstatedir)"'; \
266           echo '#define LOCALSTATEDIR "$(localstatedir)"'; \
267           echo '#define INCLUDEDIR "$(includedir)"'; \
268           echo '#define OLDINCLUDEDIR "$(oldincludedir)"'; \
269           echo '#define DOCDIR "$(docdir)"'; \
270           echo '#define INFODIR "$(infodir)"'; \
271           echo '#define HTMLDIR "$(htmldir)"'; \
272           echo '#define DVIDIR "$(dvidir)"'; \
273           echo '#define PDFDIR "$(pdfdir)"'; \
274           echo '#define PSDIR "$(psdir)"'; \
275           echo '#define LIBDIR "$(libdir)"'; \
276           echo '#define LISPDIR "$(lispdir)"'; \
277           echo '#define LOCALEDIR "$(localedir)"'; \
278           echo '#define MANDIR "$(mandir)"'; \
279           echo '#define MANEXT "$(manext)"'; \
280           echo '#define PKGDATADIR "$(pkgdatadir)"'; \
281           echo '#define PKGINCLUDEDIR "$(pkgincludedir)"'; \
282           echo '#define PKGLIBDIR "$(pkglibdir)"'; \
283           echo '#define PKGLIBEXECDIR "$(pkglibexecdir)"'; \
284         } | sed '/""/d' > $@-t
285         mv $@-t $@
286 BUILT_SOURCES += configmake.h
287 CLEANFILES += configmake.h configmake.h-t
288
289 ## end   gnulib module configmake
290
291 ## begin gnulib module cycle-check
292
293
294 EXTRA_DIST += cycle-check.c cycle-check.h
295
296 EXTRA_libcoreutils_a_SOURCES += cycle-check.c
297
298 ## end   gnulib module cycle-check
299
300 ## begin gnulib module dev-ino
301
302
303 EXTRA_DIST += dev-ino.h
304
305 ## end   gnulib module dev-ino
306
307 ## begin gnulib module diacrit
308
309 libcoreutils_a_SOURCES += diacrit.h diacrit.c
310
311 ## end   gnulib module diacrit
312
313 ## begin gnulib module dirfd
314
315
316 EXTRA_DIST += dirfd.c dirfd.h
317
318 EXTRA_libcoreutils_a_SOURCES += dirfd.c
319
320 ## end   gnulib module dirfd
321
322 ## begin gnulib module dirname
323
324
325 EXTRA_DIST += basename.c dirname.c dirname.h stripslash.c
326
327 EXTRA_libcoreutils_a_SOURCES += basename.c dirname.c stripslash.c
328
329 ## end   gnulib module dirname
330
331 ## begin gnulib module dup2
332
333
334 EXTRA_DIST += dup2.c
335
336 EXTRA_libcoreutils_a_SOURCES += dup2.c
337
338 ## end   gnulib module dup2
339
340 ## begin gnulib module error
341
342
343 EXTRA_DIST += error.c error.h
344
345 EXTRA_libcoreutils_a_SOURCES += error.c
346
347 ## end   gnulib module error
348
349 ## begin gnulib module euidaccess
350
351
352 EXTRA_DIST += euidaccess.c euidaccess.h
353
354 EXTRA_libcoreutils_a_SOURCES += euidaccess.c
355
356 ## end   gnulib module euidaccess
357
358 ## begin gnulib module exclude
359
360
361 EXTRA_DIST += exclude.c exclude.h
362
363 EXTRA_libcoreutils_a_SOURCES += exclude.c
364
365 ## end   gnulib module exclude
366
367 ## begin gnulib module exitfail
368
369
370 EXTRA_DIST += exitfail.c exitfail.h
371
372 EXTRA_libcoreutils_a_SOURCES += exitfail.c
373
374 ## end   gnulib module exitfail
375
376 ## begin gnulib module fchdir
377
378 BUILT_SOURCES += $(DIRENT_H)
379
380 # We need the following in order to create <dirent.h> when the system
381 # doesn't have one that works with the given compiler.
382 dirent.h: dirent_.h
383         rm -f $@-t $@
384         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
385           sed -e 's|@''ABSOLUTE_DIRENT_H''@|$(ABSOLUTE_DIRENT_H)|g' \
386               -e 's|@''REPLACE_FCHDIR''@|$(REPLACE_FCHDIR)|g' \
387               < $(srcdir)/dirent_.h; \
388         } > $@-t
389         mv $@-t $@
390 MOSTLYCLEANFILES += dirent.h dirent.h-t
391
392 EXTRA_DIST += dirent_.h fchdir.c
393
394 EXTRA_libcoreutils_a_SOURCES += fchdir.c
395
396 ## end   gnulib module fchdir
397
398 ## begin gnulib module fcntl
399
400 BUILT_SOURCES += $(FCNTL_H)
401
402 # We need the following in order to create <fcntl.h> when the system
403 # doesn't have one that works with the given compiler.
404 fcntl.h: fcntl_.h
405         rm -f $@-t $@
406         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
407           sed -e 's|@''ABSOLUTE_FCNTL_H''@|$(ABSOLUTE_FCNTL_H)|g' \
408               < $(srcdir)/fcntl_.h; \
409         } > $@-t
410         mv $@-t $@
411 MOSTLYCLEANFILES += fcntl.h fcntl.h-t
412
413 EXTRA_DIST += fcntl_.h
414
415 ## end   gnulib module fcntl
416
417 ## begin gnulib module fcntl-safer
418
419
420 EXTRA_DIST += creat-safer.c fcntl--.h fcntl-safer.h open-safer.c
421
422 EXTRA_libcoreutils_a_SOURCES += creat-safer.c open-safer.c
423
424 ## end   gnulib module fcntl-safer
425
426 ## begin gnulib module file-type
427
428
429 EXTRA_DIST += file-type.c file-type.h
430
431 EXTRA_libcoreutils_a_SOURCES += file-type.c
432
433 ## end   gnulib module file-type
434
435 ## begin gnulib module fileblocks
436
437
438 EXTRA_DIST += fileblocks.c
439
440 EXTRA_libcoreutils_a_SOURCES += fileblocks.c
441
442 ## end   gnulib module fileblocks
443
444 ## begin gnulib module filemode
445
446
447 EXTRA_DIST += filemode.c filemode.h
448
449 EXTRA_libcoreutils_a_SOURCES += filemode.c
450
451 ## end   gnulib module filemode
452
453 ## begin gnulib module filenamecat
454
455
456 EXTRA_DIST += filenamecat.c filenamecat.h
457
458 EXTRA_libcoreutils_a_SOURCES += filenamecat.c
459
460 ## end   gnulib module filenamecat
461
462 ## begin gnulib module fnmatch
463
464 BUILT_SOURCES += $(FNMATCH_H)
465
466 # We need the following in order to create <fnmatch.h> when the system
467 # doesn't have one that supports the required API.
468 fnmatch.h: fnmatch_.h
469         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
470           cat $(srcdir)/fnmatch_.h; \
471         } > $@-t
472         mv -f $@-t $@
473 MOSTLYCLEANFILES += fnmatch.h fnmatch.h-t
474
475 EXTRA_DIST += fnmatch.c fnmatch_.h fnmatch_loop.c
476
477 EXTRA_libcoreutils_a_SOURCES += fnmatch.c fnmatch_loop.c
478
479 ## end   gnulib module fnmatch
480
481 ## begin gnulib module fopen-safer
482
483
484 EXTRA_DIST += fopen-safer.c stdio--.h stdio-safer.h
485
486 EXTRA_libcoreutils_a_SOURCES += fopen-safer.c
487
488 ## end   gnulib module fopen-safer
489
490 ## begin gnulib module fpending
491
492
493 EXTRA_DIST += __fpending.c __fpending.h
494
495 EXTRA_libcoreutils_a_SOURCES += __fpending.c
496
497 ## end   gnulib module fpending
498
499 ## begin gnulib module fprintftime
500
501
502 EXTRA_DIST += fprintftime.c fprintftime.h
503
504 EXTRA_libcoreutils_a_SOURCES += fprintftime.c
505
506 ## end   gnulib module fprintftime
507
508 ## begin gnulib module free
509
510
511 EXTRA_DIST += free.c
512
513 EXTRA_libcoreutils_a_SOURCES += free.c
514
515 ## end   gnulib module free
516
517 ## begin gnulib module fsusage
518
519
520 EXTRA_DIST += fsusage.c fsusage.h
521
522 EXTRA_libcoreutils_a_SOURCES += fsusage.c
523
524 ## end   gnulib module fsusage
525
526 ## begin gnulib module ftruncate
527
528
529 EXTRA_DIST += ftruncate.c
530
531 EXTRA_libcoreutils_a_SOURCES += ftruncate.c
532
533 ## end   gnulib module ftruncate
534
535 ## begin gnulib module fts
536
537
538 EXTRA_DIST += fts-cycle.c fts.c fts_.h
539
540 EXTRA_libcoreutils_a_SOURCES += fts-cycle.c fts.c
541
542 ## end   gnulib module fts
543
544 ## begin gnulib module full-read
545
546 libcoreutils_a_SOURCES += full-read.h full-read.c
547
548 ## end   gnulib module full-read
549
550 ## begin gnulib module full-write
551
552 libcoreutils_a_SOURCES += full-write.h full-write.c
553
554 ## end   gnulib module full-write
555
556 ## begin gnulib module getaddrinfo
557
558
559 EXTRA_DIST += gai_strerror.c getaddrinfo.c getaddrinfo.h
560
561 EXTRA_libcoreutils_a_SOURCES += gai_strerror.c getaddrinfo.c
562
563 ## end   gnulib module getaddrinfo
564
565 ## begin gnulib module getcwd
566
567
568 EXTRA_DIST += getcwd.c
569
570 EXTRA_libcoreutils_a_SOURCES += getcwd.c
571
572 ## end   gnulib module getcwd
573
574 ## begin gnulib module getdate
575
576 libcoreutils_a_SOURCES += getdate.y
577 BUILT_SOURCES += getdate.c
578 MAINTAINERCLEANFILES += getdate.c
579 EXTRA_DIST += getdate.c
580
581 EXTRA_DIST += getdate.h
582
583 ## end   gnulib module getdate
584
585 ## begin gnulib module getdelim
586
587
588 EXTRA_DIST += getdelim.c getdelim.h
589
590 EXTRA_libcoreutils_a_SOURCES += getdelim.c
591
592 ## end   gnulib module getdelim
593
594 ## begin gnulib module getgroups
595
596
597 EXTRA_DIST += getgroups.c
598
599 EXTRA_libcoreutils_a_SOURCES += getgroups.c
600
601 ## end   gnulib module getgroups
602
603 ## begin gnulib module gethostname
604
605
606 EXTRA_DIST += gethostname.c
607
608 EXTRA_libcoreutils_a_SOURCES += gethostname.c
609
610 ## end   gnulib module gethostname
611
612 ## begin gnulib module gethrxtime
613
614
615 EXTRA_DIST += gethrxtime.c gethrxtime.h xtime.h
616
617 EXTRA_libcoreutils_a_SOURCES += gethrxtime.c
618
619 ## end   gnulib module gethrxtime
620
621 ## begin gnulib module getline
622
623
624 EXTRA_DIST += getline.c getline.h
625
626 EXTRA_libcoreutils_a_SOURCES += getline.c
627
628 ## end   gnulib module getline
629
630 ## begin gnulib module getloadavg
631
632
633 EXTRA_DIST += getloadavg.c
634
635 EXTRA_libcoreutils_a_SOURCES += getloadavg.c
636
637 ## end   gnulib module getloadavg
638
639 ## begin gnulib module getndelim2
640
641
642 EXTRA_DIST += getndelim2.c getndelim2.h
643
644 EXTRA_libcoreutils_a_SOURCES += getndelim2.c
645
646 ## end   gnulib module getndelim2
647
648 ## begin gnulib module getopt
649
650 BUILT_SOURCES += $(GETOPT_H)
651
652 # We need the following in order to create <getopt.h> when the system
653 # doesn't have one that works with the given compiler.
654 getopt.h: getopt_.h
655         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
656           cat $(srcdir)/getopt_.h; \
657         } > $@-t
658         mv -f $@-t $@
659 MOSTLYCLEANFILES += getopt.h getopt.h-t
660
661 EXTRA_DIST += getopt.c getopt1.c getopt_.h getopt_int.h
662
663 EXTRA_libcoreutils_a_SOURCES += getopt.c getopt1.c
664
665 ## end   gnulib module getopt
666
667 ## begin gnulib module getpagesize
668
669
670 EXTRA_DIST += getpagesize.h
671
672 ## end   gnulib module getpagesize
673
674 ## begin gnulib module getpass-gnu
675
676
677 EXTRA_DIST += getpass.c getpass.h
678
679 EXTRA_libcoreutils_a_SOURCES += getpass.c
680
681 ## end   gnulib module getpass-gnu
682
683 ## begin gnulib module gettext
684
685 # This is for those projects which use "gettextize --intl" to put a source-code
686 # copy of libintl into their package. In such projects, every Makefile.am needs
687 # -I$(top_builddir)/intl, so that <libintl.h> can be found in this directory.
688 # For the Makefile.ams in other directories it is the maintainer's
689 # responsibility; for the one from gnulib we do it here.
690 # This option has no effect when the user disables NLS (because then the intl
691 # directory contains no libintl.h file) or when the project does not use
692 # "gettextize --intl".
693 #AM_CPPFLAGS += -I$(top_builddir)/intl
694
695 ## end   gnulib module gettext
696
697 ## begin gnulib module gettext-h
698
699 libcoreutils_a_SOURCES += gettext.h
700
701 ## end   gnulib module gettext-h
702
703 ## begin gnulib module gettime
704
705
706 EXTRA_DIST += gettime.c
707
708 EXTRA_libcoreutils_a_SOURCES += gettime.c
709
710 ## end   gnulib module gettime
711
712 ## begin gnulib module gettimeofday
713
714
715 EXTRA_DIST += gettimeofday.c
716
717 EXTRA_libcoreutils_a_SOURCES += gettimeofday.c
718
719 ## end   gnulib module gettimeofday
720
721 ## begin gnulib module getugroups
722
723
724 EXTRA_DIST += getugroups.c
725
726 EXTRA_libcoreutils_a_SOURCES += getugroups.c
727
728 ## end   gnulib module getugroups
729
730 ## begin gnulib module getusershell
731
732
733 EXTRA_DIST += getusershell.c
734
735 EXTRA_libcoreutils_a_SOURCES += getusershell.c
736
737 ## end   gnulib module getusershell
738
739 ## begin gnulib module group-member
740
741
742 EXTRA_DIST += group-member.c group-member.h
743
744 EXTRA_libcoreutils_a_SOURCES += group-member.c
745
746 ## end   gnulib module group-member
747
748 ## begin gnulib module hard-locale
749
750
751 EXTRA_DIST += hard-locale.c hard-locale.h
752
753 EXTRA_libcoreutils_a_SOURCES += hard-locale.c
754
755 ## end   gnulib module hard-locale
756
757 ## begin gnulib module hash
758
759
760 EXTRA_DIST += hash.c hash.h
761
762 EXTRA_libcoreutils_a_SOURCES += hash.c
763
764 ## end   gnulib module hash
765
766 ## begin gnulib module hash-pjw
767
768 libcoreutils_a_SOURCES += hash-pjw.h hash-pjw.c
769
770 ## end   gnulib module hash-pjw
771
772 ## begin gnulib module human
773
774
775 EXTRA_DIST += human.c human.h
776
777 EXTRA_libcoreutils_a_SOURCES += human.c
778
779 ## end   gnulib module human
780
781 ## begin gnulib module i-ring
782
783
784 EXTRA_DIST += i-ring.c i-ring.h
785
786 EXTRA_libcoreutils_a_SOURCES += i-ring.c
787
788 ## end   gnulib module i-ring
789
790 ## begin gnulib module idcache
791
792
793 EXTRA_DIST += idcache.c
794
795 EXTRA_libcoreutils_a_SOURCES += idcache.c
796
797 ## end   gnulib module idcache
798
799 ## begin gnulib module inet_ntop
800
801
802 EXTRA_DIST += inet_ntop.c inet_ntop.h
803
804 EXTRA_libcoreutils_a_SOURCES += inet_ntop.c
805
806 ## end   gnulib module inet_ntop
807
808 ## begin gnulib module intprops
809
810
811 EXTRA_DIST += intprops.h
812
813 ## end   gnulib module intprops
814
815 ## begin gnulib module inttostr
816
817
818 EXTRA_DIST += imaxtostr.c inttostr.c inttostr.h offtostr.c uinttostr.c umaxtostr.c
819
820 EXTRA_libcoreutils_a_SOURCES += imaxtostr.c inttostr.c offtostr.c uinttostr.c umaxtostr.c
821
822 ## end   gnulib module inttostr
823
824 ## begin gnulib module inttypes
825
826 BUILT_SOURCES += $(INTTYPES_H)
827
828 # We need the following in order to create <inttypes.h> when the system
829 # doesn't have one that works with the given compiler.
830 inttypes.h: inttypes_.h
831         rm -f $@-t $@
832         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
833           sed -e 's/@''HAVE_INTTYPES_H''@/$(HAVE_INTTYPES_H)/g' \
834               -e 's|@''ABSOLUTE_INTTYPES_H''@|$(ABSOLUTE_INTTYPES_H)|g' \
835               -e 's/@''PRI_MACROS_BROKEN''@/$(PRI_MACROS_BROKEN)/g' \
836               -e 's/@''HAVE_LONG_LONG_INT''@/$(HAVE_LONG_LONG_INT)/g' \
837               -e 's/@''HAVE_UNSIGNED_LONG_LONG_INT''@/$(HAVE_UNSIGNED_LONG_LONG_INT)/g' \
838               -e 's/@''PRIPTR_PREFIX''@/$(PRIPTR_PREFIX)/g' \
839               -e 's/@''GNULIB_IMAXABS''@/$(GNULIB_IMAXABS)/g' \
840               -e 's/@''GNULIB_IMAXDIV''@/$(GNULIB_IMAXDIV)/g' \
841               -e 's/@''GNULIB_STRTOIMAX''@/$(GNULIB_STRTOIMAX)/g' \
842               -e 's/@''GNULIB_STRTOUMAX''@/$(GNULIB_STRTOUMAX)/g' \
843               -e 's/@''HAVE_DECL_IMAXABS''@/$(HAVE_DECL_IMAXABS)/g' \
844               -e 's/@''HAVE_DECL_IMAXDIV''@/$(HAVE_DECL_IMAXDIV)/g' \
845               -e 's/@''HAVE_DECL_STRTOIMAX''@/$(HAVE_DECL_STRTOIMAX)/g' \
846               -e 's/@''HAVE_DECL_STRTOUMAX''@/$(HAVE_DECL_STRTOUMAX)/g' \
847               -e '/definition of GL_LINK_WARNING/r $(LINK_WARNING_H)' \
848               < $(srcdir)/inttypes_.h; \
849         } > $@-t
850         mv $@-t $@
851 MOSTLYCLEANFILES += inttypes.h inttypes.h-t
852
853 EXTRA_DIST += inttypes_.h
854
855 ## end   gnulib module inttypes
856
857 ## begin gnulib module isapipe
858
859
860 EXTRA_DIST += isapipe.c isapipe.h
861
862 EXTRA_libcoreutils_a_SOURCES += isapipe.c
863
864 ## end   gnulib module isapipe
865
866 ## begin gnulib module lchmod
867
868
869 EXTRA_DIST += lchmod.h
870
871 ## end   gnulib module lchmod
872
873 ## begin gnulib module lchown
874
875
876 EXTRA_DIST += lchown.c lchown.h
877
878 EXTRA_libcoreutils_a_SOURCES += lchown.c
879
880 ## end   gnulib module lchown
881
882 ## begin gnulib module linebuffer
883
884 libcoreutils_a_SOURCES += linebuffer.h linebuffer.c
885
886 ## end   gnulib module linebuffer
887
888 ## begin gnulib module link-warning
889
890 LINK_WARNING_H=$(top_srcdir)/build-aux/link-warning.h
891
892 ## end   gnulib module link-warning
893
894 ## begin gnulib module localcharset
895
896 libcoreutils_a_SOURCES += localcharset.h localcharset.c
897
898 # We need the following in order to install a simple file in $(libdir)
899 # which is shared with other installed packages. We use a list of referencing
900 # packages so that "make uninstall" will remove the file if and only if it
901 # is not used by another installed package.
902 # On systems with glibc-2.1 or newer, the file is redundant, therefore we
903 # avoid installing it.
904
905 all-local: charset.alias ref-add.sed ref-del.sed
906
907 charset_alias = $(DESTDIR)$(libdir)/charset.alias
908 charset_tmp = $(DESTDIR)$(libdir)/charset.tmp
909 install-exec-local: all-local
910         test $(GLIBC21) != no || $(mkinstalldirs) $(DESTDIR)$(libdir)
911         if test -f $(charset_alias); then \
912           sed -f ref-add.sed $(charset_alias) > $(charset_tmp) ; \
913           $(INSTALL_DATA) $(charset_tmp) $(charset_alias) ; \
914           rm -f $(charset_tmp) ; \
915         else \
916           if test $(GLIBC21) = no; then \
917             sed -f ref-add.sed charset.alias > $(charset_tmp) ; \
918             $(INSTALL_DATA) $(charset_tmp) $(charset_alias) ; \
919             rm -f $(charset_tmp) ; \
920           fi ; \
921         fi
922
923 uninstall-local: all-local
924         if test -f $(charset_alias); then \
925           sed -f ref-del.sed $(charset_alias) > $(charset_tmp); \
926           if grep '^# Packages using this file: $$' $(charset_tmp) \
927               > /dev/null; then \
928             rm -f $(charset_alias); \
929           else \
930             $(INSTALL_DATA) $(charset_tmp) $(charset_alias); \
931           fi; \
932           rm -f $(charset_tmp); \
933         fi
934
935 charset.alias: config.charset
936         rm -f t-$@ $@
937         $(SHELL) $(srcdir)/config.charset '$(host)' > t-$@
938         mv t-$@ $@
939
940 SUFFIXES += .sed .sin
941 .sin.sed:
942         rm -f t-$@ $@
943         sed -e '/^#/d' -e 's/@''PACKAGE''@/$(PACKAGE)/g' $< > t-$@
944         mv t-$@ $@
945
946 CLEANFILES += charset.alias ref-add.sed ref-del.sed
947
948 EXTRA_DIST += config.charset ref-add.sin ref-del.sin
949
950 ## end   gnulib module localcharset
951
952 ## begin gnulib module long-options
953
954
955 EXTRA_DIST += long-options.c long-options.h
956
957 EXTRA_libcoreutils_a_SOURCES += long-options.c
958
959 ## end   gnulib module long-options
960
961 ## begin gnulib module lstat
962
963
964 EXTRA_DIST += lstat.c lstat.h
965
966 EXTRA_libcoreutils_a_SOURCES += lstat.c
967
968 ## end   gnulib module lstat
969
970 ## begin gnulib module malloc
971
972
973 EXTRA_DIST += malloc.c
974
975 EXTRA_libcoreutils_a_SOURCES += malloc.c
976
977 ## end   gnulib module malloc
978
979 ## begin gnulib module mbchar
980
981 libcoreutils_a_SOURCES += mbchar.c
982
983 EXTRA_DIST += mbchar.h
984
985 ## end   gnulib module mbchar
986
987 ## begin gnulib module mbscasecmp
988
989 libcoreutils_a_SOURCES += mbscasecmp.c
990
991 ## end   gnulib module mbscasecmp
992
993 ## begin gnulib module mbswidth
994
995 libcoreutils_a_SOURCES += mbswidth.h mbswidth.c
996
997 ## end   gnulib module mbswidth
998
999 ## begin gnulib module mbuiter
1000
1001 libcoreutils_a_SOURCES += mbuiter.h
1002
1003 ## end   gnulib module mbuiter
1004
1005 ## begin gnulib module md5
1006
1007
1008 EXTRA_DIST += md5.c md5.h
1009
1010 EXTRA_libcoreutils_a_SOURCES += md5.c
1011
1012 ## end   gnulib module md5
1013
1014 ## begin gnulib module memcasecmp
1015
1016
1017 EXTRA_DIST += memcasecmp.c memcasecmp.h
1018
1019 EXTRA_libcoreutils_a_SOURCES += memcasecmp.c
1020
1021 ## end   gnulib module memcasecmp
1022
1023 ## begin gnulib module memchr
1024
1025
1026 EXTRA_DIST += memchr.c
1027
1028 EXTRA_libcoreutils_a_SOURCES += memchr.c
1029
1030 ## end   gnulib module memchr
1031
1032 ## begin gnulib module memcmp
1033
1034
1035 EXTRA_DIST += memcmp.c
1036
1037 EXTRA_libcoreutils_a_SOURCES += memcmp.c
1038
1039 ## end   gnulib module memcmp
1040
1041 ## begin gnulib module memcoll
1042
1043
1044 EXTRA_DIST += memcoll.c memcoll.h
1045
1046 EXTRA_libcoreutils_a_SOURCES += memcoll.c
1047
1048 ## end   gnulib module memcoll
1049
1050 ## begin gnulib module memcpy
1051
1052
1053 EXTRA_DIST += memcpy.c
1054
1055 EXTRA_libcoreutils_a_SOURCES += memcpy.c
1056
1057 ## end   gnulib module memcpy
1058
1059 ## begin gnulib module memmove
1060
1061
1062 EXTRA_DIST += memmove.c
1063
1064 EXTRA_libcoreutils_a_SOURCES += memmove.c
1065
1066 ## end   gnulib module memmove
1067
1068 ## begin gnulib module mempcpy
1069
1070
1071 EXTRA_DIST += mempcpy.c
1072
1073 EXTRA_libcoreutils_a_SOURCES += mempcpy.c
1074
1075 ## end   gnulib module mempcpy
1076
1077 ## begin gnulib module memrchr
1078
1079
1080 EXTRA_DIST += memrchr.c
1081
1082 EXTRA_libcoreutils_a_SOURCES += memrchr.c
1083
1084 ## end   gnulib module memrchr
1085
1086 ## begin gnulib module memset
1087
1088
1089 EXTRA_DIST += memset.c
1090
1091 EXTRA_libcoreutils_a_SOURCES += memset.c
1092
1093 ## end   gnulib module memset
1094
1095 ## begin gnulib module mkancesdirs
1096
1097
1098 EXTRA_DIST += mkancesdirs.c mkancesdirs.h
1099
1100 EXTRA_libcoreutils_a_SOURCES += mkancesdirs.c
1101
1102 ## end   gnulib module mkancesdirs
1103
1104 ## begin gnulib module mkdir
1105
1106
1107 EXTRA_DIST += mkdir.c
1108
1109 EXTRA_libcoreutils_a_SOURCES += mkdir.c
1110
1111 ## end   gnulib module mkdir
1112
1113 ## begin gnulib module mkdir-p
1114
1115
1116 EXTRA_DIST += dirchownmod.c dirchownmod.h mkdir-p.c mkdir-p.h
1117
1118 EXTRA_libcoreutils_a_SOURCES += dirchownmod.c mkdir-p.c
1119
1120 ## end   gnulib module mkdir-p
1121
1122 ## begin gnulib module mkstemp
1123
1124
1125 EXTRA_DIST += mkstemp.c
1126
1127 EXTRA_libcoreutils_a_SOURCES += mkstemp.c
1128
1129 ## end   gnulib module mkstemp
1130
1131 ## begin gnulib module mktime
1132
1133
1134 EXTRA_DIST += mktime.c
1135
1136 EXTRA_libcoreutils_a_SOURCES += mktime.c
1137
1138 ## end   gnulib module mktime
1139
1140 ## begin gnulib module modechange
1141
1142
1143 EXTRA_DIST += modechange.c modechange.h
1144
1145 EXTRA_libcoreutils_a_SOURCES += modechange.c
1146
1147 ## end   gnulib module modechange
1148
1149 ## begin gnulib module mountlist
1150
1151
1152 EXTRA_DIST += mountlist.c mountlist.h
1153
1154 EXTRA_libcoreutils_a_SOURCES += mountlist.c
1155
1156 ## end   gnulib module mountlist
1157
1158 ## begin gnulib module mpsort
1159
1160
1161 EXTRA_DIST += mpsort.c mpsort.h
1162
1163 EXTRA_libcoreutils_a_SOURCES += mpsort.c
1164
1165 ## end   gnulib module mpsort
1166
1167 ## begin gnulib module nanosleep
1168
1169
1170 EXTRA_DIST += nanosleep.c
1171
1172 EXTRA_libcoreutils_a_SOURCES += nanosleep.c
1173
1174 ## end   gnulib module nanosleep
1175
1176 ## begin gnulib module netinet_in
1177
1178 BUILT_SOURCES += $(NETINET_IN_H)
1179
1180 # We need the following in order to create <netinet/in.h> when the system
1181 # doesn't have one.
1182 netinet/in.h:
1183         @MKDIR_P@ netinet
1184         rm -f $@-t $@
1185         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
1186           sed -e 's|@''ABSOLUTE_NETINET_IN_H''@|$(ABSOLUTE_NETINET_IN_H)|g' \
1187               -e 's|@''HAVE_NETINET_IN_H''@|$(HAVE_NETINET_IN_H)|g' \
1188               < $(srcdir)/netinet_in_.h; \
1189         } > $@-t
1190         mv $@-t $@
1191 MOSTLYCLEANFILES += netinet/in.h netinet/in.h-t
1192 MOSTLYCLEANDIRS += netinet
1193
1194 EXTRA_DIST += netinet_in_.h
1195
1196 ## end   gnulib module netinet_in
1197
1198 ## begin gnulib module obstack
1199
1200
1201 EXTRA_DIST += obstack.c obstack.h
1202
1203 EXTRA_libcoreutils_a_SOURCES += obstack.c
1204
1205 ## end   gnulib module obstack
1206
1207 ## begin gnulib module openat
1208
1209
1210 EXTRA_DIST += at-func.c fchmodat.c fchownat.c fstatat.c mkdirat.c openat-die.c openat-priv.h openat-proc.c openat.c openat.h
1211
1212 EXTRA_libcoreutils_a_SOURCES += at-func.c fchmodat.c fchownat.c fstatat.c mkdirat.c openat-die.c openat-proc.c openat.c
1213
1214 ## end   gnulib module openat
1215
1216 ## begin gnulib module pathmax
1217
1218
1219 EXTRA_DIST += pathmax.h
1220
1221 ## end   gnulib module pathmax
1222
1223 ## begin gnulib module physmem
1224
1225
1226 EXTRA_DIST += physmem.c physmem.h
1227
1228 EXTRA_libcoreutils_a_SOURCES += physmem.c
1229
1230 ## end   gnulib module physmem
1231
1232 ## begin gnulib module posixtm
1233
1234
1235 EXTRA_DIST += posixtm.c posixtm.h
1236
1237 EXTRA_libcoreutils_a_SOURCES += posixtm.c
1238
1239 ## end   gnulib module posixtm
1240
1241 ## begin gnulib module posixver
1242
1243
1244 EXTRA_DIST += posixver.c posixver.h
1245
1246 EXTRA_libcoreutils_a_SOURCES += posixver.c
1247
1248 ## end   gnulib module posixver
1249
1250 ## begin gnulib module putenv
1251
1252
1253 EXTRA_DIST += putenv.c
1254
1255 EXTRA_libcoreutils_a_SOURCES += putenv.c
1256
1257 ## end   gnulib module putenv
1258
1259 ## begin gnulib module quote
1260
1261
1262 EXTRA_DIST += quote.c quote.h
1263
1264 EXTRA_libcoreutils_a_SOURCES += quote.c
1265
1266 ## end   gnulib module quote
1267
1268 ## begin gnulib module quotearg
1269
1270
1271 EXTRA_DIST += quotearg.c quotearg.h
1272
1273 EXTRA_libcoreutils_a_SOURCES += quotearg.c
1274
1275 ## end   gnulib module quotearg
1276
1277 ## begin gnulib module raise
1278
1279
1280 EXTRA_DIST += raise.c
1281
1282 EXTRA_libcoreutils_a_SOURCES += raise.c
1283
1284 ## end   gnulib module raise
1285
1286 ## begin gnulib module readlink
1287
1288
1289 EXTRA_DIST += readlink.c
1290
1291 EXTRA_libcoreutils_a_SOURCES += readlink.c
1292
1293 ## end   gnulib module readlink
1294
1295 ## begin gnulib module readtokens
1296
1297
1298 EXTRA_DIST += readtokens.c readtokens.h
1299
1300 EXTRA_libcoreutils_a_SOURCES += readtokens.c
1301
1302 ## end   gnulib module readtokens
1303
1304 ## begin gnulib module readtokens0
1305
1306 libcoreutils_a_SOURCES += readtokens0.h readtokens0.c
1307
1308 ## end   gnulib module readtokens0
1309
1310 ## begin gnulib module readutmp
1311
1312
1313 EXTRA_DIST += readutmp.c readutmp.h
1314
1315 EXTRA_libcoreutils_a_SOURCES += readutmp.c
1316
1317 ## end   gnulib module readutmp
1318
1319 ## begin gnulib module realloc
1320
1321
1322 EXTRA_DIST += realloc.c
1323
1324 EXTRA_libcoreutils_a_SOURCES += realloc.c
1325
1326 ## end   gnulib module realloc
1327
1328 ## begin gnulib module regex
1329
1330
1331 EXTRA_DIST += regcomp.c regex.c regex.h regex_internal.c regex_internal.h regexec.c
1332
1333 EXTRA_libcoreutils_a_SOURCES += regcomp.c regex.c regex_internal.c regexec.c
1334
1335 ## end   gnulib module regex
1336
1337 ## begin gnulib module rename
1338
1339
1340 EXTRA_DIST += rename.c
1341
1342 EXTRA_libcoreutils_a_SOURCES += rename.c
1343
1344 ## end   gnulib module rename
1345
1346 ## begin gnulib module rename-dest-slash
1347
1348
1349 EXTRA_DIST += rename-dest-slash.c
1350
1351 EXTRA_libcoreutils_a_SOURCES += rename-dest-slash.c
1352
1353 ## end   gnulib module rename-dest-slash
1354
1355 ## begin gnulib module rmdir
1356
1357
1358 EXTRA_DIST += rmdir.c
1359
1360 EXTRA_libcoreutils_a_SOURCES += rmdir.c
1361
1362 ## end   gnulib module rmdir
1363
1364 ## begin gnulib module root-dev-ino
1365
1366
1367 EXTRA_DIST += root-dev-ino.c root-dev-ino.h
1368
1369 EXTRA_libcoreutils_a_SOURCES += root-dev-ino.c
1370
1371 ## end   gnulib module root-dev-ino
1372
1373 ## begin gnulib module rpmatch
1374
1375
1376 EXTRA_DIST += rpmatch.c
1377
1378 EXTRA_libcoreutils_a_SOURCES += rpmatch.c
1379
1380 ## end   gnulib module rpmatch
1381
1382 ## begin gnulib module safe-read
1383
1384
1385 EXTRA_DIST += safe-read.c safe-read.h
1386
1387 EXTRA_libcoreutils_a_SOURCES += safe-read.c
1388
1389 ## end   gnulib module safe-read
1390
1391 ## begin gnulib module safe-write
1392
1393
1394 EXTRA_DIST += safe-write.c safe-write.h
1395
1396 EXTRA_libcoreutils_a_SOURCES += safe-write.c
1397
1398 ## end   gnulib module safe-write
1399
1400 ## begin gnulib module same
1401
1402
1403 EXTRA_DIST += same.c same.h
1404
1405 EXTRA_libcoreutils_a_SOURCES += same.c
1406
1407 ## end   gnulib module same
1408
1409 ## begin gnulib module same-inode
1410
1411
1412 EXTRA_DIST += same-inode.h
1413
1414 ## end   gnulib module same-inode
1415
1416 ## begin gnulib module save-cwd
1417
1418
1419 EXTRA_DIST += save-cwd.c save-cwd.h
1420
1421 EXTRA_libcoreutils_a_SOURCES += save-cwd.c
1422
1423 ## end   gnulib module save-cwd
1424
1425 ## begin gnulib module savedir
1426
1427
1428 EXTRA_DIST += savedir.c savedir.h
1429
1430 EXTRA_libcoreutils_a_SOURCES += savedir.c
1431
1432 ## end   gnulib module savedir
1433
1434 ## begin gnulib module savewd
1435
1436 libcoreutils_a_SOURCES += savewd.h savewd.c
1437
1438 ## end   gnulib module savewd
1439
1440 ## begin gnulib module setenv
1441
1442
1443 EXTRA_DIST += setenv.c setenv.h unsetenv.c
1444
1445 EXTRA_libcoreutils_a_SOURCES += setenv.c unsetenv.c
1446
1447 ## end   gnulib module setenv
1448
1449 ## begin gnulib module settime
1450
1451
1452 EXTRA_DIST += settime.c
1453
1454 EXTRA_libcoreutils_a_SOURCES += settime.c
1455
1456 ## end   gnulib module settime
1457
1458 ## begin gnulib module sha1
1459
1460
1461 EXTRA_DIST += sha1.c sha1.h
1462
1463 EXTRA_libcoreutils_a_SOURCES += sha1.c
1464
1465 ## end   gnulib module sha1
1466
1467 ## begin gnulib module sig2str
1468
1469
1470 EXTRA_DIST += sig2str.c sig2str.h
1471
1472 EXTRA_libcoreutils_a_SOURCES += sig2str.c
1473
1474 ## end   gnulib module sig2str
1475
1476 ## begin gnulib module snprintf
1477
1478
1479 EXTRA_DIST += snprintf.c
1480
1481 EXTRA_libcoreutils_a_SOURCES += snprintf.c
1482
1483 ## end   gnulib module snprintf
1484
1485 ## begin gnulib module stat-macros
1486
1487
1488 EXTRA_DIST += stat-macros.h
1489
1490 ## end   gnulib module stat-macros
1491
1492 ## begin gnulib module stat-time
1493
1494
1495 EXTRA_DIST += stat-time.h
1496
1497 ## end   gnulib module stat-time
1498
1499 ## begin gnulib module stdbool
1500
1501 BUILT_SOURCES += $(STDBOOL_H)
1502
1503 # We need the following in order to create <stdbool.h> when the system
1504 # doesn't have one that works.
1505 stdbool.h: stdbool_.h
1506         rm -f $@-t $@
1507         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
1508           sed -e 's/@''HAVE__BOOL''@/$(HAVE__BOOL)/g' < $(srcdir)/stdbool_.h; \
1509         } > $@-t
1510         mv $@-t $@
1511 MOSTLYCLEANFILES += stdbool.h stdbool.h-t
1512
1513 EXTRA_DIST += stdbool_.h
1514
1515 ## end   gnulib module stdbool
1516
1517 ## begin gnulib module stdint
1518
1519 BUILT_SOURCES += $(STDINT_H)
1520
1521 # We need the following in order to create <stdint.h> when the system
1522 # doesn't have one that works with the given compiler.
1523 stdint.h: stdint_.h
1524         rm -f $@-t $@
1525         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
1526           sed -e 's/@''HAVE_STDINT_H''@/$(HAVE_STDINT_H)/g' \
1527               -e 's|@''ABSOLUTE_STDINT_H''@|$(ABSOLUTE_STDINT_H)|g' \
1528               -e 's/@''HAVE_SYS_TYPES_H''@/$(HAVE_SYS_TYPES_H)/g' \
1529               -e 's/@''HAVE_INTTYPES_H''@/$(HAVE_INTTYPES_H)/g' \
1530               -e 's/@''HAVE_SYS_INTTYPES_H''@/$(HAVE_SYS_INTTYPES_H)/g' \
1531               -e 's/@''HAVE_SYS_BITYPES_H''@/$(HAVE_SYS_BITYPES_H)/g' \
1532               -e 's/@''HAVE_LONG_LONG_INT''@/$(HAVE_LONG_LONG_INT)/g' \
1533               -e 's/@''HAVE_UNSIGNED_LONG_LONG_INT''@/$(HAVE_UNSIGNED_LONG_LONG_INT)/g' \
1534               -e 's/@''BITSIZEOF_PTRDIFF_T''@/$(BITSIZEOF_PTRDIFF_T)/g' \
1535               -e 's/@''PTRDIFF_T_SUFFIX''@/$(PTRDIFF_T_SUFFIX)/g' \
1536               -e 's/@''BITSIZEOF_SIG_ATOMIC_T''@/$(BITSIZEOF_SIG_ATOMIC_T)/g' \
1537               -e 's/@''HAVE_SIGNED_SIG_ATOMIC_T''@/$(HAVE_SIGNED_SIG_ATOMIC_T)/g' \
1538               -e 's/@''SIG_ATOMIC_T_SUFFIX''@/$(SIG_ATOMIC_T_SUFFIX)/g' \
1539               -e 's/@''BITSIZEOF_SIZE_T''@/$(BITSIZEOF_SIZE_T)/g' \
1540               -e 's/@''SIZE_T_SUFFIX''@/$(SIZE_T_SUFFIX)/g' \
1541               -e 's/@''BITSIZEOF_WCHAR_T''@/$(BITSIZEOF_WCHAR_T)/g' \
1542               -e 's/@''HAVE_SIGNED_WCHAR_T''@/$(HAVE_SIGNED_WCHAR_T)/g' \
1543               -e 's/@''WCHAR_T_SUFFIX''@/$(WCHAR_T_SUFFIX)/g' \
1544               -e 's/@''BITSIZEOF_WINT_T''@/$(BITSIZEOF_WINT_T)/g' \
1545               -e 's/@''HAVE_SIGNED_WINT_T''@/$(HAVE_SIGNED_WINT_T)/g' \
1546               -e 's/@''WINT_T_SUFFIX''@/$(WINT_T_SUFFIX)/g' \
1547               < $(srcdir)/stdint_.h; \
1548         } > $@-t
1549         mv $@-t $@
1550 MOSTLYCLEANFILES += stdint.h stdint.h-t
1551
1552 EXTRA_DIST += stdint_.h
1553
1554 ## end   gnulib module stdint
1555
1556 ## begin gnulib module stdio
1557
1558 BUILT_SOURCES += stdio.h
1559
1560 # We need the following in order to create <stdio.h> when the system
1561 # doesn't have one that works with the given compiler.
1562 stdio.h: stdio_.h
1563         rm -f $@-t $@
1564         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
1565           sed -e 's|@''ABSOLUTE_STDIO_H''@|$(ABSOLUTE_STDIO_H)|g' \
1566               -e 's|@''GNULIB_FPRINTF_POSIX''@|$(GNULIB_FPRINTF_POSIX)|g' \
1567               -e 's|@''GNULIB_PRINTF_POSIX''@|$(GNULIB_PRINTF_POSIX)|g' \
1568               -e 's|@''GNULIB_SNPRINTF''@|$(GNULIB_SNPRINTF)|g' \
1569               -e 's|@''GNULIB_SPRINTF_POSIX''@|$(GNULIB_SPRINTF_POSIX)|g' \
1570               -e 's|@''GNULIB_VFPRINTF_POSIX''@|$(GNULIB_VFPRINTF_POSIX)|g' \
1571               -e 's|@''GNULIB_VPRINTF_POSIX''@|$(GNULIB_VPRINTF_POSIX)|g' \
1572               -e 's|@''GNULIB_VSNPRINTF''@|$(GNULIB_VSNPRINTF)|g' \
1573               -e 's|@''GNULIB_VSPRINTF_POSIX''@|$(GNULIB_VSPRINTF_POSIX)|g' \
1574               -e 's|@''REPLACE_FPRINTF''@|$(REPLACE_FPRINTF)|g' \
1575               -e 's|@''REPLACE_VFPRINTF''@|$(REPLACE_VFPRINTF)|g' \
1576               -e 's|@''REPLACE_PRINTF''@|$(REPLACE_PRINTF)|g' \
1577               -e 's|@''REPLACE_VPRINTF''@|$(REPLACE_VPRINTF)|g' \
1578               -e 's|@''REPLACE_SNPRINTF''@|$(REPLACE_SNPRINTF)|g' \
1579               -e 's|@''HAVE_DECL_SNPRINTF''@|$(HAVE_DECL_SNPRINTF)|g' \
1580               -e 's|@''REPLACE_VSNPRINTF''@|$(REPLACE_VSNPRINTF)|g' \
1581               -e 's|@''HAVE_DECL_VSNPRINTF''@|$(HAVE_DECL_VSNPRINTF)|g' \
1582               -e 's|@''REPLACE_SPRINTF''@|$(REPLACE_SPRINTF)|g' \
1583               -e 's|@''REPLACE_VSPRINTF''@|$(REPLACE_VSPRINTF)|g' \
1584               -e '/definition of GL_LINK_WARNING/r $(LINK_WARNING_H)' \
1585               < $(srcdir)/stdio_.h; \
1586         } > $@-t
1587         mv $@-t $@
1588 MOSTLYCLEANFILES += stdio.h stdio.h-t
1589
1590 EXTRA_DIST += stdio_.h
1591
1592 ## end   gnulib module stdio
1593
1594 ## begin gnulib module stdlib
1595
1596 BUILT_SOURCES += stdlib.h
1597
1598 # We need the following in order to create <stdlib.h> when the system
1599 # doesn't have one that works with the given compiler.
1600 stdlib.h: stdlib_.h
1601         rm -f $@-t $@
1602         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
1603           sed -e 's|@''ABSOLUTE_STDLIB_H''@|$(ABSOLUTE_STDLIB_H)|g' \
1604               -e 's|@''GNULIB_GETSUBOPT''@|$(GNULIB_GETSUBOPT)|g' \
1605               -e 's|@''GNULIB_MKDTEMP''@|$(GNULIB_MKDTEMP)|g' \
1606               -e 's|@''GNULIB_MKSTEMP''@|$(GNULIB_MKSTEMP)|g' \
1607               -e 's|@''HAVE_GETSUBOPT''@|$(HAVE_GETSUBOPT)|g' \
1608               -e 's|@''HAVE_MKDTEMP''@|$(HAVE_MKDTEMP)|g' \
1609               -e 's|@''REPLACE_MKSTEMP''@|$(REPLACE_MKSTEMP)|g' \
1610               -e '/definition of GL_LINK_WARNING/r $(LINK_WARNING_H)' \
1611               < $(srcdir)/stdlib_.h; \
1612         } > $@-t
1613         mv $@-t $@
1614 MOSTLYCLEANFILES += stdlib.h stdlib.h-t
1615
1616 EXTRA_DIST += stdlib_.h
1617
1618 ## end   gnulib module stdlib
1619
1620 ## begin gnulib module stdlib-safer
1621
1622
1623 EXTRA_DIST += mkstemp-safer.c stdlib--.h stdlib-safer.h
1624
1625 EXTRA_libcoreutils_a_SOURCES += mkstemp-safer.c
1626
1627 ## end   gnulib module stdlib-safer
1628
1629 ## begin gnulib module stpcpy
1630
1631
1632 EXTRA_DIST += stpcpy.c
1633
1634 EXTRA_libcoreutils_a_SOURCES += stpcpy.c
1635
1636 ## end   gnulib module stpcpy
1637
1638 ## begin gnulib module strcspn
1639
1640
1641 EXTRA_DIST += strcspn.c
1642
1643 EXTRA_libcoreutils_a_SOURCES += strcspn.c
1644
1645 ## end   gnulib module strcspn
1646
1647 ## begin gnulib module strdup
1648
1649
1650 EXTRA_DIST += strdup.c
1651
1652 EXTRA_libcoreutils_a_SOURCES += strdup.c
1653
1654 ## end   gnulib module strdup
1655
1656 ## begin gnulib module strftime
1657
1658
1659 EXTRA_DIST += strftime.c strftime.h
1660
1661 EXTRA_libcoreutils_a_SOURCES += strftime.c
1662
1663 ## end   gnulib module strftime
1664
1665 ## begin gnulib module string
1666
1667 BUILT_SOURCES += string.h
1668
1669 # We need the following in order to create <string.h> when the system
1670 # doesn't have one that works with the given compiler.
1671 string.h: string_.h
1672         rm -f $@-t $@
1673         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
1674           sed -e 's|@''ABSOLUTE_STRING_H''@|$(ABSOLUTE_STRING_H)|g' \
1675               -e 's|@''GNULIB_MBSLEN''@|$(GNULIB_MBSLEN)|g' \
1676               -e 's|@''GNULIB_MBSCHR''@|$(GNULIB_MBSCHR)|g' \
1677               -e 's|@''GNULIB_MBSRCHR''@|$(GNULIB_MBSRCHR)|g' \
1678               -e 's|@''GNULIB_MBSSTR''@|$(GNULIB_MBSSTR)|g' \
1679               -e 's|@''GNULIB_MBSCASECMP''@|$(GNULIB_MBSCASECMP)|g' \
1680               -e 's|@''GNULIB_MBSNCASECMP''@|$(GNULIB_MBSNCASECMP)|g' \
1681               -e 's|@''GNULIB_MBSPCASECMP''@|$(GNULIB_MBSPCASECMP)|g' \
1682               -e 's|@''GNULIB_MBSCASESTR''@|$(GNULIB_MBSCASESTR)|g' \
1683               -e 's|@''GNULIB_MBSCSPN''@|$(GNULIB_MBSCSPN)|g' \
1684               -e 's|@''GNULIB_MBSPBRK''@|$(GNULIB_MBSPBRK)|g' \
1685               -e 's|@''GNULIB_MBSSPN''@|$(GNULIB_MBSSPN)|g' \
1686               -e 's|@''GNULIB_MBSSEP''@|$(GNULIB_MBSSEP)|g' \
1687               -e 's|@''GNULIB_MBSTOK_R''@|$(GNULIB_MBSTOK_R)|g' \
1688               -e 's|@''GNULIB_MEMMEM''@|$(GNULIB_MEMMEM)|g' \
1689               -e 's|@''GNULIB_MEMPCPY''@|$(GNULIB_MEMPCPY)|g' \
1690               -e 's|@''GNULIB_MEMRCHR''@|$(GNULIB_MEMRCHR)|g' \
1691               -e 's|@''GNULIB_STPCPY''@|$(GNULIB_STPCPY)|g' \
1692               -e 's|@''GNULIB_STPNCPY''@|$(GNULIB_STPNCPY)|g' \
1693               -e 's|@''GNULIB_STRCHRNUL''@|$(GNULIB_STRCHRNUL)|g' \
1694               -e 's|@''GNULIB_STRDUP''@|$(GNULIB_STRDUP)|g' \
1695               -e 's|@''GNULIB_STRNDUP''@|$(GNULIB_STRNDUP)|g' \
1696               -e 's|@''GNULIB_STRNLEN''@|$(GNULIB_STRNLEN)|g' \
1697               -e 's|@''GNULIB_STRPBRK''@|$(GNULIB_STRPBRK)|g' \
1698               -e 's|@''GNULIB_STRSEP''@|$(GNULIB_STRSEP)|g' \
1699               -e 's|@''GNULIB_STRCASESTR''@|$(GNULIB_STRCASESTR)|g' \
1700               -e 's|@''GNULIB_STRTOK_R''@|$(GNULIB_STRTOK_R)|g' \
1701               -e 's|@''HAVE_DECL_MEMMEM''@|$(HAVE_DECL_MEMMEM)|g' \
1702               -e 's|@''HAVE_MEMPCPY''@|$(HAVE_MEMPCPY)|g' \
1703               -e 's|@''HAVE_DECL_MEMRCHR''@|$(HAVE_DECL_MEMRCHR)|g' \
1704               -e 's|@''HAVE_STPCPY''@|$(HAVE_STPCPY)|g' \
1705               -e 's|@''HAVE_STPNCPY''@|$(HAVE_STPNCPY)|g' \
1706               -e 's|@''HAVE_STRCASECMP''@|$(HAVE_STRCASECMP)|g' \
1707               -e 's|@''HAVE_DECL_STRNCASECMP''@|$(HAVE_DECL_STRNCASECMP)|g' \
1708               -e 's|@''HAVE_STRCHRNUL''@|$(HAVE_STRCHRNUL)|g' \
1709               -e 's|@''HAVE_DECL_STRDUP''@|$(HAVE_DECL_STRDUP)|g' \
1710               -e 's|@''HAVE_STRNDUP''@|$(HAVE_STRNDUP)|g' \
1711               -e 's|@''HAVE_DECL_STRNDUP''@|$(HAVE_DECL_STRNDUP)|g' \
1712               -e 's|@''HAVE_DECL_STRNLEN''@|$(HAVE_DECL_STRNLEN)|g' \
1713               -e 's|@''HAVE_STRPBRK''@|$(HAVE_STRPBRK)|g' \
1714               -e 's|@''HAVE_STRSEP''@|$(HAVE_STRSEP)|g' \
1715               -e 's|@''HAVE_STRCASESTR''@|$(HAVE_STRCASESTR)|g' \
1716               -e 's|@''HAVE_DECL_STRTOK_R''@|$(HAVE_DECL_STRTOK_R)|g' \
1717               -e '/definition of GL_LINK_WARNING/r $(LINK_WARNING_H)' \
1718               < $(srcdir)/string_.h; \
1719         } > $@-t
1720         mv $@-t $@
1721 MOSTLYCLEANFILES += string.h string.h-t
1722
1723 EXTRA_DIST += string_.h
1724
1725 ## end   gnulib module string
1726
1727 ## begin gnulib module strndup
1728
1729
1730 EXTRA_DIST += strndup.c
1731
1732 EXTRA_libcoreutils_a_SOURCES += strndup.c
1733
1734 ## end   gnulib module strndup
1735
1736 ## begin gnulib module strnlen
1737
1738
1739 EXTRA_DIST += strnlen.c
1740
1741 EXTRA_libcoreutils_a_SOURCES += strnlen.c
1742
1743 ## end   gnulib module strnlen
1744
1745 ## begin gnulib module strnlen1
1746
1747 libcoreutils_a_SOURCES += strnlen1.h strnlen1.c
1748
1749 ## end   gnulib module strnlen1
1750
1751 ## begin gnulib module strpbrk
1752
1753
1754 EXTRA_DIST += strpbrk.c
1755
1756 EXTRA_libcoreutils_a_SOURCES += strpbrk.c
1757
1758 ## end   gnulib module strpbrk
1759
1760 ## begin gnulib module strtod
1761
1762 LIBS += $(POW_LIB)
1763
1764 EXTRA_DIST += strtod.c
1765
1766 EXTRA_libcoreutils_a_SOURCES += strtod.c
1767
1768 ## end   gnulib module strtod
1769
1770 ## begin gnulib module strtoimax
1771
1772
1773 EXTRA_DIST += strtoimax.c
1774
1775 EXTRA_libcoreutils_a_SOURCES += strtoimax.c
1776
1777 ## end   gnulib module strtoimax
1778
1779 ## begin gnulib module strtol
1780
1781
1782 EXTRA_DIST += strtol.c
1783
1784 EXTRA_libcoreutils_a_SOURCES += strtol.c
1785
1786 ## end   gnulib module strtol
1787
1788 ## begin gnulib module strtoll
1789
1790
1791 EXTRA_DIST += strtoll.c
1792
1793 EXTRA_libcoreutils_a_SOURCES += strtoll.c
1794
1795 ## end   gnulib module strtoll
1796
1797 ## begin gnulib module strtoul
1798
1799
1800 EXTRA_DIST += strtoul.c
1801
1802 EXTRA_libcoreutils_a_SOURCES += strtoul.c
1803
1804 ## end   gnulib module strtoul
1805
1806 ## begin gnulib module strtoull
1807
1808
1809 EXTRA_DIST += strtoull.c
1810
1811 EXTRA_libcoreutils_a_SOURCES += strtoull.c
1812
1813 ## end   gnulib module strtoull
1814
1815 ## begin gnulib module strtoumax
1816
1817
1818 EXTRA_DIST += strtoumax.c
1819
1820 EXTRA_libcoreutils_a_SOURCES += strtoumax.c
1821
1822 ## end   gnulib module strtoumax
1823
1824 ## begin gnulib module strverscmp
1825
1826
1827 EXTRA_DIST += strverscmp.c strverscmp.h
1828
1829 EXTRA_libcoreutils_a_SOURCES += strverscmp.c
1830
1831 ## end   gnulib module strverscmp
1832
1833 ## begin gnulib module sys_socket
1834
1835 BUILT_SOURCES += $(SYS_SOCKET_H)
1836
1837 # We need the following in order to create <sys/socket.h> when the system
1838 # doesn't have one that works with the given compiler.
1839 sys/socket.h: socket_.h
1840         @MKDIR_P@ sys
1841         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
1842           sed -e 's|@''ABSOLUTE_SYS_SOCKET_H''@|$(ABSOLUTE_SYS_SOCKET_H)|g' \
1843               -e 's|@''HAVE_SYS_SOCKET_H''@|$(HAVE_SYS_SOCKET_H)|g' \
1844               -e 's|@''HAVE_WINSOCK2_H''@|$(HAVE_WINSOCK2_H)|g' \
1845               -e 's|@''HAVE_WS2TCPIP_H''@|$(HAVE_WS2TCPIP_H)|g' \
1846               < $(srcdir)/socket_.h; \
1847         } > $@-t
1848         mv -f $@-t $@
1849 MOSTLYCLEANFILES += sys/socket.h sys/socket.h-t
1850 MOSTLYCLEANDIRS += sys
1851
1852 EXTRA_DIST += socket_.h
1853
1854 ## end   gnulib module sys_socket
1855
1856 ## begin gnulib module sys_stat
1857
1858 BUILT_SOURCES += $(SYS_STAT_H)
1859
1860 # We need the following in order to create <sys/stat.h> when the system
1861 # has one that is incomplete.
1862 sys/stat.h: stat_.h
1863         @MKDIR_P@ sys
1864         rm -f $@-t $@
1865         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
1866           sed -e 's|@''ABSOLUTE_SYS_STAT_H''@|$(ABSOLUTE_SYS_STAT_H)|g' \
1867               < $(srcdir)/stat_.h; \
1868         } > $@-t
1869         mv $@-t $@
1870 MOSTLYCLEANFILES += sys/stat.h sys/stat.h-t
1871 MOSTLYCLEANDIRS += sys
1872
1873 EXTRA_DIST += stat_.h
1874
1875 ## end   gnulib module sys_stat
1876
1877 ## begin gnulib module sys_time
1878
1879 BUILT_SOURCES += $(SYS_TIME_H)
1880
1881 # We need the following in order to create <sys/time.h> when the system
1882 # doesn't have one that works with the given compiler.
1883 sys/time.h: sys_time_.h
1884         @MKDIR_P@ sys
1885         rm -f $@-t $@
1886         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
1887           sed -e 's/@''HAVE_SYS_TIME_H''@/$(HAVE_SYS_TIME_H)/g' \
1888               -e 's|@''ABSOLUTE_SYS_TIME_H''@|$(ABSOLUTE_SYS_TIME_H)|g' \
1889               -e 's/@''REPLACE_GETTIMEOFDAY''@/$(REPLACE_GETTIMEOFDAY)/g' \
1890               -e 's/@''HAVE_STRUCT_TIMEVAL''@/$(HAVE_STRUCT_TIMEVAL)/g' \
1891               < $(srcdir)/sys_time_.h; \
1892         } > $@-t
1893         mv $@-t $@
1894 MOSTLYCLEANFILES += sys/time.h sys/time.h-t
1895
1896 EXTRA_DIST += sys_time_.h
1897
1898 ## end   gnulib module sys_time
1899
1900 ## begin gnulib module tempname
1901
1902
1903 EXTRA_DIST += tempname.c tempname.h
1904
1905 EXTRA_libcoreutils_a_SOURCES += tempname.c
1906
1907 ## end   gnulib module tempname
1908
1909 ## begin gnulib module time
1910
1911 BUILT_SOURCES += time.h
1912
1913 # We need the following in order to create <time.h> when the system
1914 # doesn't have one that works with the given compiler.
1915 time.h: time_.h
1916         rm -f $@-t $@
1917         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
1918           sed -e 's|@ABSOLUTE_TIME_H''@|$(ABSOLUTE_TIME_H)|g' \
1919               -e 's|@REPLACE_LOCALTIME_R''@|$(REPLACE_LOCALTIME_R)|g' \
1920               -e 's|@REPLACE_NANOSLEEP''@|$(REPLACE_NANOSLEEP)|g' \
1921               -e 's|@REPLACE_STRPTIME''@|$(REPLACE_STRPTIME)|g' \
1922               -e 's|@REPLACE_TIMEGM''@|$(REPLACE_TIMEGM)|g' \
1923               -e 's|@SYS_TIME_H_DEFINES_STRUCT_TIMESPEC''@|$(SYS_TIME_H_DEFINES_STRUCT_TIMESPEC)|g' \
1924               -e 's|@TIME_H_DEFINES_STRUCT_TIMESPEC''@|$(TIME_H_DEFINES_STRUCT_TIMESPEC)|g' \
1925               < $(srcdir)/time_.h; \
1926         } > $@-t
1927         mv $@-t $@
1928 MOSTLYCLEANFILES += time.h time.h-t
1929
1930 EXTRA_DIST += time_.h
1931
1932 ## end   gnulib module time
1933
1934 ## begin gnulib module time_r
1935
1936
1937 EXTRA_DIST += time_r.c
1938
1939 EXTRA_libcoreutils_a_SOURCES += time_r.c
1940
1941 ## end   gnulib module time_r
1942
1943 ## begin gnulib module timespec
1944
1945
1946 EXTRA_DIST += timespec.h
1947
1948 ## end   gnulib module timespec
1949
1950 ## begin gnulib module unicodeio
1951
1952 libcoreutils_a_SOURCES += unicodeio.h unicodeio.c
1953
1954 ## end   gnulib module unicodeio
1955
1956 ## begin gnulib module unistd
1957
1958 BUILT_SOURCES += unistd.h
1959
1960 # We need the following in order to create an empty placeholder for
1961 # <unistd.h> when the system doesn't have one.
1962 unistd.h: unistd_.h
1963         rm -f $@-t $@
1964         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
1965           sed -e 's|@''HAVE_UNISTD_H''@|$(HAVE_UNISTD_H)|g' \
1966               -e 's|@''ABSOLUTE_UNISTD_H''@|$(ABSOLUTE_UNISTD_H)|g' \
1967               -e 's|@''GNULIB_CHOWN''@|$(GNULIB_CHOWN)|g' \
1968               -e 's|@''GNULIB_DUP2''@|$(GNULIB_DUP2)|g' \
1969               -e 's|@''GNULIB_FCHDIR''@|$(GNULIB_FCHDIR)|g' \
1970               -e 's|@''GNULIB_FTRUNCATE''@|$(GNULIB_FTRUNCATE)|g' \
1971               -e 's|@''GNULIB_GETCWD''@|$(GNULIB_GETCWD)|g' \
1972               -e 's|@''GNULIB_GETLOGIN_R''@|$(GNULIB_GETLOGIN_R)|g' \
1973               -e 's|@''GNULIB_READLINK''@|$(GNULIB_READLINK)|g' \
1974               -e 's|@''HAVE_DUP2''@|$(HAVE_DUP2)|g' \
1975               -e 's|@''HAVE_FTRUNCATE''@|$(HAVE_FTRUNCATE)|g' \
1976               -e 's|@''HAVE_READLINK''@|$(HAVE_READLINK)|g' \
1977               -e 's|@''HAVE_DECL_GETLOGIN_R''@|$(HAVE_DECL_GETLOGIN_R)|g' \
1978               -e 's|@''REPLACE_CHOWN''@|$(REPLACE_CHOWN)|g' \
1979               -e 's|@''REPLACE_FCHDIR''@|$(REPLACE_FCHDIR)|g' \
1980               -e 's|@''REPLACE_GETCWD''@|$(REPLACE_GETCWD)|g' \
1981               < $(srcdir)/unistd_.h; \
1982         } > $@-t
1983         mv $@-t $@
1984 MOSTLYCLEANFILES += unistd.h unistd.h-t
1985
1986 EXTRA_DIST += unistd_.h
1987
1988 ## end   gnulib module unistd
1989
1990 ## begin gnulib module unistd-safer
1991
1992
1993 EXTRA_DIST += dup-safer.c fd-safer.c pipe-safer.c unistd--.h unistd-safer.h
1994
1995 EXTRA_libcoreutils_a_SOURCES += dup-safer.c fd-safer.c pipe-safer.c
1996
1997 ## end   gnulib module unistd-safer
1998
1999 ## begin gnulib module unlinkdir
2000
2001
2002 EXTRA_DIST += unlinkdir.c unlinkdir.h
2003
2004 EXTRA_libcoreutils_a_SOURCES += unlinkdir.c
2005
2006 ## end   gnulib module unlinkdir
2007
2008 ## begin gnulib module unlocked-io
2009
2010
2011 EXTRA_DIST += unlocked-io.h
2012
2013 ## end   gnulib module unlocked-io
2014
2015 ## begin gnulib module userspec
2016
2017
2018 EXTRA_DIST += inttostr.h userspec.c userspec.h
2019
2020 EXTRA_libcoreutils_a_SOURCES += userspec.c
2021
2022 ## end   gnulib module userspec
2023
2024 ## begin gnulib module utime
2025
2026
2027 EXTRA_DIST += utime.c
2028
2029 EXTRA_libcoreutils_a_SOURCES += utime.c
2030
2031 ## end   gnulib module utime
2032
2033 ## begin gnulib module utimecmp
2034
2035
2036 EXTRA_DIST += utimecmp.c utimecmp.h
2037
2038 EXTRA_libcoreutils_a_SOURCES += utimecmp.c
2039
2040 ## end   gnulib module utimecmp
2041
2042 ## begin gnulib module utimens
2043
2044
2045 EXTRA_DIST += utimens.c utimens.h
2046
2047 EXTRA_libcoreutils_a_SOURCES += utimens.c
2048
2049 ## end   gnulib module utimens
2050
2051 ## begin gnulib module vasnprintf
2052
2053
2054 EXTRA_DIST += asnprintf.c printf-args.c printf-args.h printf-parse.c printf-parse.h vasnprintf.c vasnprintf.h
2055
2056 EXTRA_libcoreutils_a_SOURCES += asnprintf.c printf-args.c printf-parse.c vasnprintf.c
2057
2058 ## end   gnulib module vasnprintf
2059
2060 ## begin gnulib module vasprintf
2061
2062
2063 EXTRA_DIST += asprintf.c vasprintf.c vasprintf.h
2064
2065 EXTRA_libcoreutils_a_SOURCES += asprintf.c vasprintf.c
2066
2067 ## end   gnulib module vasprintf
2068
2069 ## begin gnulib module verify
2070
2071 libcoreutils_a_SOURCES += verify.h
2072
2073 ## end   gnulib module verify
2074
2075 ## begin gnulib module version-etc
2076
2077 libcoreutils_a_SOURCES += version-etc.h version-etc.c
2078
2079 ## end   gnulib module version-etc
2080
2081 ## begin gnulib module version-etc-fsf
2082
2083 libcoreutils_a_SOURCES += version-etc-fsf.c
2084
2085 ## end   gnulib module version-etc-fsf
2086
2087 ## begin gnulib module wchar
2088
2089 BUILT_SOURCES += $(WCHAR_H)
2090
2091 # We need the following in order to create <wchar.h> when the system
2092 # version does not work standalone.
2093 wchar.h: wchar_.h
2094         rm -f $@-t $@
2095         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
2096           sed -e 's|@''ABSOLUTE_WCHAR_H''@|$(ABSOLUTE_WCHAR_H)|g' \
2097             < $(srcdir)/wchar_.h; \
2098         } > $@-t
2099         mv $@-t $@
2100 MOSTLYCLEANFILES += wchar.h wchar.h-t
2101
2102 EXTRA_DIST += wchar_.h
2103
2104 ## end   gnulib module wchar
2105
2106 ## begin gnulib module wctype
2107
2108 BUILT_SOURCES += $(WCTYPE_H)
2109
2110 # We need the following in order to create <wctype.h> when the system
2111 # doesn't have one that works with the given compiler.
2112 wctype.h: wctype_.h
2113         rm -f $@-t $@
2114         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
2115           sed -e 's/@''HAVE_WCTYPE_H''@/$(HAVE_WCTYPE_H)/g' \
2116               -e 's|@''ABSOLUTE_WCTYPE_H''@|$(ABSOLUTE_WCTYPE_H)|g' \
2117               -e 's/@''HAVE_WCTYPE_CTMP_BUG''@/$(HAVE_WCTYPE_CTMP_BUG)/g' \
2118               -e 's/@''HAVE_WINT_T''@/$(HAVE_WINT_T)/g' \
2119               < $(srcdir)/wctype_.h; \
2120         } > $@-t
2121         mv $@-t $@
2122 MOSTLYCLEANFILES += wctype.h wctype.h-t
2123
2124 EXTRA_DIST += wctype_.h
2125
2126 ## end   gnulib module wctype
2127
2128 ## begin gnulib module wcwidth
2129
2130 libcoreutils_a_SOURCES += wcwidth.h
2131
2132 ## end   gnulib module wcwidth
2133
2134 ## begin gnulib module xalloc
2135
2136
2137 EXTRA_DIST += xalloc.h xmalloc.c
2138
2139 EXTRA_libcoreutils_a_SOURCES += xmalloc.c
2140
2141 ## end   gnulib module xalloc
2142
2143 ## begin gnulib module xalloc-die
2144
2145 libcoreutils_a_SOURCES += xalloc-die.c
2146
2147 ## end   gnulib module xalloc-die
2148
2149 ## begin gnulib module xgetcwd
2150
2151
2152 EXTRA_DIST += xgetcwd.c xgetcwd.h
2153
2154 EXTRA_libcoreutils_a_SOURCES += xgetcwd.c
2155
2156 ## end   gnulib module xgetcwd
2157
2158 ## begin gnulib module xgethostname
2159
2160 libcoreutils_a_SOURCES += xgethostname.h xgethostname.c
2161
2162 ## end   gnulib module xgethostname
2163
2164 ## begin gnulib module xmemcoll
2165
2166 libcoreutils_a_SOURCES += xmemcoll.h xmemcoll.c
2167
2168 ## end   gnulib module xmemcoll
2169
2170 ## begin gnulib module xnanosleep
2171
2172
2173 EXTRA_DIST += xnanosleep.c xnanosleep.h
2174
2175 EXTRA_libcoreutils_a_SOURCES += xnanosleep.c
2176
2177 ## end   gnulib module xnanosleep
2178
2179 ## begin gnulib module xreadlink
2180
2181 libcoreutils_a_SOURCES += xreadlink.c
2182
2183 EXTRA_DIST += xreadlink.h
2184
2185 ## end   gnulib module xreadlink
2186
2187 ## begin gnulib module xreadlink-with-size
2188
2189 libcoreutils_a_SOURCES += xreadlink-with-size.c
2190
2191 EXTRA_DIST += xreadlink.h
2192
2193 ## end   gnulib module xreadlink-with-size
2194
2195 ## begin gnulib module xstrndup
2196
2197 libcoreutils_a_SOURCES += xstrndup.h xstrndup.c
2198
2199 ## end   gnulib module xstrndup
2200
2201 ## begin gnulib module xstrtod
2202
2203
2204 EXTRA_DIST += xstrtod.c xstrtod.h
2205
2206 EXTRA_libcoreutils_a_SOURCES += xstrtod.c
2207
2208 ## end   gnulib module xstrtod
2209
2210 ## begin gnulib module xstrtoimax
2211
2212 libcoreutils_a_SOURCES += xstrtoimax.c
2213
2214 ## end   gnulib module xstrtoimax
2215
2216 ## begin gnulib module xstrtol
2217
2218
2219 EXTRA_DIST += xstrtol.c xstrtol.h xstrtoul.c
2220
2221 EXTRA_libcoreutils_a_SOURCES += xstrtol.c xstrtoul.c
2222
2223 ## end   gnulib module xstrtol
2224
2225 ## begin gnulib module xstrtold
2226
2227
2228 EXTRA_DIST += xstrtod.c xstrtod.h xstrtold.c
2229
2230 EXTRA_libcoreutils_a_SOURCES += xstrtod.c xstrtold.c
2231
2232 ## end   gnulib module xstrtold
2233
2234 ## begin gnulib module xstrtoumax
2235
2236 libcoreutils_a_SOURCES += xstrtoumax.c
2237
2238 ## end   gnulib module xstrtoumax
2239
2240 ## begin gnulib module yesno
2241
2242
2243 EXTRA_DIST += yesno.c yesno.h
2244
2245 EXTRA_libcoreutils_a_SOURCES += yesno.c
2246
2247 ## end   gnulib module yesno
2248
2249
2250 mostlyclean-local: mostlyclean-generic
2251         @for dir in '' $(MOSTLYCLEANDIRS); do \
2252           if test -n "$$dir" && test -d $$dir; then \
2253             echo "rmdir $$dir"; rmdir $$dir; \
2254           fi; \
2255         done