Merge branch 'vendor/GDTOA'
[dragonfly.git] / contrib / grep / lib / gnulib.mk
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=libgreputils --source-base=lib --m4-base=m4 --doc-base=doc --tests-base=gnulib-tests --aux-dir=build-aux --with-tests --no-libtool --macro-prefix=gl alloca announce-gen argmatch atexit binary-io btowc c-ctype closeout dirent dirname do-release-commit-and-tag error exclude fcntl-h fnmatch getopt-gnu getpagesize gettext-h git-version-gen gitlog-to-changelog gnu-web-doc-update gnupload hard-locale ignore-value intprops isblank isdir locale lseek maintainer-makefile malloc manywarnings mbrlen mbrtowc memchr mempcpy minmax obstack open progname propername quotearg realloc regex ssize_t stddef stdlib stpcpy strerror string strtol strtoul strtoull strtoumax sys_stat unistd unlocked-io update-copyright useless-if-before-free version-etc-fsf wchar wcrtomb wctob wctype xalloc xstrtoumax
13
14 AUTOMAKE_OPTIONS = 1.5 gnits subdir-objects
15
16 SUBDIRS =
17 noinst_HEADERS =
18 noinst_LIBRARIES =
19 noinst_LTLIBRARIES =
20 EXTRA_DIST =
21 BUILT_SOURCES =
22 SUFFIXES =
23 MOSTLYCLEANFILES = core *.stackdump
24 MOSTLYCLEANDIRS =
25 CLEANFILES =
26 DISTCLEANFILES =
27 MAINTAINERCLEANFILES =
28
29 AM_CPPFLAGS =
30 AM_CFLAGS =
31
32 noinst_LIBRARIES += libgreputils.a
33
34 libgreputils_a_SOURCES =
35 libgreputils_a_LIBADD = $(gl_LIBOBJS)
36 libgreputils_a_DEPENDENCIES = $(gl_LIBOBJS)
37 EXTRA_libgreputils_a_SOURCES =
38
39 ## begin gnulib module alloca
40
41
42 EXTRA_DIST += alloca.c
43
44 EXTRA_libgreputils_a_SOURCES += alloca.c
45
46 libgreputils_a_LIBADD += @ALLOCA@
47 libgreputils_a_DEPENDENCIES += @ALLOCA@
48 ## end   gnulib module alloca
49
50 ## begin gnulib module alloca-opt
51
52 BUILT_SOURCES += $(ALLOCA_H)
53
54 # We need the following in order to create <alloca.h> when the system
55 # doesn't have one that works with the given compiler.
56 alloca.h: alloca.in.h
57         $(AM_V_GEN)rm -f $@-t $@ && \
58         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
59           cat $(srcdir)/alloca.in.h; \
60         } > $@-t && \
61         mv -f $@-t $@
62 MOSTLYCLEANFILES += alloca.h alloca.h-t
63
64 EXTRA_DIST += alloca.in.h
65
66 ## end   gnulib module alloca-opt
67
68 ## begin gnulib module announce-gen
69
70
71 EXTRA_DIST += $(top_srcdir)/build-aux/announce-gen
72
73 ## end   gnulib module announce-gen
74
75 ## begin gnulib module arg-nonnull
76
77 # The BUILT_SOURCES created by this Makefile snippet are not used via #include
78 # statements but through direct file reference. Therefore this snippet must be
79 # present in all Makefile.am that need it. This is ensured by the applicability
80 # 'all' defined above.
81
82 BUILT_SOURCES += arg-nonnull.h
83 # The arg-nonnull.h that gets inserted into generated .h files is the same as
84 # build-aux/arg-nonnull.h, except that it has the copyright header cut off.
85 arg-nonnull.h: $(top_srcdir)/build-aux/arg-nonnull.h
86         $(AM_V_GEN)rm -f $@-t $@ && \
87         sed -n -e '/GL_ARG_NONNULL/,$$p' \
88           < $(top_srcdir)/build-aux/arg-nonnull.h \
89           > $@-t && \
90         mv $@-t $@
91 MOSTLYCLEANFILES += arg-nonnull.h arg-nonnull.h-t
92
93 ARG_NONNULL_H=arg-nonnull.h
94
95 EXTRA_DIST += $(top_srcdir)/build-aux/arg-nonnull.h
96
97 ## end   gnulib module arg-nonnull
98
99 ## begin gnulib module argmatch
100
101
102 EXTRA_DIST += argmatch.c argmatch.h
103
104 EXTRA_libgreputils_a_SOURCES += argmatch.c
105
106 ## end   gnulib module argmatch
107
108 ## begin gnulib module atexit
109
110
111 EXTRA_DIST += atexit.c
112
113 EXTRA_libgreputils_a_SOURCES += atexit.c
114
115 ## end   gnulib module atexit
116
117 ## begin gnulib module binary-io
118
119 libgreputils_a_SOURCES += binary-io.h
120
121 ## end   gnulib module binary-io
122
123 ## begin gnulib module bitrotate
124
125 libgreputils_a_SOURCES += bitrotate.h
126
127 ## end   gnulib module bitrotate
128
129 ## begin gnulib module btowc
130
131
132 EXTRA_DIST += btowc.c
133
134 EXTRA_libgreputils_a_SOURCES += btowc.c
135
136 ## end   gnulib module btowc
137
138 ## begin gnulib module c++defs
139
140 # The BUILT_SOURCES created by this Makefile snippet are not used via #include
141 # statements but through direct file reference. Therefore this snippet must be
142 # present in all Makefile.am that need it. This is ensured by the applicability
143 # 'all' defined above.
144
145 BUILT_SOURCES += c++defs.h
146 # The c++defs.h that gets inserted into generated .h files is the same as
147 # build-aux/c++defs.h, except that it has the copyright header cut off.
148 c++defs.h: $(top_srcdir)/build-aux/c++defs.h
149         $(AM_V_GEN)rm -f $@-t $@ && \
150         sed -n -e '/_GL_CXXDEFS/,$$p' \
151           < $(top_srcdir)/build-aux/c++defs.h \
152           > $@-t && \
153         mv $@-t $@
154 MOSTLYCLEANFILES += c++defs.h c++defs.h-t
155
156 CXXDEFS_H=c++defs.h
157
158 EXTRA_DIST += $(top_srcdir)/build-aux/c++defs.h
159
160 ## end   gnulib module c++defs
161
162 ## begin gnulib module c-ctype
163
164 libgreputils_a_SOURCES += c-ctype.h c-ctype.c
165
166 ## end   gnulib module c-ctype
167
168 ## begin gnulib module c-strcase
169
170 libgreputils_a_SOURCES += c-strcase.h c-strcasecmp.c c-strncasecmp.c
171
172 ## end   gnulib module c-strcase
173
174 ## begin gnulib module close-stream
175
176
177 EXTRA_DIST += close-stream.c close-stream.h
178
179 EXTRA_libgreputils_a_SOURCES += close-stream.c
180
181 ## end   gnulib module close-stream
182
183 ## begin gnulib module closeout
184
185
186 EXTRA_DIST += closeout.c closeout.h
187
188 EXTRA_libgreputils_a_SOURCES += closeout.c
189
190 ## end   gnulib module closeout
191
192 ## begin gnulib module configmake
193
194 # Retrieve values of the variables through 'configure' followed by
195 # 'make', not directly through 'configure', so that a user who
196 # sets some of these variables consistently on the 'make' command
197 # line gets correct results.
198 #
199 # One advantage of this approach, compared to the classical
200 # approach of adding -DLIBDIR=\"$(libdir)\" etc. to AM_CPPFLAGS,
201 # is that it protects against the use of undefined variables.
202 # If, say, $(libdir) is not set in the Makefile, LIBDIR is not
203 # defined by this module, and code using LIBDIR gives a
204 # compilation error.
205 #
206 # Another advantage is that 'make' output is shorter.
207 #
208 # Listed in the same order as the GNU makefile conventions.
209 # The Automake-defined pkg* macros are appended, in the order
210 # listed in the Automake 1.10a+ documentation.
211 configmake.h: Makefile
212         $(AM_V_GEN)rm -f $@-t && \
213         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
214           echo '#define PREFIX "$(prefix)"'; \
215           echo '#define EXEC_PREFIX "$(exec_prefix)"'; \
216           echo '#define BINDIR "$(bindir)"'; \
217           echo '#define SBINDIR "$(sbindir)"'; \
218           echo '#define LIBEXECDIR "$(libexecdir)"'; \
219           echo '#define DATAROOTDIR "$(datarootdir)"'; \
220           echo '#define DATADIR "$(datadir)"'; \
221           echo '#define SYSCONFDIR "$(sysconfdir)"'; \
222           echo '#define SHAREDSTATEDIR "$(sharedstatedir)"'; \
223           echo '#define LOCALSTATEDIR "$(localstatedir)"'; \
224           echo '#define INCLUDEDIR "$(includedir)"'; \
225           echo '#define OLDINCLUDEDIR "$(oldincludedir)"'; \
226           echo '#define DOCDIR "$(docdir)"'; \
227           echo '#define INFODIR "$(infodir)"'; \
228           echo '#define HTMLDIR "$(htmldir)"'; \
229           echo '#define DVIDIR "$(dvidir)"'; \
230           echo '#define PDFDIR "$(pdfdir)"'; \
231           echo '#define PSDIR "$(psdir)"'; \
232           echo '#define LIBDIR "$(libdir)"'; \
233           echo '#define LISPDIR "$(lispdir)"'; \
234           echo '#define LOCALEDIR "$(localedir)"'; \
235           echo '#define MANDIR "$(mandir)"'; \
236           echo '#define MANEXT "$(manext)"'; \
237           echo '#define PKGDATADIR "$(pkgdatadir)"'; \
238           echo '#define PKGINCLUDEDIR "$(pkgincludedir)"'; \
239           echo '#define PKGLIBDIR "$(pkglibdir)"'; \
240           echo '#define PKGLIBEXECDIR "$(pkglibexecdir)"'; \
241         } | sed '/""/d' > $@-t && \
242         if test -f $@ && cmp $@-t $@ > /dev/null; then \
243           rm -f $@-t; \
244         else \
245           rm -f $@; mv $@-t $@; \
246         fi
247
248 BUILT_SOURCES += configmake.h
249 CLEANFILES += configmake.h configmake.h-t
250
251 ## end   gnulib module configmake
252
253 ## begin gnulib module ctype
254
255 BUILT_SOURCES += ctype.h
256
257 # We need the following in order to create <ctype.h> when the system
258 # doesn't have one that works with the given compiler.
259 ctype.h: ctype.in.h $(CXXDEFS_H) $(WARN_ON_USE_H)
260         $(AM_V_GEN)rm -f $@-t $@ && \
261         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
262           sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
263               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
264               -e 's|@''NEXT_CTYPE_H''@|$(NEXT_CTYPE_H)|g' \
265               -e 's/@''GNULIB_ISBLANK''@/$(GNULIB_ISBLANK)/g' \
266               -e 's/@''HAVE_ISBLANK''@/$(HAVE_ISBLANK)/g' \
267               -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
268               -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
269               < $(srcdir)/ctype.in.h; \
270         } > $@-t && \
271         mv $@-t $@
272 MOSTLYCLEANFILES += ctype.h ctype.h-t
273
274 EXTRA_DIST += ctype.in.h
275
276 ## end   gnulib module ctype
277
278 ## begin gnulib module dirent
279
280 BUILT_SOURCES += dirent.h
281
282 # We need the following in order to create <dirent.h> when the system
283 # doesn't have one that works with the given compiler.
284 dirent.h: dirent.in.h $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
285         $(AM_V_GEN)rm -f $@-t $@ && \
286         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
287           sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
288               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
289               -e 's|@''NEXT_DIRENT_H''@|$(NEXT_DIRENT_H)|g' \
290               -e 's|@''GNULIB_DIRFD''@|$(GNULIB_DIRFD)|g' \
291               -e 's|@''GNULIB_FDOPENDIR''@|$(GNULIB_FDOPENDIR)|g' \
292               -e 's|@''GNULIB_SCANDIR''@|$(GNULIB_SCANDIR)|g' \
293               -e 's|@''GNULIB_ALPHASORT''@|$(GNULIB_ALPHASORT)|g' \
294               -e 's|@''HAVE_DECL_DIRFD''@|$(HAVE_DECL_DIRFD)|g' \
295               -e 's|@''HAVE_DECL_FDOPENDIR''@|$(HAVE_DECL_FDOPENDIR)|g' \
296               -e 's|@''HAVE_FDOPENDIR''@|$(HAVE_FDOPENDIR)|g' \
297               -e 's|@''HAVE_SCANDIR''@|$(HAVE_SCANDIR)|g' \
298               -e 's|@''HAVE_ALPHASORT''@|$(HAVE_ALPHASORT)|g' \
299               -e 's|@''REPLACE_CLOSEDIR''@|$(REPLACE_CLOSEDIR)|g' \
300               -e 's|@''REPLACE_DIRFD''@|$(REPLACE_DIRFD)|g' \
301               -e 's|@''REPLACE_FDOPENDIR''@|$(REPLACE_FDOPENDIR)|g' \
302               -e 's|@''REPLACE_OPENDIR''@|$(REPLACE_OPENDIR)|g' \
303               -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
304               -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
305               -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
306               < $(srcdir)/dirent.in.h; \
307         } > $@-t && \
308         mv $@-t $@
309 MOSTLYCLEANFILES += dirent.h dirent.h-t
310
311 EXTRA_DIST += dirent.in.h
312
313 ## end   gnulib module dirent
314
315 ## begin gnulib module dirname
316
317
318 EXTRA_DIST += basename.c dirname.c stripslash.c
319
320 EXTRA_libgreputils_a_SOURCES += basename.c dirname.c stripslash.c
321
322 ## end   gnulib module dirname
323
324 ## begin gnulib module dirname-lgpl
325
326
327 EXTRA_DIST += basename-lgpl.c dirname-lgpl.c dirname.h stripslash.c
328
329 EXTRA_libgreputils_a_SOURCES += basename-lgpl.c dirname-lgpl.c stripslash.c
330
331 ## end   gnulib module dirname-lgpl
332
333 ## begin gnulib module do-release-commit-and-tag
334
335
336 EXTRA_DIST += $(top_srcdir)/build-aux/do-release-commit-and-tag
337
338 ## end   gnulib module do-release-commit-and-tag
339
340 ## begin gnulib module errno
341
342 BUILT_SOURCES += $(ERRNO_H)
343
344 # We need the following in order to create <errno.h> when the system
345 # doesn't have one that is POSIX compliant.
346 errno.h: errno.in.h
347         $(AM_V_GEN)rm -f $@-t $@ && \
348         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
349           sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
350               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
351               -e 's|@''NEXT_ERRNO_H''@|$(NEXT_ERRNO_H)|g' \
352               -e 's|@''EMULTIHOP_HIDDEN''@|$(EMULTIHOP_HIDDEN)|g' \
353               -e 's|@''EMULTIHOP_VALUE''@|$(EMULTIHOP_VALUE)|g' \
354               -e 's|@''ENOLINK_HIDDEN''@|$(ENOLINK_HIDDEN)|g' \
355               -e 's|@''ENOLINK_VALUE''@|$(ENOLINK_VALUE)|g' \
356               -e 's|@''EOVERFLOW_HIDDEN''@|$(EOVERFLOW_HIDDEN)|g' \
357               -e 's|@''EOVERFLOW_VALUE''@|$(EOVERFLOW_VALUE)|g' \
358               < $(srcdir)/errno.in.h; \
359         } > $@-t && \
360         mv $@-t $@
361 MOSTLYCLEANFILES += errno.h errno.h-t
362
363 EXTRA_DIST += errno.in.h
364
365 ## end   gnulib module errno
366
367 ## begin gnulib module error
368
369
370 EXTRA_DIST += error.c error.h
371
372 EXTRA_libgreputils_a_SOURCES += error.c
373
374 ## end   gnulib module error
375
376 ## begin gnulib module exclude
377
378
379 EXTRA_DIST += exclude.c exclude.h
380
381 EXTRA_libgreputils_a_SOURCES += exclude.c
382
383 ## end   gnulib module exclude
384
385 ## begin gnulib module exitfail
386
387 libgreputils_a_SOURCES += exitfail.c
388
389 EXTRA_DIST += exitfail.h
390
391 ## end   gnulib module exitfail
392
393 ## begin gnulib module fcntl-h
394
395 BUILT_SOURCES += fcntl.h
396
397 # We need the following in order to create <fcntl.h> when the system
398 # doesn't have one that works with the given compiler.
399 fcntl.h: fcntl.in.h $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
400         $(AM_V_GEN)rm -f $@-t $@ && \
401         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
402           sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
403               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
404               -e 's|@''NEXT_FCNTL_H''@|$(NEXT_FCNTL_H)|g' \
405               -e 's|@''GNULIB_FCNTL''@|$(GNULIB_FCNTL)|g' \
406               -e 's|@''GNULIB_OPEN''@|$(GNULIB_OPEN)|g' \
407               -e 's|@''GNULIB_OPENAT''@|$(GNULIB_OPENAT)|g' \
408               -e 's|@''HAVE_FCNTL''@|$(HAVE_FCNTL)|g' \
409               -e 's|@''HAVE_OPENAT''@|$(HAVE_OPENAT)|g' \
410               -e 's|@''REPLACE_FCNTL''@|$(REPLACE_FCNTL)|g' \
411               -e 's|@''REPLACE_OPEN''@|$(REPLACE_OPEN)|g' \
412               -e 's|@''REPLACE_OPENAT''@|$(REPLACE_OPENAT)|g' \
413               -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
414               -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
415               -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
416               < $(srcdir)/fcntl.in.h; \
417         } > $@-t && \
418         mv $@-t $@
419 MOSTLYCLEANFILES += fcntl.h fcntl.h-t
420
421 EXTRA_DIST += fcntl.in.h
422
423 ## end   gnulib module fcntl-h
424
425 ## begin gnulib module fnmatch
426
427 BUILT_SOURCES += $(FNMATCH_H)
428
429 # We need the following in order to create <fnmatch.h> when the system
430 # doesn't have one that supports the required API.
431 fnmatch.h: fnmatch.in.h $(ARG_NONNULL_H)
432         $(AM_V_GEN)rm -f $@-t $@ && \
433         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
434           sed -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
435               < $(srcdir)/fnmatch.in.h; \
436         } > $@-t && \
437         mv -f $@-t $@
438 MOSTLYCLEANFILES += fnmatch.h fnmatch.h-t
439
440 EXTRA_DIST += fnmatch.c fnmatch.in.h fnmatch_loop.c
441
442 EXTRA_libgreputils_a_SOURCES += fnmatch.c fnmatch_loop.c
443
444 ## end   gnulib module fnmatch
445
446 ## begin gnulib module fpending
447
448
449 EXTRA_DIST += fpending.c fpending.h
450
451 EXTRA_libgreputils_a_SOURCES += fpending.c
452
453 ## end   gnulib module fpending
454
455 ## begin gnulib module gendocs
456
457
458 EXTRA_DIST += $(top_srcdir)/build-aux/gendocs.sh
459
460 ## end   gnulib module gendocs
461
462 ## begin gnulib module getopt-posix
463
464 BUILT_SOURCES += $(GETOPT_H)
465
466 # We need the following in order to create <getopt.h> when the system
467 # doesn't have one that works with the given compiler.
468 getopt.h: getopt.in.h $(ARG_NONNULL_H)
469         $(AM_V_GEN)rm -f $@-t $@ && \
470         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
471           sed -e 's|@''HAVE_GETOPT_H''@|$(HAVE_GETOPT_H)|g' \
472               -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
473               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
474               -e 's|@''NEXT_GETOPT_H''@|$(NEXT_GETOPT_H)|g' \
475               -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
476               < $(srcdir)/getopt.in.h; \
477         } > $@-t && \
478         mv -f $@-t $@
479 MOSTLYCLEANFILES += getopt.h getopt.h-t
480
481 EXTRA_DIST += getopt.c getopt.in.h getopt1.c getopt_int.h
482
483 EXTRA_libgreputils_a_SOURCES += getopt.c getopt1.c
484
485 ## end   gnulib module getopt-posix
486
487 ## begin gnulib module getpagesize
488
489
490 EXTRA_DIST += getpagesize.c
491
492 EXTRA_libgreputils_a_SOURCES += getpagesize.c
493
494 ## end   gnulib module getpagesize
495
496 ## begin gnulib module gettext-h
497
498 libgreputils_a_SOURCES += gettext.h
499
500 ## end   gnulib module gettext-h
501
502 ## begin gnulib module git-version-gen
503
504
505 EXTRA_DIST += $(top_srcdir)/build-aux/git-version-gen
506
507 ## end   gnulib module git-version-gen
508
509 ## begin gnulib module gitlog-to-changelog
510
511
512 EXTRA_DIST += $(top_srcdir)/build-aux/gitlog-to-changelog
513
514 ## end   gnulib module gitlog-to-changelog
515
516 ## begin gnulib module gnu-web-doc-update
517
518
519 EXTRA_DIST += $(top_srcdir)/build-aux/gnu-web-doc-update
520
521 ## end   gnulib module gnu-web-doc-update
522
523 ## begin gnulib module gnumakefile
524
525 distclean-local: clean-GNUmakefile
526 clean-GNUmakefile:
527         test x'$(VPATH)' != x && rm -f $(top_builddir)/GNUmakefile || :
528
529 EXTRA_DIST += $(top_srcdir)/GNUmakefile
530
531 ## end   gnulib module gnumakefile
532
533 ## begin gnulib module gnupload
534
535
536 EXTRA_DIST += $(top_srcdir)/build-aux/gnupload
537
538 ## end   gnulib module gnupload
539
540 ## begin gnulib module gperf
541
542 GPERF = gperf
543
544 ## end   gnulib module gperf
545
546 ## begin gnulib module hard-locale
547
548
549 EXTRA_DIST += hard-locale.c hard-locale.h
550
551 EXTRA_libgreputils_a_SOURCES += hard-locale.c
552
553 ## end   gnulib module hard-locale
554
555 ## begin gnulib module hash
556
557
558 EXTRA_DIST += hash.c hash.h
559
560 EXTRA_libgreputils_a_SOURCES += hash.c
561
562 ## end   gnulib module hash
563
564 ## begin gnulib module havelib
565
566
567 EXTRA_DIST += $(top_srcdir)/build-aux/config.rpath
568
569 ## end   gnulib module havelib
570
571 ## begin gnulib module iconv-h
572
573 BUILT_SOURCES += $(ICONV_H)
574
575 # We need the following in order to create <iconv.h> when the system
576 # doesn't have one that works with the given compiler.
577 iconv.h: iconv.in.h $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
578         $(AM_V_GEN)rm -f $@-t $@ && \
579         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
580           sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
581               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
582               -e 's|@''NEXT_ICONV_H''@|$(NEXT_ICONV_H)|g' \
583               -e 's|@''ICONV_CONST''@|$(ICONV_CONST)|g' \
584               -e 's|@''REPLACE_ICONV''@|$(REPLACE_ICONV)|g' \
585               -e 's|@''REPLACE_ICONV_OPEN''@|$(REPLACE_ICONV_OPEN)|g' \
586               -e 's|@''REPLACE_ICONV_UTF''@|$(REPLACE_ICONV_UTF)|g' \
587               -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
588               -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
589               -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
590               < $(srcdir)/iconv.in.h; \
591         } > $@-t && \
592         mv $@-t $@
593 MOSTLYCLEANFILES += iconv.h iconv.h-t
594
595 EXTRA_DIST += iconv.in.h
596
597 ## end   gnulib module iconv-h
598
599 ## begin gnulib module iconv_open
600
601 iconv_open-aix.h: iconv_open-aix.gperf
602         $(GPERF) -m 10 $(srcdir)/iconv_open-aix.gperf > $(srcdir)/iconv_open-aix.h-t
603         mv $(srcdir)/iconv_open-aix.h-t $(srcdir)/iconv_open-aix.h
604 iconv_open-hpux.h: iconv_open-hpux.gperf
605         $(GPERF) -m 10 $(srcdir)/iconv_open-hpux.gperf > $(srcdir)/iconv_open-hpux.h-t
606         mv $(srcdir)/iconv_open-hpux.h-t $(srcdir)/iconv_open-hpux.h
607 iconv_open-irix.h: iconv_open-irix.gperf
608         $(GPERF) -m 10 $(srcdir)/iconv_open-irix.gperf > $(srcdir)/iconv_open-irix.h-t
609         mv $(srcdir)/iconv_open-irix.h-t $(srcdir)/iconv_open-irix.h
610 iconv_open-osf.h: iconv_open-osf.gperf
611         $(GPERF) -m 10 $(srcdir)/iconv_open-osf.gperf > $(srcdir)/iconv_open-osf.h-t
612         mv $(srcdir)/iconv_open-osf.h-t $(srcdir)/iconv_open-osf.h
613 iconv_open-solaris.h: iconv_open-solaris.gperf
614         $(GPERF) -m 10 $(srcdir)/iconv_open-solaris.gperf > $(srcdir)/iconv_open-solaris.h-t
615         mv $(srcdir)/iconv_open-solaris.h-t $(srcdir)/iconv_open-solaris.h
616 BUILT_SOURCES        += iconv_open-aix.h iconv_open-hpux.h iconv_open-irix.h iconv_open-osf.h iconv_open-solaris.h
617 MOSTLYCLEANFILES     += 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
618 MAINTAINERCLEANFILES += iconv_open-aix.h iconv_open-hpux.h iconv_open-irix.h iconv_open-osf.h iconv_open-solaris.h
619 EXTRA_DIST           += iconv_open-aix.h iconv_open-hpux.h iconv_open-irix.h iconv_open-osf.h iconv_open-solaris.h
620
621 EXTRA_DIST += iconv_open-aix.gperf iconv_open-hpux.gperf iconv_open-irix.gperf iconv_open-osf.gperf iconv_open-solaris.gperf iconv_open.c
622
623 EXTRA_libgreputils_a_SOURCES += iconv_open.c
624
625 ## end   gnulib module iconv_open
626
627 ## begin gnulib module ignore-value
628
629 libgreputils_a_SOURCES += ignore-value.h
630
631 ## end   gnulib module ignore-value
632
633 ## begin gnulib module intprops
634
635
636 EXTRA_DIST += intprops.h
637
638 ## end   gnulib module intprops
639
640 ## begin gnulib module inttypes
641
642 BUILT_SOURCES += inttypes.h
643
644 # We need the following in order to create <inttypes.h> when the system
645 # doesn't have one that works with the given compiler.
646 inttypes.h: inttypes.in.h $(WARN_ON_USE_H) $(ARG_NONNULL_H)
647         $(AM_V_GEN)rm -f $@-t $@ && \
648         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
649           sed -e 's/@''HAVE_INTTYPES_H''@/$(HAVE_INTTYPES_H)/g' \
650               -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
651               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
652               -e 's|@''NEXT_INTTYPES_H''@|$(NEXT_INTTYPES_H)|g' \
653               -e 's/@''PRI_MACROS_BROKEN''@/$(PRI_MACROS_BROKEN)/g' \
654               -e 's/@''APPLE_UNIVERSAL_BUILD''@/$(APPLE_UNIVERSAL_BUILD)/g' \
655               -e 's/@''HAVE_LONG_LONG_INT''@/$(HAVE_LONG_LONG_INT)/g' \
656               -e 's/@''HAVE_UNSIGNED_LONG_LONG_INT''@/$(HAVE_UNSIGNED_LONG_LONG_INT)/g' \
657               -e 's/@''PRIPTR_PREFIX''@/$(PRIPTR_PREFIX)/g' \
658               -e 's/@''GNULIB_IMAXABS''@/$(GNULIB_IMAXABS)/g' \
659               -e 's/@''GNULIB_IMAXDIV''@/$(GNULIB_IMAXDIV)/g' \
660               -e 's/@''GNULIB_STRTOIMAX''@/$(GNULIB_STRTOIMAX)/g' \
661               -e 's/@''GNULIB_STRTOUMAX''@/$(GNULIB_STRTOUMAX)/g' \
662               -e 's/@''HAVE_DECL_IMAXABS''@/$(HAVE_DECL_IMAXABS)/g' \
663               -e 's/@''HAVE_DECL_IMAXDIV''@/$(HAVE_DECL_IMAXDIV)/g' \
664               -e 's/@''HAVE_DECL_STRTOIMAX''@/$(HAVE_DECL_STRTOIMAX)/g' \
665               -e 's/@''HAVE_DECL_STRTOUMAX''@/$(HAVE_DECL_STRTOUMAX)/g' \
666               -e 's/@''INT32_MAX_LT_INTMAX_MAX''@/$(INT32_MAX_LT_INTMAX_MAX)/g' \
667               -e 's/@''INT64_MAX_EQ_LONG_MAX''@/$(INT64_MAX_EQ_LONG_MAX)/g' \
668               -e 's/@''UINT32_MAX_LT_UINTMAX_MAX''@/$(UINT32_MAX_LT_UINTMAX_MAX)/g' \
669               -e 's/@''UINT64_MAX_EQ_ULONG_MAX''@/$(UINT64_MAX_EQ_ULONG_MAX)/g' \
670               -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
671               -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
672               < $(srcdir)/inttypes.in.h; \
673         } > $@-t && \
674         mv $@-t $@
675 MOSTLYCLEANFILES += inttypes.h inttypes.h-t
676
677 EXTRA_DIST += inttypes.in.h
678
679 ## end   gnulib module inttypes
680
681 ## begin gnulib module isblank
682
683
684 EXTRA_DIST += isblank.c
685
686 EXTRA_libgreputils_a_SOURCES += isblank.c
687
688 ## end   gnulib module isblank
689
690 ## begin gnulib module isdir
691
692 libgreputils_a_SOURCES += isdir.c
693
694 EXTRA_DIST += isdir.h
695
696 ## end   gnulib module isdir
697
698 ## begin gnulib module langinfo
699
700 BUILT_SOURCES += langinfo.h
701
702 # We need the following in order to create an empty placeholder for
703 # <langinfo.h> when the system doesn't have one.
704 langinfo.h: langinfo.in.h $(CXXDEFS_H) $(WARN_ON_USE_H)
705         $(AM_V_GEN)rm -f $@-t $@ && \
706         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
707           sed -e 's|@''HAVE_LANGINFO_H''@|$(HAVE_LANGINFO_H)|g' \
708               -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
709               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
710               -e 's|@''NEXT_LANGINFO_H''@|$(NEXT_LANGINFO_H)|g' \
711               -e 's|@''GNULIB_NL_LANGINFO''@|$(GNULIB_NL_LANGINFO)|g' \
712               -e 's|@''HAVE_LANGINFO_CODESET''@|$(HAVE_LANGINFO_CODESET)|g' \
713               -e 's|@''HAVE_LANGINFO_T_FMT_AMPM''@|$(HAVE_LANGINFO_T_FMT_AMPM)|g' \
714               -e 's|@''HAVE_LANGINFO_ERA''@|$(HAVE_LANGINFO_ERA)|g' \
715               -e 's|@''HAVE_LANGINFO_YESEXPR''@|$(HAVE_LANGINFO_YESEXPR)|g' \
716               -e 's|@''HAVE_NL_LANGINFO''@|$(HAVE_NL_LANGINFO)|g' \
717               -e 's|@''REPLACE_NL_LANGINFO''@|$(REPLACE_NL_LANGINFO)|g' \
718               -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
719               -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
720               < $(srcdir)/langinfo.in.h; \
721         } > $@-t && \
722         mv $@-t $@
723 MOSTLYCLEANFILES += langinfo.h langinfo.h-t
724
725 EXTRA_DIST += langinfo.in.h
726
727 ## end   gnulib module langinfo
728
729 ## begin gnulib module localcharset
730
731 libgreputils_a_SOURCES += localcharset.h localcharset.c
732
733 # We need the following in order to install a simple file in $(libdir)
734 # which is shared with other installed packages. We use a list of referencing
735 # packages so that "make uninstall" will remove the file if and only if it
736 # is not used by another installed package.
737 # On systems with glibc-2.1 or newer, the file is redundant, therefore we
738 # avoid installing it.
739
740 all-local: charset.alias ref-add.sed ref-del.sed
741
742 charset_alias = $(DESTDIR)$(libdir)/charset.alias
743 charset_tmp = $(DESTDIR)$(libdir)/charset.tmp
744 install-exec-local: install-exec-localcharset
745 install-exec-localcharset: all-local
746         if test $(GLIBC21) = no; then \
747           case '$(host_os)' in \
748             darwin[56]*) \
749               need_charset_alias=true ;; \
750             darwin* | cygwin* | mingw* | pw32* | cegcc*) \
751               need_charset_alias=false ;; \
752             *) \
753               need_charset_alias=true ;; \
754           esac ; \
755         else \
756           need_charset_alias=false ; \
757         fi ; \
758         if $$need_charset_alias; then \
759           $(mkinstalldirs) $(DESTDIR)$(libdir) ; \
760         fi ; \
761         if test -f $(charset_alias); then \
762           sed -f ref-add.sed $(charset_alias) > $(charset_tmp) ; \
763           $(INSTALL_DATA) $(charset_tmp) $(charset_alias) ; \
764           rm -f $(charset_tmp) ; \
765         else \
766           if $$need_charset_alias; then \
767             sed -f ref-add.sed charset.alias > $(charset_tmp) ; \
768             $(INSTALL_DATA) $(charset_tmp) $(charset_alias) ; \
769             rm -f $(charset_tmp) ; \
770           fi ; \
771         fi
772
773 uninstall-local: uninstall-localcharset
774 uninstall-localcharset: all-local
775         if test -f $(charset_alias); then \
776           sed -f ref-del.sed $(charset_alias) > $(charset_tmp); \
777           if grep '^# Packages using this file: $$' $(charset_tmp) \
778               > /dev/null; then \
779             rm -f $(charset_alias); \
780           else \
781             $(INSTALL_DATA) $(charset_tmp) $(charset_alias); \
782           fi; \
783           rm -f $(charset_tmp); \
784         fi
785
786 charset.alias: config.charset
787         $(AM_V_GEN)rm -f t-$@ $@ && \
788         $(SHELL) $(srcdir)/config.charset '$(host)' > t-$@ && \
789         mv t-$@ $@
790
791 SUFFIXES += .sed .sin
792 .sin.sed:
793         $(AM_V_GEN)rm -f t-$@ $@ && \
794         sed -e '/^#/d' -e 's/@''PACKAGE''@/$(PACKAGE)/g' $< > t-$@ && \
795         mv t-$@ $@
796
797 CLEANFILES += charset.alias ref-add.sed ref-del.sed
798
799 EXTRA_DIST += config.charset ref-add.sin ref-del.sin
800
801 ## end   gnulib module localcharset
802
803 ## begin gnulib module locale
804
805 BUILT_SOURCES += locale.h
806
807 # We need the following in order to create <locale.h> when the system
808 # doesn't have one that provides all definitions.
809 locale.h: locale.in.h $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
810         $(AM_V_GEN)rm -f $@-t $@ && \
811         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
812           sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
813               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
814               -e 's|@''NEXT_LOCALE_H''@|$(NEXT_LOCALE_H)|g' \
815               -e 's|@''GNULIB_DUPLOCALE''@|$(GNULIB_DUPLOCALE)|g' \
816               -e 's|@''HAVE_DUPLOCALE''@|$(HAVE_DUPLOCALE)|g' \
817               -e 's|@''HAVE_XLOCALE_H''@|$(HAVE_XLOCALE_H)|g' \
818               -e 's|@''REPLACE_DUPLOCALE''@|$(REPLACE_DUPLOCALE)|g' \
819               -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
820               -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
821               -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
822               < $(srcdir)/locale.in.h; \
823         } > $@-t && \
824         mv $@-t $@
825 MOSTLYCLEANFILES += locale.h locale.h-t
826
827 EXTRA_DIST += locale.in.h
828
829 ## end   gnulib module locale
830
831 ## begin gnulib module lseek
832
833
834 EXTRA_DIST += lseek.c
835
836 EXTRA_libgreputils_a_SOURCES += lseek.c
837
838 ## end   gnulib module lseek
839
840 ## begin gnulib module maintainer-makefile
841
842 EXTRA_DIST += $(top_srcdir)/maint.mk
843
844 ## end   gnulib module maintainer-makefile
845
846 ## begin gnulib module malloc-gnu
847
848
849 EXTRA_DIST += malloc.c
850
851 EXTRA_libgreputils_a_SOURCES += malloc.c
852
853 ## end   gnulib module malloc-gnu
854
855 ## begin gnulib module malloc-posix
856
857
858 EXTRA_DIST += malloc.c
859
860 EXTRA_libgreputils_a_SOURCES += malloc.c
861
862 ## end   gnulib module malloc-posix
863
864 ## begin gnulib module malloca
865
866 libgreputils_a_SOURCES += malloca.c
867
868 EXTRA_DIST += malloca.h malloca.valgrind
869
870 ## end   gnulib module malloca
871
872 ## begin gnulib module mbchar
873
874 libgreputils_a_SOURCES += mbchar.c
875
876 EXTRA_DIST += mbchar.h
877
878 ## end   gnulib module mbchar
879
880 ## begin gnulib module mbiter
881
882 libgreputils_a_SOURCES += mbiter.h
883
884 ## end   gnulib module mbiter
885
886 ## begin gnulib module mbrlen
887
888
889 EXTRA_DIST += mbrlen.c
890
891 EXTRA_libgreputils_a_SOURCES += mbrlen.c
892
893 ## end   gnulib module mbrlen
894
895 ## begin gnulib module mbrtowc
896
897
898 EXTRA_DIST += mbrtowc.c
899
900 EXTRA_libgreputils_a_SOURCES += mbrtowc.c
901
902 ## end   gnulib module mbrtowc
903
904 ## begin gnulib module mbscasecmp
905
906 libgreputils_a_SOURCES += mbscasecmp.c
907
908 ## end   gnulib module mbscasecmp
909
910 ## begin gnulib module mbsinit
911
912
913 EXTRA_DIST += mbsinit.c
914
915 EXTRA_libgreputils_a_SOURCES += mbsinit.c
916
917 ## end   gnulib module mbsinit
918
919 ## begin gnulib module mbslen
920
921 libgreputils_a_SOURCES += mbslen.c
922
923 ## end   gnulib module mbslen
924
925 ## begin gnulib module mbsrtowcs
926
927
928 EXTRA_DIST += mbsrtowcs-state.c mbsrtowcs.c
929
930 EXTRA_libgreputils_a_SOURCES += mbsrtowcs-state.c mbsrtowcs.c
931
932 ## end   gnulib module mbsrtowcs
933
934 ## begin gnulib module mbsstr
935
936 libgreputils_a_SOURCES += mbsstr.c
937
938 EXTRA_DIST += str-kmp.h
939
940 ## end   gnulib module mbsstr
941
942 ## begin gnulib module mbuiter
943
944 libgreputils_a_SOURCES += mbuiter.h
945
946 ## end   gnulib module mbuiter
947
948 ## begin gnulib module memchr
949
950
951 EXTRA_DIST += memchr.c memchr.valgrind
952
953 EXTRA_libgreputils_a_SOURCES += memchr.c
954
955 ## end   gnulib module memchr
956
957 ## begin gnulib module mempcpy
958
959
960 EXTRA_DIST += mempcpy.c
961
962 EXTRA_libgreputils_a_SOURCES += mempcpy.c
963
964 ## end   gnulib module mempcpy
965
966 ## begin gnulib module minmax
967
968 libgreputils_a_SOURCES += minmax.h
969
970 ## end   gnulib module minmax
971
972 ## begin gnulib module nl_langinfo
973
974
975 EXTRA_DIST += nl_langinfo.c
976
977 EXTRA_libgreputils_a_SOURCES += nl_langinfo.c
978
979 ## end   gnulib module nl_langinfo
980
981 ## begin gnulib module obstack
982
983
984 EXTRA_DIST += obstack.c obstack.h
985
986 EXTRA_libgreputils_a_SOURCES += obstack.c
987
988 ## end   gnulib module obstack
989
990 ## begin gnulib module open
991
992
993 EXTRA_DIST += open.c
994
995 EXTRA_libgreputils_a_SOURCES += open.c
996
997 ## end   gnulib module open
998
999 ## begin gnulib module progname
1000
1001 libgreputils_a_SOURCES += progname.h progname.c
1002
1003 ## end   gnulib module progname
1004
1005 ## begin gnulib module propername
1006
1007 libgreputils_a_SOURCES += propername.h propername.c
1008
1009 ## end   gnulib module propername
1010
1011 ## begin gnulib module quote
1012
1013
1014 EXTRA_DIST += quote.c quote.h
1015
1016 EXTRA_libgreputils_a_SOURCES += quote.c
1017
1018 ## end   gnulib module quote
1019
1020 ## begin gnulib module quotearg
1021
1022
1023 EXTRA_DIST += quotearg.c quotearg.h
1024
1025 EXTRA_libgreputils_a_SOURCES += quotearg.c
1026
1027 ## end   gnulib module quotearg
1028
1029 ## begin gnulib module realloc-gnu
1030
1031
1032 EXTRA_DIST += realloc.c
1033
1034 EXTRA_libgreputils_a_SOURCES += realloc.c
1035
1036 ## end   gnulib module realloc-gnu
1037
1038 ## begin gnulib module realloc-posix
1039
1040
1041 EXTRA_DIST += realloc.c
1042
1043 EXTRA_libgreputils_a_SOURCES += realloc.c
1044
1045 ## end   gnulib module realloc-posix
1046
1047 ## begin gnulib module regex
1048
1049
1050 EXTRA_DIST += regcomp.c regex.c regex.h regex_internal.c regex_internal.h regexec.c
1051
1052 EXTRA_libgreputils_a_SOURCES += regcomp.c regex.c regex_internal.c regexec.c
1053
1054 ## end   gnulib module regex
1055
1056 ## begin gnulib module stat
1057
1058
1059 EXTRA_DIST += stat.c
1060
1061 EXTRA_libgreputils_a_SOURCES += stat.c
1062
1063 ## end   gnulib module stat
1064
1065 ## begin gnulib module stdarg
1066
1067 BUILT_SOURCES += $(STDARG_H)
1068
1069 # We need the following in order to create <stdarg.h> when the system
1070 # doesn't have one that works with the given compiler.
1071 stdarg.h: stdarg.in.h
1072         $(AM_V_GEN)rm -f $@-t $@ && \
1073         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
1074           sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1075               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1076               -e 's|@''NEXT_STDARG_H''@|$(NEXT_STDARG_H)|g' \
1077               < $(srcdir)/stdarg.in.h; \
1078         } > $@-t && \
1079         mv $@-t $@
1080 MOSTLYCLEANFILES += stdarg.h stdarg.h-t
1081
1082 EXTRA_DIST += stdarg.in.h
1083
1084 ## end   gnulib module stdarg
1085
1086 ## begin gnulib module stdbool
1087
1088 BUILT_SOURCES += $(STDBOOL_H)
1089
1090 # We need the following in order to create <stdbool.h> when the system
1091 # doesn't have one that works.
1092 stdbool.h: stdbool.in.h
1093         $(AM_V_GEN)rm -f $@-t $@ && \
1094         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
1095           sed -e 's/@''HAVE__BOOL''@/$(HAVE__BOOL)/g' < $(srcdir)/stdbool.in.h; \
1096         } > $@-t && \
1097         mv $@-t $@
1098 MOSTLYCLEANFILES += stdbool.h stdbool.h-t
1099
1100 EXTRA_DIST += stdbool.in.h
1101
1102 ## end   gnulib module stdbool
1103
1104 ## begin gnulib module stddef
1105
1106 BUILT_SOURCES += $(STDDEF_H)
1107
1108 # We need the following in order to create <stddef.h> when the system
1109 # doesn't have one that works with the given compiler.
1110 stddef.h: stddef.in.h
1111         $(AM_V_GEN)rm -f $@-t $@ && \
1112         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
1113           sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1114               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1115               -e 's|@''NEXT_STDDEF_H''@|$(NEXT_STDDEF_H)|g' \
1116               -e 's|@''HAVE_WCHAR_T''@|$(HAVE_WCHAR_T)|g' \
1117               -e 's|@''REPLACE_NULL''@|$(REPLACE_NULL)|g' \
1118               < $(srcdir)/stddef.in.h; \
1119         } > $@-t && \
1120         mv $@-t $@
1121 MOSTLYCLEANFILES += stddef.h stddef.h-t
1122
1123 EXTRA_DIST += stddef.in.h
1124
1125 ## end   gnulib module stddef
1126
1127 ## begin gnulib module stdint
1128
1129 BUILT_SOURCES += $(STDINT_H)
1130
1131 # We need the following in order to create <stdint.h> when the system
1132 # doesn't have one that works with the given compiler.
1133 stdint.h: stdint.in.h
1134         $(AM_V_GEN)rm -f $@-t $@ && \
1135         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
1136           sed -e 's/@''HAVE_STDINT_H''@/$(HAVE_STDINT_H)/g' \
1137               -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1138               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1139               -e 's|@''NEXT_STDINT_H''@|$(NEXT_STDINT_H)|g' \
1140               -e 's/@''HAVE_SYS_TYPES_H''@/$(HAVE_SYS_TYPES_H)/g' \
1141               -e 's/@''HAVE_INTTYPES_H''@/$(HAVE_INTTYPES_H)/g' \
1142               -e 's/@''HAVE_SYS_INTTYPES_H''@/$(HAVE_SYS_INTTYPES_H)/g' \
1143               -e 's/@''HAVE_SYS_BITYPES_H''@/$(HAVE_SYS_BITYPES_H)/g' \
1144               -e 's/@''HAVE_LONG_LONG_INT''@/$(HAVE_LONG_LONG_INT)/g' \
1145               -e 's/@''HAVE_UNSIGNED_LONG_LONG_INT''@/$(HAVE_UNSIGNED_LONG_LONG_INT)/g' \
1146               -e 's/@''APPLE_UNIVERSAL_BUILD''@/$(APPLE_UNIVERSAL_BUILD)/g' \
1147               -e 's/@''BITSIZEOF_PTRDIFF_T''@/$(BITSIZEOF_PTRDIFF_T)/g' \
1148               -e 's/@''PTRDIFF_T_SUFFIX''@/$(PTRDIFF_T_SUFFIX)/g' \
1149               -e 's/@''BITSIZEOF_SIG_ATOMIC_T''@/$(BITSIZEOF_SIG_ATOMIC_T)/g' \
1150               -e 's/@''HAVE_SIGNED_SIG_ATOMIC_T''@/$(HAVE_SIGNED_SIG_ATOMIC_T)/g' \
1151               -e 's/@''SIG_ATOMIC_T_SUFFIX''@/$(SIG_ATOMIC_T_SUFFIX)/g' \
1152               -e 's/@''BITSIZEOF_SIZE_T''@/$(BITSIZEOF_SIZE_T)/g' \
1153               -e 's/@''SIZE_T_SUFFIX''@/$(SIZE_T_SUFFIX)/g' \
1154               -e 's/@''BITSIZEOF_WCHAR_T''@/$(BITSIZEOF_WCHAR_T)/g' \
1155               -e 's/@''HAVE_SIGNED_WCHAR_T''@/$(HAVE_SIGNED_WCHAR_T)/g' \
1156               -e 's/@''WCHAR_T_SUFFIX''@/$(WCHAR_T_SUFFIX)/g' \
1157               -e 's/@''BITSIZEOF_WINT_T''@/$(BITSIZEOF_WINT_T)/g' \
1158               -e 's/@''HAVE_SIGNED_WINT_T''@/$(HAVE_SIGNED_WINT_T)/g' \
1159               -e 's/@''WINT_T_SUFFIX''@/$(WINT_T_SUFFIX)/g' \
1160               < $(srcdir)/stdint.in.h; \
1161         } > $@-t && \
1162         mv $@-t $@
1163 MOSTLYCLEANFILES += stdint.h stdint.h-t
1164
1165 EXTRA_DIST += stdint.in.h
1166
1167 ## end   gnulib module stdint
1168
1169 ## begin gnulib module stdlib
1170
1171 BUILT_SOURCES += stdlib.h
1172
1173 # We need the following in order to create <stdlib.h> when the system
1174 # doesn't have one that works with the given compiler.
1175 stdlib.h: stdlib.in.h $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
1176         $(AM_V_GEN)rm -f $@-t $@ && \
1177         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
1178           sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1179               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1180               -e 's|@''NEXT_STDLIB_H''@|$(NEXT_STDLIB_H)|g' \
1181               -e 's|@''GNULIB__EXIT''@|$(GNULIB__EXIT)|g' \
1182               -e 's|@''GNULIB_ATOLL''@|$(GNULIB_ATOLL)|g' \
1183               -e 's|@''GNULIB_CALLOC_POSIX''@|$(GNULIB_CALLOC_POSIX)|g' \
1184               -e 's|@''GNULIB_CANONICALIZE_FILE_NAME''@|$(GNULIB_CANONICALIZE_FILE_NAME)|g' \
1185               -e 's|@''GNULIB_GETLOADAVG''@|$(GNULIB_GETLOADAVG)|g' \
1186               -e 's|@''GNULIB_GETSUBOPT''@|$(GNULIB_GETSUBOPT)|g' \
1187               -e 's|@''GNULIB_GRANTPT''@|$(GNULIB_GRANTPT)|g' \
1188               -e 's|@''GNULIB_MALLOC_POSIX''@|$(GNULIB_MALLOC_POSIX)|g' \
1189               -e 's|@''GNULIB_MKDTEMP''@|$(GNULIB_MKDTEMP)|g' \
1190               -e 's|@''GNULIB_MKOSTEMP''@|$(GNULIB_MKOSTEMP)|g' \
1191               -e 's|@''GNULIB_MKOSTEMPS''@|$(GNULIB_MKOSTEMPS)|g' \
1192               -e 's|@''GNULIB_MKSTEMP''@|$(GNULIB_MKSTEMP)|g' \
1193               -e 's|@''GNULIB_MKSTEMPS''@|$(GNULIB_MKSTEMPS)|g' \
1194               -e 's|@''GNULIB_PTSNAME''@|$(GNULIB_PTSNAME)|g' \
1195               -e 's|@''GNULIB_PUTENV''@|$(GNULIB_PUTENV)|g' \
1196               -e 's|@''GNULIB_RANDOM_R''@|$(GNULIB_RANDOM_R)|g' \
1197               -e 's|@''GNULIB_REALLOC_POSIX''@|$(GNULIB_REALLOC_POSIX)|g' \
1198               -e 's|@''GNULIB_REALPATH''@|$(GNULIB_REALPATH)|g' \
1199               -e 's|@''GNULIB_RPMATCH''@|$(GNULIB_RPMATCH)|g' \
1200               -e 's|@''GNULIB_SETENV''@|$(GNULIB_SETENV)|g' \
1201               -e 's|@''GNULIB_STRTOD''@|$(GNULIB_STRTOD)|g' \
1202               -e 's|@''GNULIB_STRTOLL''@|$(GNULIB_STRTOLL)|g' \
1203               -e 's|@''GNULIB_STRTOULL''@|$(GNULIB_STRTOULL)|g' \
1204               -e 's|@''GNULIB_UNLOCKPT''@|$(GNULIB_UNLOCKPT)|g' \
1205               -e 's|@''GNULIB_UNSETENV''@|$(GNULIB_UNSETENV)|g' \
1206               -e 's|@''HAVE__EXIT''@|$(HAVE__EXIT)|g' \
1207               -e 's|@''HAVE_ATOLL''@|$(HAVE_ATOLL)|g' \
1208               -e 's|@''HAVE_CANONICALIZE_FILE_NAME''@|$(HAVE_CANONICALIZE_FILE_NAME)|g' \
1209               -e 's|@''HAVE_DECL_GETLOADAVG''@|$(HAVE_DECL_GETLOADAVG)|g' \
1210               -e 's|@''HAVE_GETSUBOPT''@|$(HAVE_GETSUBOPT)|g' \
1211               -e 's|@''HAVE_GRANTPT''@|$(HAVE_GRANTPT)|g' \
1212               -e 's|@''HAVE_MKDTEMP''@|$(HAVE_MKDTEMP)|g' \
1213               -e 's|@''HAVE_MKOSTEMP''@|$(HAVE_MKOSTEMP)|g' \
1214               -e 's|@''HAVE_MKOSTEMPS''@|$(HAVE_MKOSTEMPS)|g' \
1215               -e 's|@''HAVE_MKSTEMP''@|$(HAVE_MKSTEMP)|g' \
1216               -e 's|@''HAVE_MKSTEMPS''@|$(HAVE_MKSTEMPS)|g' \
1217               -e 's|@''HAVE_PTSNAME''@|$(HAVE_PTSNAME)|g' \
1218               -e 's|@''HAVE_RANDOM_H''@|$(HAVE_RANDOM_H)|g' \
1219               -e 's|@''HAVE_RANDOM_R''@|$(HAVE_RANDOM_R)|g' \
1220               -e 's|@''HAVE_REALPATH''@|$(HAVE_REALPATH)|g' \
1221               -e 's|@''HAVE_RPMATCH''@|$(HAVE_RPMATCH)|g' \
1222               -e 's|@''HAVE_SETENV''@|$(HAVE_SETENV)|g' \
1223               -e 's|@''HAVE_STRTOD''@|$(HAVE_STRTOD)|g' \
1224               -e 's|@''HAVE_STRTOLL''@|$(HAVE_STRTOLL)|g' \
1225               -e 's|@''HAVE_STRTOULL''@|$(HAVE_STRTOULL)|g' \
1226               -e 's|@''HAVE_STRUCT_RANDOM_DATA''@|$(HAVE_STRUCT_RANDOM_DATA)|g' \
1227               -e 's|@''HAVE_SYS_LOADAVG_H''@|$(HAVE_SYS_LOADAVG_H)|g' \
1228               -e 's|@''HAVE_UNLOCKPT''@|$(HAVE_UNLOCKPT)|g' \
1229               -e 's|@''HAVE_UNSETENV''@|$(HAVE_UNSETENV)|g' \
1230               -e 's|@''REPLACE_CALLOC''@|$(REPLACE_CALLOC)|g' \
1231               -e 's|@''REPLACE_CANONICALIZE_FILE_NAME''@|$(REPLACE_CANONICALIZE_FILE_NAME)|g' \
1232               -e 's|@''REPLACE_MALLOC''@|$(REPLACE_MALLOC)|g' \
1233               -e 's|@''REPLACE_MKSTEMP''@|$(REPLACE_MKSTEMP)|g' \
1234               -e 's|@''REPLACE_PUTENV''@|$(REPLACE_PUTENV)|g' \
1235               -e 's|@''REPLACE_REALLOC''@|$(REPLACE_REALLOC)|g' \
1236               -e 's|@''REPLACE_REALPATH''@|$(REPLACE_REALPATH)|g' \
1237               -e 's|@''REPLACE_SETENV''@|$(REPLACE_SETENV)|g' \
1238               -e 's|@''REPLACE_STRTOD''@|$(REPLACE_STRTOD)|g' \
1239               -e 's|@''REPLACE_UNSETENV''@|$(REPLACE_UNSETENV)|g' \
1240               -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
1241               -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
1242               -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
1243               < $(srcdir)/stdlib.in.h; \
1244         } > $@-t && \
1245         mv $@-t $@
1246 MOSTLYCLEANFILES += stdlib.h stdlib.h-t
1247
1248 EXTRA_DIST += stdlib.in.h
1249
1250 ## end   gnulib module stdlib
1251
1252 ## begin gnulib module stpcpy
1253
1254
1255 EXTRA_DIST += stpcpy.c
1256
1257 EXTRA_libgreputils_a_SOURCES += stpcpy.c
1258
1259 ## end   gnulib module stpcpy
1260
1261 ## begin gnulib module streq
1262
1263
1264 EXTRA_DIST += streq.h
1265
1266 ## end   gnulib module streq
1267
1268 ## begin gnulib module strerror
1269
1270
1271 EXTRA_DIST += strerror.c
1272
1273 EXTRA_libgreputils_a_SOURCES += strerror.c
1274
1275 ## end   gnulib module strerror
1276
1277 ## begin gnulib module striconv
1278
1279 libgreputils_a_SOURCES += striconv.h striconv.c
1280 if GL_COND_LIBTOOL
1281 endif
1282
1283 ## end   gnulib module striconv
1284
1285 ## begin gnulib module string
1286
1287 BUILT_SOURCES += string.h
1288
1289 # We need the following in order to create <string.h> when the system
1290 # doesn't have one that works with the given compiler.
1291 string.h: string.in.h $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
1292         $(AM_V_GEN)rm -f $@-t $@ && \
1293         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
1294           sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1295               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1296               -e 's|@''NEXT_STRING_H''@|$(NEXT_STRING_H)|g' \
1297               -e 's|@''GNULIB_MBSLEN''@|$(GNULIB_MBSLEN)|g' \
1298               -e 's|@''GNULIB_MBSNLEN''@|$(GNULIB_MBSNLEN)|g' \
1299               -e 's|@''GNULIB_MBSCHR''@|$(GNULIB_MBSCHR)|g' \
1300               -e 's|@''GNULIB_MBSRCHR''@|$(GNULIB_MBSRCHR)|g' \
1301               -e 's|@''GNULIB_MBSSTR''@|$(GNULIB_MBSSTR)|g' \
1302               -e 's|@''GNULIB_MBSCASECMP''@|$(GNULIB_MBSCASECMP)|g' \
1303               -e 's|@''GNULIB_MBSNCASECMP''@|$(GNULIB_MBSNCASECMP)|g' \
1304               -e 's|@''GNULIB_MBSPCASECMP''@|$(GNULIB_MBSPCASECMP)|g' \
1305               -e 's|@''GNULIB_MBSCASESTR''@|$(GNULIB_MBSCASESTR)|g' \
1306               -e 's|@''GNULIB_MBSCSPN''@|$(GNULIB_MBSCSPN)|g' \
1307               -e 's|@''GNULIB_MBSPBRK''@|$(GNULIB_MBSPBRK)|g' \
1308               -e 's|@''GNULIB_MBSSPN''@|$(GNULIB_MBSSPN)|g' \
1309               -e 's|@''GNULIB_MBSSEP''@|$(GNULIB_MBSSEP)|g' \
1310               -e 's|@''GNULIB_MBSTOK_R''@|$(GNULIB_MBSTOK_R)|g' \
1311               -e 's|@''GNULIB_MEMCHR''@|$(GNULIB_MEMCHR)|g' \
1312               -e 's|@''GNULIB_MEMMEM''@|$(GNULIB_MEMMEM)|g' \
1313               -e 's|@''GNULIB_MEMPCPY''@|$(GNULIB_MEMPCPY)|g' \
1314               -e 's|@''GNULIB_MEMRCHR''@|$(GNULIB_MEMRCHR)|g' \
1315               -e 's|@''GNULIB_RAWMEMCHR''@|$(GNULIB_RAWMEMCHR)|g' \
1316               -e 's|@''GNULIB_STPCPY''@|$(GNULIB_STPCPY)|g' \
1317               -e 's|@''GNULIB_STPNCPY''@|$(GNULIB_STPNCPY)|g' \
1318               -e 's|@''GNULIB_STRCHRNUL''@|$(GNULIB_STRCHRNUL)|g' \
1319               -e 's|@''GNULIB_STRDUP''@|$(GNULIB_STRDUP)|g' \
1320               -e 's|@''GNULIB_STRNCAT''@|$(GNULIB_STRNCAT)|g' \
1321               -e 's|@''GNULIB_STRNDUP''@|$(GNULIB_STRNDUP)|g' \
1322               -e 's|@''GNULIB_STRNLEN''@|$(GNULIB_STRNLEN)|g' \
1323               -e 's|@''GNULIB_STRPBRK''@|$(GNULIB_STRPBRK)|g' \
1324               -e 's|@''GNULIB_STRSEP''@|$(GNULIB_STRSEP)|g' \
1325               -e 's|@''GNULIB_STRSTR''@|$(GNULIB_STRSTR)|g' \
1326               -e 's|@''GNULIB_STRCASESTR''@|$(GNULIB_STRCASESTR)|g' \
1327               -e 's|@''GNULIB_STRTOK_R''@|$(GNULIB_STRTOK_R)|g' \
1328               -e 's|@''GNULIB_STRERROR''@|$(GNULIB_STRERROR)|g' \
1329               -e 's|@''GNULIB_STRSIGNAL''@|$(GNULIB_STRSIGNAL)|g' \
1330               -e 's|@''GNULIB_STRVERSCMP''@|$(GNULIB_STRVERSCMP)|g' \
1331               < $(srcdir)/string.in.h | \
1332           sed -e 's|@''HAVE_MBSLEN''@|$(HAVE_MBSLEN)|g' \
1333               -e 's|@''HAVE_MEMCHR''@|$(HAVE_MEMCHR)|g' \
1334               -e 's|@''HAVE_DECL_MEMMEM''@|$(HAVE_DECL_MEMMEM)|g' \
1335               -e 's|@''HAVE_MEMPCPY''@|$(HAVE_MEMPCPY)|g' \
1336               -e 's|@''HAVE_DECL_MEMRCHR''@|$(HAVE_DECL_MEMRCHR)|g' \
1337               -e 's|@''HAVE_RAWMEMCHR''@|$(HAVE_RAWMEMCHR)|g' \
1338               -e 's|@''HAVE_STPCPY''@|$(HAVE_STPCPY)|g' \
1339               -e 's|@''HAVE_STPNCPY''@|$(HAVE_STPNCPY)|g' \
1340               -e 's|@''HAVE_STRCHRNUL''@|$(HAVE_STRCHRNUL)|g' \
1341               -e 's|@''HAVE_DECL_STRDUP''@|$(HAVE_DECL_STRDUP)|g' \
1342               -e 's|@''HAVE_DECL_STRNDUP''@|$(HAVE_DECL_STRNDUP)|g' \
1343               -e 's|@''HAVE_DECL_STRNLEN''@|$(HAVE_DECL_STRNLEN)|g' \
1344               -e 's|@''HAVE_STRPBRK''@|$(HAVE_STRPBRK)|g' \
1345               -e 's|@''HAVE_STRSEP''@|$(HAVE_STRSEP)|g' \
1346               -e 's|@''HAVE_STRCASESTR''@|$(HAVE_STRCASESTR)|g' \
1347               -e 's|@''HAVE_DECL_STRTOK_R''@|$(HAVE_DECL_STRTOK_R)|g' \
1348               -e 's|@''HAVE_DECL_STRSIGNAL''@|$(HAVE_DECL_STRSIGNAL)|g' \
1349               -e 's|@''HAVE_STRVERSCMP''@|$(HAVE_STRVERSCMP)|g' \
1350               -e 's|@''REPLACE_STPNCPY''@|$(REPLACE_STPNCPY)|g' \
1351               -e 's|@''REPLACE_MEMCHR''@|$(REPLACE_MEMCHR)|g' \
1352               -e 's|@''REPLACE_MEMMEM''@|$(REPLACE_MEMMEM)|g' \
1353               -e 's|@''REPLACE_STRCASESTR''@|$(REPLACE_STRCASESTR)|g' \
1354               -e 's|@''REPLACE_STRDUP''@|$(REPLACE_STRDUP)|g' \
1355               -e 's|@''REPLACE_STRSTR''@|$(REPLACE_STRSTR)|g' \
1356               -e 's|@''REPLACE_STRERROR''@|$(REPLACE_STRERROR)|g' \
1357               -e 's|@''REPLACE_STRNCAT''@|$(REPLACE_STRNCAT)|g' \
1358               -e 's|@''REPLACE_STRNDUP''@|$(REPLACE_STRNDUP)|g' \
1359               -e 's|@''REPLACE_STRNLEN''@|$(REPLACE_STRNLEN)|g' \
1360               -e 's|@''REPLACE_STRSIGNAL''@|$(REPLACE_STRSIGNAL)|g' \
1361               -e 's|@''REPLACE_STRTOK_R''@|$(REPLACE_STRTOK_R)|g' \
1362               -e 's|@''UNDEFINE_STRTOK_R''@|$(UNDEFINE_STRTOK_R)|g' \
1363               -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
1364               -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
1365               -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)'; \
1366               < $(srcdir)/string.in.h; \
1367         } > $@-t && \
1368         mv $@-t $@
1369 MOSTLYCLEANFILES += string.h string.h-t
1370
1371 EXTRA_DIST += string.in.h
1372
1373 ## end   gnulib module string
1374
1375 ## begin gnulib module strndup
1376
1377
1378 EXTRA_DIST += strndup.c
1379
1380 EXTRA_libgreputils_a_SOURCES += strndup.c
1381
1382 ## end   gnulib module strndup
1383
1384 ## begin gnulib module strnlen
1385
1386
1387 EXTRA_DIST += strnlen.c
1388
1389 EXTRA_libgreputils_a_SOURCES += strnlen.c
1390
1391 ## end   gnulib module strnlen
1392
1393 ## begin gnulib module strnlen1
1394
1395 libgreputils_a_SOURCES += strnlen1.h strnlen1.c
1396
1397 ## end   gnulib module strnlen1
1398
1399 ## begin gnulib module strtoimax
1400
1401
1402 EXTRA_DIST += strtoimax.c
1403
1404 EXTRA_libgreputils_a_SOURCES += strtoimax.c
1405
1406 ## end   gnulib module strtoimax
1407
1408 ## begin gnulib module strtol
1409
1410
1411 EXTRA_DIST += strtol.c
1412
1413 EXTRA_libgreputils_a_SOURCES += strtol.c
1414
1415 ## end   gnulib module strtol
1416
1417 ## begin gnulib module strtoll
1418
1419
1420 EXTRA_DIST += strtoll.c
1421
1422 EXTRA_libgreputils_a_SOURCES += strtoll.c
1423
1424 ## end   gnulib module strtoll
1425
1426 ## begin gnulib module strtoul
1427
1428
1429 EXTRA_DIST += strtoul.c
1430
1431 EXTRA_libgreputils_a_SOURCES += strtoul.c
1432
1433 ## end   gnulib module strtoul
1434
1435 ## begin gnulib module strtoull
1436
1437
1438 EXTRA_DIST += strtoull.c
1439
1440 EXTRA_libgreputils_a_SOURCES += strtoull.c
1441
1442 ## end   gnulib module strtoull
1443
1444 ## begin gnulib module strtoumax
1445
1446
1447 EXTRA_DIST += strtoumax.c
1448
1449 EXTRA_libgreputils_a_SOURCES += strtoumax.c
1450
1451 ## end   gnulib module strtoumax
1452
1453 ## begin gnulib module sys_stat
1454
1455 BUILT_SOURCES += sys/stat.h
1456
1457 # We need the following in order to create <sys/stat.h> when the system
1458 # has one that is incomplete.
1459 sys/stat.h: sys_stat.in.h $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
1460         $(AM_V_at)$(MKDIR_P) sys
1461         $(AM_V_GEN)rm -f $@-t $@ && \
1462         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
1463           sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1464               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1465               -e 's|@''NEXT_SYS_STAT_H''@|$(NEXT_SYS_STAT_H)|g' \
1466               -e 's|@''GNULIB_FCHMODAT''@|$(GNULIB_FCHMODAT)|g' \
1467               -e 's|@''GNULIB_FSTATAT''@|$(GNULIB_FSTATAT)|g' \
1468               -e 's|@''GNULIB_FUTIMENS''@|$(GNULIB_FUTIMENS)|g' \
1469               -e 's|@''GNULIB_LCHMOD''@|$(GNULIB_LCHMOD)|g' \
1470               -e 's|@''GNULIB_LSTAT''@|$(GNULIB_LSTAT)|g' \
1471               -e 's|@''GNULIB_MKDIRAT''@|$(GNULIB_MKDIRAT)|g' \
1472               -e 's|@''GNULIB_MKFIFO''@|$(GNULIB_MKFIFO)|g' \
1473               -e 's|@''GNULIB_MKFIFOAT''@|$(GNULIB_MKFIFOAT)|g' \
1474               -e 's|@''GNULIB_MKNOD''@|$(GNULIB_MKNOD)|g' \
1475               -e 's|@''GNULIB_MKNODAT''@|$(GNULIB_MKNODAT)|g' \
1476               -e 's|@''GNULIB_STAT''@|$(GNULIB_STAT)|g' \
1477               -e 's|@''GNULIB_UTIMENSAT''@|$(GNULIB_UTIMENSAT)|g' \
1478               -e 's|@''HAVE_FCHMODAT''@|$(HAVE_FCHMODAT)|g' \
1479               -e 's|@''HAVE_FSTATAT''@|$(HAVE_FSTATAT)|g' \
1480               -e 's|@''HAVE_FUTIMENS''@|$(HAVE_FUTIMENS)|g' \
1481               -e 's|@''HAVE_LCHMOD''@|$(HAVE_LCHMOD)|g' \
1482               -e 's|@''HAVE_LSTAT''@|$(HAVE_LSTAT)|g' \
1483               -e 's|@''HAVE_MKDIRAT''@|$(HAVE_MKDIRAT)|g' \
1484               -e 's|@''HAVE_MKFIFO''@|$(HAVE_MKFIFO)|g' \
1485               -e 's|@''HAVE_MKFIFOAT''@|$(HAVE_MKFIFOAT)|g' \
1486               -e 's|@''HAVE_MKNOD''@|$(HAVE_MKNOD)|g' \
1487               -e 's|@''HAVE_MKNODAT''@|$(HAVE_MKNODAT)|g' \
1488               -e 's|@''HAVE_UTIMENSAT''@|$(HAVE_UTIMENSAT)|g' \
1489               -e 's|@''REPLACE_FSTAT''@|$(REPLACE_FSTAT)|g' \
1490               -e 's|@''REPLACE_FSTATAT''@|$(REPLACE_FSTATAT)|g' \
1491               -e 's|@''REPLACE_FUTIMENS''@|$(REPLACE_FUTIMENS)|g' \
1492               -e 's|@''REPLACE_LSTAT''@|$(REPLACE_LSTAT)|g' \
1493               -e 's|@''REPLACE_MKDIR''@|$(REPLACE_MKDIR)|g' \
1494               -e 's|@''REPLACE_MKFIFO''@|$(REPLACE_MKFIFO)|g' \
1495               -e 's|@''REPLACE_MKNOD''@|$(REPLACE_MKNOD)|g' \
1496               -e 's|@''REPLACE_STAT''@|$(REPLACE_STAT)|g' \
1497               -e 's|@''REPLACE_UTIMENSAT''@|$(REPLACE_UTIMENSAT)|g' \
1498               -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
1499               -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
1500               -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
1501               < $(srcdir)/sys_stat.in.h; \
1502         } > $@-t && \
1503         mv $@-t $@
1504 MOSTLYCLEANFILES += sys/stat.h sys/stat.h-t
1505 MOSTLYCLEANDIRS += sys
1506
1507 EXTRA_DIST += sys_stat.in.h
1508
1509 ## end   gnulib module sys_stat
1510
1511 ## begin gnulib module time
1512
1513 BUILT_SOURCES += time.h
1514
1515 # We need the following in order to create <time.h> when the system
1516 # doesn't have one that works with the given compiler.
1517 time.h: time.in.h $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
1518         $(AM_V_GEN)rm -f $@-t $@ && \
1519         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
1520           sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1521               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1522               -e 's|@''NEXT_TIME_H''@|$(NEXT_TIME_H)|g' \
1523               -e 's|@''GNULIB_MKTIME''@|$(GNULIB_MKTIME)|g' \
1524               -e 's|@''GNULIB_NANOSLEEP''@|$(GNULIB_NANOSLEEP)|g' \
1525               -e 's|@''GNULIB_STRPTIME''@|$(GNULIB_STRPTIME)|g' \
1526               -e 's|@''GNULIB_TIMEGM''@|$(GNULIB_TIMEGM)|g' \
1527               -e 's|@''GNULIB_TIME_R''@|$(GNULIB_TIME_R)|g' \
1528               -e 's|@''HAVE_LOCALTIME_R''@|$(HAVE_LOCALTIME_R)|g' \
1529               -e 's|@''HAVE_NANOSLEEP''@|$(HAVE_NANOSLEEP)|g' \
1530               -e 's|@''HAVE_STRPTIME''@|$(HAVE_STRPTIME)|g' \
1531               -e 's|@''HAVE_TIMEGM''@|$(HAVE_TIMEGM)|g' \
1532               -e 's|@''REPLACE_LOCALTIME_R''@|$(REPLACE_LOCALTIME_R)|g' \
1533               -e 's|@''REPLACE_MKTIME''@|$(REPLACE_MKTIME)|g' \
1534               -e 's|@''REPLACE_NANOSLEEP''@|$(REPLACE_NANOSLEEP)|g' \
1535               -e 's|@''REPLACE_TIMEGM''@|$(REPLACE_TIMEGM)|g' \
1536               -e 's|@''PTHREAD_H_DEFINES_STRUCT_TIMESPEC''@|$(PTHREAD_H_DEFINES_STRUCT_TIMESPEC)|g' \
1537               -e 's|@''SYS_TIME_H_DEFINES_STRUCT_TIMESPEC''@|$(SYS_TIME_H_DEFINES_STRUCT_TIMESPEC)|g' \
1538               -e 's|@''TIME_H_DEFINES_STRUCT_TIMESPEC''@|$(TIME_H_DEFINES_STRUCT_TIMESPEC)|g' \
1539               -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
1540               -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
1541               -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
1542               < $(srcdir)/time.in.h; \
1543         } > $@-t && \
1544         mv $@-t $@
1545 MOSTLYCLEANFILES += time.h time.h-t
1546
1547 EXTRA_DIST += time.in.h
1548
1549 ## end   gnulib module time
1550
1551 ## begin gnulib module trim
1552
1553 libgreputils_a_SOURCES += trim.c
1554
1555 EXTRA_DIST += trim.h
1556
1557 ## end   gnulib module trim
1558
1559 ## begin gnulib module unistd
1560
1561 BUILT_SOURCES += unistd.h
1562
1563 # We need the following in order to create an empty placeholder for
1564 # <unistd.h> when the system doesn't have one.
1565 unistd.h: unistd.in.h $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
1566         $(AM_V_GEN)rm -f $@-t $@ && \
1567         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
1568           sed -e 's|@''HAVE_UNISTD_H''@|$(HAVE_UNISTD_H)|g' \
1569               -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1570               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1571               -e 's|@''NEXT_UNISTD_H''@|$(NEXT_UNISTD_H)|g' \
1572               -e 's|@''GNULIB_CHOWN''@|$(GNULIB_CHOWN)|g' \
1573               -e 's|@''GNULIB_CLOSE''@|$(GNULIB_CLOSE)|g' \
1574               -e 's|@''GNULIB_DUP2''@|$(GNULIB_DUP2)|g' \
1575               -e 's|@''GNULIB_DUP3''@|$(GNULIB_DUP3)|g' \
1576               -e 's|@''GNULIB_ENVIRON''@|$(GNULIB_ENVIRON)|g' \
1577               -e 's|@''GNULIB_EUIDACCESS''@|$(GNULIB_EUIDACCESS)|g' \
1578               -e 's|@''GNULIB_FACCESSAT''@|$(GNULIB_FACCESSAT)|g' \
1579               -e 's|@''GNULIB_FCHDIR''@|$(GNULIB_FCHDIR)|g' \
1580               -e 's|@''GNULIB_FCHOWNAT''@|$(GNULIB_FCHOWNAT)|g' \
1581               -e 's|@''GNULIB_FSYNC''@|$(GNULIB_FSYNC)|g' \
1582               -e 's|@''GNULIB_FTRUNCATE''@|$(GNULIB_FTRUNCATE)|g' \
1583               -e 's|@''GNULIB_GETCWD''@|$(GNULIB_GETCWD)|g' \
1584               -e 's|@''GNULIB_GETDOMAINNAME''@|$(GNULIB_GETDOMAINNAME)|g' \
1585               -e 's|@''GNULIB_GETDTABLESIZE''@|$(GNULIB_GETDTABLESIZE)|g' \
1586               -e 's|@''GNULIB_GETGROUPS''@|$(GNULIB_GETGROUPS)|g' \
1587               -e 's|@''GNULIB_GETHOSTNAME''@|$(GNULIB_GETHOSTNAME)|g' \
1588               -e 's|@''GNULIB_GETLOGIN''@|$(GNULIB_GETLOGIN)|g' \
1589               -e 's|@''GNULIB_GETLOGIN_R''@|$(GNULIB_GETLOGIN_R)|g' \
1590               -e 's|@''GNULIB_GETPAGESIZE''@|$(GNULIB_GETPAGESIZE)|g' \
1591               -e 's|@''GNULIB_GETUSERSHELL''@|$(GNULIB_GETUSERSHELL)|g' \
1592               -e 's|@''GNULIB_LCHOWN''@|$(GNULIB_LCHOWN)|g' \
1593               -e 's|@''GNULIB_LINK''@|$(GNULIB_LINK)|g' \
1594               -e 's|@''GNULIB_LINKAT''@|$(GNULIB_LINKAT)|g' \
1595               -e 's|@''GNULIB_LSEEK''@|$(GNULIB_LSEEK)|g' \
1596               -e 's|@''GNULIB_PIPE2''@|$(GNULIB_PIPE2)|g' \
1597               -e 's|@''GNULIB_PREAD''@|$(GNULIB_PREAD)|g' \
1598               -e 's|@''GNULIB_PWRITE''@|$(GNULIB_PWRITE)|g' \
1599               -e 's|@''GNULIB_READLINK''@|$(GNULIB_READLINK)|g' \
1600               -e 's|@''GNULIB_READLINKAT''@|$(GNULIB_READLINKAT)|g' \
1601               -e 's|@''GNULIB_RMDIR''@|$(GNULIB_RMDIR)|g' \
1602               -e 's|@''GNULIB_SLEEP''@|$(GNULIB_SLEEP)|g' \
1603               -e 's|@''GNULIB_SYMLINK''@|$(GNULIB_SYMLINK)|g' \
1604               -e 's|@''GNULIB_SYMLINKAT''@|$(GNULIB_SYMLINKAT)|g' \
1605               -e 's|@''GNULIB_TTYNAME_R''@|$(GNULIB_TTYNAME_R)|g' \
1606               -e 's|@''GNULIB_UNISTD_H_GETOPT''@|$(GNULIB_UNISTD_H_GETOPT)|g' \
1607               -e 's|@''GNULIB_UNISTD_H_SIGPIPE''@|$(GNULIB_UNISTD_H_SIGPIPE)|g' \
1608               -e 's|@''GNULIB_UNLINK''@|$(GNULIB_UNLINK)|g' \
1609               -e 's|@''GNULIB_UNLINKAT''@|$(GNULIB_UNLINKAT)|g' \
1610               -e 's|@''GNULIB_USLEEP''@|$(GNULIB_USLEEP)|g' \
1611               -e 's|@''GNULIB_WRITE''@|$(GNULIB_WRITE)|g' \
1612               < $(srcdir)/unistd.in.h | \
1613           sed -e 's|@''HAVE_CHOWN''@|$(HAVE_CHOWN)|g' \
1614               -e 's|@''HAVE_DUP2''@|$(HAVE_DUP2)|g' \
1615               -e 's|@''HAVE_DUP3''@|$(HAVE_DUP3)|g' \
1616               -e 's|@''HAVE_EUIDACCESS''@|$(HAVE_EUIDACCESS)|g' \
1617               -e 's|@''HAVE_FACCESSAT''@|$(HAVE_FACCESSAT)|g' \
1618               -e 's|@''HAVE_FCHDIR''@|$(HAVE_FCHDIR)|g' \
1619               -e 's|@''HAVE_FCHOWNAT''@|$(HAVE_FCHOWNAT)|g' \
1620               -e 's|@''HAVE_FSYNC''@|$(HAVE_FSYNC)|g' \
1621               -e 's|@''HAVE_FTRUNCATE''@|$(HAVE_FTRUNCATE)|g' \
1622               -e 's|@''HAVE_GETDOMAINNAME''@|$(HAVE_GETDOMAINNAME)|g' \
1623               -e 's|@''HAVE_GETDTABLESIZE''@|$(HAVE_GETDTABLESIZE)|g' \
1624               -e 's|@''HAVE_GETGROUPS''@|$(HAVE_GETGROUPS)|g' \
1625               -e 's|@''HAVE_GETHOSTNAME''@|$(HAVE_GETHOSTNAME)|g' \
1626               -e 's|@''HAVE_GETLOGIN''@|$(HAVE_GETLOGIN)|g' \
1627               -e 's|@''HAVE_GETPAGESIZE''@|$(HAVE_GETPAGESIZE)|g' \
1628               -e 's|@''HAVE_LCHOWN''@|$(HAVE_LCHOWN)|g' \
1629               -e 's|@''HAVE_LINK''@|$(HAVE_LINK)|g' \
1630               -e 's|@''HAVE_LINKAT''@|$(HAVE_LINKAT)|g' \
1631               -e 's|@''HAVE_PIPE2''@|$(HAVE_PIPE2)|g' \
1632               -e 's|@''HAVE_PREAD''@|$(HAVE_PREAD)|g' \
1633               -e 's|@''HAVE_PWRITE''@|$(HAVE_PWRITE)|g' \
1634               -e 's|@''HAVE_READLINK''@|$(HAVE_READLINK)|g' \
1635               -e 's|@''HAVE_READLINKAT''@|$(HAVE_READLINKAT)|g' \
1636               -e 's|@''HAVE_SLEEP''@|$(HAVE_SLEEP)|g' \
1637               -e 's|@''HAVE_SYMLINK''@|$(HAVE_SYMLINK)|g' \
1638               -e 's|@''HAVE_SYMLINKAT''@|$(HAVE_SYMLINKAT)|g' \
1639               -e 's|@''HAVE_TTYNAME_R''@|$(HAVE_TTYNAME_R)|g' \
1640               -e 's|@''HAVE_UNLINKAT''@|$(HAVE_UNLINKAT)|g' \
1641               -e 's|@''HAVE_USLEEP''@|$(HAVE_USLEEP)|g' \
1642               -e 's|@''HAVE_DECL_ENVIRON''@|$(HAVE_DECL_ENVIRON)|g' \
1643               -e 's|@''HAVE_DECL_GETLOGIN_R''@|$(HAVE_DECL_GETLOGIN_R)|g' \
1644               -e 's|@''HAVE_DECL_GETPAGESIZE''@|$(HAVE_DECL_GETPAGESIZE)|g' \
1645               -e 's|@''HAVE_DECL_GETUSERSHELL''@|$(HAVE_DECL_GETUSERSHELL)|g' \
1646               -e 's|@''HAVE_OS_H''@|$(HAVE_OS_H)|g' \
1647               -e 's|@''HAVE_SYS_PARAM_H''@|$(HAVE_SYS_PARAM_H)|g' \
1648               -e 's|@''REPLACE_CHOWN''@|$(REPLACE_CHOWN)|g' \
1649               -e 's|@''REPLACE_CLOSE''@|$(REPLACE_CLOSE)|g' \
1650               -e 's|@''REPLACE_DUP''@|$(REPLACE_DUP)|g' \
1651               -e 's|@''REPLACE_DUP2''@|$(REPLACE_DUP2)|g' \
1652               -e 's|@''REPLACE_FCHOWNAT''@|$(REPLACE_FCHOWNAT)|g' \
1653               -e 's|@''REPLACE_GETCWD''@|$(REPLACE_GETCWD)|g' \
1654               -e 's|@''REPLACE_GETGROUPS''@|$(REPLACE_GETGROUPS)|g' \
1655               -e 's|@''REPLACE_GETPAGESIZE''@|$(REPLACE_GETPAGESIZE)|g' \
1656               -e 's|@''REPLACE_LCHOWN''@|$(REPLACE_LCHOWN)|g' \
1657               -e 's|@''REPLACE_LINK''@|$(REPLACE_LINK)|g' \
1658               -e 's|@''REPLACE_LINKAT''@|$(REPLACE_LINKAT)|g' \
1659               -e 's|@''REPLACE_LSEEK''@|$(REPLACE_LSEEK)|g' \
1660               -e 's|@''REPLACE_PREAD''@|$(REPLACE_PREAD)|g' \
1661               -e 's|@''REPLACE_PWRITE''@|$(REPLACE_PWRITE)|g' \
1662               -e 's|@''REPLACE_READLINK''@|$(REPLACE_READLINK)|g' \
1663               -e 's|@''REPLACE_RMDIR''@|$(REPLACE_RMDIR)|g' \
1664               -e 's|@''REPLACE_SLEEP''@|$(REPLACE_SLEEP)|g' \
1665               -e 's|@''REPLACE_SYMLINK''@|$(REPLACE_SYMLINK)|g' \
1666               -e 's|@''REPLACE_TTYNAME_R''@|$(REPLACE_TTYNAME_R)|g' \
1667               -e 's|@''REPLACE_UNLINK''@|$(REPLACE_UNLINK)|g' \
1668               -e 's|@''REPLACE_UNLINKAT''@|$(REPLACE_UNLINKAT)|g' \
1669               -e 's|@''REPLACE_USLEEP''@|$(REPLACE_USLEEP)|g' \
1670               -e 's|@''REPLACE_WRITE''@|$(REPLACE_WRITE)|g' \
1671               -e 's|@''UNISTD_H_HAVE_WINSOCK2_H''@|$(UNISTD_H_HAVE_WINSOCK2_H)|g' \
1672               -e 's|@''UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS''@|$(UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS)|g' \
1673               -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
1674               -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
1675               -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)'; \
1676         } > $@-t && \
1677         mv $@-t $@
1678 MOSTLYCLEANFILES += unistd.h unistd.h-t
1679
1680 EXTRA_DIST += unistd.in.h
1681
1682 ## end   gnulib module unistd
1683
1684 ## begin gnulib module unitypes
1685
1686 BUILT_SOURCES += $(LIBUNISTRING_UNITYPES_H)
1687
1688 unitypes.h: unitypes.in.h
1689         $(AM_V_GEN)rm -f $@-t $@ && \
1690         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
1691           cat $(srcdir)/unitypes.in.h; \
1692         } > $@-t && \
1693         mv -f $@-t $@
1694 MOSTLYCLEANFILES += unitypes.h unitypes.h-t
1695
1696 EXTRA_DIST += unitypes.in.h
1697
1698 ## end   gnulib module unitypes
1699
1700 ## begin gnulib module uniwidth/base
1701
1702 BUILT_SOURCES += $(LIBUNISTRING_UNIWIDTH_H)
1703
1704 uniwidth.h: uniwidth.in.h
1705         $(AM_V_GEN)rm -f $@-t $@ && \
1706         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
1707           cat $(srcdir)/uniwidth.in.h; \
1708         } > $@-t && \
1709         mv -f $@-t $@
1710 MOSTLYCLEANFILES += uniwidth.h uniwidth.h-t
1711
1712 EXTRA_DIST += localcharset.h uniwidth.in.h
1713
1714 ## end   gnulib module uniwidth/base
1715
1716 ## begin gnulib module uniwidth/width
1717
1718 if LIBUNISTRING_COMPILE_UNIWIDTH_WIDTH
1719 libgreputils_a_SOURCES += uniwidth/width.c
1720 endif
1721
1722 EXTRA_DIST += uniwidth/cjk.h
1723
1724 ## end   gnulib module uniwidth/width
1725
1726 ## begin gnulib module unlocked-io
1727
1728
1729 EXTRA_DIST += unlocked-io.h
1730
1731 ## end   gnulib module unlocked-io
1732
1733 ## begin gnulib module update-copyright
1734
1735
1736 EXTRA_DIST += $(top_srcdir)/build-aux/update-copyright
1737
1738 ## end   gnulib module update-copyright
1739
1740 ## begin gnulib module useless-if-before-free
1741
1742
1743 EXTRA_DIST += $(top_srcdir)/build-aux/useless-if-before-free
1744
1745 ## end   gnulib module useless-if-before-free
1746
1747 ## begin gnulib module vc-list-files
1748
1749
1750 EXTRA_DIST += $(top_srcdir)/build-aux/vc-list-files
1751
1752 ## end   gnulib module vc-list-files
1753
1754 ## begin gnulib module verify
1755
1756 libgreputils_a_SOURCES += verify.h
1757
1758 ## end   gnulib module verify
1759
1760 ## begin gnulib module version-etc
1761
1762 libgreputils_a_SOURCES += version-etc.h version-etc.c
1763
1764 ## end   gnulib module version-etc
1765
1766 ## begin gnulib module version-etc-fsf
1767
1768 libgreputils_a_SOURCES += version-etc-fsf.c
1769
1770 ## end   gnulib module version-etc-fsf
1771
1772 ## begin gnulib module warn-on-use
1773
1774 BUILT_SOURCES += warn-on-use.h
1775 # The warn-on-use.h that gets inserted into generated .h files is the same as
1776 # build-aux/warn-on-use.h, except that it has the copyright header cut off.
1777 warn-on-use.h: $(top_srcdir)/build-aux/warn-on-use.h
1778         $(AM_V_GEN)rm -f $@-t $@ && \
1779         sed -n -e '/^.ifndef/,$$p' \
1780           < $(top_srcdir)/build-aux/warn-on-use.h \
1781           > $@-t && \
1782         mv $@-t $@
1783 MOSTLYCLEANFILES += warn-on-use.h warn-on-use.h-t
1784
1785 WARN_ON_USE_H=warn-on-use.h
1786
1787 EXTRA_DIST += $(top_srcdir)/build-aux/warn-on-use.h
1788
1789 ## end   gnulib module warn-on-use
1790
1791 ## begin gnulib module wchar
1792
1793 BUILT_SOURCES += wchar.h
1794
1795 # We need the following in order to create <wchar.h> when the system
1796 # version does not work standalone.
1797 wchar.h: wchar.in.h $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
1798         $(AM_V_GEN)rm -f $@-t $@ && \
1799         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
1800           sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1801               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1802               -e 's|@''NEXT_WCHAR_H''@|$(NEXT_WCHAR_H)|g' \
1803               -e 's|@''HAVE_WCHAR_H''@|$(HAVE_WCHAR_H)|g' \
1804               -e 's|@''GNULIB_BTOWC''@|$(GNULIB_BTOWC)|g' \
1805               -e 's|@''GNULIB_WCTOB''@|$(GNULIB_WCTOB)|g' \
1806               -e 's|@''GNULIB_MBSINIT''@|$(GNULIB_MBSINIT)|g' \
1807               -e 's|@''GNULIB_MBRTOWC''@|$(GNULIB_MBRTOWC)|g' \
1808               -e 's|@''GNULIB_MBRLEN''@|$(GNULIB_MBRLEN)|g' \
1809               -e 's|@''GNULIB_MBSRTOWCS''@|$(GNULIB_MBSRTOWCS)|g' \
1810               -e 's|@''GNULIB_MBSNRTOWCS''@|$(GNULIB_MBSNRTOWCS)|g' \
1811               -e 's|@''GNULIB_WCRTOMB''@|$(GNULIB_WCRTOMB)|g' \
1812               -e 's|@''GNULIB_WCSRTOMBS''@|$(GNULIB_WCSRTOMBS)|g' \
1813               -e 's|@''GNULIB_WCSNRTOMBS''@|$(GNULIB_WCSNRTOMBS)|g' \
1814               -e 's|@''GNULIB_WCWIDTH''@|$(GNULIB_WCWIDTH)|g' \
1815               -e 's|@''HAVE_WINT_T''@|$(HAVE_WINT_T)|g' \
1816               -e 's|@''HAVE_BTOWC''@|$(HAVE_BTOWC)|g' \
1817               -e 's|@''HAVE_MBSINIT''@|$(HAVE_MBSINIT)|g' \
1818               -e 's|@''HAVE_MBRTOWC''@|$(HAVE_MBRTOWC)|g' \
1819               -e 's|@''HAVE_MBRLEN''@|$(HAVE_MBRLEN)|g' \
1820               -e 's|@''HAVE_MBSRTOWCS''@|$(HAVE_MBSRTOWCS)|g' \
1821               -e 's|@''HAVE_MBSNRTOWCS''@|$(HAVE_MBSNRTOWCS)|g' \
1822               -e 's|@''HAVE_WCRTOMB''@|$(HAVE_WCRTOMB)|g' \
1823               -e 's|@''HAVE_WCSRTOMBS''@|$(HAVE_WCSRTOMBS)|g' \
1824               -e 's|@''HAVE_WCSNRTOMBS''@|$(HAVE_WCSNRTOMBS)|g' \
1825               -e 's|@''HAVE_DECL_WCTOB''@|$(HAVE_DECL_WCTOB)|g' \
1826               -e 's|@''HAVE_DECL_WCWIDTH''@|$(HAVE_DECL_WCWIDTH)|g' \
1827               -e 's|@''REPLACE_MBSTATE_T''@|$(REPLACE_MBSTATE_T)|g' \
1828               -e 's|@''REPLACE_BTOWC''@|$(REPLACE_BTOWC)|g' \
1829               -e 's|@''REPLACE_WCTOB''@|$(REPLACE_WCTOB)|g' \
1830               -e 's|@''REPLACE_MBSINIT''@|$(REPLACE_MBSINIT)|g' \
1831               -e 's|@''REPLACE_MBRTOWC''@|$(REPLACE_MBRTOWC)|g' \
1832               -e 's|@''REPLACE_MBRLEN''@|$(REPLACE_MBRLEN)|g' \
1833               -e 's|@''REPLACE_MBSRTOWCS''@|$(REPLACE_MBSRTOWCS)|g' \
1834               -e 's|@''REPLACE_MBSNRTOWCS''@|$(REPLACE_MBSNRTOWCS)|g' \
1835               -e 's|@''REPLACE_WCRTOMB''@|$(REPLACE_WCRTOMB)|g' \
1836               -e 's|@''REPLACE_WCSRTOMBS''@|$(REPLACE_WCSRTOMBS)|g' \
1837               -e 's|@''REPLACE_WCSNRTOMBS''@|$(REPLACE_WCSNRTOMBS)|g' \
1838               -e 's|@''REPLACE_WCWIDTH''@|$(REPLACE_WCWIDTH)|g' \
1839               -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
1840               -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
1841               -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
1842             < $(srcdir)/wchar.in.h; \
1843         } > $@-t && \
1844         mv $@-t $@
1845 MOSTLYCLEANFILES += wchar.h wchar.h-t
1846
1847 EXTRA_DIST += wchar.in.h
1848
1849 ## end   gnulib module wchar
1850
1851 ## begin gnulib module wcrtomb
1852
1853
1854 EXTRA_DIST += wcrtomb.c
1855
1856 EXTRA_libgreputils_a_SOURCES += wcrtomb.c
1857
1858 ## end   gnulib module wcrtomb
1859
1860 ## begin gnulib module wctob
1861
1862
1863 EXTRA_DIST += wctob.c
1864
1865 EXTRA_libgreputils_a_SOURCES += wctob.c
1866
1867 ## end   gnulib module wctob
1868
1869 ## begin gnulib module wctype
1870
1871 BUILT_SOURCES += wctype.h
1872
1873 # We need the following in order to create <wctype.h> when the system
1874 # doesn't have one that works with the given compiler.
1875 wctype.h: wctype.in.h $(CXXDEFS_H) $(WARN_ON_USE_H)
1876         $(AM_V_GEN)rm -f $@-t $@ && \
1877         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
1878           sed -e 's/@''HAVE_WCTYPE_H''@/$(HAVE_WCTYPE_H)/g' \
1879               -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1880               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1881               -e 's|@''NEXT_WCTYPE_H''@|$(NEXT_WCTYPE_H)|g' \
1882               -e 's/@''HAVE_ISWBLANK''@/$(HAVE_ISWBLANK)/g' \
1883               -e 's/@''HAVE_ISWCNTRL''@/$(HAVE_ISWCNTRL)/g' \
1884               -e 's/@''HAVE_WINT_T''@/$(HAVE_WINT_T)/g' \
1885               -e 's/@''REPLACE_ISWBLANK''@/$(REPLACE_ISWBLANK)/g' \
1886               -e 's/@''REPLACE_ISWCNTRL''@/$(REPLACE_ISWCNTRL)/g' \
1887               -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
1888               -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
1889               < $(srcdir)/wctype.in.h; \
1890         } > $@-t && \
1891         mv $@-t $@
1892 MOSTLYCLEANFILES += wctype.h wctype.h-t
1893
1894 EXTRA_DIST += wctype.in.h
1895
1896 ## end   gnulib module wctype
1897
1898 ## begin gnulib module wcwidth
1899
1900
1901 EXTRA_DIST += wcwidth.c
1902
1903 EXTRA_libgreputils_a_SOURCES += wcwidth.c
1904
1905 ## end   gnulib module wcwidth
1906
1907 ## begin gnulib module xalloc
1908
1909
1910 EXTRA_DIST += xalloc.h xmalloc.c
1911
1912 EXTRA_libgreputils_a_SOURCES += xmalloc.c
1913
1914 ## end   gnulib module xalloc
1915
1916 ## begin gnulib module xalloc-die
1917
1918 libgreputils_a_SOURCES += xalloc-die.c
1919
1920 ## end   gnulib module xalloc-die
1921
1922 ## begin gnulib module xstriconv
1923
1924 libgreputils_a_SOURCES += xstriconv.h xstriconv.c
1925
1926 ## end   gnulib module xstriconv
1927
1928 ## begin gnulib module xstrndup
1929
1930 libgreputils_a_SOURCES += xstrndup.h xstrndup.c
1931
1932 ## end   gnulib module xstrndup
1933
1934 ## begin gnulib module xstrtol
1935
1936
1937 EXTRA_DIST += xstrtol-error.c xstrtol.c xstrtol.h xstrtoul.c
1938
1939 EXTRA_libgreputils_a_SOURCES += xstrtol-error.c xstrtol.c xstrtoul.c
1940
1941 ## end   gnulib module xstrtol
1942
1943 ## begin gnulib module xstrtoumax
1944
1945 libgreputils_a_SOURCES += xstrtoumax.c
1946
1947 ## end   gnulib module xstrtoumax
1948
1949
1950 mostlyclean-local: mostlyclean-generic
1951         @for dir in '' $(MOSTLYCLEANDIRS); do \
1952           if test -n "$$dir" && test -d $$dir; then \
1953             echo "rmdir $$dir"; rmdir $$dir; \
1954           fi; \
1955         done; \
1956         :