Imported Upstream version 0.19.7
[platform/upstream/gettext.git] / gettext-tools / libgettextpo / Makefile.gnulib
1 ## DO NOT EDIT! GENERATED AUTOMATICALLY!
2 ## Process this file with automake to produce Makefile.in.
3 # Copyright (C) 2002-2015 Free Software Foundation, Inc.
4 #
5 # This file is free software; you can redistribute it and/or modify
6 # it under the terms of the GNU General Public License as published by
7 # the Free Software Foundation; either version 3 of the License, or
8 # (at your option) any later version.
9 #
10 # This file is distributed in the hope that it will be useful,
11 # but WITHOUT ANY WARRANTY; without even the implied warranty of
12 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13 # GNU General Public License for more details.
14 #
15 # You should have received a copy of the GNU General Public License
16 # along with this file.  If not, see <http://www.gnu.org/licenses/>.
17 #
18 # As a special exception to the GNU General Public License,
19 # this file may be distributed as part of a program that
20 # contains a configuration script generated by Autoconf, under
21 # the same distribution terms as the rest of that program.
22 #
23 # Generated by gnulib-tool.
24 # Reproduce by: gnulib-tool --import --local-dir=gnulib-local --lib=libgnu --source-base=libgettextpo --m4-base=libgettextpo/gnulib-m4 --doc-base=doc --tests-base=tests --aux-dir=../build-aux --makefile-name=Makefile.gnulib --no-conditional-dependencies --libtool --macro-prefix=gtpo basename c-ctype c-strcase c-strstr close error error-progname file-ostream filename fopen fstrcmp fwriteerror gcd getline gettext-h hash iconv libunistring-optional markup minmax open ostream progname relocatable-lib sigpipe stdbool stdio stdlib stpcpy stpncpy strchrnul strerror unictype/ctype-space unilbrk/ulc-width-linebreaks unistr/u16-mbtouc unistr/u8-mbtouc unistr/u8-mbtoucr unistr/u8-uctomb uniwidth/width unlocked-io vasprintf xalloc xconcat-filename xerror xmalloca xstriconv xvasprintf
25
26
27 MOSTLYCLEANFILES += core *.stackdump
28
29 noinst_LTLIBRARIES += libgnu.la
30
31 libgnu_la_SOURCES =
32 libgnu_la_LIBADD = $(gtpo_LTLIBOBJS)
33 libgnu_la_DEPENDENCIES = $(gtpo_LTLIBOBJS)
34 EXTRA_libgnu_la_SOURCES =
35 libgnu_la_LDFLAGS = $(AM_LDFLAGS)
36 libgnu_la_LDFLAGS += -no-undefined
37 libgnu_la_LDFLAGS += $(LTLIBICONV)
38 libgnu_la_LDFLAGS += $(LTLIBINTL)
39 libgnu_la_LDFLAGS += $(LTLIBTHREAD)
40 libgnu_la_LDFLAGS += $(LTLIBUNISTRING)
41
42 ## begin gnulib module absolute-header
43
44 # Use this preprocessor expression to decide whether #include_next works.
45 # Do not rely on a 'configure'-time test for this, since the expression
46 # might appear in an installed header, which is used by some other compiler.
47 HAVE_INCLUDE_NEXT = (__GNUC__ || 60000000 <= __DECC_VER)
48
49 ## end   gnulib module absolute-header
50
51 ## begin gnulib module alignof
52
53
54 EXTRA_DIST += alignof.h
55
56 ## end   gnulib module alignof
57
58 ## begin gnulib module alloca-opt
59
60 BUILT_SOURCES += $(ALLOCA_H)
61
62 # We need the following in order to create <alloca.h> when the system
63 # doesn't have one that works with the given compiler.
64 if GL_GENERATE_ALLOCA_H
65 alloca.h: alloca.in.h $(top_builddir)/config.status
66         $(AM_V_GEN)rm -f $@-t $@ && \
67         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
68           cat $(srcdir)/alloca.in.h; \
69         } > $@-t && \
70         mv -f $@-t $@
71 else
72 alloca.h: $(top_builddir)/config.status
73         rm -f $@
74 endif
75 MOSTLYCLEANFILES += alloca.h alloca.h-t
76
77 EXTRA_DIST += alloca.in.h
78
79 ## end   gnulib module alloca-opt
80
81 ## begin gnulib module basename
82
83 libgnu_la_SOURCES += basename.h basename.c
84
85 ## end   gnulib module basename
86
87 ## begin gnulib module c-ctype
88
89 libgnu_la_SOURCES += c-ctype.h c-ctype.c
90
91 ## end   gnulib module c-ctype
92
93 ## begin gnulib module c-strcase
94
95 libgnu_la_SOURCES += c-strcase.h c-strcasecmp.c c-strncasecmp.c
96
97 ## end   gnulib module c-strcase
98
99 ## begin gnulib module c-strcaseeq
100
101
102 EXTRA_DIST += c-strcaseeq.h
103
104 ## end   gnulib module c-strcaseeq
105
106 ## begin gnulib module c-strstr
107
108 libgnu_la_SOURCES += c-strstr.h c-strstr.c
109
110 ## end   gnulib module c-strstr
111
112 ## begin gnulib module close
113
114
115 EXTRA_DIST += close.c
116
117 EXTRA_libgnu_la_SOURCES += close.c
118
119 ## end   gnulib module close
120
121 ## begin gnulib module concat-filename
122
123 libgnu_la_SOURCES += concat-filename.c
124
125 EXTRA_DIST += concat-filename.h
126
127 ## end   gnulib module concat-filename
128
129 ## begin gnulib module configmake
130
131 # Listed in the same order as the GNU makefile conventions, and
132 # provided by autoconf 2.59c+ or 2.70.
133 # The Automake-defined pkg* macros are appended, in the order
134 # listed in the Automake 1.10a+ documentation.
135 configmake.h: Makefile
136         $(AM_V_GEN)rm -f $@-t && \
137         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
138           echo '#define PREFIX "$(prefix)"'; \
139           echo '#define EXEC_PREFIX "$(exec_prefix)"'; \
140           echo '#define BINDIR "$(bindir)"'; \
141           echo '#define SBINDIR "$(sbindir)"'; \
142           echo '#define LIBEXECDIR "$(libexecdir)"'; \
143           echo '#define DATAROOTDIR "$(datarootdir)"'; \
144           echo '#define DATADIR "$(datadir)"'; \
145           echo '#define SYSCONFDIR "$(sysconfdir)"'; \
146           echo '#define SHAREDSTATEDIR "$(sharedstatedir)"'; \
147           echo '#define LOCALSTATEDIR "$(localstatedir)"'; \
148           echo '#define RUNSTATEDIR "$(runstatedir)"'; \
149           echo '#define INCLUDEDIR "$(includedir)"'; \
150           echo '#define OLDINCLUDEDIR "$(oldincludedir)"'; \
151           echo '#define DOCDIR "$(docdir)"'; \
152           echo '#define INFODIR "$(infodir)"'; \
153           echo '#define HTMLDIR "$(htmldir)"'; \
154           echo '#define DVIDIR "$(dvidir)"'; \
155           echo '#define PDFDIR "$(pdfdir)"'; \
156           echo '#define PSDIR "$(psdir)"'; \
157           echo '#define LIBDIR "$(libdir)"'; \
158           echo '#define LISPDIR "$(lispdir)"'; \
159           echo '#define LOCALEDIR "$(localedir)"'; \
160           echo '#define MANDIR "$(mandir)"'; \
161           echo '#define MANEXT "$(manext)"'; \
162           echo '#define PKGDATADIR "$(pkgdatadir)"'; \
163           echo '#define PKGINCLUDEDIR "$(pkgincludedir)"'; \
164           echo '#define PKGLIBDIR "$(pkglibdir)"'; \
165           echo '#define PKGLIBEXECDIR "$(pkglibexecdir)"'; \
166         } | sed '/""/d' > $@-t && \
167         mv -f $@-t $@
168
169 BUILT_SOURCES += configmake.h
170 CLEANFILES += configmake.h configmake.h-t
171
172 ## end   gnulib module configmake
173
174 ## begin gnulib module diffseq
175
176 libgnu_la_SOURCES += diffseq.h
177
178 ## end   gnulib module diffseq
179
180 ## begin gnulib module dosname
181
182
183 EXTRA_DIST += dosname.h
184
185 ## end   gnulib module dosname
186
187 ## begin gnulib module errno
188
189 BUILT_SOURCES += $(ERRNO_H)
190
191 # We need the following in order to create <errno.h> when the system
192 # doesn't have one that is POSIX compliant.
193 if GL_GENERATE_ERRNO_H
194 errno.h: errno.in.h $(top_builddir)/config.status
195         $(AM_V_GEN)rm -f $@-t $@ && \
196         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
197           sed -e 's|@''GUARD_PREFIX''@|GL_GTPO|g' \
198               -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
199               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
200               -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
201               -e 's|@''NEXT_ERRNO_H''@|$(NEXT_ERRNO_H)|g' \
202               -e 's|@''EMULTIHOP_HIDDEN''@|$(EMULTIHOP_HIDDEN)|g' \
203               -e 's|@''EMULTIHOP_VALUE''@|$(EMULTIHOP_VALUE)|g' \
204               -e 's|@''ENOLINK_HIDDEN''@|$(ENOLINK_HIDDEN)|g' \
205               -e 's|@''ENOLINK_VALUE''@|$(ENOLINK_VALUE)|g' \
206               -e 's|@''EOVERFLOW_HIDDEN''@|$(EOVERFLOW_HIDDEN)|g' \
207               -e 's|@''EOVERFLOW_VALUE''@|$(EOVERFLOW_VALUE)|g' \
208               < $(srcdir)/errno.in.h; \
209         } > $@-t && \
210         mv $@-t $@
211 else
212 errno.h: $(top_builddir)/config.status
213         rm -f $@
214 endif
215 MOSTLYCLEANFILES += errno.h errno.h-t
216
217 EXTRA_DIST += errno.in.h
218
219 ## end   gnulib module errno
220
221 ## begin gnulib module error
222
223
224 EXTRA_DIST += error.c error.h
225
226 EXTRA_libgnu_la_SOURCES += error.c
227
228 ## end   gnulib module error
229
230 ## begin gnulib module error-progname
231
232 libgnu_la_SOURCES += error-progname.h error-progname.c
233
234 ## end   gnulib module error-progname
235
236 ## begin gnulib module exitfail
237
238 libgnu_la_SOURCES += exitfail.c
239
240 EXTRA_DIST += exitfail.h
241
242 ## end   gnulib module exitfail
243
244 ## begin gnulib module fcntl-h
245
246 BUILT_SOURCES += fcntl.h
247
248 # We need the following in order to create <fcntl.h> when the system
249 # doesn't have one that works with the given compiler.
250 fcntl.h: fcntl.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
251         $(AM_V_GEN)rm -f $@-t $@ && \
252         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
253           sed -e 's|@''GUARD_PREFIX''@|GL_GTPO|g' \
254               -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
255               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
256               -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
257               -e 's|@''NEXT_FCNTL_H''@|$(NEXT_FCNTL_H)|g' \
258               -e 's/@''GNULIB_FCNTL''@/$(GNULIB_FCNTL)/g' \
259               -e 's/@''GNULIB_NONBLOCKING''@/$(GNULIB_NONBLOCKING)/g' \
260               -e 's/@''GNULIB_OPEN''@/$(GNULIB_OPEN)/g' \
261               -e 's/@''GNULIB_OPENAT''@/$(GNULIB_OPENAT)/g' \
262               -e 's|@''HAVE_FCNTL''@|$(HAVE_FCNTL)|g' \
263               -e 's|@''HAVE_OPENAT''@|$(HAVE_OPENAT)|g' \
264               -e 's|@''REPLACE_FCNTL''@|$(REPLACE_FCNTL)|g' \
265               -e 's|@''REPLACE_OPEN''@|$(REPLACE_OPEN)|g' \
266               -e 's|@''REPLACE_OPENAT''@|$(REPLACE_OPENAT)|g' \
267               -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
268               -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
269               -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
270               < $(srcdir)/fcntl.in.h; \
271         } > $@-t && \
272         mv $@-t $@
273 MOSTLYCLEANFILES += fcntl.h fcntl.h-t
274
275 EXTRA_DIST += fcntl.in.h
276
277 ## end   gnulib module fcntl-h
278
279 ## begin gnulib module fd-hook
280
281 libgnu_la_SOURCES += fd-hook.c
282
283 EXTRA_DIST += fd-hook.h
284
285 ## end   gnulib module fd-hook
286
287 ## begin gnulib module file-ostream
288
289 libgnu_la_SOURCES += file-ostream.c
290 # This is a Makefile rule that generates multiple files at once; see the
291 # automake documentation, node "Multiple Outputs", for details.
292 file-ostream.h : $(top_srcdir)/../build-aux/moopp file-ostream.oo.h file-ostream.oo.c ostream.oo.h
293         $(top_srcdir)/../build-aux/moopp $(MOOPPFLAGS) $(srcdir)/file-ostream.oo.c $(srcdir)/file-ostream.oo.h $(srcdir)/ostream.oo.h
294 file-ostream.c file_ostream.priv.h file_ostream.vt.h : file-ostream.h
295         @test -f $@ || { \
296           trap 'rm -rf file-ostream.lock' 1 2 13 15; \
297           if mkdir file-ostream.lock 2>/dev/null; then \
298             echo "$(top_srcdir)/../build-aux/moopp $(MOOPPFLAGS) $(srcdir)/file-ostream.oo.c $(srcdir)/file-ostream.oo.h $(srcdir)/ostream.oo.h"; \
299             $(top_srcdir)/../build-aux/moopp $(MOOPPFLAGS) $(srcdir)/file-ostream.oo.c $(srcdir)/file-ostream.oo.h $(srcdir)/ostream.oo.h; \
300             result=$$?; rm -rf file-ostream.lock; exit $$result; \
301           else \
302             while test -d file-ostream.lock; do sleep 1; done; \
303             test -f $(srcdir)/file-ostream.h; \
304           fi; \
305         }
306 BUILT_SOURCES += file-ostream.h file-ostream.c file_ostream.priv.h file_ostream.vt.h
307 MAINTAINERCLEANFILES += file-ostream.h file-ostream.c file_ostream.priv.h file_ostream.vt.h
308 EXTRA_DIST += file-ostream.h file-ostream.c file_ostream.priv.h file_ostream.vt.h
309
310 EXTRA_DIST += file-ostream.oo.c file-ostream.oo.h
311
312 EXTRA_libgnu_la_SOURCES += file-ostream.oo.c
313
314 ## end   gnulib module file-ostream
315
316 ## begin gnulib module filename
317
318
319 EXTRA_DIST += filename.h
320
321 ## end   gnulib module filename
322
323 ## begin gnulib module float
324
325 BUILT_SOURCES += $(FLOAT_H)
326
327 # We need the following in order to create <float.h> when the system
328 # doesn't have one that works with the given compiler.
329 if GL_GENERATE_FLOAT_H
330 float.h: float.in.h $(top_builddir)/config.status
331         $(AM_V_GEN)rm -f $@-t $@ && \
332         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
333           sed -e 's|@''GUARD_PREFIX''@|GL_GTPO|g' \
334               -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
335               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
336               -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
337               -e 's|@''NEXT_FLOAT_H''@|$(NEXT_FLOAT_H)|g' \
338               -e 's|@''REPLACE_ITOLD''@|$(REPLACE_ITOLD)|g' \
339               < $(srcdir)/float.in.h; \
340         } > $@-t && \
341         mv $@-t $@
342 else
343 float.h: $(top_builddir)/config.status
344         rm -f $@
345 endif
346 MOSTLYCLEANFILES += float.h float.h-t
347
348 EXTRA_DIST += float.c float.in.h itold.c
349
350 EXTRA_libgnu_la_SOURCES += float.c itold.c
351
352 ## end   gnulib module float
353
354 ## begin gnulib module fopen
355
356
357 EXTRA_DIST += fopen.c
358
359 EXTRA_libgnu_la_SOURCES += fopen.c
360
361 ## end   gnulib module fopen
362
363 ## begin gnulib module fstat
364
365
366 EXTRA_DIST += fstat.c
367
368 EXTRA_libgnu_la_SOURCES += fstat.c
369
370 ## end   gnulib module fstat
371
372 ## begin gnulib module fstrcmp
373
374 libgnu_la_SOURCES += fstrcmp.h fstrcmp.c
375
376 ## end   gnulib module fstrcmp
377
378 ## begin gnulib module fwriteerror
379
380 libgnu_la_SOURCES += fwriteerror.h fwriteerror.c
381
382 ## end   gnulib module fwriteerror
383
384 ## begin gnulib module gcd
385
386 libgnu_la_SOURCES += gcd.h gcd.c
387
388 ## end   gnulib module gcd
389
390 ## begin gnulib module getdelim
391
392
393 EXTRA_DIST += getdelim.c
394
395 EXTRA_libgnu_la_SOURCES += getdelim.c
396
397 ## end   gnulib module getdelim
398
399 ## begin gnulib module getline
400
401
402 EXTRA_DIST += getline.c
403
404 EXTRA_libgnu_la_SOURCES += getline.c
405
406 ## end   gnulib module getline
407
408 ## begin gnulib module gettext-h
409
410 libgnu_la_SOURCES += gettext.h
411
412 ## end   gnulib module gettext-h
413
414 ## begin gnulib module gettimeofday
415
416
417 EXTRA_DIST += gettimeofday.c
418
419 EXTRA_libgnu_la_SOURCES += gettimeofday.c
420
421 ## end   gnulib module gettimeofday
422
423 ## begin gnulib module gperf
424
425 GPERF = gperf
426 V_GPERF = $(V_GPERF_@AM_V@)
427 V_GPERF_ = $(V_GPERF_@AM_DEFAULT_V@)
428 V_GPERF_0 = @echo "  GPERF   " $@;
429
430 ## end   gnulib module gperf
431
432 ## begin gnulib module hash
433
434 libgnu_la_SOURCES += hash.h hash.c
435
436 ## end   gnulib module hash
437
438 ## begin gnulib module havelib
439
440
441 EXTRA_DIST += $(top_srcdir)/../build-aux/config.rpath
442
443 ## end   gnulib module havelib
444
445 ## begin gnulib module iconv-h
446
447 BUILT_SOURCES += $(ICONV_H)
448
449 # We need the following in order to create <iconv.h> when the system
450 # doesn't have one that works with the given compiler.
451 if GL_GENERATE_ICONV_H
452 iconv.h: iconv.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
453         $(AM_V_GEN)rm -f $@-t $@ && \
454         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
455           sed -e 's|@''GUARD_PREFIX''@|GL_GTPO|g' \
456               -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
457               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
458               -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
459               -e 's|@''NEXT_ICONV_H''@|$(NEXT_ICONV_H)|g' \
460               -e 's/@''GNULIB_ICONV''@/$(GNULIB_ICONV)/g' \
461               -e 's|@''ICONV_CONST''@|$(ICONV_CONST)|g' \
462               -e 's|@''REPLACE_ICONV''@|$(REPLACE_ICONV)|g' \
463               -e 's|@''REPLACE_ICONV_OPEN''@|$(REPLACE_ICONV_OPEN)|g' \
464               -e 's|@''REPLACE_ICONV_UTF''@|$(REPLACE_ICONV_UTF)|g' \
465               -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
466               -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
467               -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
468               < $(srcdir)/iconv.in.h; \
469         } > $@-t && \
470         mv $@-t $@
471 else
472 iconv.h: $(top_builddir)/config.status
473         rm -f $@
474 endif
475 MOSTLYCLEANFILES += iconv.h iconv.h-t
476
477 EXTRA_DIST += iconv.in.h
478
479 ## end   gnulib module iconv-h
480
481 ## begin gnulib module iconv_open
482
483 iconv_open-aix.h: iconv_open-aix.gperf
484         $(V_GPERF)$(GPERF) -m 10 $(srcdir)/iconv_open-aix.gperf > $(srcdir)/iconv_open-aix.h-t && \
485         mv $(srcdir)/iconv_open-aix.h-t $(srcdir)/iconv_open-aix.h
486 iconv_open-hpux.h: iconv_open-hpux.gperf
487         $(V_GPERF)$(GPERF) -m 10 $(srcdir)/iconv_open-hpux.gperf > $(srcdir)/iconv_open-hpux.h-t && \
488         mv $(srcdir)/iconv_open-hpux.h-t $(srcdir)/iconv_open-hpux.h
489 iconv_open-irix.h: iconv_open-irix.gperf
490         $(V_GPERF)$(GPERF) -m 10 $(srcdir)/iconv_open-irix.gperf > $(srcdir)/iconv_open-irix.h-t && \
491         mv $(srcdir)/iconv_open-irix.h-t $(srcdir)/iconv_open-irix.h
492 iconv_open-osf.h: iconv_open-osf.gperf
493         $(V_GPERF)$(GPERF) -m 10 $(srcdir)/iconv_open-osf.gperf > $(srcdir)/iconv_open-osf.h-t && \
494         mv $(srcdir)/iconv_open-osf.h-t $(srcdir)/iconv_open-osf.h
495 iconv_open-solaris.h: iconv_open-solaris.gperf
496         $(V_GPERF)$(GPERF) -m 10 $(srcdir)/iconv_open-solaris.gperf > $(srcdir)/iconv_open-solaris.h-t && \
497         mv $(srcdir)/iconv_open-solaris.h-t $(srcdir)/iconv_open-solaris.h
498 BUILT_SOURCES        += iconv_open-aix.h iconv_open-hpux.h iconv_open-irix.h iconv_open-osf.h iconv_open-solaris.h
499 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
500 MAINTAINERCLEANFILES += iconv_open-aix.h iconv_open-hpux.h iconv_open-irix.h iconv_open-osf.h iconv_open-solaris.h
501 EXTRA_DIST           += iconv_open-aix.h iconv_open-hpux.h iconv_open-irix.h iconv_open-osf.h iconv_open-solaris.h
502
503 EXTRA_DIST += iconv.c iconv_close.c iconv_open-aix.gperf iconv_open-hpux.gperf iconv_open-irix.gperf iconv_open-osf.gperf iconv_open-solaris.gperf iconv_open.c
504
505 EXTRA_libgnu_la_SOURCES += iconv.c iconv_close.c iconv_open.c
506
507 ## end   gnulib module iconv_open
508
509 ## begin gnulib module intprops
510
511
512 EXTRA_DIST += intprops.h
513
514 ## end   gnulib module intprops
515
516 ## begin gnulib module libunistring-optional
517
518
519 EXTRA_DIST += libunistring.valgrind
520
521 ## end   gnulib module libunistring-optional
522
523 ## begin gnulib module linked-list
524
525 libgnu_la_SOURCES += gl_linked_list.h gl_linked_list.c gl_anylinked_list1.h gl_anylinked_list2.h
526
527 ## end   gnulib module linked-list
528
529 ## begin gnulib module list
530
531 libgnu_la_SOURCES += gl_list.h gl_list.c
532
533 ## end   gnulib module list
534
535 ## begin gnulib module localcharset
536
537 libgnu_la_SOURCES += localcharset.h localcharset.c
538
539 # We need the following in order to install a simple file in $(libdir)
540 # which is shared with other installed packages. We use a list of referencing
541 # packages so that "make uninstall" will remove the file if and only if it
542 # is not used by another installed package.
543 # On systems with glibc-2.1 or newer, the file is redundant, therefore we
544 # avoid installing it.
545
546 all-local: charset.alias ref-add.sed ref-del.sed
547
548 charset_alias = $(DESTDIR)$(libdir)/charset.alias
549 charset_tmp = $(DESTDIR)$(libdir)/charset.tmp
550 install-exec-local: install-exec-localcharset
551 install-exec-localcharset: all-local
552         if test $(GLIBC21) = no; then \
553           case '$(host_os)' in \
554             darwin[56]*) \
555               need_charset_alias=true ;; \
556             darwin* | cygwin* | mingw* | pw32* | cegcc*) \
557               need_charset_alias=false ;; \
558             *) \
559               need_charset_alias=true ;; \
560           esac ; \
561         else \
562           need_charset_alias=false ; \
563         fi ; \
564         if $$need_charset_alias; then \
565           $(mkinstalldirs) $(DESTDIR)$(libdir) ; \
566         fi ; \
567         if test -f $(charset_alias); then \
568           sed -f ref-add.sed $(charset_alias) > $(charset_tmp) ; \
569           $(INSTALL_DATA) $(charset_tmp) $(charset_alias) ; \
570           rm -f $(charset_tmp) ; \
571         else \
572           if $$need_charset_alias; then \
573             sed -f ref-add.sed charset.alias > $(charset_tmp) ; \
574             $(INSTALL_DATA) $(charset_tmp) $(charset_alias) ; \
575             rm -f $(charset_tmp) ; \
576           fi ; \
577         fi
578
579 uninstall-local: uninstall-localcharset
580 uninstall-localcharset: all-local
581         if test -f $(charset_alias); then \
582           sed -f ref-del.sed $(charset_alias) > $(charset_tmp); \
583           if grep '^# Packages using this file: $$' $(charset_tmp) \
584               > /dev/null; then \
585             rm -f $(charset_alias); \
586           else \
587             $(INSTALL_DATA) $(charset_tmp) $(charset_alias); \
588           fi; \
589           rm -f $(charset_tmp); \
590         fi
591
592 charset.alias: config.charset
593         $(AM_V_GEN)rm -f t-$@ $@ && \
594         $(SHELL) $(srcdir)/config.charset '$(host)' > t-$@ && \
595         mv t-$@ $@
596
597 SUFFIXES += .sed .sin
598 .sin.sed:
599         $(AM_V_GEN)rm -f t-$@ $@ && \
600         sed -e '/^#/d' -e 's/@''PACKAGE''@/$(PACKAGE)/g' $< > t-$@ && \
601         mv t-$@ $@
602
603 CLEANFILES += charset.alias ref-add.sed ref-del.sed
604
605 EXTRA_DIST += config.charset ref-add.sin ref-del.sin
606
607 ## end   gnulib module localcharset
608
609 ## begin gnulib module lock
610
611 libgnu_la_SOURCES += glthread/lock.h glthread/lock.c
612
613 ## end   gnulib module lock
614
615 ## begin gnulib module malloc-posix
616
617
618 EXTRA_DIST += malloc.c
619
620 EXTRA_libgnu_la_SOURCES += malloc.c
621
622 ## end   gnulib module malloc-posix
623
624 ## begin gnulib module malloca
625
626 libgnu_la_SOURCES += malloca.c
627
628 EXTRA_DIST += malloca.h malloca.valgrind
629
630 ## end   gnulib module malloca
631
632 ## begin gnulib module markup
633
634 libgnu_la_SOURCES += markup.h markup.c
635
636 ## end   gnulib module markup
637
638 ## begin gnulib module mbrtowc
639
640
641 EXTRA_DIST += mbrtowc.c
642
643 EXTRA_libgnu_la_SOURCES += mbrtowc.c
644
645 ## end   gnulib module mbrtowc
646
647 ## begin gnulib module mbsinit
648
649
650 EXTRA_DIST += mbsinit.c
651
652 EXTRA_libgnu_la_SOURCES += mbsinit.c
653
654 ## end   gnulib module mbsinit
655
656 ## begin gnulib module mbswidth
657
658 libgnu_la_SOURCES += mbswidth.h mbswidth.c
659
660 ## end   gnulib module mbswidth
661
662 ## begin gnulib module memchr
663
664
665 EXTRA_DIST += memchr.c memchr.valgrind
666
667 EXTRA_libgnu_la_SOURCES += memchr.c
668
669 ## end   gnulib module memchr
670
671 ## begin gnulib module minmax
672
673 libgnu_la_SOURCES += minmax.h
674
675 ## end   gnulib module minmax
676
677 ## begin gnulib module moo
678
679 MOOPPFLAGS =
680
681 EXTRA_DIST += moo.h
682
683 EXTRA_DIST += $(top_srcdir)/../build-aux/moopp
684
685 ## end   gnulib module moo
686
687 ## begin gnulib module msvc-inval
688
689
690 EXTRA_DIST += msvc-inval.c msvc-inval.h
691
692 EXTRA_libgnu_la_SOURCES += msvc-inval.c
693
694 ## end   gnulib module msvc-inval
695
696 ## begin gnulib module msvc-nothrow
697
698
699 EXTRA_DIST += msvc-nothrow.c msvc-nothrow.h
700
701 EXTRA_libgnu_la_SOURCES += msvc-nothrow.c
702
703 ## end   gnulib module msvc-nothrow
704
705 ## begin gnulib module obstack
706
707
708 EXTRA_DIST += obstack.c obstack.h
709
710 EXTRA_libgnu_la_SOURCES += obstack.c
711
712 ## end   gnulib module obstack
713
714 ## begin gnulib module open
715
716
717 EXTRA_DIST += open.c
718
719 EXTRA_libgnu_la_SOURCES += open.c
720
721 ## end   gnulib module open
722
723 ## begin gnulib module ostream
724
725 libgnu_la_SOURCES += ostream.c
726 # This is a Makefile rule that generates multiple files at once; see the
727 # automake documentation, node "Multiple Outputs", for details.
728 ostream.h : $(top_srcdir)/../build-aux/moopp ostream.oo.h ostream.oo.c
729         $(top_srcdir)/../build-aux/moopp $(MOOPPFLAGS) $(srcdir)/ostream.oo.c $(srcdir)/ostream.oo.h
730 ostream.c ostream.priv.h ostream.vt.h : ostream.h
731         @test -f $@ || { \
732           trap 'rm -rf ostream.lock' 1 2 13 15; \
733           if mkdir ostream.lock 2>/dev/null; then \
734             echo "$(top_srcdir)/../build-aux/moopp $(MOOPPFLAGS) $(srcdir)/ostream.oo.c $(srcdir)/ostream.oo.h"; \
735             $(top_srcdir)/../build-aux/moopp $(MOOPPFLAGS) $(srcdir)/ostream.oo.c $(srcdir)/ostream.oo.h; \
736             result=$$?; rm -rf ostream.lock; exit $$result; \
737           else \
738             while test -d ostream.lock; do sleep 1; done; \
739             test -f $(srcdir)/ostream.h; \
740           fi; \
741         }
742 BUILT_SOURCES += ostream.h ostream.c ostream.priv.h ostream.vt.h
743 MAINTAINERCLEANFILES += ostream.h ostream.c ostream.priv.h ostream.vt.h
744 EXTRA_DIST += ostream.h ostream.c ostream.priv.h ostream.vt.h
745
746 EXTRA_DIST += ostream.oo.c ostream.oo.h
747
748 EXTRA_libgnu_la_SOURCES += ostream.oo.c
749
750 ## end   gnulib module ostream
751
752 ## begin gnulib module pathmax
753
754
755 EXTRA_DIST += pathmax.h
756
757 ## end   gnulib module pathmax
758
759 ## begin gnulib module progname
760
761 libgnu_la_SOURCES += progname.h progname.c
762
763 ## end   gnulib module progname
764
765 ## begin gnulib module raise
766
767
768 EXTRA_DIST += raise.c
769
770 EXTRA_libgnu_la_SOURCES += raise.c
771
772 ## end   gnulib module raise
773
774 ## begin gnulib module rawmemchr
775
776
777 EXTRA_DIST += rawmemchr.c rawmemchr.valgrind
778
779 EXTRA_libgnu_la_SOURCES += rawmemchr.c
780
781 ## end   gnulib module rawmemchr
782
783 ## begin gnulib module realloc-posix
784
785
786 EXTRA_DIST += realloc.c
787
788 EXTRA_libgnu_la_SOURCES += realloc.c
789
790 ## end   gnulib module realloc-posix
791
792 ## begin gnulib module relocatable-lib
793
794
795 EXTRA_DIST += relocatable.c relocatable.h
796
797 EXTRA_libgnu_la_SOURCES += relocatable.c
798
799 ## end   gnulib module relocatable-lib
800
801 ## begin gnulib module signal-h
802
803 BUILT_SOURCES += signal.h
804
805 # We need the following in order to create <signal.h> when the system
806 # doesn't have a complete one.
807 signal.h: signal.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
808         $(AM_V_GEN)rm -f $@-t $@ && \
809         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
810           sed -e 's|@''GUARD_PREFIX''@|GL_GTPO|g' \
811               -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
812               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
813               -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
814               -e 's|@''NEXT_SIGNAL_H''@|$(NEXT_SIGNAL_H)|g' \
815               -e 's|@''GNULIB_PTHREAD_SIGMASK''@|$(GNULIB_PTHREAD_SIGMASK)|g' \
816               -e 's|@''GNULIB_RAISE''@|$(GNULIB_RAISE)|g' \
817               -e 's/@''GNULIB_SIGNAL_H_SIGPIPE''@/$(GNULIB_SIGNAL_H_SIGPIPE)/g' \
818               -e 's/@''GNULIB_SIGPROCMASK''@/$(GNULIB_SIGPROCMASK)/g' \
819               -e 's/@''GNULIB_SIGACTION''@/$(GNULIB_SIGACTION)/g' \
820               -e 's|@''HAVE_POSIX_SIGNALBLOCKING''@|$(HAVE_POSIX_SIGNALBLOCKING)|g' \
821               -e 's|@''HAVE_PTHREAD_SIGMASK''@|$(HAVE_PTHREAD_SIGMASK)|g' \
822               -e 's|@''HAVE_RAISE''@|$(HAVE_RAISE)|g' \
823               -e 's|@''HAVE_SIGSET_T''@|$(HAVE_SIGSET_T)|g' \
824               -e 's|@''HAVE_SIGINFO_T''@|$(HAVE_SIGINFO_T)|g' \
825               -e 's|@''HAVE_SIGACTION''@|$(HAVE_SIGACTION)|g' \
826               -e 's|@''HAVE_STRUCT_SIGACTION_SA_SIGACTION''@|$(HAVE_STRUCT_SIGACTION_SA_SIGACTION)|g' \
827               -e 's|@''HAVE_TYPE_VOLATILE_SIG_ATOMIC_T''@|$(HAVE_TYPE_VOLATILE_SIG_ATOMIC_T)|g' \
828               -e 's|@''HAVE_SIGHANDLER_T''@|$(HAVE_SIGHANDLER_T)|g' \
829               -e 's|@''REPLACE_PTHREAD_SIGMASK''@|$(REPLACE_PTHREAD_SIGMASK)|g' \
830               -e 's|@''REPLACE_RAISE''@|$(REPLACE_RAISE)|g' \
831               -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
832               -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
833               -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
834               < $(srcdir)/signal.in.h; \
835         } > $@-t && \
836         mv $@-t $@
837 MOSTLYCLEANFILES += signal.h signal.h-t
838
839 EXTRA_DIST += signal.in.h
840
841 ## end   gnulib module signal-h
842
843 ## begin gnulib module sigpipe
844
845
846 EXTRA_DIST += stdio-write.c
847
848 EXTRA_libgnu_la_SOURCES += stdio-write.c
849
850 ## end   gnulib module sigpipe
851
852 ## begin gnulib module sigprocmask
853
854
855 EXTRA_DIST += sigprocmask.c
856
857 EXTRA_libgnu_la_SOURCES += sigprocmask.c
858
859 ## end   gnulib module sigprocmask
860
861 ## begin gnulib module size_max
862
863 libgnu_la_SOURCES += size_max.h
864
865 ## end   gnulib module size_max
866
867 ## begin gnulib module snippet/_Noreturn
868
869 # Because this Makefile snippet defines a variable used by other
870 # gnulib Makefile snippets, it must be present in all Makefile.am that
871 # need it. This is ensured by the applicability 'all' defined above.
872
873 _NORETURN_H=$(top_srcdir)/../build-aux/snippet/_Noreturn.h
874
875 EXTRA_DIST += $(top_srcdir)/../build-aux/snippet/_Noreturn.h
876
877 ## end   gnulib module snippet/_Noreturn
878
879 ## begin gnulib module snippet/arg-nonnull
880
881 # The BUILT_SOURCES created by this Makefile snippet are not used via #include
882 # statements but through direct file reference. Therefore this snippet must be
883 # present in all Makefile.am that need it. This is ensured by the applicability
884 # 'all' defined above.
885
886 BUILT_SOURCES += arg-nonnull.h
887 # The arg-nonnull.h that gets inserted into generated .h files is the same as
888 # build-aux/snippet/arg-nonnull.h, except that it has the copyright header cut
889 # off.
890 arg-nonnull.h: $(top_srcdir)/../build-aux/snippet/arg-nonnull.h
891         $(AM_V_GEN)rm -f $@-t $@ && \
892         sed -n -e '/GL_ARG_NONNULL/,$$p' \
893           < $(top_srcdir)/../build-aux/snippet/arg-nonnull.h \
894           > $@-t && \
895         mv $@-t $@
896 MOSTLYCLEANFILES += arg-nonnull.h arg-nonnull.h-t
897
898 ARG_NONNULL_H=arg-nonnull.h
899
900 EXTRA_DIST += $(top_srcdir)/../build-aux/snippet/arg-nonnull.h
901
902 ## end   gnulib module snippet/arg-nonnull
903
904 ## begin gnulib module snippet/c++defs
905
906 # The BUILT_SOURCES created by this Makefile snippet are not used via #include
907 # statements but through direct file reference. Therefore this snippet must be
908 # present in all Makefile.am that need it. This is ensured by the applicability
909 # 'all' defined above.
910
911 BUILT_SOURCES += c++defs.h
912 # The c++defs.h that gets inserted into generated .h files is the same as
913 # build-aux/snippet/c++defs.h, except that it has the copyright header cut off.
914 c++defs.h: $(top_srcdir)/../build-aux/snippet/c++defs.h
915         $(AM_V_GEN)rm -f $@-t $@ && \
916         sed -n -e '/_GL_CXXDEFS/,$$p' \
917           < $(top_srcdir)/../build-aux/snippet/c++defs.h \
918           > $@-t && \
919         mv $@-t $@
920 MOSTLYCLEANFILES += c++defs.h c++defs.h-t
921
922 CXXDEFS_H=c++defs.h
923
924 EXTRA_DIST += $(top_srcdir)/../build-aux/snippet/c++defs.h
925
926 ## end   gnulib module snippet/c++defs
927
928 ## begin gnulib module snippet/unused-parameter
929
930 # The BUILT_SOURCES created by this Makefile snippet are not used via #include
931 # statements but through direct file reference. Therefore this snippet must be
932 # present in all Makefile.am that need it. This is ensured by the applicability
933 # 'all' defined above.
934
935 BUILT_SOURCES += unused-parameter.h
936 # The unused-parameter.h that gets inserted into generated .h files is the same
937 # as build-aux/snippet/unused-parameter.h, except that it has the copyright
938 # header cut off.
939 unused-parameter.h: $(top_srcdir)/../build-aux/snippet/unused-parameter.h
940         $(AM_V_GEN)rm -f $@-t $@ && \
941         sed -n -e '/GL_UNUSED_PARAMETER/,$$p' \
942           < $(top_srcdir)/../build-aux/snippet/unused-parameter.h \
943           > $@-t && \
944         mv $@-t $@
945 MOSTLYCLEANFILES += unused-parameter.h unused-parameter.h-t
946
947 UNUSED_PARAMETER_H=unused-parameter.h
948
949 EXTRA_DIST += $(top_srcdir)/../build-aux/snippet/unused-parameter.h
950
951 ## end   gnulib module snippet/unused-parameter
952
953 ## begin gnulib module snippet/warn-on-use
954
955 BUILT_SOURCES += warn-on-use.h
956 # The warn-on-use.h that gets inserted into generated .h files is the same as
957 # build-aux/snippet/warn-on-use.h, except that it has the copyright header cut
958 # off.
959 warn-on-use.h: $(top_srcdir)/../build-aux/snippet/warn-on-use.h
960         $(AM_V_GEN)rm -f $@-t $@ && \
961         sed -n -e '/^.ifndef/,$$p' \
962           < $(top_srcdir)/../build-aux/snippet/warn-on-use.h \
963           > $@-t && \
964         mv $@-t $@
965 MOSTLYCLEANFILES += warn-on-use.h warn-on-use.h-t
966
967 WARN_ON_USE_H=warn-on-use.h
968
969 EXTRA_DIST += $(top_srcdir)/../build-aux/snippet/warn-on-use.h
970
971 ## end   gnulib module snippet/warn-on-use
972
973 ## begin gnulib module stat
974
975
976 EXTRA_DIST += stat.c
977
978 EXTRA_libgnu_la_SOURCES += stat.c
979
980 ## end   gnulib module stat
981
982 ## begin gnulib module stdarg
983
984 BUILT_SOURCES += $(STDARG_H)
985
986 # We need the following in order to create <stdarg.h> when the system
987 # doesn't have one that works with the given compiler.
988 if GL_GENERATE_STDARG_H
989 stdarg.h: stdarg.in.h $(top_builddir)/config.status
990         $(AM_V_GEN)rm -f $@-t $@ && \
991         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
992           sed -e 's|@''GUARD_PREFIX''@|GL_GTPO|g' \
993               -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
994               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
995               -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
996               -e 's|@''NEXT_STDARG_H''@|$(NEXT_STDARG_H)|g' \
997               < $(srcdir)/stdarg.in.h; \
998         } > $@-t && \
999         mv $@-t $@
1000 else
1001 stdarg.h: $(top_builddir)/config.status
1002         rm -f $@
1003 endif
1004 MOSTLYCLEANFILES += stdarg.h stdarg.h-t
1005
1006 EXTRA_DIST += stdarg.in.h
1007
1008 ## end   gnulib module stdarg
1009
1010 ## begin gnulib module stdbool
1011
1012 BUILT_SOURCES += $(STDBOOL_H)
1013
1014 # We need the following in order to create <stdbool.h> when the system
1015 # doesn't have one that works.
1016 if GL_GENERATE_STDBOOL_H
1017 stdbool.h: stdbool.in.h $(top_builddir)/config.status
1018         $(AM_V_GEN)rm -f $@-t $@ && \
1019         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
1020           sed -e 's/@''HAVE__BOOL''@/$(HAVE__BOOL)/g' < $(srcdir)/stdbool.in.h; \
1021         } > $@-t && \
1022         mv $@-t $@
1023 else
1024 stdbool.h: $(top_builddir)/config.status
1025         rm -f $@
1026 endif
1027 MOSTLYCLEANFILES += stdbool.h stdbool.h-t
1028
1029 EXTRA_DIST += stdbool.in.h
1030
1031 ## end   gnulib module stdbool
1032
1033 ## begin gnulib module stddef
1034
1035 BUILT_SOURCES += $(STDDEF_H)
1036
1037 # We need the following in order to create <stddef.h> when the system
1038 # doesn't have one that works with the given compiler.
1039 if GL_GENERATE_STDDEF_H
1040 stddef.h: stddef.in.h $(top_builddir)/config.status
1041         $(AM_V_GEN)rm -f $@-t $@ && \
1042         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
1043           sed -e 's|@''GUARD_PREFIX''@|GL_GTPO|g' \
1044               -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1045               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1046               -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
1047               -e 's|@''NEXT_STDDEF_H''@|$(NEXT_STDDEF_H)|g' \
1048               -e 's|@''HAVE_MAX_ALIGN_T''@|$(HAVE_MAX_ALIGN_T)|g' \
1049               -e 's|@''HAVE_WCHAR_T''@|$(HAVE_WCHAR_T)|g' \
1050               -e 's|@''REPLACE_NULL''@|$(REPLACE_NULL)|g' \
1051               < $(srcdir)/stddef.in.h; \
1052         } > $@-t && \
1053         mv $@-t $@
1054 else
1055 stddef.h: $(top_builddir)/config.status
1056         rm -f $@
1057 endif
1058 MOSTLYCLEANFILES += stddef.h stddef.h-t
1059
1060 EXTRA_DIST += stddef.in.h
1061
1062 ## end   gnulib module stddef
1063
1064 ## begin gnulib module stdint
1065
1066 BUILT_SOURCES += $(STDINT_H)
1067
1068 # We need the following in order to create <stdint.h> when the system
1069 # doesn't have one that works with the given compiler.
1070 if GL_GENERATE_STDINT_H
1071 stdint.h: stdint.in.h $(top_builddir)/config.status
1072         $(AM_V_GEN)rm -f $@-t $@ && \
1073         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
1074           sed -e 's|@''GUARD_PREFIX''@|GL_GTPO|g' \
1075               -e 's/@''HAVE_STDINT_H''@/$(HAVE_STDINT_H)/g' \
1076               -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1077               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1078               -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
1079               -e 's|@''NEXT_STDINT_H''@|$(NEXT_STDINT_H)|g' \
1080               -e 's/@''HAVE_SYS_TYPES_H''@/$(HAVE_SYS_TYPES_H)/g' \
1081               -e 's/@''HAVE_INTTYPES_H''@/$(HAVE_INTTYPES_H)/g' \
1082               -e 's/@''HAVE_SYS_INTTYPES_H''@/$(HAVE_SYS_INTTYPES_H)/g' \
1083               -e 's/@''HAVE_SYS_BITYPES_H''@/$(HAVE_SYS_BITYPES_H)/g' \
1084               -e 's/@''HAVE_WCHAR_H''@/$(HAVE_WCHAR_H)/g' \
1085               -e 's/@''HAVE_LONG_LONG_INT''@/$(HAVE_LONG_LONG_INT)/g' \
1086               -e 's/@''HAVE_UNSIGNED_LONG_LONG_INT''@/$(HAVE_UNSIGNED_LONG_LONG_INT)/g' \
1087               -e 's/@''APPLE_UNIVERSAL_BUILD''@/$(APPLE_UNIVERSAL_BUILD)/g' \
1088               -e 's/@''BITSIZEOF_PTRDIFF_T''@/$(BITSIZEOF_PTRDIFF_T)/g' \
1089               -e 's/@''PTRDIFF_T_SUFFIX''@/$(PTRDIFF_T_SUFFIX)/g' \
1090               -e 's/@''BITSIZEOF_SIG_ATOMIC_T''@/$(BITSIZEOF_SIG_ATOMIC_T)/g' \
1091               -e 's/@''HAVE_SIGNED_SIG_ATOMIC_T''@/$(HAVE_SIGNED_SIG_ATOMIC_T)/g' \
1092               -e 's/@''SIG_ATOMIC_T_SUFFIX''@/$(SIG_ATOMIC_T_SUFFIX)/g' \
1093               -e 's/@''BITSIZEOF_SIZE_T''@/$(BITSIZEOF_SIZE_T)/g' \
1094               -e 's/@''SIZE_T_SUFFIX''@/$(SIZE_T_SUFFIX)/g' \
1095               -e 's/@''BITSIZEOF_WCHAR_T''@/$(BITSIZEOF_WCHAR_T)/g' \
1096               -e 's/@''HAVE_SIGNED_WCHAR_T''@/$(HAVE_SIGNED_WCHAR_T)/g' \
1097               -e 's/@''WCHAR_T_SUFFIX''@/$(WCHAR_T_SUFFIX)/g' \
1098               -e 's/@''BITSIZEOF_WINT_T''@/$(BITSIZEOF_WINT_T)/g' \
1099               -e 's/@''HAVE_SIGNED_WINT_T''@/$(HAVE_SIGNED_WINT_T)/g' \
1100               -e 's/@''WINT_T_SUFFIX''@/$(WINT_T_SUFFIX)/g' \
1101               < $(srcdir)/stdint.in.h; \
1102         } > $@-t && \
1103         mv $@-t $@
1104 else
1105 stdint.h: $(top_builddir)/config.status
1106         rm -f $@
1107 endif
1108 MOSTLYCLEANFILES += stdint.h stdint.h-t
1109
1110 EXTRA_DIST += stdint.in.h
1111
1112 ## end   gnulib module stdint
1113
1114 ## begin gnulib module stdio
1115
1116 BUILT_SOURCES += stdio.h
1117
1118 # We need the following in order to create <stdio.h> when the system
1119 # doesn't have one that works with the given compiler.
1120 stdio.h: stdio.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
1121         $(AM_V_GEN)rm -f $@-t $@ && \
1122         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
1123           sed -e 's|@''GUARD_PREFIX''@|GL_GTPO|g' \
1124               -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1125               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1126               -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
1127               -e 's|@''NEXT_STDIO_H''@|$(NEXT_STDIO_H)|g' \
1128               -e 's/@''GNULIB_DPRINTF''@/$(GNULIB_DPRINTF)/g' \
1129               -e 's/@''GNULIB_FCLOSE''@/$(GNULIB_FCLOSE)/g' \
1130               -e 's/@''GNULIB_FDOPEN''@/$(GNULIB_FDOPEN)/g' \
1131               -e 's/@''GNULIB_FFLUSH''@/$(GNULIB_FFLUSH)/g' \
1132               -e 's/@''GNULIB_FGETC''@/$(GNULIB_FGETC)/g' \
1133               -e 's/@''GNULIB_FGETS''@/$(GNULIB_FGETS)/g' \
1134               -e 's/@''GNULIB_FOPEN''@/$(GNULIB_FOPEN)/g' \
1135               -e 's/@''GNULIB_FPRINTF''@/$(GNULIB_FPRINTF)/g' \
1136               -e 's/@''GNULIB_FPRINTF_POSIX''@/$(GNULIB_FPRINTF_POSIX)/g' \
1137               -e 's/@''GNULIB_FPURGE''@/$(GNULIB_FPURGE)/g' \
1138               -e 's/@''GNULIB_FPUTC''@/$(GNULIB_FPUTC)/g' \
1139               -e 's/@''GNULIB_FPUTS''@/$(GNULIB_FPUTS)/g' \
1140               -e 's/@''GNULIB_FREAD''@/$(GNULIB_FREAD)/g' \
1141               -e 's/@''GNULIB_FREOPEN''@/$(GNULIB_FREOPEN)/g' \
1142               -e 's/@''GNULIB_FSCANF''@/$(GNULIB_FSCANF)/g' \
1143               -e 's/@''GNULIB_FSEEK''@/$(GNULIB_FSEEK)/g' \
1144               -e 's/@''GNULIB_FSEEKO''@/$(GNULIB_FSEEKO)/g' \
1145               -e 's/@''GNULIB_FTELL''@/$(GNULIB_FTELL)/g' \
1146               -e 's/@''GNULIB_FTELLO''@/$(GNULIB_FTELLO)/g' \
1147               -e 's/@''GNULIB_FWRITE''@/$(GNULIB_FWRITE)/g' \
1148               -e 's/@''GNULIB_GETC''@/$(GNULIB_GETC)/g' \
1149               -e 's/@''GNULIB_GETCHAR''@/$(GNULIB_GETCHAR)/g' \
1150               -e 's/@''GNULIB_GETDELIM''@/$(GNULIB_GETDELIM)/g' \
1151               -e 's/@''GNULIB_GETLINE''@/$(GNULIB_GETLINE)/g' \
1152               -e 's/@''GNULIB_OBSTACK_PRINTF''@/$(GNULIB_OBSTACK_PRINTF)/g' \
1153               -e 's/@''GNULIB_OBSTACK_PRINTF_POSIX''@/$(GNULIB_OBSTACK_PRINTF_POSIX)/g' \
1154               -e 's/@''GNULIB_PCLOSE''@/$(GNULIB_PCLOSE)/g' \
1155               -e 's/@''GNULIB_PERROR''@/$(GNULIB_PERROR)/g' \
1156               -e 's/@''GNULIB_POPEN''@/$(GNULIB_POPEN)/g' \
1157               -e 's/@''GNULIB_PRINTF''@/$(GNULIB_PRINTF)/g' \
1158               -e 's/@''GNULIB_PRINTF_POSIX''@/$(GNULIB_PRINTF_POSIX)/g' \
1159               -e 's/@''GNULIB_PUTC''@/$(GNULIB_PUTC)/g' \
1160               -e 's/@''GNULIB_PUTCHAR''@/$(GNULIB_PUTCHAR)/g' \
1161               -e 's/@''GNULIB_PUTS''@/$(GNULIB_PUTS)/g' \
1162               -e 's/@''GNULIB_REMOVE''@/$(GNULIB_REMOVE)/g' \
1163               -e 's/@''GNULIB_RENAME''@/$(GNULIB_RENAME)/g' \
1164               -e 's/@''GNULIB_RENAMEAT''@/$(GNULIB_RENAMEAT)/g' \
1165               -e 's/@''GNULIB_SCANF''@/$(GNULIB_SCANF)/g' \
1166               -e 's/@''GNULIB_SNPRINTF''@/$(GNULIB_SNPRINTF)/g' \
1167               -e 's/@''GNULIB_SPRINTF_POSIX''@/$(GNULIB_SPRINTF_POSIX)/g' \
1168               -e 's/@''GNULIB_STDIO_H_NONBLOCKING''@/$(GNULIB_STDIO_H_NONBLOCKING)/g' \
1169               -e 's/@''GNULIB_STDIO_H_SIGPIPE''@/$(GNULIB_STDIO_H_SIGPIPE)/g' \
1170               -e 's/@''GNULIB_TMPFILE''@/$(GNULIB_TMPFILE)/g' \
1171               -e 's/@''GNULIB_VASPRINTF''@/$(GNULIB_VASPRINTF)/g' \
1172               -e 's/@''GNULIB_VDPRINTF''@/$(GNULIB_VDPRINTF)/g' \
1173               -e 's/@''GNULIB_VFPRINTF''@/$(GNULIB_VFPRINTF)/g' \
1174               -e 's/@''GNULIB_VFPRINTF_POSIX''@/$(GNULIB_VFPRINTF_POSIX)/g' \
1175               -e 's/@''GNULIB_VFSCANF''@/$(GNULIB_VFSCANF)/g' \
1176               -e 's/@''GNULIB_VSCANF''@/$(GNULIB_VSCANF)/g' \
1177               -e 's/@''GNULIB_VPRINTF''@/$(GNULIB_VPRINTF)/g' \
1178               -e 's/@''GNULIB_VPRINTF_POSIX''@/$(GNULIB_VPRINTF_POSIX)/g' \
1179               -e 's/@''GNULIB_VSNPRINTF''@/$(GNULIB_VSNPRINTF)/g' \
1180               -e 's/@''GNULIB_VSPRINTF_POSIX''@/$(GNULIB_VSPRINTF_POSIX)/g' \
1181               < $(srcdir)/stdio.in.h | \
1182           sed -e 's|@''HAVE_DECL_FPURGE''@|$(HAVE_DECL_FPURGE)|g' \
1183               -e 's|@''HAVE_DECL_FSEEKO''@|$(HAVE_DECL_FSEEKO)|g' \
1184               -e 's|@''HAVE_DECL_FTELLO''@|$(HAVE_DECL_FTELLO)|g' \
1185               -e 's|@''HAVE_DECL_GETDELIM''@|$(HAVE_DECL_GETDELIM)|g' \
1186               -e 's|@''HAVE_DECL_GETLINE''@|$(HAVE_DECL_GETLINE)|g' \
1187               -e 's|@''HAVE_DECL_OBSTACK_PRINTF''@|$(HAVE_DECL_OBSTACK_PRINTF)|g' \
1188               -e 's|@''HAVE_DECL_SNPRINTF''@|$(HAVE_DECL_SNPRINTF)|g' \
1189               -e 's|@''HAVE_DECL_VSNPRINTF''@|$(HAVE_DECL_VSNPRINTF)|g' \
1190               -e 's|@''HAVE_DPRINTF''@|$(HAVE_DPRINTF)|g' \
1191               -e 's|@''HAVE_FSEEKO''@|$(HAVE_FSEEKO)|g' \
1192               -e 's|@''HAVE_FTELLO''@|$(HAVE_FTELLO)|g' \
1193               -e 's|@''HAVE_PCLOSE''@|$(HAVE_PCLOSE)|g' \
1194               -e 's|@''HAVE_POPEN''@|$(HAVE_POPEN)|g' \
1195               -e 's|@''HAVE_RENAMEAT''@|$(HAVE_RENAMEAT)|g' \
1196               -e 's|@''HAVE_VASPRINTF''@|$(HAVE_VASPRINTF)|g' \
1197               -e 's|@''HAVE_VDPRINTF''@|$(HAVE_VDPRINTF)|g' \
1198               -e 's|@''REPLACE_DPRINTF''@|$(REPLACE_DPRINTF)|g' \
1199               -e 's|@''REPLACE_FCLOSE''@|$(REPLACE_FCLOSE)|g' \
1200               -e 's|@''REPLACE_FDOPEN''@|$(REPLACE_FDOPEN)|g' \
1201               -e 's|@''REPLACE_FFLUSH''@|$(REPLACE_FFLUSH)|g' \
1202               -e 's|@''REPLACE_FOPEN''@|$(REPLACE_FOPEN)|g' \
1203               -e 's|@''REPLACE_FPRINTF''@|$(REPLACE_FPRINTF)|g' \
1204               -e 's|@''REPLACE_FPURGE''@|$(REPLACE_FPURGE)|g' \
1205               -e 's|@''REPLACE_FREOPEN''@|$(REPLACE_FREOPEN)|g' \
1206               -e 's|@''REPLACE_FSEEK''@|$(REPLACE_FSEEK)|g' \
1207               -e 's|@''REPLACE_FSEEKO''@|$(REPLACE_FSEEKO)|g' \
1208               -e 's|@''REPLACE_FTELL''@|$(REPLACE_FTELL)|g' \
1209               -e 's|@''REPLACE_FTELLO''@|$(REPLACE_FTELLO)|g' \
1210               -e 's|@''REPLACE_GETDELIM''@|$(REPLACE_GETDELIM)|g' \
1211               -e 's|@''REPLACE_GETLINE''@|$(REPLACE_GETLINE)|g' \
1212               -e 's|@''REPLACE_OBSTACK_PRINTF''@|$(REPLACE_OBSTACK_PRINTF)|g' \
1213               -e 's|@''REPLACE_PERROR''@|$(REPLACE_PERROR)|g' \
1214               -e 's|@''REPLACE_POPEN''@|$(REPLACE_POPEN)|g' \
1215               -e 's|@''REPLACE_PRINTF''@|$(REPLACE_PRINTF)|g' \
1216               -e 's|@''REPLACE_REMOVE''@|$(REPLACE_REMOVE)|g' \
1217               -e 's|@''REPLACE_RENAME''@|$(REPLACE_RENAME)|g' \
1218               -e 's|@''REPLACE_RENAMEAT''@|$(REPLACE_RENAMEAT)|g' \
1219               -e 's|@''REPLACE_SNPRINTF''@|$(REPLACE_SNPRINTF)|g' \
1220               -e 's|@''REPLACE_SPRINTF''@|$(REPLACE_SPRINTF)|g' \
1221               -e 's|@''REPLACE_STDIO_READ_FUNCS''@|$(REPLACE_STDIO_READ_FUNCS)|g' \
1222               -e 's|@''REPLACE_STDIO_WRITE_FUNCS''@|$(REPLACE_STDIO_WRITE_FUNCS)|g' \
1223               -e 's|@''REPLACE_TMPFILE''@|$(REPLACE_TMPFILE)|g' \
1224               -e 's|@''REPLACE_VASPRINTF''@|$(REPLACE_VASPRINTF)|g' \
1225               -e 's|@''REPLACE_VDPRINTF''@|$(REPLACE_VDPRINTF)|g' \
1226               -e 's|@''REPLACE_VFPRINTF''@|$(REPLACE_VFPRINTF)|g' \
1227               -e 's|@''REPLACE_VPRINTF''@|$(REPLACE_VPRINTF)|g' \
1228               -e 's|@''REPLACE_VSNPRINTF''@|$(REPLACE_VSNPRINTF)|g' \
1229               -e 's|@''REPLACE_VSPRINTF''@|$(REPLACE_VSPRINTF)|g' \
1230               -e 's|@''ASM_SYMBOL_PREFIX''@|$(ASM_SYMBOL_PREFIX)|g' \
1231               -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
1232               -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
1233               -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)'; \
1234         } > $@-t && \
1235         mv $@-t $@
1236 MOSTLYCLEANFILES += stdio.h stdio.h-t
1237
1238 EXTRA_DIST += stdio.in.h
1239
1240 ## end   gnulib module stdio
1241
1242 ## begin gnulib module stdlib
1243
1244 BUILT_SOURCES += stdlib.h
1245
1246 # We need the following in order to create <stdlib.h> when the system
1247 # doesn't have one that works with the given compiler.
1248 stdlib.h: stdlib.in.h $(top_builddir)/config.status $(CXXDEFS_H) \
1249   $(_NORETURN_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
1250         $(AM_V_GEN)rm -f $@-t $@ && \
1251         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
1252           sed -e 's|@''GUARD_PREFIX''@|GL_GTPO|g' \
1253               -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1254               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1255               -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
1256               -e 's|@''NEXT_STDLIB_H''@|$(NEXT_STDLIB_H)|g' \
1257               -e 's/@''GNULIB__EXIT''@/$(GNULIB__EXIT)/g' \
1258               -e 's/@''GNULIB_ATOLL''@/$(GNULIB_ATOLL)/g' \
1259               -e 's/@''GNULIB_CALLOC_POSIX''@/$(GNULIB_CALLOC_POSIX)/g' \
1260               -e 's/@''GNULIB_CANONICALIZE_FILE_NAME''@/$(GNULIB_CANONICALIZE_FILE_NAME)/g' \
1261               -e 's/@''GNULIB_GETLOADAVG''@/$(GNULIB_GETLOADAVG)/g' \
1262               -e 's/@''GNULIB_GETSUBOPT''@/$(GNULIB_GETSUBOPT)/g' \
1263               -e 's/@''GNULIB_GRANTPT''@/$(GNULIB_GRANTPT)/g' \
1264               -e 's/@''GNULIB_MALLOC_POSIX''@/$(GNULIB_MALLOC_POSIX)/g' \
1265               -e 's/@''GNULIB_MBTOWC''@/$(GNULIB_MBTOWC)/g' \
1266               -e 's/@''GNULIB_MKDTEMP''@/$(GNULIB_MKDTEMP)/g' \
1267               -e 's/@''GNULIB_MKOSTEMP''@/$(GNULIB_MKOSTEMP)/g' \
1268               -e 's/@''GNULIB_MKOSTEMPS''@/$(GNULIB_MKOSTEMPS)/g' \
1269               -e 's/@''GNULIB_MKSTEMP''@/$(GNULIB_MKSTEMP)/g' \
1270               -e 's/@''GNULIB_MKSTEMPS''@/$(GNULIB_MKSTEMPS)/g' \
1271               -e 's/@''GNULIB_POSIX_OPENPT''@/$(GNULIB_POSIX_OPENPT)/g' \
1272               -e 's/@''GNULIB_PTSNAME''@/$(GNULIB_PTSNAME)/g' \
1273               -e 's/@''GNULIB_PTSNAME_R''@/$(GNULIB_PTSNAME_R)/g' \
1274               -e 's/@''GNULIB_PUTENV''@/$(GNULIB_PUTENV)/g' \
1275               -e 's/@''GNULIB_QSORT_R''@/$(GNULIB_QSORT_R)/g' \
1276               -e 's/@''GNULIB_RANDOM''@/$(GNULIB_RANDOM)/g' \
1277               -e 's/@''GNULIB_RANDOM_R''@/$(GNULIB_RANDOM_R)/g' \
1278               -e 's/@''GNULIB_REALLOC_POSIX''@/$(GNULIB_REALLOC_POSIX)/g' \
1279               -e 's/@''GNULIB_REALPATH''@/$(GNULIB_REALPATH)/g' \
1280               -e 's/@''GNULIB_RPMATCH''@/$(GNULIB_RPMATCH)/g' \
1281               -e 's/@''GNULIB_SECURE_GETENV''@/$(GNULIB_SECURE_GETENV)/g' \
1282               -e 's/@''GNULIB_SETENV''@/$(GNULIB_SETENV)/g' \
1283               -e 's/@''GNULIB_STRTOD''@/$(GNULIB_STRTOD)/g' \
1284               -e 's/@''GNULIB_STRTOLL''@/$(GNULIB_STRTOLL)/g' \
1285               -e 's/@''GNULIB_STRTOULL''@/$(GNULIB_STRTOULL)/g' \
1286               -e 's/@''GNULIB_SYSTEM_POSIX''@/$(GNULIB_SYSTEM_POSIX)/g' \
1287               -e 's/@''GNULIB_UNLOCKPT''@/$(GNULIB_UNLOCKPT)/g' \
1288               -e 's/@''GNULIB_UNSETENV''@/$(GNULIB_UNSETENV)/g' \
1289               -e 's/@''GNULIB_WCTOMB''@/$(GNULIB_WCTOMB)/g' \
1290               < $(srcdir)/stdlib.in.h | \
1291           sed -e 's|@''HAVE__EXIT''@|$(HAVE__EXIT)|g' \
1292               -e 's|@''HAVE_ATOLL''@|$(HAVE_ATOLL)|g' \
1293               -e 's|@''HAVE_CANONICALIZE_FILE_NAME''@|$(HAVE_CANONICALIZE_FILE_NAME)|g' \
1294               -e 's|@''HAVE_DECL_GETLOADAVG''@|$(HAVE_DECL_GETLOADAVG)|g' \
1295               -e 's|@''HAVE_GETSUBOPT''@|$(HAVE_GETSUBOPT)|g' \
1296               -e 's|@''HAVE_GRANTPT''@|$(HAVE_GRANTPT)|g' \
1297               -e 's|@''HAVE_MKDTEMP''@|$(HAVE_MKDTEMP)|g' \
1298               -e 's|@''HAVE_MKOSTEMP''@|$(HAVE_MKOSTEMP)|g' \
1299               -e 's|@''HAVE_MKOSTEMPS''@|$(HAVE_MKOSTEMPS)|g' \
1300               -e 's|@''HAVE_MKSTEMP''@|$(HAVE_MKSTEMP)|g' \
1301               -e 's|@''HAVE_MKSTEMPS''@|$(HAVE_MKSTEMPS)|g' \
1302               -e 's|@''HAVE_POSIX_OPENPT''@|$(HAVE_POSIX_OPENPT)|g' \
1303               -e 's|@''HAVE_PTSNAME''@|$(HAVE_PTSNAME)|g' \
1304               -e 's|@''HAVE_PTSNAME_R''@|$(HAVE_PTSNAME_R)|g' \
1305               -e 's|@''HAVE_RANDOM''@|$(HAVE_RANDOM)|g' \
1306               -e 's|@''HAVE_RANDOM_H''@|$(HAVE_RANDOM_H)|g' \
1307               -e 's|@''HAVE_RANDOM_R''@|$(HAVE_RANDOM_R)|g' \
1308               -e 's|@''HAVE_REALPATH''@|$(HAVE_REALPATH)|g' \
1309               -e 's|@''HAVE_RPMATCH''@|$(HAVE_RPMATCH)|g' \
1310               -e 's|@''HAVE_SECURE_GETENV''@|$(HAVE_SECURE_GETENV)|g' \
1311               -e 's|@''HAVE_DECL_SETENV''@|$(HAVE_DECL_SETENV)|g' \
1312               -e 's|@''HAVE_STRTOD''@|$(HAVE_STRTOD)|g' \
1313               -e 's|@''HAVE_STRTOLL''@|$(HAVE_STRTOLL)|g' \
1314               -e 's|@''HAVE_STRTOULL''@|$(HAVE_STRTOULL)|g' \
1315               -e 's|@''HAVE_STRUCT_RANDOM_DATA''@|$(HAVE_STRUCT_RANDOM_DATA)|g' \
1316               -e 's|@''HAVE_SYS_LOADAVG_H''@|$(HAVE_SYS_LOADAVG_H)|g' \
1317               -e 's|@''HAVE_UNLOCKPT''@|$(HAVE_UNLOCKPT)|g' \
1318               -e 's|@''HAVE_DECL_UNSETENV''@|$(HAVE_DECL_UNSETENV)|g' \
1319               -e 's|@''REPLACE_CALLOC''@|$(REPLACE_CALLOC)|g' \
1320               -e 's|@''REPLACE_CANONICALIZE_FILE_NAME''@|$(REPLACE_CANONICALIZE_FILE_NAME)|g' \
1321               -e 's|@''REPLACE_MALLOC''@|$(REPLACE_MALLOC)|g' \
1322               -e 's|@''REPLACE_MBTOWC''@|$(REPLACE_MBTOWC)|g' \
1323               -e 's|@''REPLACE_MKSTEMP''@|$(REPLACE_MKSTEMP)|g' \
1324               -e 's|@''REPLACE_PTSNAME''@|$(REPLACE_PTSNAME)|g' \
1325               -e 's|@''REPLACE_PTSNAME_R''@|$(REPLACE_PTSNAME_R)|g' \
1326               -e 's|@''REPLACE_PUTENV''@|$(REPLACE_PUTENV)|g' \
1327               -e 's|@''REPLACE_QSORT_R''@|$(REPLACE_QSORT_R)|g' \
1328               -e 's|@''REPLACE_RANDOM_R''@|$(REPLACE_RANDOM_R)|g' \
1329               -e 's|@''REPLACE_REALLOC''@|$(REPLACE_REALLOC)|g' \
1330               -e 's|@''REPLACE_REALPATH''@|$(REPLACE_REALPATH)|g' \
1331               -e 's|@''REPLACE_SETENV''@|$(REPLACE_SETENV)|g' \
1332               -e 's|@''REPLACE_STRTOD''@|$(REPLACE_STRTOD)|g' \
1333               -e 's|@''REPLACE_UNSETENV''@|$(REPLACE_UNSETENV)|g' \
1334               -e 's|@''REPLACE_WCTOMB''@|$(REPLACE_WCTOMB)|g' \
1335               -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
1336               -e '/definition of _Noreturn/r $(_NORETURN_H)' \
1337               -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
1338               -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)'; \
1339         } > $@-t && \
1340         mv $@-t $@
1341 MOSTLYCLEANFILES += stdlib.h stdlib.h-t
1342
1343 EXTRA_DIST += stdlib.in.h
1344
1345 ## end   gnulib module stdlib
1346
1347 ## begin gnulib module stpcpy
1348
1349
1350 EXTRA_DIST += stpcpy.c
1351
1352 EXTRA_libgnu_la_SOURCES += stpcpy.c
1353
1354 ## end   gnulib module stpcpy
1355
1356 ## begin gnulib module stpncpy
1357
1358
1359 EXTRA_DIST += stpncpy.c
1360
1361 EXTRA_libgnu_la_SOURCES += stpncpy.c
1362
1363 ## end   gnulib module stpncpy
1364
1365 ## begin gnulib module strchrnul
1366
1367
1368 EXTRA_DIST += strchrnul.c strchrnul.valgrind
1369
1370 EXTRA_libgnu_la_SOURCES += strchrnul.c
1371
1372 ## end   gnulib module strchrnul
1373
1374 ## begin gnulib module streq
1375
1376
1377 EXTRA_DIST += streq.h
1378
1379 ## end   gnulib module streq
1380
1381 ## begin gnulib module strerror
1382
1383
1384 EXTRA_DIST += strerror.c
1385
1386 EXTRA_libgnu_la_SOURCES += strerror.c
1387
1388 ## end   gnulib module strerror
1389
1390 ## begin gnulib module strerror-override
1391
1392
1393 EXTRA_DIST += strerror-override.c strerror-override.h
1394
1395 EXTRA_libgnu_la_SOURCES += strerror-override.c
1396
1397 ## end   gnulib module strerror-override
1398
1399 ## begin gnulib module striconv
1400
1401 libgnu_la_SOURCES += striconv.h striconv.c
1402 if GL_COND_LIBTOOL
1403 libgnu_la_LDFLAGS += $(LTLIBICONV)
1404 endif
1405
1406 ## end   gnulib module striconv
1407
1408 ## begin gnulib module striconveh
1409
1410 libgnu_la_SOURCES += striconveh.h striconveh.c
1411 if GL_COND_LIBTOOL
1412 libgnu_la_LDFLAGS += $(LTLIBICONV)
1413 endif
1414
1415 EXTRA_DIST += iconveh.h
1416
1417 ## end   gnulib module striconveh
1418
1419 ## begin gnulib module striconveha
1420
1421 libgnu_la_SOURCES += striconveha.h striconveha.c
1422
1423 ## end   gnulib module striconveha
1424
1425 ## begin gnulib module string
1426
1427 BUILT_SOURCES += string.h
1428
1429 # We need the following in order to create <string.h> when the system
1430 # doesn't have one that works with the given compiler.
1431 string.h: string.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
1432         $(AM_V_GEN)rm -f $@-t $@ && \
1433         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
1434           sed -e 's|@''GUARD_PREFIX''@|GL_GTPO|g' \
1435               -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1436               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1437               -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
1438               -e 's|@''NEXT_STRING_H''@|$(NEXT_STRING_H)|g' \
1439               -e 's/@''GNULIB_FFSL''@/$(GNULIB_FFSL)/g' \
1440               -e 's/@''GNULIB_FFSLL''@/$(GNULIB_FFSLL)/g' \
1441               -e 's/@''GNULIB_MBSLEN''@/$(GNULIB_MBSLEN)/g' \
1442               -e 's/@''GNULIB_MBSNLEN''@/$(GNULIB_MBSNLEN)/g' \
1443               -e 's/@''GNULIB_MBSCHR''@/$(GNULIB_MBSCHR)/g' \
1444               -e 's/@''GNULIB_MBSRCHR''@/$(GNULIB_MBSRCHR)/g' \
1445               -e 's/@''GNULIB_MBSSTR''@/$(GNULIB_MBSSTR)/g' \
1446               -e 's/@''GNULIB_MBSCASECMP''@/$(GNULIB_MBSCASECMP)/g' \
1447               -e 's/@''GNULIB_MBSNCASECMP''@/$(GNULIB_MBSNCASECMP)/g' \
1448               -e 's/@''GNULIB_MBSPCASECMP''@/$(GNULIB_MBSPCASECMP)/g' \
1449               -e 's/@''GNULIB_MBSCASESTR''@/$(GNULIB_MBSCASESTR)/g' \
1450               -e 's/@''GNULIB_MBSCSPN''@/$(GNULIB_MBSCSPN)/g' \
1451               -e 's/@''GNULIB_MBSPBRK''@/$(GNULIB_MBSPBRK)/g' \
1452               -e 's/@''GNULIB_MBSSPN''@/$(GNULIB_MBSSPN)/g' \
1453               -e 's/@''GNULIB_MBSSEP''@/$(GNULIB_MBSSEP)/g' \
1454               -e 's/@''GNULIB_MBSTOK_R''@/$(GNULIB_MBSTOK_R)/g' \
1455               -e 's/@''GNULIB_MEMCHR''@/$(GNULIB_MEMCHR)/g' \
1456               -e 's/@''GNULIB_MEMMEM''@/$(GNULIB_MEMMEM)/g' \
1457               -e 's/@''GNULIB_MEMPCPY''@/$(GNULIB_MEMPCPY)/g' \
1458               -e 's/@''GNULIB_MEMRCHR''@/$(GNULIB_MEMRCHR)/g' \
1459               -e 's/@''GNULIB_RAWMEMCHR''@/$(GNULIB_RAWMEMCHR)/g' \
1460               -e 's/@''GNULIB_STPCPY''@/$(GNULIB_STPCPY)/g' \
1461               -e 's/@''GNULIB_STPNCPY''@/$(GNULIB_STPNCPY)/g' \
1462               -e 's/@''GNULIB_STRCHRNUL''@/$(GNULIB_STRCHRNUL)/g' \
1463               -e 's/@''GNULIB_STRDUP''@/$(GNULIB_STRDUP)/g' \
1464               -e 's/@''GNULIB_STRNCAT''@/$(GNULIB_STRNCAT)/g' \
1465               -e 's/@''GNULIB_STRNDUP''@/$(GNULIB_STRNDUP)/g' \
1466               -e 's/@''GNULIB_STRNLEN''@/$(GNULIB_STRNLEN)/g' \
1467               -e 's/@''GNULIB_STRPBRK''@/$(GNULIB_STRPBRK)/g' \
1468               -e 's/@''GNULIB_STRSEP''@/$(GNULIB_STRSEP)/g' \
1469               -e 's/@''GNULIB_STRSTR''@/$(GNULIB_STRSTR)/g' \
1470               -e 's/@''GNULIB_STRCASESTR''@/$(GNULIB_STRCASESTR)/g' \
1471               -e 's/@''GNULIB_STRTOK_R''@/$(GNULIB_STRTOK_R)/g' \
1472               -e 's/@''GNULIB_STRERROR''@/$(GNULIB_STRERROR)/g' \
1473               -e 's/@''GNULIB_STRERROR_R''@/$(GNULIB_STRERROR_R)/g' \
1474               -e 's/@''GNULIB_STRSIGNAL''@/$(GNULIB_STRSIGNAL)/g' \
1475               -e 's/@''GNULIB_STRVERSCMP''@/$(GNULIB_STRVERSCMP)/g' \
1476               < $(srcdir)/string.in.h | \
1477           sed -e 's|@''HAVE_FFSL''@|$(HAVE_FFSL)|g' \
1478               -e 's|@''HAVE_FFSLL''@|$(HAVE_FFSLL)|g' \
1479               -e 's|@''HAVE_MBSLEN''@|$(HAVE_MBSLEN)|g' \
1480               -e 's|@''HAVE_MEMCHR''@|$(HAVE_MEMCHR)|g' \
1481               -e 's|@''HAVE_DECL_MEMMEM''@|$(HAVE_DECL_MEMMEM)|g' \
1482               -e 's|@''HAVE_MEMPCPY''@|$(HAVE_MEMPCPY)|g' \
1483               -e 's|@''HAVE_DECL_MEMRCHR''@|$(HAVE_DECL_MEMRCHR)|g' \
1484               -e 's|@''HAVE_RAWMEMCHR''@|$(HAVE_RAWMEMCHR)|g' \
1485               -e 's|@''HAVE_STPCPY''@|$(HAVE_STPCPY)|g' \
1486               -e 's|@''HAVE_STPNCPY''@|$(HAVE_STPNCPY)|g' \
1487               -e 's|@''HAVE_STRCHRNUL''@|$(HAVE_STRCHRNUL)|g' \
1488               -e 's|@''HAVE_DECL_STRDUP''@|$(HAVE_DECL_STRDUP)|g' \
1489               -e 's|@''HAVE_DECL_STRNDUP''@|$(HAVE_DECL_STRNDUP)|g' \
1490               -e 's|@''HAVE_DECL_STRNLEN''@|$(HAVE_DECL_STRNLEN)|g' \
1491               -e 's|@''HAVE_STRPBRK''@|$(HAVE_STRPBRK)|g' \
1492               -e 's|@''HAVE_STRSEP''@|$(HAVE_STRSEP)|g' \
1493               -e 's|@''HAVE_STRCASESTR''@|$(HAVE_STRCASESTR)|g' \
1494               -e 's|@''HAVE_DECL_STRTOK_R''@|$(HAVE_DECL_STRTOK_R)|g' \
1495               -e 's|@''HAVE_DECL_STRERROR_R''@|$(HAVE_DECL_STRERROR_R)|g' \
1496               -e 's|@''HAVE_DECL_STRSIGNAL''@|$(HAVE_DECL_STRSIGNAL)|g' \
1497               -e 's|@''HAVE_STRVERSCMP''@|$(HAVE_STRVERSCMP)|g' \
1498               -e 's|@''REPLACE_STPNCPY''@|$(REPLACE_STPNCPY)|g' \
1499               -e 's|@''REPLACE_MEMCHR''@|$(REPLACE_MEMCHR)|g' \
1500               -e 's|@''REPLACE_MEMMEM''@|$(REPLACE_MEMMEM)|g' \
1501               -e 's|@''REPLACE_STRCASESTR''@|$(REPLACE_STRCASESTR)|g' \
1502               -e 's|@''REPLACE_STRCHRNUL''@|$(REPLACE_STRCHRNUL)|g' \
1503               -e 's|@''REPLACE_STRDUP''@|$(REPLACE_STRDUP)|g' \
1504               -e 's|@''REPLACE_STRSTR''@|$(REPLACE_STRSTR)|g' \
1505               -e 's|@''REPLACE_STRERROR''@|$(REPLACE_STRERROR)|g' \
1506               -e 's|@''REPLACE_STRERROR_R''@|$(REPLACE_STRERROR_R)|g' \
1507               -e 's|@''REPLACE_STRNCAT''@|$(REPLACE_STRNCAT)|g' \
1508               -e 's|@''REPLACE_STRNDUP''@|$(REPLACE_STRNDUP)|g' \
1509               -e 's|@''REPLACE_STRNLEN''@|$(REPLACE_STRNLEN)|g' \
1510               -e 's|@''REPLACE_STRSIGNAL''@|$(REPLACE_STRSIGNAL)|g' \
1511               -e 's|@''REPLACE_STRTOK_R''@|$(REPLACE_STRTOK_R)|g' \
1512               -e 's|@''UNDEFINE_STRTOK_R''@|$(UNDEFINE_STRTOK_R)|g' \
1513               -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
1514               -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
1515               -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)'; \
1516               < $(srcdir)/string.in.h; \
1517         } > $@-t && \
1518         mv $@-t $@
1519 MOSTLYCLEANFILES += string.h string.h-t
1520
1521 EXTRA_DIST += string.in.h
1522
1523 ## end   gnulib module string
1524
1525 ## begin gnulib module strstr-simple
1526
1527
1528 EXTRA_DIST += str-two-way.h strstr.c
1529
1530 EXTRA_libgnu_la_SOURCES += strstr.c
1531
1532 ## end   gnulib module strstr-simple
1533
1534 ## begin gnulib module sys_stat
1535
1536 BUILT_SOURCES += sys/stat.h
1537
1538 # We need the following in order to create <sys/stat.h> when the system
1539 # has one that is incomplete.
1540 sys/stat.h: sys_stat.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
1541         $(AM_V_at)$(MKDIR_P) sys
1542         $(AM_V_GEN)rm -f $@-t $@ && \
1543         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
1544           sed -e 's|@''GUARD_PREFIX''@|GL_GTPO|g' \
1545               -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1546               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1547               -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
1548               -e 's|@''NEXT_SYS_STAT_H''@|$(NEXT_SYS_STAT_H)|g' \
1549               -e 's|@''WINDOWS_64_BIT_ST_SIZE''@|$(WINDOWS_64_BIT_ST_SIZE)|g' \
1550               -e 's/@''GNULIB_FCHMODAT''@/$(GNULIB_FCHMODAT)/g' \
1551               -e 's/@''GNULIB_FSTAT''@/$(GNULIB_FSTAT)/g' \
1552               -e 's/@''GNULIB_FSTATAT''@/$(GNULIB_FSTATAT)/g' \
1553               -e 's/@''GNULIB_FUTIMENS''@/$(GNULIB_FUTIMENS)/g' \
1554               -e 's/@''GNULIB_LCHMOD''@/$(GNULIB_LCHMOD)/g' \
1555               -e 's/@''GNULIB_LSTAT''@/$(GNULIB_LSTAT)/g' \
1556               -e 's/@''GNULIB_MKDIRAT''@/$(GNULIB_MKDIRAT)/g' \
1557               -e 's/@''GNULIB_MKFIFO''@/$(GNULIB_MKFIFO)/g' \
1558               -e 's/@''GNULIB_MKFIFOAT''@/$(GNULIB_MKFIFOAT)/g' \
1559               -e 's/@''GNULIB_MKNOD''@/$(GNULIB_MKNOD)/g' \
1560               -e 's/@''GNULIB_MKNODAT''@/$(GNULIB_MKNODAT)/g' \
1561               -e 's/@''GNULIB_STAT''@/$(GNULIB_STAT)/g' \
1562               -e 's/@''GNULIB_UTIMENSAT''@/$(GNULIB_UTIMENSAT)/g' \
1563               -e 's|@''HAVE_FCHMODAT''@|$(HAVE_FCHMODAT)|g' \
1564               -e 's|@''HAVE_FSTATAT''@|$(HAVE_FSTATAT)|g' \
1565               -e 's|@''HAVE_FUTIMENS''@|$(HAVE_FUTIMENS)|g' \
1566               -e 's|@''HAVE_LCHMOD''@|$(HAVE_LCHMOD)|g' \
1567               -e 's|@''HAVE_LSTAT''@|$(HAVE_LSTAT)|g' \
1568               -e 's|@''HAVE_MKDIRAT''@|$(HAVE_MKDIRAT)|g' \
1569               -e 's|@''HAVE_MKFIFO''@|$(HAVE_MKFIFO)|g' \
1570               -e 's|@''HAVE_MKFIFOAT''@|$(HAVE_MKFIFOAT)|g' \
1571               -e 's|@''HAVE_MKNOD''@|$(HAVE_MKNOD)|g' \
1572               -e 's|@''HAVE_MKNODAT''@|$(HAVE_MKNODAT)|g' \
1573               -e 's|@''HAVE_UTIMENSAT''@|$(HAVE_UTIMENSAT)|g' \
1574               -e 's|@''REPLACE_FSTAT''@|$(REPLACE_FSTAT)|g' \
1575               -e 's|@''REPLACE_FSTATAT''@|$(REPLACE_FSTATAT)|g' \
1576               -e 's|@''REPLACE_FUTIMENS''@|$(REPLACE_FUTIMENS)|g' \
1577               -e 's|@''REPLACE_LSTAT''@|$(REPLACE_LSTAT)|g' \
1578               -e 's|@''REPLACE_MKDIR''@|$(REPLACE_MKDIR)|g' \
1579               -e 's|@''REPLACE_MKFIFO''@|$(REPLACE_MKFIFO)|g' \
1580               -e 's|@''REPLACE_MKNOD''@|$(REPLACE_MKNOD)|g' \
1581               -e 's|@''REPLACE_STAT''@|$(REPLACE_STAT)|g' \
1582               -e 's|@''REPLACE_UTIMENSAT''@|$(REPLACE_UTIMENSAT)|g' \
1583               -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
1584               -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
1585               -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
1586               < $(srcdir)/sys_stat.in.h; \
1587         } > $@-t && \
1588         mv $@-t $@
1589 MOSTLYCLEANFILES += sys/stat.h sys/stat.h-t
1590 MOSTLYCLEANDIRS += sys
1591
1592 EXTRA_DIST += sys_stat.in.h
1593
1594 ## end   gnulib module sys_stat
1595
1596 ## begin gnulib module sys_time
1597
1598 BUILT_SOURCES += sys/time.h
1599
1600 # We need the following in order to create <sys/time.h> when the system
1601 # doesn't have one that works with the given compiler.
1602 sys/time.h: sys_time.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
1603         $(AM_V_at)$(MKDIR_P) sys
1604         $(AM_V_GEN)rm -f $@-t $@ && \
1605         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
1606           sed -e 's|@''GUARD_PREFIX''@|GL_GTPO|g' \
1607               -e 's/@''HAVE_SYS_TIME_H''@/$(HAVE_SYS_TIME_H)/g' \
1608               -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1609               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1610               -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
1611               -e 's|@''NEXT_SYS_TIME_H''@|$(NEXT_SYS_TIME_H)|g' \
1612               -e 's/@''GNULIB_GETTIMEOFDAY''@/$(GNULIB_GETTIMEOFDAY)/g' \
1613               -e 's|@''HAVE_WINSOCK2_H''@|$(HAVE_WINSOCK2_H)|g' \
1614               -e 's/@''HAVE_GETTIMEOFDAY''@/$(HAVE_GETTIMEOFDAY)/g' \
1615               -e 's/@''HAVE_STRUCT_TIMEVAL''@/$(HAVE_STRUCT_TIMEVAL)/g' \
1616               -e 's/@''REPLACE_GETTIMEOFDAY''@/$(REPLACE_GETTIMEOFDAY)/g' \
1617               -e 's/@''REPLACE_STRUCT_TIMEVAL''@/$(REPLACE_STRUCT_TIMEVAL)/g' \
1618               -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
1619               -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
1620               -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
1621               < $(srcdir)/sys_time.in.h; \
1622         } > $@-t && \
1623         mv $@-t $@
1624 MOSTLYCLEANFILES += sys/time.h sys/time.h-t
1625
1626 EXTRA_DIST += sys_time.in.h
1627
1628 ## end   gnulib module sys_time
1629
1630 ## begin gnulib module sys_types
1631
1632 BUILT_SOURCES += sys/types.h
1633
1634 # We need the following in order to create <sys/types.h> when the system
1635 # doesn't have one that works with the given compiler.
1636 sys/types.h: sys_types.in.h $(top_builddir)/config.status
1637         $(AM_V_at)$(MKDIR_P) sys
1638         $(AM_V_GEN)rm -f $@-t $@ && \
1639         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
1640           sed -e 's|@''GUARD_PREFIX''@|GL_GTPO|g' \
1641               -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1642               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1643               -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
1644               -e 's|@''NEXT_SYS_TYPES_H''@|$(NEXT_SYS_TYPES_H)|g' \
1645               -e 's|@''WINDOWS_64_BIT_OFF_T''@|$(WINDOWS_64_BIT_OFF_T)|g' \
1646               < $(srcdir)/sys_types.in.h; \
1647         } > $@-t && \
1648         mv $@-t $@
1649 MOSTLYCLEANFILES += sys/types.h sys/types.h-t
1650
1651 EXTRA_DIST += sys_types.in.h
1652
1653 ## end   gnulib module sys_types
1654
1655 ## begin gnulib module threadlib
1656
1657 libgnu_la_SOURCES += glthread/threadlib.c
1658
1659 EXTRA_DIST += $(top_srcdir)/../build-aux/config.rpath
1660
1661 ## end   gnulib module threadlib
1662
1663 ## begin gnulib module time
1664
1665 BUILT_SOURCES += time.h
1666
1667 # We need the following in order to create <time.h> when the system
1668 # doesn't have one that works with the given compiler.
1669 time.h: time.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
1670         $(AM_V_GEN)rm -f $@-t $@ && \
1671         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
1672           sed -e 's|@''GUARD_PREFIX''@|GL_GTPO|g' \
1673               -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1674               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1675               -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
1676               -e 's|@''NEXT_TIME_H''@|$(NEXT_TIME_H)|g' \
1677               -e 's/@''GNULIB_GETTIMEOFDAY''@/$(GNULIB_GETTIMEOFDAY)/g' \
1678               -e 's/@''GNULIB_MKTIME''@/$(GNULIB_MKTIME)/g' \
1679               -e 's/@''GNULIB_NANOSLEEP''@/$(GNULIB_NANOSLEEP)/g' \
1680               -e 's/@''GNULIB_STRPTIME''@/$(GNULIB_STRPTIME)/g' \
1681               -e 's/@''GNULIB_TIMEGM''@/$(GNULIB_TIMEGM)/g' \
1682               -e 's/@''GNULIB_TIME_R''@/$(GNULIB_TIME_R)/g' \
1683               -e 's/@''GNULIB_TIME_RZ''@/$(GNULIB_TIME_RZ)/g' \
1684               -e 's|@''HAVE_DECL_LOCALTIME_R''@|$(HAVE_DECL_LOCALTIME_R)|g' \
1685               -e 's|@''HAVE_NANOSLEEP''@|$(HAVE_NANOSLEEP)|g' \
1686               -e 's|@''HAVE_STRPTIME''@|$(HAVE_STRPTIME)|g' \
1687               -e 's|@''HAVE_TIMEGM''@|$(HAVE_TIMEGM)|g' \
1688               -e 's|@''HAVE_TIMEZONE_T''@|$(HAVE_TIMEZONE_T)|g' \
1689               -e 's|@''REPLACE_GMTIME''@|$(REPLACE_GMTIME)|g' \
1690               -e 's|@''REPLACE_LOCALTIME''@|$(REPLACE_LOCALTIME)|g' \
1691               -e 's|@''REPLACE_LOCALTIME_R''@|$(REPLACE_LOCALTIME_R)|g' \
1692               -e 's|@''REPLACE_MKTIME''@|$(REPLACE_MKTIME)|g' \
1693               -e 's|@''REPLACE_NANOSLEEP''@|$(REPLACE_NANOSLEEP)|g' \
1694               -e 's|@''REPLACE_TIMEGM''@|$(REPLACE_TIMEGM)|g' \
1695               -e 's|@''PTHREAD_H_DEFINES_STRUCT_TIMESPEC''@|$(PTHREAD_H_DEFINES_STRUCT_TIMESPEC)|g' \
1696               -e 's|@''SYS_TIME_H_DEFINES_STRUCT_TIMESPEC''@|$(SYS_TIME_H_DEFINES_STRUCT_TIMESPEC)|g' \
1697               -e 's|@''TIME_H_DEFINES_STRUCT_TIMESPEC''@|$(TIME_H_DEFINES_STRUCT_TIMESPEC)|g' \
1698               -e 's|@''UNISTD_H_DEFINES_STRUCT_TIMESPEC''@|$(UNISTD_H_DEFINES_STRUCT_TIMESPEC)|g' \
1699               -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
1700               -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
1701               -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
1702               < $(srcdir)/time.in.h; \
1703         } > $@-t && \
1704         mv $@-t $@
1705 MOSTLYCLEANFILES += time.h time.h-t
1706
1707 EXTRA_DIST += time.in.h
1708
1709 ## end   gnulib module time
1710
1711 ## begin gnulib module tls
1712
1713 libgnu_la_SOURCES += glthread/tls.h glthread/tls.c
1714
1715 ## end   gnulib module tls
1716
1717 ## begin gnulib module uniconv/base
1718
1719 BUILT_SOURCES += $(LIBUNISTRING_UNICONV_H)
1720
1721 uniconv.h: uniconv.in.h
1722         $(AM_V_GEN)rm -f $@-t $@ && \
1723         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
1724           cat $(srcdir)/uniconv.in.h; \
1725         } > $@-t && \
1726         mv -f $@-t $@
1727 MOSTLYCLEANFILES += uniconv.h uniconv.h-t
1728
1729 EXTRA_DIST += iconveh.h localcharset.h striconveha.h uniconv.in.h
1730
1731 ## end   gnulib module uniconv/base
1732
1733 ## begin gnulib module uniconv/u8-conv-from-enc
1734
1735 if LIBUNISTRING_COMPILE_UNICONV_U8_CONV_FROM_ENC
1736 libgnu_la_SOURCES += uniconv/u8-conv-from-enc.c
1737 endif
1738
1739 ## end   gnulib module uniconv/u8-conv-from-enc
1740
1741 ## begin gnulib module unictype/base
1742
1743 BUILT_SOURCES += $(LIBUNISTRING_UNICTYPE_H)
1744
1745 unictype.h: unictype.in.h
1746         $(AM_V_GEN)rm -f $@-t $@ && \
1747         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
1748           cat $(srcdir)/unictype.in.h; \
1749         } > $@-t && \
1750         mv -f $@-t $@
1751 MOSTLYCLEANFILES += unictype.h unictype.h-t
1752
1753 EXTRA_DIST += unictype.in.h
1754
1755 ## end   gnulib module unictype/base
1756
1757 ## begin gnulib module unictype/ctype-alpha
1758
1759 if LIBUNISTRING_COMPILE_UNICTYPE_CTYPE_ALPHA
1760 libgnu_la_SOURCES += unictype/ctype_alpha.c
1761 endif
1762
1763 EXTRA_DIST += unictype/bitmap.h unictype/ctype_alpha.h
1764
1765 ## end   gnulib module unictype/ctype-alpha
1766
1767 ## begin gnulib module unictype/ctype-space
1768
1769 if LIBUNISTRING_COMPILE_UNICTYPE_CTYPE_SPACE
1770 libgnu_la_SOURCES += unictype/ctype_space.c
1771 endif
1772
1773 EXTRA_DIST += unictype/bitmap.h unictype/ctype_space.h
1774
1775 ## end   gnulib module unictype/ctype-space
1776
1777 ## begin gnulib module unilbrk/base
1778
1779 BUILT_SOURCES += $(LIBUNISTRING_UNILBRK_H)
1780
1781 unilbrk.h: unilbrk.in.h
1782         $(AM_V_GEN)rm -f $@-t $@ && \
1783         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
1784           cat $(srcdir)/unilbrk.in.h; \
1785         } > $@-t && \
1786         mv -f $@-t $@
1787 MOSTLYCLEANFILES += unilbrk.h unilbrk.h-t
1788
1789 EXTRA_DIST += unilbrk.in.h
1790
1791 ## end   gnulib module unilbrk/base
1792
1793 ## begin gnulib module unilbrk/tables
1794
1795 libgnu_la_SOURCES += unilbrk/lbrktables.c
1796
1797 EXTRA_DIST += unilbrk/lbrkprop1.h unilbrk/lbrkprop2.h unilbrk/lbrktables.h
1798
1799 ## end   gnulib module unilbrk/tables
1800
1801 ## begin gnulib module unilbrk/u8-possible-linebreaks
1802
1803 if LIBUNISTRING_COMPILE_UNILBRK_U8_POSSIBLE_LINEBREAKS
1804 libgnu_la_SOURCES += unilbrk/u8-possible-linebreaks.c
1805 endif
1806
1807 EXTRA_DIST += uniwidth/cjk.h
1808
1809 ## end   gnulib module unilbrk/u8-possible-linebreaks
1810
1811 ## begin gnulib module unilbrk/u8-width-linebreaks
1812
1813 if LIBUNISTRING_COMPILE_UNILBRK_U8_WIDTH_LINEBREAKS
1814 libgnu_la_SOURCES += unilbrk/u8-width-linebreaks.c
1815 endif
1816
1817 ## end   gnulib module unilbrk/u8-width-linebreaks
1818
1819 ## begin gnulib module unilbrk/ulc-common
1820
1821 libgnu_la_SOURCES += unilbrk/ulc-common.c
1822
1823 EXTRA_DIST += unilbrk/ulc-common.h
1824
1825 ## end   gnulib module unilbrk/ulc-common
1826
1827 ## begin gnulib module unilbrk/ulc-width-linebreaks
1828
1829 if LIBUNISTRING_COMPILE_UNILBRK_ULC_WIDTH_LINEBREAKS
1830 libgnu_la_SOURCES += unilbrk/ulc-width-linebreaks.c
1831 endif
1832
1833 ## end   gnulib module unilbrk/ulc-width-linebreaks
1834
1835 ## begin gnulib module unistd
1836
1837 BUILT_SOURCES += unistd.h
1838 libgnu_la_SOURCES += unistd.c
1839
1840 # We need the following in order to create an empty placeholder for
1841 # <unistd.h> when the system doesn't have one.
1842 unistd.h: unistd.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
1843         $(AM_V_GEN)rm -f $@-t $@ && \
1844         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
1845           sed -e 's|@''GUARD_PREFIX''@|GL_GTPO|g' \
1846               -e 's|@''HAVE_UNISTD_H''@|$(HAVE_UNISTD_H)|g' \
1847               -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1848               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1849               -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
1850               -e 's|@''NEXT_UNISTD_H''@|$(NEXT_UNISTD_H)|g' \
1851               -e 's|@''WINDOWS_64_BIT_OFF_T''@|$(WINDOWS_64_BIT_OFF_T)|g' \
1852               -e 's/@''GNULIB_CHDIR''@/$(GNULIB_CHDIR)/g' \
1853               -e 's/@''GNULIB_CHOWN''@/$(GNULIB_CHOWN)/g' \
1854               -e 's/@''GNULIB_CLOSE''@/$(GNULIB_CLOSE)/g' \
1855               -e 's/@''GNULIB_DUP''@/$(GNULIB_DUP)/g' \
1856               -e 's/@''GNULIB_DUP2''@/$(GNULIB_DUP2)/g' \
1857               -e 's/@''GNULIB_DUP3''@/$(GNULIB_DUP3)/g' \
1858               -e 's/@''GNULIB_ENVIRON''@/$(GNULIB_ENVIRON)/g' \
1859               -e 's/@''GNULIB_EUIDACCESS''@/$(GNULIB_EUIDACCESS)/g' \
1860               -e 's/@''GNULIB_FACCESSAT''@/$(GNULIB_FACCESSAT)/g' \
1861               -e 's/@''GNULIB_FCHDIR''@/$(GNULIB_FCHDIR)/g' \
1862               -e 's/@''GNULIB_FCHOWNAT''@/$(GNULIB_FCHOWNAT)/g' \
1863               -e 's/@''GNULIB_FDATASYNC''@/$(GNULIB_FDATASYNC)/g' \
1864               -e 's/@''GNULIB_FSYNC''@/$(GNULIB_FSYNC)/g' \
1865               -e 's/@''GNULIB_FTRUNCATE''@/$(GNULIB_FTRUNCATE)/g' \
1866               -e 's/@''GNULIB_GETCWD''@/$(GNULIB_GETCWD)/g' \
1867               -e 's/@''GNULIB_GETDOMAINNAME''@/$(GNULIB_GETDOMAINNAME)/g' \
1868               -e 's/@''GNULIB_GETDTABLESIZE''@/$(GNULIB_GETDTABLESIZE)/g' \
1869               -e 's/@''GNULIB_GETGROUPS''@/$(GNULIB_GETGROUPS)/g' \
1870               -e 's/@''GNULIB_GETHOSTNAME''@/$(GNULIB_GETHOSTNAME)/g' \
1871               -e 's/@''GNULIB_GETLOGIN''@/$(GNULIB_GETLOGIN)/g' \
1872               -e 's/@''GNULIB_GETLOGIN_R''@/$(GNULIB_GETLOGIN_R)/g' \
1873               -e 's/@''GNULIB_GETPAGESIZE''@/$(GNULIB_GETPAGESIZE)/g' \
1874               -e 's/@''GNULIB_GETUSERSHELL''@/$(GNULIB_GETUSERSHELL)/g' \
1875               -e 's/@''GNULIB_GROUP_MEMBER''@/$(GNULIB_GROUP_MEMBER)/g' \
1876               -e 's/@''GNULIB_ISATTY''@/$(GNULIB_ISATTY)/g' \
1877               -e 's/@''GNULIB_LCHOWN''@/$(GNULIB_LCHOWN)/g' \
1878               -e 's/@''GNULIB_LINK''@/$(GNULIB_LINK)/g' \
1879               -e 's/@''GNULIB_LINKAT''@/$(GNULIB_LINKAT)/g' \
1880               -e 's/@''GNULIB_LSEEK''@/$(GNULIB_LSEEK)/g' \
1881               -e 's/@''GNULIB_PIPE''@/$(GNULIB_PIPE)/g' \
1882               -e 's/@''GNULIB_PIPE2''@/$(GNULIB_PIPE2)/g' \
1883               -e 's/@''GNULIB_PREAD''@/$(GNULIB_PREAD)/g' \
1884               -e 's/@''GNULIB_PWRITE''@/$(GNULIB_PWRITE)/g' \
1885               -e 's/@''GNULIB_READ''@/$(GNULIB_READ)/g' \
1886               -e 's/@''GNULIB_READLINK''@/$(GNULIB_READLINK)/g' \
1887               -e 's/@''GNULIB_READLINKAT''@/$(GNULIB_READLINKAT)/g' \
1888               -e 's/@''GNULIB_RMDIR''@/$(GNULIB_RMDIR)/g' \
1889               -e 's/@''GNULIB_SETHOSTNAME''@/$(GNULIB_SETHOSTNAME)/g' \
1890               -e 's/@''GNULIB_SLEEP''@/$(GNULIB_SLEEP)/g' \
1891               -e 's/@''GNULIB_SYMLINK''@/$(GNULIB_SYMLINK)/g' \
1892               -e 's/@''GNULIB_SYMLINKAT''@/$(GNULIB_SYMLINKAT)/g' \
1893               -e 's/@''GNULIB_TTYNAME_R''@/$(GNULIB_TTYNAME_R)/g' \
1894               -e 's/@''GNULIB_UNISTD_H_GETOPT''@/0$(GNULIB_GL_GTPO_UNISTD_H_GETOPT)/g' \
1895               -e 's/@''GNULIB_UNISTD_H_NONBLOCKING''@/$(GNULIB_UNISTD_H_NONBLOCKING)/g' \
1896               -e 's/@''GNULIB_UNISTD_H_SIGPIPE''@/$(GNULIB_UNISTD_H_SIGPIPE)/g' \
1897               -e 's/@''GNULIB_UNLINK''@/$(GNULIB_UNLINK)/g' \
1898               -e 's/@''GNULIB_UNLINKAT''@/$(GNULIB_UNLINKAT)/g' \
1899               -e 's/@''GNULIB_USLEEP''@/$(GNULIB_USLEEP)/g' \
1900               -e 's/@''GNULIB_WRITE''@/$(GNULIB_WRITE)/g' \
1901               < $(srcdir)/unistd.in.h | \
1902           sed -e 's|@''HAVE_CHOWN''@|$(HAVE_CHOWN)|g' \
1903               -e 's|@''HAVE_DUP2''@|$(HAVE_DUP2)|g' \
1904               -e 's|@''HAVE_DUP3''@|$(HAVE_DUP3)|g' \
1905               -e 's|@''HAVE_EUIDACCESS''@|$(HAVE_EUIDACCESS)|g' \
1906               -e 's|@''HAVE_FACCESSAT''@|$(HAVE_FACCESSAT)|g' \
1907               -e 's|@''HAVE_FCHDIR''@|$(HAVE_FCHDIR)|g' \
1908               -e 's|@''HAVE_FCHOWNAT''@|$(HAVE_FCHOWNAT)|g' \
1909               -e 's|@''HAVE_FDATASYNC''@|$(HAVE_FDATASYNC)|g' \
1910               -e 's|@''HAVE_FSYNC''@|$(HAVE_FSYNC)|g' \
1911               -e 's|@''HAVE_FTRUNCATE''@|$(HAVE_FTRUNCATE)|g' \
1912               -e 's|@''HAVE_GETDTABLESIZE''@|$(HAVE_GETDTABLESIZE)|g' \
1913               -e 's|@''HAVE_GETGROUPS''@|$(HAVE_GETGROUPS)|g' \
1914               -e 's|@''HAVE_GETHOSTNAME''@|$(HAVE_GETHOSTNAME)|g' \
1915               -e 's|@''HAVE_GETLOGIN''@|$(HAVE_GETLOGIN)|g' \
1916               -e 's|@''HAVE_GETPAGESIZE''@|$(HAVE_GETPAGESIZE)|g' \
1917               -e 's|@''HAVE_GROUP_MEMBER''@|$(HAVE_GROUP_MEMBER)|g' \
1918               -e 's|@''HAVE_LCHOWN''@|$(HAVE_LCHOWN)|g' \
1919               -e 's|@''HAVE_LINK''@|$(HAVE_LINK)|g' \
1920               -e 's|@''HAVE_LINKAT''@|$(HAVE_LINKAT)|g' \
1921               -e 's|@''HAVE_PIPE''@|$(HAVE_PIPE)|g' \
1922               -e 's|@''HAVE_PIPE2''@|$(HAVE_PIPE2)|g' \
1923               -e 's|@''HAVE_PREAD''@|$(HAVE_PREAD)|g' \
1924               -e 's|@''HAVE_PWRITE''@|$(HAVE_PWRITE)|g' \
1925               -e 's|@''HAVE_READLINK''@|$(HAVE_READLINK)|g' \
1926               -e 's|@''HAVE_READLINKAT''@|$(HAVE_READLINKAT)|g' \
1927               -e 's|@''HAVE_SETHOSTNAME''@|$(HAVE_SETHOSTNAME)|g' \
1928               -e 's|@''HAVE_SLEEP''@|$(HAVE_SLEEP)|g' \
1929               -e 's|@''HAVE_SYMLINK''@|$(HAVE_SYMLINK)|g' \
1930               -e 's|@''HAVE_SYMLINKAT''@|$(HAVE_SYMLINKAT)|g' \
1931               -e 's|@''HAVE_UNLINKAT''@|$(HAVE_UNLINKAT)|g' \
1932               -e 's|@''HAVE_USLEEP''@|$(HAVE_USLEEP)|g' \
1933               -e 's|@''HAVE_DECL_ENVIRON''@|$(HAVE_DECL_ENVIRON)|g' \
1934               -e 's|@''HAVE_DECL_FCHDIR''@|$(HAVE_DECL_FCHDIR)|g' \
1935               -e 's|@''HAVE_DECL_FDATASYNC''@|$(HAVE_DECL_FDATASYNC)|g' \
1936               -e 's|@''HAVE_DECL_GETDOMAINNAME''@|$(HAVE_DECL_GETDOMAINNAME)|g' \
1937               -e 's|@''HAVE_DECL_GETLOGIN_R''@|$(HAVE_DECL_GETLOGIN_R)|g' \
1938               -e 's|@''HAVE_DECL_GETPAGESIZE''@|$(HAVE_DECL_GETPAGESIZE)|g' \
1939               -e 's|@''HAVE_DECL_GETUSERSHELL''@|$(HAVE_DECL_GETUSERSHELL)|g' \
1940               -e 's|@''HAVE_DECL_SETHOSTNAME''@|$(HAVE_DECL_SETHOSTNAME)|g' \
1941               -e 's|@''HAVE_DECL_TTYNAME_R''@|$(HAVE_DECL_TTYNAME_R)|g' \
1942               -e 's|@''HAVE_OS_H''@|$(HAVE_OS_H)|g' \
1943               -e 's|@''HAVE_SYS_PARAM_H''@|$(HAVE_SYS_PARAM_H)|g' \
1944           | \
1945           sed -e 's|@''REPLACE_CHOWN''@|$(REPLACE_CHOWN)|g' \
1946               -e 's|@''REPLACE_CLOSE''@|$(REPLACE_CLOSE)|g' \
1947               -e 's|@''REPLACE_DUP''@|$(REPLACE_DUP)|g' \
1948               -e 's|@''REPLACE_DUP2''@|$(REPLACE_DUP2)|g' \
1949               -e 's|@''REPLACE_FCHOWNAT''@|$(REPLACE_FCHOWNAT)|g' \
1950               -e 's|@''REPLACE_FTRUNCATE''@|$(REPLACE_FTRUNCATE)|g' \
1951               -e 's|@''REPLACE_GETCWD''@|$(REPLACE_GETCWD)|g' \
1952               -e 's|@''REPLACE_GETDOMAINNAME''@|$(REPLACE_GETDOMAINNAME)|g' \
1953               -e 's|@''REPLACE_GETDTABLESIZE''@|$(REPLACE_GETDTABLESIZE)|g' \
1954               -e 's|@''REPLACE_GETLOGIN_R''@|$(REPLACE_GETLOGIN_R)|g' \
1955               -e 's|@''REPLACE_GETGROUPS''@|$(REPLACE_GETGROUPS)|g' \
1956               -e 's|@''REPLACE_GETPAGESIZE''@|$(REPLACE_GETPAGESIZE)|g' \
1957               -e 's|@''REPLACE_ISATTY''@|$(REPLACE_ISATTY)|g' \
1958               -e 's|@''REPLACE_LCHOWN''@|$(REPLACE_LCHOWN)|g' \
1959               -e 's|@''REPLACE_LINK''@|$(REPLACE_LINK)|g' \
1960               -e 's|@''REPLACE_LINKAT''@|$(REPLACE_LINKAT)|g' \
1961               -e 's|@''REPLACE_LSEEK''@|$(REPLACE_LSEEK)|g' \
1962               -e 's|@''REPLACE_PREAD''@|$(REPLACE_PREAD)|g' \
1963               -e 's|@''REPLACE_PWRITE''@|$(REPLACE_PWRITE)|g' \
1964               -e 's|@''REPLACE_READ''@|$(REPLACE_READ)|g' \
1965               -e 's|@''REPLACE_READLINK''@|$(REPLACE_READLINK)|g' \
1966               -e 's|@''REPLACE_READLINKAT''@|$(REPLACE_READLINKAT)|g' \
1967               -e 's|@''REPLACE_RMDIR''@|$(REPLACE_RMDIR)|g' \
1968               -e 's|@''REPLACE_SLEEP''@|$(REPLACE_SLEEP)|g' \
1969               -e 's|@''REPLACE_SYMLINK''@|$(REPLACE_SYMLINK)|g' \
1970               -e 's|@''REPLACE_SYMLINKAT''@|$(REPLACE_SYMLINKAT)|g' \
1971               -e 's|@''REPLACE_TTYNAME_R''@|$(REPLACE_TTYNAME_R)|g' \
1972               -e 's|@''REPLACE_UNLINK''@|$(REPLACE_UNLINK)|g' \
1973               -e 's|@''REPLACE_UNLINKAT''@|$(REPLACE_UNLINKAT)|g' \
1974               -e 's|@''REPLACE_USLEEP''@|$(REPLACE_USLEEP)|g' \
1975               -e 's|@''REPLACE_WRITE''@|$(REPLACE_WRITE)|g' \
1976               -e 's|@''UNISTD_H_HAVE_WINSOCK2_H''@|$(UNISTD_H_HAVE_WINSOCK2_H)|g' \
1977               -e 's|@''UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS''@|$(UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS)|g' \
1978               -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
1979               -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
1980               -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)'; \
1981         } > $@-t && \
1982         mv $@-t $@
1983 MOSTLYCLEANFILES += unistd.h unistd.h-t
1984
1985 EXTRA_DIST += unistd.in.h
1986
1987 ## end   gnulib module unistd
1988
1989 ## begin gnulib module unistr/base
1990
1991 BUILT_SOURCES += $(LIBUNISTRING_UNISTR_H)
1992
1993 unistr.h: unistr.in.h
1994         $(AM_V_GEN)rm -f $@-t $@ && \
1995         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
1996           cat $(srcdir)/unistr.in.h; \
1997         } > $@-t && \
1998         mv -f $@-t $@
1999 MOSTLYCLEANFILES += unistr.h unistr.h-t
2000
2001 EXTRA_DIST += unistr.in.h
2002
2003 ## end   gnulib module unistr/base
2004
2005 ## begin gnulib module unistr/u16-mbtouc
2006
2007 if LIBUNISTRING_COMPILE_UNISTR_U16_MBTOUC
2008 libgnu_la_SOURCES += unistr/u16-mbtouc.c unistr/u16-mbtouc-aux.c
2009 endif
2010
2011 ## end   gnulib module unistr/u16-mbtouc
2012
2013 ## begin gnulib module unistr/u8-check
2014
2015 if LIBUNISTRING_COMPILE_UNISTR_U8_CHECK
2016 libgnu_la_SOURCES += unistr/u8-check.c
2017 endif
2018
2019 ## end   gnulib module unistr/u8-check
2020
2021 ## begin gnulib module unistr/u8-mblen
2022
2023 if LIBUNISTRING_COMPILE_UNISTR_U8_MBLEN
2024 libgnu_la_SOURCES += unistr/u8-mblen.c
2025 endif
2026
2027 ## end   gnulib module unistr/u8-mblen
2028
2029 ## begin gnulib module unistr/u8-mbtouc
2030
2031 if LIBUNISTRING_COMPILE_UNISTR_U8_MBTOUC
2032 libgnu_la_SOURCES += unistr/u8-mbtouc.c unistr/u8-mbtouc-aux.c
2033 endif
2034
2035 ## end   gnulib module unistr/u8-mbtouc
2036
2037 ## begin gnulib module unistr/u8-mbtouc-unsafe
2038
2039 if LIBUNISTRING_COMPILE_UNISTR_U8_MBTOUC_UNSAFE
2040 libgnu_la_SOURCES += unistr/u8-mbtouc-unsafe.c unistr/u8-mbtouc-unsafe-aux.c
2041 endif
2042
2043 ## end   gnulib module unistr/u8-mbtouc-unsafe
2044
2045 ## begin gnulib module unistr/u8-mbtoucr
2046
2047 if LIBUNISTRING_COMPILE_UNISTR_U8_MBTOUCR
2048 libgnu_la_SOURCES += unistr/u8-mbtoucr.c
2049 endif
2050
2051 ## end   gnulib module unistr/u8-mbtoucr
2052
2053 ## begin gnulib module unistr/u8-next
2054
2055 if LIBUNISTRING_COMPILE_UNISTR_U8_NEXT
2056 libgnu_la_SOURCES += unistr/u8-next.c
2057 endif
2058
2059 ## end   gnulib module unistr/u8-next
2060
2061 ## begin gnulib module unistr/u8-prev
2062
2063 if LIBUNISTRING_COMPILE_UNISTR_U8_PREV
2064 libgnu_la_SOURCES += unistr/u8-prev.c
2065 endif
2066
2067 ## end   gnulib module unistr/u8-prev
2068
2069 ## begin gnulib module unistr/u8-strmbtouc
2070
2071 if LIBUNISTRING_COMPILE_UNISTR_U8_STRMBTOUC
2072 libgnu_la_SOURCES += unistr/u8-strmbtouc.c
2073 endif
2074
2075 ## end   gnulib module unistr/u8-strmbtouc
2076
2077 ## begin gnulib module unistr/u8-uctomb
2078
2079 if LIBUNISTRING_COMPILE_UNISTR_U8_UCTOMB
2080 libgnu_la_SOURCES += unistr/u8-uctomb.c unistr/u8-uctomb-aux.c
2081 endif
2082
2083 ## end   gnulib module unistr/u8-uctomb
2084
2085 ## begin gnulib module unitypes
2086
2087 BUILT_SOURCES += $(LIBUNISTRING_UNITYPES_H)
2088
2089 unitypes.h: unitypes.in.h
2090         $(AM_V_GEN)rm -f $@-t $@ && \
2091         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
2092           cat $(srcdir)/unitypes.in.h; \
2093         } > $@-t && \
2094         mv -f $@-t $@
2095 MOSTLYCLEANFILES += unitypes.h unitypes.h-t
2096
2097 EXTRA_DIST += unitypes.in.h
2098
2099 ## end   gnulib module unitypes
2100
2101 ## begin gnulib module uniwidth/base
2102
2103 BUILT_SOURCES += $(LIBUNISTRING_UNIWIDTH_H)
2104
2105 uniwidth.h: uniwidth.in.h
2106         $(AM_V_GEN)rm -f $@-t $@ && \
2107         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
2108           cat $(srcdir)/uniwidth.in.h; \
2109         } > $@-t && \
2110         mv -f $@-t $@
2111 MOSTLYCLEANFILES += uniwidth.h uniwidth.h-t
2112
2113 EXTRA_DIST += localcharset.h uniwidth.in.h
2114
2115 ## end   gnulib module uniwidth/base
2116
2117 ## begin gnulib module uniwidth/width
2118
2119 if LIBUNISTRING_COMPILE_UNIWIDTH_WIDTH
2120 libgnu_la_SOURCES += uniwidth/width.c
2121 endif
2122
2123 EXTRA_DIST += uniwidth/cjk.h
2124
2125 ## end   gnulib module uniwidth/width
2126
2127 ## begin gnulib module unlocked-io
2128
2129
2130 EXTRA_DIST += unlocked-io.h
2131
2132 ## end   gnulib module unlocked-io
2133
2134 ## begin gnulib module vasnprintf
2135
2136
2137 EXTRA_DIST += asnprintf.c float+.h printf-args.c printf-args.h printf-parse.c printf-parse.h vasnprintf.c vasnprintf.h
2138
2139 EXTRA_libgnu_la_SOURCES += asnprintf.c printf-args.c printf-parse.c vasnprintf.c
2140
2141 ## end   gnulib module vasnprintf
2142
2143 ## begin gnulib module vasprintf
2144
2145
2146 EXTRA_DIST += asprintf.c vasprintf.c
2147
2148 EXTRA_libgnu_la_SOURCES += asprintf.c vasprintf.c
2149
2150 ## end   gnulib module vasprintf
2151
2152 ## begin gnulib module verify
2153
2154
2155 EXTRA_DIST += verify.h
2156
2157 ## end   gnulib module verify
2158
2159 ## begin gnulib module wchar
2160
2161 BUILT_SOURCES += wchar.h
2162
2163 # We need the following in order to create <wchar.h> when the system
2164 # version does not work standalone.
2165 wchar.h: wchar.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
2166         $(AM_V_GEN)rm -f $@-t $@ && \
2167         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
2168           sed -e 's|@''GUARD_PREFIX''@|GL_GTPO|g' \
2169               -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
2170               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
2171               -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
2172               -e 's|@''HAVE_FEATURES_H''@|$(HAVE_FEATURES_H)|g' \
2173               -e 's|@''NEXT_WCHAR_H''@|$(NEXT_WCHAR_H)|g' \
2174               -e 's|@''HAVE_WCHAR_H''@|$(HAVE_WCHAR_H)|g' \
2175               -e 's/@''GNULIB_BTOWC''@/$(GNULIB_BTOWC)/g' \
2176               -e 's/@''GNULIB_WCTOB''@/$(GNULIB_WCTOB)/g' \
2177               -e 's/@''GNULIB_MBSINIT''@/$(GNULIB_MBSINIT)/g' \
2178               -e 's/@''GNULIB_MBRTOWC''@/$(GNULIB_MBRTOWC)/g' \
2179               -e 's/@''GNULIB_MBRLEN''@/$(GNULIB_MBRLEN)/g' \
2180               -e 's/@''GNULIB_MBSRTOWCS''@/$(GNULIB_MBSRTOWCS)/g' \
2181               -e 's/@''GNULIB_MBSNRTOWCS''@/$(GNULIB_MBSNRTOWCS)/g' \
2182               -e 's/@''GNULIB_WCRTOMB''@/$(GNULIB_WCRTOMB)/g' \
2183               -e 's/@''GNULIB_WCSRTOMBS''@/$(GNULIB_WCSRTOMBS)/g' \
2184               -e 's/@''GNULIB_WCSNRTOMBS''@/$(GNULIB_WCSNRTOMBS)/g' \
2185               -e 's/@''GNULIB_WCWIDTH''@/$(GNULIB_WCWIDTH)/g' \
2186               -e 's/@''GNULIB_WMEMCHR''@/$(GNULIB_WMEMCHR)/g' \
2187               -e 's/@''GNULIB_WMEMCMP''@/$(GNULIB_WMEMCMP)/g' \
2188               -e 's/@''GNULIB_WMEMCPY''@/$(GNULIB_WMEMCPY)/g' \
2189               -e 's/@''GNULIB_WMEMMOVE''@/$(GNULIB_WMEMMOVE)/g' \
2190               -e 's/@''GNULIB_WMEMSET''@/$(GNULIB_WMEMSET)/g' \
2191               -e 's/@''GNULIB_WCSLEN''@/$(GNULIB_WCSLEN)/g' \
2192               -e 's/@''GNULIB_WCSNLEN''@/$(GNULIB_WCSNLEN)/g' \
2193               -e 's/@''GNULIB_WCSCPY''@/$(GNULIB_WCSCPY)/g' \
2194               -e 's/@''GNULIB_WCPCPY''@/$(GNULIB_WCPCPY)/g' \
2195               -e 's/@''GNULIB_WCSNCPY''@/$(GNULIB_WCSNCPY)/g' \
2196               -e 's/@''GNULIB_WCPNCPY''@/$(GNULIB_WCPNCPY)/g' \
2197               -e 's/@''GNULIB_WCSCAT''@/$(GNULIB_WCSCAT)/g' \
2198               -e 's/@''GNULIB_WCSNCAT''@/$(GNULIB_WCSNCAT)/g' \
2199               -e 's/@''GNULIB_WCSCMP''@/$(GNULIB_WCSCMP)/g' \
2200               -e 's/@''GNULIB_WCSNCMP''@/$(GNULIB_WCSNCMP)/g' \
2201               -e 's/@''GNULIB_WCSCASECMP''@/$(GNULIB_WCSCASECMP)/g' \
2202               -e 's/@''GNULIB_WCSNCASECMP''@/$(GNULIB_WCSNCASECMP)/g' \
2203               -e 's/@''GNULIB_WCSCOLL''@/$(GNULIB_WCSCOLL)/g' \
2204               -e 's/@''GNULIB_WCSXFRM''@/$(GNULIB_WCSXFRM)/g' \
2205               -e 's/@''GNULIB_WCSDUP''@/$(GNULIB_WCSDUP)/g' \
2206               -e 's/@''GNULIB_WCSCHR''@/$(GNULIB_WCSCHR)/g' \
2207               -e 's/@''GNULIB_WCSRCHR''@/$(GNULIB_WCSRCHR)/g' \
2208               -e 's/@''GNULIB_WCSCSPN''@/$(GNULIB_WCSCSPN)/g' \
2209               -e 's/@''GNULIB_WCSSPN''@/$(GNULIB_WCSSPN)/g' \
2210               -e 's/@''GNULIB_WCSPBRK''@/$(GNULIB_WCSPBRK)/g' \
2211               -e 's/@''GNULIB_WCSSTR''@/$(GNULIB_WCSSTR)/g' \
2212               -e 's/@''GNULIB_WCSTOK''@/$(GNULIB_WCSTOK)/g' \
2213               -e 's/@''GNULIB_WCSWIDTH''@/$(GNULIB_WCSWIDTH)/g' \
2214               < $(srcdir)/wchar.in.h | \
2215           sed -e 's|@''HAVE_WINT_T''@|$(HAVE_WINT_T)|g' \
2216               -e 's|@''HAVE_BTOWC''@|$(HAVE_BTOWC)|g' \
2217               -e 's|@''HAVE_MBSINIT''@|$(HAVE_MBSINIT)|g' \
2218               -e 's|@''HAVE_MBRTOWC''@|$(HAVE_MBRTOWC)|g' \
2219               -e 's|@''HAVE_MBRLEN''@|$(HAVE_MBRLEN)|g' \
2220               -e 's|@''HAVE_MBSRTOWCS''@|$(HAVE_MBSRTOWCS)|g' \
2221               -e 's|@''HAVE_MBSNRTOWCS''@|$(HAVE_MBSNRTOWCS)|g' \
2222               -e 's|@''HAVE_WCRTOMB''@|$(HAVE_WCRTOMB)|g' \
2223               -e 's|@''HAVE_WCSRTOMBS''@|$(HAVE_WCSRTOMBS)|g' \
2224               -e 's|@''HAVE_WCSNRTOMBS''@|$(HAVE_WCSNRTOMBS)|g' \
2225               -e 's|@''HAVE_WMEMCHR''@|$(HAVE_WMEMCHR)|g' \
2226               -e 's|@''HAVE_WMEMCMP''@|$(HAVE_WMEMCMP)|g' \
2227               -e 's|@''HAVE_WMEMCPY''@|$(HAVE_WMEMCPY)|g' \
2228               -e 's|@''HAVE_WMEMMOVE''@|$(HAVE_WMEMMOVE)|g' \
2229               -e 's|@''HAVE_WMEMSET''@|$(HAVE_WMEMSET)|g' \
2230               -e 's|@''HAVE_WCSLEN''@|$(HAVE_WCSLEN)|g' \
2231               -e 's|@''HAVE_WCSNLEN''@|$(HAVE_WCSNLEN)|g' \
2232               -e 's|@''HAVE_WCSCPY''@|$(HAVE_WCSCPY)|g' \
2233               -e 's|@''HAVE_WCPCPY''@|$(HAVE_WCPCPY)|g' \
2234               -e 's|@''HAVE_WCSNCPY''@|$(HAVE_WCSNCPY)|g' \
2235               -e 's|@''HAVE_WCPNCPY''@|$(HAVE_WCPNCPY)|g' \
2236               -e 's|@''HAVE_WCSCAT''@|$(HAVE_WCSCAT)|g' \
2237               -e 's|@''HAVE_WCSNCAT''@|$(HAVE_WCSNCAT)|g' \
2238               -e 's|@''HAVE_WCSCMP''@|$(HAVE_WCSCMP)|g' \
2239               -e 's|@''HAVE_WCSNCMP''@|$(HAVE_WCSNCMP)|g' \
2240               -e 's|@''HAVE_WCSCASECMP''@|$(HAVE_WCSCASECMP)|g' \
2241               -e 's|@''HAVE_WCSNCASECMP''@|$(HAVE_WCSNCASECMP)|g' \
2242               -e 's|@''HAVE_WCSCOLL''@|$(HAVE_WCSCOLL)|g' \
2243               -e 's|@''HAVE_WCSXFRM''@|$(HAVE_WCSXFRM)|g' \
2244               -e 's|@''HAVE_WCSDUP''@|$(HAVE_WCSDUP)|g' \
2245               -e 's|@''HAVE_WCSCHR''@|$(HAVE_WCSCHR)|g' \
2246               -e 's|@''HAVE_WCSRCHR''@|$(HAVE_WCSRCHR)|g' \
2247               -e 's|@''HAVE_WCSCSPN''@|$(HAVE_WCSCSPN)|g' \
2248               -e 's|@''HAVE_WCSSPN''@|$(HAVE_WCSSPN)|g' \
2249               -e 's|@''HAVE_WCSPBRK''@|$(HAVE_WCSPBRK)|g' \
2250               -e 's|@''HAVE_WCSSTR''@|$(HAVE_WCSSTR)|g' \
2251               -e 's|@''HAVE_WCSTOK''@|$(HAVE_WCSTOK)|g' \
2252               -e 's|@''HAVE_WCSWIDTH''@|$(HAVE_WCSWIDTH)|g' \
2253               -e 's|@''HAVE_DECL_WCTOB''@|$(HAVE_DECL_WCTOB)|g' \
2254               -e 's|@''HAVE_DECL_WCWIDTH''@|$(HAVE_DECL_WCWIDTH)|g' \
2255           | \
2256           sed -e 's|@''REPLACE_MBSTATE_T''@|$(REPLACE_MBSTATE_T)|g' \
2257               -e 's|@''REPLACE_BTOWC''@|$(REPLACE_BTOWC)|g' \
2258               -e 's|@''REPLACE_WCTOB''@|$(REPLACE_WCTOB)|g' \
2259               -e 's|@''REPLACE_MBSINIT''@|$(REPLACE_MBSINIT)|g' \
2260               -e 's|@''REPLACE_MBRTOWC''@|$(REPLACE_MBRTOWC)|g' \
2261               -e 's|@''REPLACE_MBRLEN''@|$(REPLACE_MBRLEN)|g' \
2262               -e 's|@''REPLACE_MBSRTOWCS''@|$(REPLACE_MBSRTOWCS)|g' \
2263               -e 's|@''REPLACE_MBSNRTOWCS''@|$(REPLACE_MBSNRTOWCS)|g' \
2264               -e 's|@''REPLACE_WCRTOMB''@|$(REPLACE_WCRTOMB)|g' \
2265               -e 's|@''REPLACE_WCSRTOMBS''@|$(REPLACE_WCSRTOMBS)|g' \
2266               -e 's|@''REPLACE_WCSNRTOMBS''@|$(REPLACE_WCSNRTOMBS)|g' \
2267               -e 's|@''REPLACE_WCWIDTH''@|$(REPLACE_WCWIDTH)|g' \
2268               -e 's|@''REPLACE_WCSWIDTH''@|$(REPLACE_WCSWIDTH)|g' \
2269               -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
2270               -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
2271               -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)'; \
2272         } > $@-t && \
2273         mv $@-t $@
2274 MOSTLYCLEANFILES += wchar.h wchar.h-t
2275
2276 EXTRA_DIST += wchar.in.h
2277
2278 ## end   gnulib module wchar
2279
2280 ## begin gnulib module wctype-h
2281
2282 BUILT_SOURCES += wctype.h
2283 libgnu_la_SOURCES += wctype-h.c
2284
2285 # We need the following in order to create <wctype.h> when the system
2286 # doesn't have one that works with the given compiler.
2287 wctype.h: wctype.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(WARN_ON_USE_H)
2288         $(AM_V_GEN)rm -f $@-t $@ && \
2289         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
2290           sed -e 's|@''GUARD_PREFIX''@|GL_GTPO|g' \
2291               -e 's/@''HAVE_WCTYPE_H''@/$(HAVE_WCTYPE_H)/g' \
2292               -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
2293               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
2294               -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
2295               -e 's|@''NEXT_WCTYPE_H''@|$(NEXT_WCTYPE_H)|g' \
2296               -e 's/@''GNULIB_ISWBLANK''@/$(GNULIB_ISWBLANK)/g' \
2297               -e 's/@''GNULIB_WCTYPE''@/$(GNULIB_WCTYPE)/g' \
2298               -e 's/@''GNULIB_ISWCTYPE''@/$(GNULIB_ISWCTYPE)/g' \
2299               -e 's/@''GNULIB_WCTRANS''@/$(GNULIB_WCTRANS)/g' \
2300               -e 's/@''GNULIB_TOWCTRANS''@/$(GNULIB_TOWCTRANS)/g' \
2301               -e 's/@''HAVE_ISWBLANK''@/$(HAVE_ISWBLANK)/g' \
2302               -e 's/@''HAVE_ISWCNTRL''@/$(HAVE_ISWCNTRL)/g' \
2303               -e 's/@''HAVE_WCTYPE_T''@/$(HAVE_WCTYPE_T)/g' \
2304               -e 's/@''HAVE_WCTRANS_T''@/$(HAVE_WCTRANS_T)/g' \
2305               -e 's/@''HAVE_WINT_T''@/$(HAVE_WINT_T)/g' \
2306               -e 's/@''REPLACE_ISWBLANK''@/$(REPLACE_ISWBLANK)/g' \
2307               -e 's/@''REPLACE_ISWCNTRL''@/$(REPLACE_ISWCNTRL)/g' \
2308               -e 's/@''REPLACE_TOWLOWER''@/$(REPLACE_TOWLOWER)/g' \
2309               -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
2310               -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
2311               < $(srcdir)/wctype.in.h; \
2312         } > $@-t && \
2313         mv $@-t $@
2314 MOSTLYCLEANFILES += wctype.h wctype.h-t
2315
2316 EXTRA_DIST += wctype.in.h
2317
2318 ## end   gnulib module wctype-h
2319
2320 ## begin gnulib module wcwidth
2321
2322
2323 EXTRA_DIST += wcwidth.c
2324
2325 EXTRA_libgnu_la_SOURCES += wcwidth.c
2326
2327 ## end   gnulib module wcwidth
2328
2329 ## begin gnulib module xalloc
2330
2331 libgnu_la_SOURCES += xalloc.h xmalloc.c xstrdup.c
2332
2333 ## end   gnulib module xalloc
2334
2335 ## begin gnulib module xconcat-filename
2336
2337 libgnu_la_SOURCES += xconcat-filename.c
2338
2339 EXTRA_DIST += concat-filename.h
2340
2341 ## end   gnulib module xconcat-filename
2342
2343 ## begin gnulib module xerror
2344
2345 libgnu_la_SOURCES += xerror.h xerror.c
2346
2347 ## end   gnulib module xerror
2348
2349 ## begin gnulib module xlist
2350
2351 libgnu_la_SOURCES += gl_xlist.h gl_xlist.c
2352
2353 ## end   gnulib module xlist
2354
2355 ## begin gnulib module xmalloca
2356
2357 libgnu_la_SOURCES += xmalloca.c
2358
2359 EXTRA_DIST += xmalloca.h
2360
2361 ## end   gnulib module xmalloca
2362
2363 ## begin gnulib module xsize
2364
2365 libgnu_la_SOURCES += xsize.h xsize.c
2366
2367 ## end   gnulib module xsize
2368
2369 ## begin gnulib module xstriconv
2370
2371 libgnu_la_SOURCES += xstriconv.h xstriconv.c
2372
2373 ## end   gnulib module xstriconv
2374
2375 ## begin gnulib module xvasprintf
2376
2377 libgnu_la_SOURCES += xvasprintf.h xvasprintf.c xasprintf.c
2378
2379 EXTRA_DIST += xalloc.h
2380
2381 ## end   gnulib module xvasprintf
2382
2383
2384 mostlyclean-local: mostlyclean-generic
2385         @for dir in '' $(MOSTLYCLEANDIRS); do \
2386           if test -n "$$dir" && test -d $$dir; then \
2387             echo "rmdir $$dir"; rmdir $$dir; \
2388           fi; \
2389         done; \
2390         :