Debian Codegraph @

lib/gnulib.mk

raw symbols SCIP
1 ## DO NOT EDIT! GENERATED AUTOMATICALLY!
2 ## Process this file with automake to produce Makefile.in.
3 # Copyright (C) 2002-2013 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 --dir=. --local-dir=gl --lib=libcppi --source-base=lib --m4-base=m4 --doc-base=doc --tests-base=tests --aux-dir=build-aux --makefile-name=gnulib.mk --no-conditional-dependencies --no-libtool --macro-prefix=gl announce-gen autobuild calloc closeout config-h configmake do-release-commit-and-tag error exitfail getopt-gnu gettext-h git-version-gen gitlog-to-changelog gnu-web-doc-update gnumakefile gnupload intprops lib-ignore maintainer-makefile malloc-gnu manywarnings non-recursive-gnulib-prefix-hack obstack progname quote quotearg readme-release realloc-gnu stat-macros stdbool stpcpy timespec unlocked-io update-copyright useless-if-before-free verify version-etc version-etc-fsf warnings xalloc xstrtol
25
26
27 MOSTLYCLEANFILES += lib/core lib/*.stackdump
28
29 noinst_LIBRARIES += lib/libcppi.a
30
31 lib_libcppi_a_SOURCES =
32 lib_libcppi_a_LIBADD = $(gl_LIBOBJS)
33 lib_libcppi_a_DEPENDENCIES = $(gl_LIBOBJS)
34 EXTRA_lib_libcppi_a_SOURCES =
35
36 ## begin gnulib module announce-gen
37
38
39 EXTRA_DIST += $(top_srcdir)/build-aux/announce-gen
40
41 ## end gnulib module announce-gen
42
43 ## begin gnulib module c-ctype
44
45 lib_libcppi_a_SOURCES += lib/c-ctype.h lib/c-ctype.c
46
47 ## end gnulib module c-ctype
48
49 ## begin gnulib module c-strcase
50
51 lib_libcppi_a_SOURCES += lib/c-strcase.h lib/c-strcasecmp.c lib/c-strncasecmp.c
52
53 ## end gnulib module c-strcase
54
55 ## begin gnulib module c-strcaseeq
56
57
58 EXTRA_DIST += lib/c-strcaseeq.h
59
60 ## end gnulib module c-strcaseeq
61
62 ## begin gnulib module calloc-gnu
63
64
65 EXTRA_DIST += lib/calloc.c
66
67 EXTRA_lib_libcppi_a_SOURCES += lib/calloc.c
68
69 ## end gnulib module calloc-gnu
70
71 ## begin gnulib module calloc-posix
72
73
74 EXTRA_DIST += lib/calloc.c
75
76 EXTRA_lib_libcppi_a_SOURCES += lib/calloc.c
77
78 ## end gnulib module calloc-posix
79
80 ## begin gnulib module close-stream
81
82 lib_libcppi_a_SOURCES += lib/close-stream.c
83
84 EXTRA_DIST += lib/close-stream.h
85
86 ## end gnulib module close-stream
87
88 ## begin gnulib module closeout
89
90 lib_libcppi_a_SOURCES += lib/closeout.c
91
92 EXTRA_DIST += lib/closeout.h
93
94 ## end gnulib module closeout
95
96 ## begin gnulib module configmake
97
98 # Listed in the same order as the GNU makefile conventions, and
99 # provided by autoconf 2.59c+.
100 # The Automake-defined pkg* macros are appended, in the order
101 # listed in the Automake 1.10a+ documentation.
102 lib/configmake.h: Makefile
103 $(AM_V_GEN)rm -f $@-t && \
104 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
105 echo '#define PREFIX "$(prefix)"'; \
106 echo '#define EXEC_PREFIX "$(exec_prefix)"'; \
107 echo '#define BINDIR "$(bindir)"'; \
108 echo '#define SBINDIR "$(sbindir)"'; \
109 echo '#define LIBEXECDIR "$(libexecdir)"'; \
110 echo '#define DATAROOTDIR "$(datarootdir)"'; \
111 echo '#define DATADIR "$(datadir)"'; \
112 echo '#define SYSCONFDIR "$(sysconfdir)"'; \
113 echo '#define SHAREDSTATEDIR "$(sharedstatedir)"'; \
114 echo '#define LOCALSTATEDIR "$(localstatedir)"'; \
115 echo '#define INCLUDEDIR "$(includedir)"'; \
116 echo '#define OLDINCLUDEDIR "$(oldincludedir)"'; \
117 echo '#define DOCDIR "$(docdir)"'; \
118 echo '#define INFODIR "$(infodir)"'; \
119 echo '#define HTMLDIR "$(htmldir)"'; \
120 echo '#define DVIDIR "$(dvidir)"'; \
121 echo '#define PDFDIR "$(pdfdir)"'; \
122 echo '#define PSDIR "$(psdir)"'; \
123 echo '#define LIBDIR "$(libdir)"'; \
124 echo '#define LISPDIR "$(lispdir)"'; \
125 echo '#define LOCALEDIR "$(localedir)"'; \
126 echo '#define MANDIR "$(mandir)"'; \
127 echo '#define MANEXT "$(manext)"'; \
128 echo '#define PKGDATADIR "$(pkgdatadir)"'; \
129 echo '#define PKGINCLUDEDIR "$(pkgincludedir)"'; \
130 echo '#define PKGLIBDIR "$(pkglibdir)"'; \
131 echo '#define PKGLIBEXECDIR "$(pkglibexecdir)"'; \
132 } | sed '/""/d' > $@-t && \
133 mv -f $@-t $@
134
135 BUILT_SOURCES += lib/configmake.h
136 CLEANFILES += lib/configmake.h lib/configmake.h-t
137
138 ## end gnulib module configmake
139
140 ## begin gnulib module do-release-commit-and-tag
141
142
143 EXTRA_DIST += $(top_srcdir)/build-aux/do-release-commit-and-tag
144
145 ## end gnulib module do-release-commit-and-tag
146
147 ## begin gnulib module errno
148
149 BUILT_SOURCES += $(ERRNO_H)
150
151 # We need the following in order to create <errno.h> when the system
152 # doesn't have one that is POSIX compliant.
153 if GL_GENERATE_ERRNO_H
154 lib/errno.h: lib/errno.in.h $(top_builddir)/config.status
155 $(AM_V_GEN)rm -f $@-t $@ && \
156 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
157 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
158 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
159 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
160 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
161 -e 's|@''NEXT_ERRNO_H''@|$(NEXT_ERRNO_H)|g' \
162 -e 's|@''EMULTIHOP_HIDDEN''@|$(EMULTIHOP_HIDDEN)|g' \
163 -e 's|@''EMULTIHOP_VALUE''@|$(EMULTIHOP_VALUE)|g' \
164 -e 's|@''ENOLINK_HIDDEN''@|$(ENOLINK_HIDDEN)|g' \
165 -e 's|@''ENOLINK_VALUE''@|$(ENOLINK_VALUE)|g' \
166 -e 's|@''EOVERFLOW_HIDDEN''@|$(EOVERFLOW_HIDDEN)|g' \
167 -e 's|@''EOVERFLOW_VALUE''@|$(EOVERFLOW_VALUE)|g' \
168 < $(top_srcdir)/lib/errno.in.h; \
169 } > $@-t && \
170 mv $@-t $@
171 else
172 lib/errno.h: $(top_builddir)/config.status
173 rm -f $@
174 endif
175 MOSTLYCLEANFILES += lib/errno.h lib/errno.h-t
176
177 EXTRA_DIST += lib/errno.in.h
178
179 ## end gnulib module errno
180
181 ## begin gnulib module error
182
183
184 EXTRA_DIST += lib/error.c lib/error.h
185
186 EXTRA_lib_libcppi_a_SOURCES += lib/error.c
187
188 ## end gnulib module error
189
190 ## begin gnulib module exitfail
191
192 lib_libcppi_a_SOURCES += lib/exitfail.c
193
194 EXTRA_DIST += lib/exitfail.h
195
196 ## end gnulib module exitfail
197
198 ## begin gnulib module fpending
199
200
201 EXTRA_DIST += lib/fpending.c lib/fpending.h
202
203 EXTRA_lib_libcppi_a_SOURCES += lib/fpending.c
204
205 ## end gnulib module fpending
206
207 ## begin gnulib module gendocs
208
209
210 EXTRA_DIST += $(top_srcdir)/build-aux/gendocs.sh
211
212 ## end gnulib module gendocs
213
214 ## begin gnulib module getopt-posix
215
216 BUILT_SOURCES += $(GETOPT_H)
217
218 # We need the following in order to create <getopt.h> when the system
219 # doesn't have one that works with the given compiler.
220 lib/getopt.h: lib/getopt.in.h $(top_builddir)/config.status $(ARG_NONNULL_H)
221 $(AM_V_GEN)rm -f $@-t $@ && \
222 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
223 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
224 -e 's|@''HAVE_GETOPT_H''@|$(HAVE_GETOPT_H)|g' \
225 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
226 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
227 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
228 -e 's|@''NEXT_GETOPT_H''@|$(NEXT_GETOPT_H)|g' \
229 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
230 < $(top_srcdir)/lib/getopt.in.h; \
231 } > $@-t && \
232 mv -f $@-t $@
233 MOSTLYCLEANFILES += lib/getopt.h lib/getopt.h-t
234
235 EXTRA_DIST += lib/getopt.c lib/getopt.in.h lib/getopt1.c lib/getopt_int.h
236
237 EXTRA_lib_libcppi_a_SOURCES += lib/getopt.c lib/getopt1.c
238
239 ## end gnulib module getopt-posix
240
241 ## begin gnulib module gettext-h
242
243 lib_libcppi_a_SOURCES += lib/gettext.h
244
245 ## end gnulib module gettext-h
246
247 ## begin gnulib module git-version-gen
248
249
250 EXTRA_DIST += $(top_srcdir)/build-aux/git-version-gen
251
252 ## end gnulib module git-version-gen
253
254 ## begin gnulib module gitlog-to-changelog
255
256
257 EXTRA_DIST += $(top_srcdir)/build-aux/gitlog-to-changelog
258
259 ## end gnulib module gitlog-to-changelog
260
261 ## begin gnulib module gnu-web-doc-update
262
263
264 EXTRA_DIST += $(top_srcdir)/build-aux/gnu-web-doc-update
265
266 ## end gnulib module gnu-web-doc-update
267
268 ## begin gnulib module gnumakefile
269
270 distclean-local: clean-GNUmakefile
271 clean-GNUmakefile:
272 test '$(srcdir)' = . || rm -f $(top_builddir)/GNUmakefile
273
274 EXTRA_DIST += $(top_srcdir)/GNUmakefile
275
276 ## end gnulib module gnumakefile
277
278 ## begin gnulib module gnupload
279
280
281 EXTRA_DIST += $(top_srcdir)/build-aux/gnupload
282
283 ## end gnulib module gnupload
284
285 ## begin gnulib module intprops
286
287
288 EXTRA_DIST += lib/intprops.h
289
290 ## end gnulib module intprops
291
292 ## begin gnulib module inttypes-incomplete
293
294 BUILT_SOURCES += lib/inttypes.h
295
296 # We need the following in order to create <inttypes.h> when the system
297 # doesn't have one that works with the given compiler.
298 lib/inttypes.h: lib/inttypes.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(WARN_ON_USE_H) $(ARG_NONNULL_H)
299 $(AM_V_GEN)rm -f $@-t $@ && \
300 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
301 sed -e 's/@''HAVE_INTTYPES_H''@/$(HAVE_INTTYPES_H)/g' \
302 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
303 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
304 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
305 -e 's|@''NEXT_INTTYPES_H''@|$(NEXT_INTTYPES_H)|g' \
306 -e 's/@''PRI_MACROS_BROKEN''@/$(PRI_MACROS_BROKEN)/g' \
307 -e 's/@''APPLE_UNIVERSAL_BUILD''@/$(APPLE_UNIVERSAL_BUILD)/g' \
308 -e 's/@''HAVE_LONG_LONG_INT''@/$(HAVE_LONG_LONG_INT)/g' \
309 -e 's/@''HAVE_UNSIGNED_LONG_LONG_INT''@/$(HAVE_UNSIGNED_LONG_LONG_INT)/g' \
310 -e 's/@''PRIPTR_PREFIX''@/$(PRIPTR_PREFIX)/g' \
311 -e 's/@''GNULIB_IMAXABS''@/$(GNULIB_IMAXABS)/g' \
312 -e 's/@''GNULIB_IMAXDIV''@/$(GNULIB_IMAXDIV)/g' \
313 -e 's/@''GNULIB_STRTOIMAX''@/$(GNULIB_STRTOIMAX)/g' \
314 -e 's/@''GNULIB_STRTOUMAX''@/$(GNULIB_STRTOUMAX)/g' \
315 -e 's/@''HAVE_DECL_IMAXABS''@/$(HAVE_DECL_IMAXABS)/g' \
316 -e 's/@''HAVE_DECL_IMAXDIV''@/$(HAVE_DECL_IMAXDIV)/g' \
317 -e 's/@''HAVE_DECL_STRTOIMAX''@/$(HAVE_DECL_STRTOIMAX)/g' \
318 -e 's/@''HAVE_DECL_STRTOUMAX''@/$(HAVE_DECL_STRTOUMAX)/g' \
319 -e 's/@''REPLACE_STRTOIMAX''@/$(REPLACE_STRTOIMAX)/g' \
320 -e 's/@''INT32_MAX_LT_INTMAX_MAX''@/$(INT32_MAX_LT_INTMAX_MAX)/g' \
321 -e 's/@''INT64_MAX_EQ_LONG_MAX''@/$(INT64_MAX_EQ_LONG_MAX)/g' \
322 -e 's/@''UINT32_MAX_LT_UINTMAX_MAX''@/$(UINT32_MAX_LT_UINTMAX_MAX)/g' \
323 -e 's/@''UINT64_MAX_EQ_ULONG_MAX''@/$(UINT64_MAX_EQ_ULONG_MAX)/g' \
324 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
325 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
326 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
327 < $(top_srcdir)/lib/inttypes.in.h; \
328 } > $@-t && \
329 mv $@-t $@
330 MOSTLYCLEANFILES += lib/inttypes.h lib/inttypes.h-t
331
332 EXTRA_DIST += lib/inttypes.in.h
333
334 ## end gnulib module inttypes-incomplete
335
336 ## begin gnulib module localcharset
337
338 lib_libcppi_a_SOURCES += lib/localcharset.h lib/localcharset.c
339
340 # We need the following in order to install a simple file in $(libdir)
341 # which is shared with other installed packages. We use a list of referencing
342 # packages so that "make uninstall" will remove the file if and only if it
343 # is not used by another installed package.
344 # On systems with glibc-2.1 or newer, the file is redundant, therefore we
345 # avoid installing it.
346
347 all-local: lib/charset.alias lib/ref-add.sed lib/ref-del.sed
348
349 charset_alias = $(DESTDIR)$(libdir)/charset.alias
350 charset_tmp = $(DESTDIR)$(libdir)/charset.tmp
351 install-exec-local: install-exec-localcharset
352 install-exec-localcharset: all-local
353 if test $(GLIBC21) = no; then \
354 case '$(host_os)' in \
355 darwin[56]*) \
356 need_charset_alias=true ;; \
357 darwin* | cygwin* | mingw* | pw32* | cegcc*) \
358 need_charset_alias=false ;; \
359 *) \
360 need_charset_alias=true ;; \
361 esac ; \
362 else \
363 need_charset_alias=false ; \
364 fi ; \
365 if $$need_charset_alias; then \
366 $(mkinstalldirs) $(DESTDIR)$(libdir) ; \
367 fi ; \
368 if test -f $(charset_alias); then \
369 sed -f lib/ref-add.sed $(charset_alias) > $(charset_tmp) ; \
370 $(INSTALL_DATA) $(charset_tmp) $(charset_alias) ; \
371 rm -f $(charset_tmp) ; \
372 else \
373 if $$need_charset_alias; then \
374 sed -f lib/ref-add.sed lib/charset.alias > $(charset_tmp) ; \
375 $(INSTALL_DATA) $(charset_tmp) $(charset_alias) ; \
376 rm -f $(charset_tmp) ; \
377 fi ; \
378 fi
379
380 uninstall-local: uninstall-localcharset
381 uninstall-localcharset: all-local
382 if test -f $(charset_alias); then \
383 sed -f lib/ref-del.sed $(charset_alias) > $(charset_tmp); \
384 if grep '^# Packages using this file: $$' $(charset_tmp) \
385 > /dev/null; then \
386 rm -f $(charset_alias); \
387 else \
388 $(INSTALL_DATA) $(charset_tmp) $(charset_alias); \
389 fi; \
390 rm -f $(charset_tmp); \
391 fi
392
393 lib/charset.alias: lib/config.charset
394 $(AM_V_GEN)rm -f $@-t $@ && \
395 $(SHELL) $(top_srcdir)/lib/config.charset '$(host)' > $@-t && \
396 mv $@-t $@
397
398 # SUFFIXES += .sed .sin
399 .sin.sed:
400 $(AM_V_GEN)rm -f $@-t $@ && \
401 sed -e '/^#/d' -e 's/@''PACKAGE''@/$(PACKAGE)/g' $< > $@-t && \
402 mv $@-t $@
403
404 CLEANFILES += lib/charset.alias lib/ref-add.sed lib/ref-del.sed
405
406 EXTRA_DIST += lib/config.charset lib/ref-add.sin lib/ref-del.sin
407
408 ## end gnulib module localcharset
409
410 ## begin gnulib module maintainer-makefile
411
412 EXTRA_DIST += $(top_srcdir)/maint.mk
413
414 ## end gnulib module maintainer-makefile
415
416 ## begin gnulib module malloc-gnu
417
418
419 EXTRA_DIST += lib/malloc.c
420
421 EXTRA_lib_libcppi_a_SOURCES += lib/malloc.c
422
423 ## end gnulib module malloc-gnu
424
425 ## begin gnulib module malloc-posix
426
427
428 EXTRA_DIST += lib/malloc.c
429
430 EXTRA_lib_libcppi_a_SOURCES += lib/malloc.c
431
432 ## end gnulib module malloc-posix
433
434 ## begin gnulib module mbrtowc
435
436
437 EXTRA_DIST += lib/mbrtowc.c
438
439 EXTRA_lib_libcppi_a_SOURCES += lib/mbrtowc.c
440
441 ## end gnulib module mbrtowc
442
443 ## begin gnulib module mbsinit
444
445
446 EXTRA_DIST += lib/mbsinit.c
447
448 EXTRA_lib_libcppi_a_SOURCES += lib/mbsinit.c
449
450 ## end gnulib module mbsinit
451
452 ## begin gnulib module msvc-inval
453
454
455 EXTRA_DIST += lib/msvc-inval.c lib/msvc-inval.h
456
457 EXTRA_lib_libcppi_a_SOURCES += lib/msvc-inval.c
458
459 ## end gnulib module msvc-inval
460
461 ## begin gnulib module msvc-nothrow
462
463
464 EXTRA_DIST += lib/msvc-nothrow.c lib/msvc-nothrow.h
465
466 EXTRA_lib_libcppi_a_SOURCES += lib/msvc-nothrow.c
467
468 ## end gnulib module msvc-nothrow
469
470 ## begin gnulib module non-recursive-gnulib-prefix-hack
471
472
473 EXTRA_DIST += $(top_srcdir)/build-aux/prefix-gnulib-mk
474
475 ## end gnulib module non-recursive-gnulib-prefix-hack
476
477 ## begin gnulib module obstack
478
479
480 EXTRA_DIST += lib/obstack.c lib/obstack.h
481
482 EXTRA_lib_libcppi_a_SOURCES += lib/obstack.c
483
484 ## end gnulib module obstack
485
486 ## begin gnulib module progname
487
488 lib_libcppi_a_SOURCES += lib/progname.h lib/progname.c
489
490 ## end gnulib module progname
491
492 ## begin gnulib module quote
493
494
495 EXTRA_DIST += lib/quote.h
496
497 ## end gnulib module quote
498
499 ## begin gnulib module quotearg
500
501 lib_libcppi_a_SOURCES += lib/quotearg.c
502
503 EXTRA_DIST += lib/quote.h lib/quotearg.h
504
505 ## end gnulib module quotearg
506
507 ## begin gnulib module readme-release
508
509
510 EXTRA_DIST += $(top_srcdir)/README-release
511
512 ## end gnulib module readme-release
513
514 ## begin gnulib module realloc-gnu
515
516
517 EXTRA_DIST += lib/realloc.c
518
519 EXTRA_lib_libcppi_a_SOURCES += lib/realloc.c
520
521 ## end gnulib module realloc-gnu
522
523 ## begin gnulib module realloc-posix
524
525
526 EXTRA_DIST += lib/realloc.c
527
528 EXTRA_lib_libcppi_a_SOURCES += lib/realloc.c
529
530 ## end gnulib module realloc-posix
531
532 ## begin gnulib module snippet/_Noreturn
533
534 # Because this Makefile snippet defines a variable used by other
535 # gnulib Makefile snippets, it must be present in all Makefile.am that
536 # need it. This is ensured by the applicability 'all' defined above.
537
538 _NORETURN_H=$(top_srcdir)/build-aux/snippet/_Noreturn.h
539
540 EXTRA_DIST += $(top_srcdir)/build-aux/snippet/_Noreturn.h
541
542 ## end gnulib module snippet/_Noreturn
543
544 ## begin gnulib module snippet/arg-nonnull
545
546 # The BUILT_SOURCES created by this Makefile snippet are not used via #include
547 # statements but through direct file reference. Therefore this snippet must be
548 # present in all Makefile.am that need it. This is ensured by the applicability
549 # 'all' defined above.
550
551 BUILT_SOURCES += lib/arg-nonnull.h
552 # The arg-nonnull.h that gets inserted into generated .h files is the same as
553 # build-aux/snippet/arg-nonnull.h, except that it has the copyright header cut
554 # off.
555 lib/arg-nonnull.h: $(top_srcdir)/build-aux/snippet/arg-nonnull.h
556 $(AM_V_GEN)rm -f $@-t $@ && \
557 sed -n -e '/GL_ARG_NONNULL/,$$p' \
558 < $(top_srcdir)/build-aux/snippet/arg-nonnull.h \
559 > $@-t && \
560 mv $@-t $@
561 MOSTLYCLEANFILES += lib/arg-nonnull.h lib/arg-nonnull.h-t
562
563 ARG_NONNULL_H=lib/arg-nonnull.h
564
565 EXTRA_DIST += $(top_srcdir)/build-aux/snippet/arg-nonnull.h
566
567 ## end gnulib module snippet/arg-nonnull
568
569 ## begin gnulib module snippet/c++defs
570
571 # The BUILT_SOURCES created by this Makefile snippet are not used via #include
572 # statements but through direct file reference. Therefore this snippet must be
573 # present in all Makefile.am that need it. This is ensured by the applicability
574 # 'all' defined above.
575
576 BUILT_SOURCES += lib/c++defs.h
577 # The c++defs.h that gets inserted into generated .h files is the same as
578 # build-aux/snippet/c++defs.h, except that it has the copyright header cut off.
579 lib/c++defs.h: $(top_srcdir)/build-aux/snippet/c++defs.h
580 $(AM_V_GEN)rm -f $@-t $@ && \
581 sed -n -e '/_GL_CXXDEFS/,$$p' \
582 < $(top_srcdir)/build-aux/snippet/c++defs.h \
583 > $@-t && \
584 mv $@-t $@
585 MOSTLYCLEANFILES += lib/c++defs.h lib/c++defs.h-t
586
587 CXXDEFS_H=lib/c++defs.h
588
589 EXTRA_DIST += $(top_srcdir)/build-aux/snippet/c++defs.h
590
591 ## end gnulib module snippet/c++defs
592
593 ## begin gnulib module snippet/warn-on-use
594
595 BUILT_SOURCES += lib/warn-on-use.h
596 # The warn-on-use.h that gets inserted into generated .h files is the same as
597 # build-aux/snippet/warn-on-use.h, except that it has the copyright header cut
598 # off.
599 lib/warn-on-use.h: $(top_srcdir)/build-aux/snippet/warn-on-use.h
600 $(AM_V_GEN)rm -f $@-t $@ && \
601 sed -n -e '/^.ifndef/,$$p' \
602 < $(top_srcdir)/build-aux/snippet/warn-on-use.h \
603 > $@-t && \
604 mv $@-t $@
605 MOSTLYCLEANFILES += lib/warn-on-use.h lib/warn-on-use.h-t
606
607 WARN_ON_USE_H=lib/warn-on-use.h
608
609 EXTRA_DIST += $(top_srcdir)/build-aux/snippet/warn-on-use.h
610
611 ## end gnulib module snippet/warn-on-use
612
613 ## begin gnulib module stat-macros
614
615
616 EXTRA_DIST += lib/stat-macros.h
617
618 ## end gnulib module stat-macros
619
620 ## begin gnulib module stdarg
621
622 BUILT_SOURCES += $(STDARG_H)
623
624 # We need the following in order to create <stdarg.h> when the system
625 # doesn't have one that works with the given compiler.
626 if GL_GENERATE_STDARG_H
627 lib/stdarg.h: lib/stdarg.in.h $(top_builddir)/config.status
628 $(AM_V_GEN)rm -f $@-t $@ && \
629 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
630 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
631 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
632 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
633 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
634 -e 's|@''NEXT_STDARG_H''@|$(NEXT_STDARG_H)|g' \
635 < $(top_srcdir)/lib/stdarg.in.h; \
636 } > $@-t && \
637 mv $@-t $@
638 else
639 lib/stdarg.h: $(top_builddir)/config.status
640 rm -f $@
641 endif
642 MOSTLYCLEANFILES += lib/stdarg.h lib/stdarg.h-t
643
644 EXTRA_DIST += lib/stdarg.in.h
645
646 ## end gnulib module stdarg
647
648 ## begin gnulib module stdbool
649
650 BUILT_SOURCES += $(STDBOOL_H)
651
652 # We need the following in order to create <stdbool.h> when the system
653 # doesn't have one that works.
654 if GL_GENERATE_STDBOOL_H
655 lib/stdbool.h: lib/stdbool.in.h $(top_builddir)/config.status
656 $(AM_V_GEN)rm -f $@-t $@ && \
657 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
658 sed -e 's/@''HAVE__BOOL''@/$(HAVE__BOOL)/g' < $(top_srcdir)/lib/stdbool.in.h; \
659 } > $@-t && \
660 mv $@-t $@
661 else
662 lib/stdbool.h: $(top_builddir)/config.status
663 rm -f $@
664 endif
665 MOSTLYCLEANFILES += lib/stdbool.h lib/stdbool.h-t
666
667 EXTRA_DIST += lib/stdbool.in.h
668
669 ## end gnulib module stdbool
670
671 ## begin gnulib module stddef
672
673 BUILT_SOURCES += $(STDDEF_H)
674
675 # We need the following in order to create <stddef.h> when the system
676 # doesn't have one that works with the given compiler.
677 if GL_GENERATE_STDDEF_H
678 lib/stddef.h: lib/stddef.in.h $(top_builddir)/config.status
679 $(AM_V_GEN)rm -f $@-t $@ && \
680 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
681 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
682 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
683 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
684 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
685 -e 's|@''NEXT_STDDEF_H''@|$(NEXT_STDDEF_H)|g' \
686 -e 's|@''HAVE_WCHAR_T''@|$(HAVE_WCHAR_T)|g' \
687 -e 's|@''REPLACE_NULL''@|$(REPLACE_NULL)|g' \
688 < $(top_srcdir)/lib/stddef.in.h; \
689 } > $@-t && \
690 mv $@-t $@
691 else
692 lib/stddef.h: $(top_builddir)/config.status
693 rm -f $@
694 endif
695 MOSTLYCLEANFILES += lib/stddef.h lib/stddef.h-t
696
697 EXTRA_DIST += lib/stddef.in.h
698
699 ## end gnulib module stddef
700
701 ## begin gnulib module stdint
702
703 BUILT_SOURCES += $(STDINT_H)
704
705 # We need the following in order to create <stdint.h> when the system
706 # doesn't have one that works with the given compiler.
707 if GL_GENERATE_STDINT_H
708 lib/stdint.h: lib/stdint.in.h $(top_builddir)/config.status
709 $(AM_V_GEN)rm -f $@-t $@ && \
710 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
711 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
712 -e 's/@''HAVE_STDINT_H''@/$(HAVE_STDINT_H)/g' \
713 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
714 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
715 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
716 -e 's|@''NEXT_STDINT_H''@|$(NEXT_STDINT_H)|g' \
717 -e 's/@''HAVE_SYS_TYPES_H''@/$(HAVE_SYS_TYPES_H)/g' \
718 -e 's/@''HAVE_INTTYPES_H''@/$(HAVE_INTTYPES_H)/g' \
719 -e 's/@''HAVE_SYS_INTTYPES_H''@/$(HAVE_SYS_INTTYPES_H)/g' \
720 -e 's/@''HAVE_SYS_BITYPES_H''@/$(HAVE_SYS_BITYPES_H)/g' \
721 -e 's/@''HAVE_WCHAR_H''@/$(HAVE_WCHAR_H)/g' \
722 -e 's/@''HAVE_LONG_LONG_INT''@/$(HAVE_LONG_LONG_INT)/g' \
723 -e 's/@''HAVE_UNSIGNED_LONG_LONG_INT''@/$(HAVE_UNSIGNED_LONG_LONG_INT)/g' \
724 -e 's/@''APPLE_UNIVERSAL_BUILD''@/$(APPLE_UNIVERSAL_BUILD)/g' \
725 -e 's/@''BITSIZEOF_PTRDIFF_T''@/$(BITSIZEOF_PTRDIFF_T)/g' \
726 -e 's/@''PTRDIFF_T_SUFFIX''@/$(PTRDIFF_T_SUFFIX)/g' \
727 -e 's/@''BITSIZEOF_SIG_ATOMIC_T''@/$(BITSIZEOF_SIG_ATOMIC_T)/g' \
728 -e 's/@''HAVE_SIGNED_SIG_ATOMIC_T''@/$(HAVE_SIGNED_SIG_ATOMIC_T)/g' \
729 -e 's/@''SIG_ATOMIC_T_SUFFIX''@/$(SIG_ATOMIC_T_SUFFIX)/g' \
730 -e 's/@''BITSIZEOF_SIZE_T''@/$(BITSIZEOF_SIZE_T)/g' \
731 -e 's/@''SIZE_T_SUFFIX''@/$(SIZE_T_SUFFIX)/g' \
732 -e 's/@''BITSIZEOF_WCHAR_T''@/$(BITSIZEOF_WCHAR_T)/g' \
733 -e 's/@''HAVE_SIGNED_WCHAR_T''@/$(HAVE_SIGNED_WCHAR_T)/g' \
734 -e 's/@''WCHAR_T_SUFFIX''@/$(WCHAR_T_SUFFIX)/g' \
735 -e 's/@''BITSIZEOF_WINT_T''@/$(BITSIZEOF_WINT_T)/g' \
736 -e 's/@''HAVE_SIGNED_WINT_T''@/$(HAVE_SIGNED_WINT_T)/g' \
737 -e 's/@''WINT_T_SUFFIX''@/$(WINT_T_SUFFIX)/g' \
738 < $(top_srcdir)/lib/stdint.in.h; \
739 } > $@-t && \
740 mv $@-t $@
741 else
742 lib/stdint.h: $(top_builddir)/config.status
743 rm -f $@
744 endif
745 MOSTLYCLEANFILES += lib/stdint.h lib/stdint.h-t
746
747 EXTRA_DIST += lib/stdint.in.h
748
749 ## end gnulib module stdint
750
751 ## begin gnulib module stdlib
752
753 BUILT_SOURCES += lib/stdlib.h
754
755 # We need the following in order to create <stdlib.h> when the system
756 # doesn't have one that works with the given compiler.
757 lib/stdlib.h: lib/stdlib.in.h $(top_builddir)/config.status $(CXXDEFS_H) \
758 $(_NORETURN_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
759 $(AM_V_GEN)rm -f $@-t $@ && \
760 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
761 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
762 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
763 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
764 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
765 -e 's|@''NEXT_STDLIB_H''@|$(NEXT_STDLIB_H)|g' \
766 -e 's/@''GNULIB__EXIT''@/$(GNULIB__EXIT)/g' \
767 -e 's/@''GNULIB_ATOLL''@/$(GNULIB_ATOLL)/g' \
768 -e 's/@''GNULIB_CALLOC_POSIX''@/$(GNULIB_CALLOC_POSIX)/g' \
769 -e 's/@''GNULIB_CANONICALIZE_FILE_NAME''@/$(GNULIB_CANONICALIZE_FILE_NAME)/g' \
770 -e 's/@''GNULIB_GETLOADAVG''@/$(GNULIB_GETLOADAVG)/g' \
771 -e 's/@''GNULIB_GETSUBOPT''@/$(GNULIB_GETSUBOPT)/g' \
772 -e 's/@''GNULIB_GRANTPT''@/$(GNULIB_GRANTPT)/g' \
773 -e 's/@''GNULIB_MALLOC_POSIX''@/$(GNULIB_MALLOC_POSIX)/g' \
774 -e 's/@''GNULIB_MBTOWC''@/$(GNULIB_MBTOWC)/g' \
775 -e 's/@''GNULIB_MKDTEMP''@/$(GNULIB_MKDTEMP)/g' \
776 -e 's/@''GNULIB_MKOSTEMP''@/$(GNULIB_MKOSTEMP)/g' \
777 -e 's/@''GNULIB_MKOSTEMPS''@/$(GNULIB_MKOSTEMPS)/g' \
778 -e 's/@''GNULIB_MKSTEMP''@/$(GNULIB_MKSTEMP)/g' \
779 -e 's/@''GNULIB_MKSTEMPS''@/$(GNULIB_MKSTEMPS)/g' \
780 -e 's/@''GNULIB_POSIX_OPENPT''@/$(GNULIB_POSIX_OPENPT)/g' \
781 -e 's/@''GNULIB_PTSNAME''@/$(GNULIB_PTSNAME)/g' \
782 -e 's/@''GNULIB_PTSNAME_R''@/$(GNULIB_PTSNAME_R)/g' \
783 -e 's/@''GNULIB_PUTENV''@/$(GNULIB_PUTENV)/g' \
784 -e 's/@''GNULIB_RANDOM''@/$(GNULIB_RANDOM)/g' \
785 -e 's/@''GNULIB_RANDOM_R''@/$(GNULIB_RANDOM_R)/g' \
786 -e 's/@''GNULIB_REALLOC_POSIX''@/$(GNULIB_REALLOC_POSIX)/g' \
787 -e 's/@''GNULIB_REALPATH''@/$(GNULIB_REALPATH)/g' \
788 -e 's/@''GNULIB_RPMATCH''@/$(GNULIB_RPMATCH)/g' \
789 -e 's/@''GNULIB_SECURE_GETENV''@/$(GNULIB_SECURE_GETENV)/g' \
790 -e 's/@''GNULIB_SETENV''@/$(GNULIB_SETENV)/g' \
791 -e 's/@''GNULIB_STRTOD''@/$(GNULIB_STRTOD)/g' \
792 -e 's/@''GNULIB_STRTOLL''@/$(GNULIB_STRTOLL)/g' \
793 -e 's/@''GNULIB_STRTOULL''@/$(GNULIB_STRTOULL)/g' \
794 -e 's/@''GNULIB_SYSTEM_POSIX''@/$(GNULIB_SYSTEM_POSIX)/g' \
795 -e 's/@''GNULIB_UNLOCKPT''@/$(GNULIB_UNLOCKPT)/g' \
796 -e 's/@''GNULIB_UNSETENV''@/$(GNULIB_UNSETENV)/g' \
797 -e 's/@''GNULIB_WCTOMB''@/$(GNULIB_WCTOMB)/g' \
798 < $(top_srcdir)/lib/stdlib.in.h | \
799 sed -e 's|@''HAVE__EXIT''@|$(HAVE__EXIT)|g' \
800 -e 's|@''HAVE_ATOLL''@|$(HAVE_ATOLL)|g' \
801 -e 's|@''HAVE_CANONICALIZE_FILE_NAME''@|$(HAVE_CANONICALIZE_FILE_NAME)|g' \
802 -e 's|@''HAVE_DECL_GETLOADAVG''@|$(HAVE_DECL_GETLOADAVG)|g' \
803 -e 's|@''HAVE_GETSUBOPT''@|$(HAVE_GETSUBOPT)|g' \
804 -e 's|@''HAVE_GRANTPT''@|$(HAVE_GRANTPT)|g' \
805 -e 's|@''HAVE_MKDTEMP''@|$(HAVE_MKDTEMP)|g' \
806 -e 's|@''HAVE_MKOSTEMP''@|$(HAVE_MKOSTEMP)|g' \
807 -e 's|@''HAVE_MKOSTEMPS''@|$(HAVE_MKOSTEMPS)|g' \
808 -e 's|@''HAVE_MKSTEMP''@|$(HAVE_MKSTEMP)|g' \
809 -e 's|@''HAVE_MKSTEMPS''@|$(HAVE_MKSTEMPS)|g' \
810 -e 's|@''HAVE_POSIX_OPENPT''@|$(HAVE_POSIX_OPENPT)|g' \
811 -e 's|@''HAVE_PTSNAME''@|$(HAVE_PTSNAME)|g' \
812 -e 's|@''HAVE_PTSNAME_R''@|$(HAVE_PTSNAME_R)|g' \
813 -e 's|@''HAVE_RANDOM''@|$(HAVE_RANDOM)|g' \
814 -e 's|@''HAVE_RANDOM_H''@|$(HAVE_RANDOM_H)|g' \
815 -e 's|@''HAVE_RANDOM_R''@|$(HAVE_RANDOM_R)|g' \
816 -e 's|@''HAVE_REALPATH''@|$(HAVE_REALPATH)|g' \
817 -e 's|@''HAVE_RPMATCH''@|$(HAVE_RPMATCH)|g' \
818 -e 's|@''HAVE_SECURE_GETENV''@|$(HAVE_SECURE_GETENV)|g' \
819 -e 's|@''HAVE_DECL_SETENV''@|$(HAVE_DECL_SETENV)|g' \
820 -e 's|@''HAVE_STRTOD''@|$(HAVE_STRTOD)|g' \
821 -e 's|@''HAVE_STRTOLL''@|$(HAVE_STRTOLL)|g' \
822 -e 's|@''HAVE_STRTOULL''@|$(HAVE_STRTOULL)|g' \
823 -e 's|@''HAVE_STRUCT_RANDOM_DATA''@|$(HAVE_STRUCT_RANDOM_DATA)|g' \
824 -e 's|@''HAVE_SYS_LOADAVG_H''@|$(HAVE_SYS_LOADAVG_H)|g' \
825 -e 's|@''HAVE_UNLOCKPT''@|$(HAVE_UNLOCKPT)|g' \
826 -e 's|@''HAVE_DECL_UNSETENV''@|$(HAVE_DECL_UNSETENV)|g' \
827 -e 's|@''REPLACE_CALLOC''@|$(REPLACE_CALLOC)|g' \
828 -e 's|@''REPLACE_CANONICALIZE_FILE_NAME''@|$(REPLACE_CANONICALIZE_FILE_NAME)|g' \
829 -e 's|@''REPLACE_MALLOC''@|$(REPLACE_MALLOC)|g' \
830 -e 's|@''REPLACE_MBTOWC''@|$(REPLACE_MBTOWC)|g' \
831 -e 's|@''REPLACE_MKSTEMP''@|$(REPLACE_MKSTEMP)|g' \
832 -e 's|@''REPLACE_PTSNAME''@|$(REPLACE_PTSNAME)|g' \
833 -e 's|@''REPLACE_PTSNAME_R''@|$(REPLACE_PTSNAME_R)|g' \
834 -e 's|@''REPLACE_PUTENV''@|$(REPLACE_PUTENV)|g' \
835 -e 's|@''REPLACE_RANDOM_R''@|$(REPLACE_RANDOM_R)|g' \
836 -e 's|@''REPLACE_REALLOC''@|$(REPLACE_REALLOC)|g' \
837 -e 's|@''REPLACE_REALPATH''@|$(REPLACE_REALPATH)|g' \
838 -e 's|@''REPLACE_SETENV''@|$(REPLACE_SETENV)|g' \
839 -e 's|@''REPLACE_STRTOD''@|$(REPLACE_STRTOD)|g' \
840 -e 's|@''REPLACE_UNSETENV''@|$(REPLACE_UNSETENV)|g' \
841 -e 's|@''REPLACE_WCTOMB''@|$(REPLACE_WCTOMB)|g' \
842 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
843 -e '/definition of _Noreturn/r $(_NORETURN_H)' \
844 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
845 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)'; \
846 } > $@-t && \
847 mv $@-t $@
848 MOSTLYCLEANFILES += lib/stdlib.h lib/stdlib.h-t
849
850 EXTRA_DIST += lib/stdlib.in.h
851
852 ## end gnulib module stdlib
853
854 ## begin gnulib module stpcpy
855
856
857 EXTRA_DIST += lib/stpcpy.c
858
859 EXTRA_lib_libcppi_a_SOURCES += lib/stpcpy.c
860
861 ## end gnulib module stpcpy
862
863 ## begin gnulib module streq
864
865
866 EXTRA_DIST += lib/streq.h
867
868 ## end gnulib module streq
869
870 ## begin gnulib module strerror
871
872
873 EXTRA_DIST += lib/strerror.c
874
875 EXTRA_lib_libcppi_a_SOURCES += lib/strerror.c
876
877 ## end gnulib module strerror
878
879 ## begin gnulib module strerror-override
880
881
882 EXTRA_DIST += lib/strerror-override.c lib/strerror-override.h
883
884 EXTRA_lib_libcppi_a_SOURCES += lib/strerror-override.c
885
886 ## end gnulib module strerror-override
887
888 ## begin gnulib module string
889
890 BUILT_SOURCES += lib/string.h
891
892 # We need the following in order to create <string.h> when the system
893 # doesn't have one that works with the given compiler.
894 lib/string.h: lib/string.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
895 $(AM_V_GEN)rm -f $@-t $@ && \
896 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
897 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
898 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
899 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
900 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
901 -e 's|@''NEXT_STRING_H''@|$(NEXT_STRING_H)|g' \
902 -e 's/@''GNULIB_FFSL''@/$(GNULIB_FFSL)/g' \
903 -e 's/@''GNULIB_FFSLL''@/$(GNULIB_FFSLL)/g' \
904 -e 's/@''GNULIB_MBSLEN''@/$(GNULIB_MBSLEN)/g' \
905 -e 's/@''GNULIB_MBSNLEN''@/$(GNULIB_MBSNLEN)/g' \
906 -e 's/@''GNULIB_MBSCHR''@/$(GNULIB_MBSCHR)/g' \
907 -e 's/@''GNULIB_MBSRCHR''@/$(GNULIB_MBSRCHR)/g' \
908 -e 's/@''GNULIB_MBSSTR''@/$(GNULIB_MBSSTR)/g' \
909 -e 's/@''GNULIB_MBSCASECMP''@/$(GNULIB_MBSCASECMP)/g' \
910 -e 's/@''GNULIB_MBSNCASECMP''@/$(GNULIB_MBSNCASECMP)/g' \
911 -e 's/@''GNULIB_MBSPCASECMP''@/$(GNULIB_MBSPCASECMP)/g' \
912 -e 's/@''GNULIB_MBSCASESTR''@/$(GNULIB_MBSCASESTR)/g' \
913 -e 's/@''GNULIB_MBSCSPN''@/$(GNULIB_MBSCSPN)/g' \
914 -e 's/@''GNULIB_MBSPBRK''@/$(GNULIB_MBSPBRK)/g' \
915 -e 's/@''GNULIB_MBSSPN''@/$(GNULIB_MBSSPN)/g' \
916 -e 's/@''GNULIB_MBSSEP''@/$(GNULIB_MBSSEP)/g' \
917 -e 's/@''GNULIB_MBSTOK_R''@/$(GNULIB_MBSTOK_R)/g' \
918 -e 's/@''GNULIB_MEMCHR''@/$(GNULIB_MEMCHR)/g' \
919 -e 's/@''GNULIB_MEMMEM''@/$(GNULIB_MEMMEM)/g' \
920 -e 's/@''GNULIB_MEMPCPY''@/$(GNULIB_MEMPCPY)/g' \
921 -e 's/@''GNULIB_MEMRCHR''@/$(GNULIB_MEMRCHR)/g' \
922 -e 's/@''GNULIB_RAWMEMCHR''@/$(GNULIB_RAWMEMCHR)/g' \
923 -e 's/@''GNULIB_STPCPY''@/$(GNULIB_STPCPY)/g' \
924 -e 's/@''GNULIB_STPNCPY''@/$(GNULIB_STPNCPY)/g' \
925 -e 's/@''GNULIB_STRCHRNUL''@/$(GNULIB_STRCHRNUL)/g' \
926 -e 's/@''GNULIB_STRDUP''@/$(GNULIB_STRDUP)/g' \
927 -e 's/@''GNULIB_STRNCAT''@/$(GNULIB_STRNCAT)/g' \
928 -e 's/@''GNULIB_STRNDUP''@/$(GNULIB_STRNDUP)/g' \
929 -e 's/@''GNULIB_STRNLEN''@/$(GNULIB_STRNLEN)/g' \
930 -e 's/@''GNULIB_STRPBRK''@/$(GNULIB_STRPBRK)/g' \
931 -e 's/@''GNULIB_STRSEP''@/$(GNULIB_STRSEP)/g' \
932 -e 's/@''GNULIB_STRSTR''@/$(GNULIB_STRSTR)/g' \
933 -e 's/@''GNULIB_STRCASESTR''@/$(GNULIB_STRCASESTR)/g' \
934 -e 's/@''GNULIB_STRTOK_R''@/$(GNULIB_STRTOK_R)/g' \
935 -e 's/@''GNULIB_STRERROR''@/$(GNULIB_STRERROR)/g' \
936 -e 's/@''GNULIB_STRERROR_R''@/$(GNULIB_STRERROR_R)/g' \
937 -e 's/@''GNULIB_STRSIGNAL''@/$(GNULIB_STRSIGNAL)/g' \
938 -e 's/@''GNULIB_STRVERSCMP''@/$(GNULIB_STRVERSCMP)/g' \
939 < $(top_srcdir)/lib/string.in.h | \
940 sed -e 's|@''HAVE_FFSL''@|$(HAVE_FFSL)|g' \
941 -e 's|@''HAVE_FFSLL''@|$(HAVE_FFSLL)|g' \
942 -e 's|@''HAVE_MBSLEN''@|$(HAVE_MBSLEN)|g' \
943 -e 's|@''HAVE_MEMCHR''@|$(HAVE_MEMCHR)|g' \
944 -e 's|@''HAVE_DECL_MEMMEM''@|$(HAVE_DECL_MEMMEM)|g' \
945 -e 's|@''HAVE_MEMPCPY''@|$(HAVE_MEMPCPY)|g' \
946 -e 's|@''HAVE_DECL_MEMRCHR''@|$(HAVE_DECL_MEMRCHR)|g' \
947 -e 's|@''HAVE_RAWMEMCHR''@|$(HAVE_RAWMEMCHR)|g' \
948 -e 's|@''HAVE_STPCPY''@|$(HAVE_STPCPY)|g' \
949 -e 's|@''HAVE_STPNCPY''@|$(HAVE_STPNCPY)|g' \
950 -e 's|@''HAVE_STRCHRNUL''@|$(HAVE_STRCHRNUL)|g' \
951 -e 's|@''HAVE_DECL_STRDUP''@|$(HAVE_DECL_STRDUP)|g' \
952 -e 's|@''HAVE_DECL_STRNDUP''@|$(HAVE_DECL_STRNDUP)|g' \
953 -e 's|@''HAVE_DECL_STRNLEN''@|$(HAVE_DECL_STRNLEN)|g' \
954 -e 's|@''HAVE_STRPBRK''@|$(HAVE_STRPBRK)|g' \
955 -e 's|@''HAVE_STRSEP''@|$(HAVE_STRSEP)|g' \
956 -e 's|@''HAVE_STRCASESTR''@|$(HAVE_STRCASESTR)|g' \
957 -e 's|@''HAVE_DECL_STRTOK_R''@|$(HAVE_DECL_STRTOK_R)|g' \
958 -e 's|@''HAVE_DECL_STRERROR_R''@|$(HAVE_DECL_STRERROR_R)|g' \
959 -e 's|@''HAVE_DECL_STRSIGNAL''@|$(HAVE_DECL_STRSIGNAL)|g' \
960 -e 's|@''HAVE_STRVERSCMP''@|$(HAVE_STRVERSCMP)|g' \
961 -e 's|@''REPLACE_STPNCPY''@|$(REPLACE_STPNCPY)|g' \
962 -e 's|@''REPLACE_MEMCHR''@|$(REPLACE_MEMCHR)|g' \
963 -e 's|@''REPLACE_MEMMEM''@|$(REPLACE_MEMMEM)|g' \
964 -e 's|@''REPLACE_STRCASESTR''@|$(REPLACE_STRCASESTR)|g' \
965 -e 's|@''REPLACE_STRCHRNUL''@|$(REPLACE_STRCHRNUL)|g' \
966 -e 's|@''REPLACE_STRDUP''@|$(REPLACE_STRDUP)|g' \
967 -e 's|@''REPLACE_STRSTR''@|$(REPLACE_STRSTR)|g' \
968 -e 's|@''REPLACE_STRERROR''@|$(REPLACE_STRERROR)|g' \
969 -e 's|@''REPLACE_STRERROR_R''@|$(REPLACE_STRERROR_R)|g' \
970 -e 's|@''REPLACE_STRNCAT''@|$(REPLACE_STRNCAT)|g' \
971 -e 's|@''REPLACE_STRNDUP''@|$(REPLACE_STRNDUP)|g' \
972 -e 's|@''REPLACE_STRNLEN''@|$(REPLACE_STRNLEN)|g' \
973 -e 's|@''REPLACE_STRSIGNAL''@|$(REPLACE_STRSIGNAL)|g' \
974 -e 's|@''REPLACE_STRTOK_R''@|$(REPLACE_STRTOK_R)|g' \
975 -e 's|@''UNDEFINE_STRTOK_R''@|$(UNDEFINE_STRTOK_R)|g' \
976 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
977 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
978 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)'; \
979 < $(top_srcdir)/lib/string.in.h; \
980 } > $@-t && \
981 mv $@-t $@
982 MOSTLYCLEANFILES += lib/string.h lib/string.h-t
983
984 EXTRA_DIST += lib/string.in.h
985
986 ## end gnulib module string
987
988 ## begin gnulib module sys_types
989
990 BUILT_SOURCES += lib/sys/types.h
991
992 # We need the following in order to create <sys/types.h> when the system
993 # doesn't have one that works with the given compiler.
994 lib/sys/types.h: lib/sys_types.in.h $(top_builddir)/config.status
995 $(AM_V_at)$(MKDIR_P) lib/sys
996 $(AM_V_GEN)rm -f $@-t $@ && \
997 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
998 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
999 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1000 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1001 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
1002 -e 's|@''NEXT_SYS_TYPES_H''@|$(NEXT_SYS_TYPES_H)|g' \
1003 -e 's|@''WINDOWS_64_BIT_OFF_T''@|$(WINDOWS_64_BIT_OFF_T)|g' \
1004 < $(top_srcdir)/lib/sys_types.in.h; \
1005 } > $@-t && \
1006 mv $@-t $@
1007 MOSTLYCLEANFILES += lib/sys/types.h lib/sys/types.h-t
1008
1009 EXTRA_DIST += lib/sys_types.in.h
1010
1011 ## end gnulib module sys_types
1012
1013 ## begin gnulib module time
1014
1015 BUILT_SOURCES += lib/time.h
1016
1017 # We need the following in order to create <time.h> when the system
1018 # doesn't have one that works with the given compiler.
1019 lib/time.h: lib/time.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
1020 $(AM_V_GEN)rm -f $@-t $@ && \
1021 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
1022 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
1023 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1024 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1025 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
1026 -e 's|@''NEXT_TIME_H''@|$(NEXT_TIME_H)|g' \
1027 -e 's/@''GNULIB_MKTIME''@/$(GNULIB_MKTIME)/g' \
1028 -e 's/@''GNULIB_NANOSLEEP''@/$(GNULIB_NANOSLEEP)/g' \
1029 -e 's/@''GNULIB_STRPTIME''@/$(GNULIB_STRPTIME)/g' \
1030 -e 's/@''GNULIB_TIMEGM''@/$(GNULIB_TIMEGM)/g' \
1031 -e 's/@''GNULIB_TIME_R''@/$(GNULIB_TIME_R)/g' \
1032 -e 's|@''HAVE_DECL_LOCALTIME_R''@|$(HAVE_DECL_LOCALTIME_R)|g' \
1033 -e 's|@''HAVE_NANOSLEEP''@|$(HAVE_NANOSLEEP)|g' \
1034 -e 's|@''HAVE_STRPTIME''@|$(HAVE_STRPTIME)|g' \
1035 -e 's|@''HAVE_TIMEGM''@|$(HAVE_TIMEGM)|g' \
1036 -e 's|@''REPLACE_LOCALTIME_R''@|$(REPLACE_LOCALTIME_R)|g' \
1037 -e 's|@''REPLACE_MKTIME''@|$(REPLACE_MKTIME)|g' \
1038 -e 's|@''REPLACE_NANOSLEEP''@|$(REPLACE_NANOSLEEP)|g' \
1039 -e 's|@''REPLACE_TIMEGM''@|$(REPLACE_TIMEGM)|g' \
1040 -e 's|@''PTHREAD_H_DEFINES_STRUCT_TIMESPEC''@|$(PTHREAD_H_DEFINES_STRUCT_TIMESPEC)|g' \
1041 -e 's|@''SYS_TIME_H_DEFINES_STRUCT_TIMESPEC''@|$(SYS_TIME_H_DEFINES_STRUCT_TIMESPEC)|g' \
1042 -e 's|@''TIME_H_DEFINES_STRUCT_TIMESPEC''@|$(TIME_H_DEFINES_STRUCT_TIMESPEC)|g' \
1043 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
1044 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
1045 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
1046 < $(top_srcdir)/lib/time.in.h; \
1047 } > $@-t && \
1048 mv $@-t $@
1049 MOSTLYCLEANFILES += lib/time.h lib/time.h-t
1050
1051 EXTRA_DIST += lib/time.in.h
1052
1053 ## end gnulib module time
1054
1055 ## begin gnulib module timespec
1056
1057 lib_libcppi_a_SOURCES += lib/timespec.c
1058
1059 EXTRA_DIST += lib/timespec.h
1060
1061 ## end gnulib module timespec
1062
1063 ## begin gnulib module unistd
1064
1065 BUILT_SOURCES += lib/unistd.h
1066 lib_libcppi_a_SOURCES += lib/unistd.c
1067
1068 # We need the following in order to create an empty placeholder for
1069 # <unistd.h> when the system doesn't have one.
1070 lib/unistd.h: lib/unistd.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
1071 $(AM_V_GEN)rm -f $@-t $@ && \
1072 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
1073 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
1074 -e 's|@''HAVE_UNISTD_H''@|$(HAVE_UNISTD_H)|g' \
1075 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1076 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1077 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
1078 -e 's|@''NEXT_UNISTD_H''@|$(NEXT_UNISTD_H)|g' \
1079 -e 's|@''WINDOWS_64_BIT_OFF_T''@|$(WINDOWS_64_BIT_OFF_T)|g' \
1080 -e 's/@''GNULIB_CHDIR''@/$(GNULIB_CHDIR)/g' \
1081 -e 's/@''GNULIB_CHOWN''@/$(GNULIB_CHOWN)/g' \
1082 -e 's/@''GNULIB_CLOSE''@/$(GNULIB_CLOSE)/g' \
1083 -e 's/@''GNULIB_DUP''@/$(GNULIB_DUP)/g' \
1084 -e 's/@''GNULIB_DUP2''@/$(GNULIB_DUP2)/g' \
1085 -e 's/@''GNULIB_DUP3''@/$(GNULIB_DUP3)/g' \
1086 -e 's/@''GNULIB_ENVIRON''@/$(GNULIB_ENVIRON)/g' \
1087 -e 's/@''GNULIB_EUIDACCESS''@/$(GNULIB_EUIDACCESS)/g' \
1088 -e 's/@''GNULIB_FACCESSAT''@/$(GNULIB_FACCESSAT)/g' \
1089 -e 's/@''GNULIB_FCHDIR''@/$(GNULIB_FCHDIR)/g' \
1090 -e 's/@''GNULIB_FCHOWNAT''@/$(GNULIB_FCHOWNAT)/g' \
1091 -e 's/@''GNULIB_FDATASYNC''@/$(GNULIB_FDATASYNC)/g' \
1092 -e 's/@''GNULIB_FSYNC''@/$(GNULIB_FSYNC)/g' \
1093 -e 's/@''GNULIB_FTRUNCATE''@/$(GNULIB_FTRUNCATE)/g' \
1094 -e 's/@''GNULIB_GETCWD''@/$(GNULIB_GETCWD)/g' \
1095 -e 's/@''GNULIB_GETDOMAINNAME''@/$(GNULIB_GETDOMAINNAME)/g' \
1096 -e 's/@''GNULIB_GETDTABLESIZE''@/$(GNULIB_GETDTABLESIZE)/g' \
1097 -e 's/@''GNULIB_GETGROUPS''@/$(GNULIB_GETGROUPS)/g' \
1098 -e 's/@''GNULIB_GETHOSTNAME''@/$(GNULIB_GETHOSTNAME)/g' \
1099 -e 's/@''GNULIB_GETLOGIN''@/$(GNULIB_GETLOGIN)/g' \
1100 -e 's/@''GNULIB_GETLOGIN_R''@/$(GNULIB_GETLOGIN_R)/g' \
1101 -e 's/@''GNULIB_GETPAGESIZE''@/$(GNULIB_GETPAGESIZE)/g' \
1102 -e 's/@''GNULIB_GETUSERSHELL''@/$(GNULIB_GETUSERSHELL)/g' \
1103 -e 's/@''GNULIB_GROUP_MEMBER''@/$(GNULIB_GROUP_MEMBER)/g' \
1104 -e 's/@''GNULIB_ISATTY''@/$(GNULIB_ISATTY)/g' \
1105 -e 's/@''GNULIB_LCHOWN''@/$(GNULIB_LCHOWN)/g' \
1106 -e 's/@''GNULIB_LINK''@/$(GNULIB_LINK)/g' \
1107 -e 's/@''GNULIB_LINKAT''@/$(GNULIB_LINKAT)/g' \
1108 -e 's/@''GNULIB_LSEEK''@/$(GNULIB_LSEEK)/g' \
1109 -e 's/@''GNULIB_PIPE''@/$(GNULIB_PIPE)/g' \
1110 -e 's/@''GNULIB_PIPE2''@/$(GNULIB_PIPE2)/g' \
1111 -e 's/@''GNULIB_PREAD''@/$(GNULIB_PREAD)/g' \
1112 -e 's/@''GNULIB_PWRITE''@/$(GNULIB_PWRITE)/g' \
1113 -e 's/@''GNULIB_READ''@/$(GNULIB_READ)/g' \
1114 -e 's/@''GNULIB_READLINK''@/$(GNULIB_READLINK)/g' \
1115 -e 's/@''GNULIB_READLINKAT''@/$(GNULIB_READLINKAT)/g' \
1116 -e 's/@''GNULIB_RMDIR''@/$(GNULIB_RMDIR)/g' \
1117 -e 's/@''GNULIB_SETHOSTNAME''@/$(GNULIB_SETHOSTNAME)/g' \
1118 -e 's/@''GNULIB_SLEEP''@/$(GNULIB_SLEEP)/g' \
1119 -e 's/@''GNULIB_SYMLINK''@/$(GNULIB_SYMLINK)/g' \
1120 -e 's/@''GNULIB_SYMLINKAT''@/$(GNULIB_SYMLINKAT)/g' \
1121 -e 's/@''GNULIB_TTYNAME_R''@/$(GNULIB_TTYNAME_R)/g' \
1122 -e 's/@''GNULIB_UNISTD_H_GETOPT''@/0$(GNULIB_GL_UNISTD_H_GETOPT)/g' \
1123 -e 's/@''GNULIB_UNISTD_H_NONBLOCKING''@/$(GNULIB_UNISTD_H_NONBLOCKING)/g' \
1124 -e 's/@''GNULIB_UNISTD_H_SIGPIPE''@/$(GNULIB_UNISTD_H_SIGPIPE)/g' \
1125 -e 's/@''GNULIB_UNLINK''@/$(GNULIB_UNLINK)/g' \
1126 -e 's/@''GNULIB_UNLINKAT''@/$(GNULIB_UNLINKAT)/g' \
1127 -e 's/@''GNULIB_USLEEP''@/$(GNULIB_USLEEP)/g' \
1128 -e 's/@''GNULIB_WRITE''@/$(GNULIB_WRITE)/g' \
1129 < $(top_srcdir)/lib/unistd.in.h | \
1130 sed -e 's|@''HAVE_CHOWN''@|$(HAVE_CHOWN)|g' \
1131 -e 's|@''HAVE_DUP2''@|$(HAVE_DUP2)|g' \
1132 -e 's|@''HAVE_DUP3''@|$(HAVE_DUP3)|g' \
1133 -e 's|@''HAVE_EUIDACCESS''@|$(HAVE_EUIDACCESS)|g' \
1134 -e 's|@''HAVE_FACCESSAT''@|$(HAVE_FACCESSAT)|g' \
1135 -e 's|@''HAVE_FCHDIR''@|$(HAVE_FCHDIR)|g' \
1136 -e 's|@''HAVE_FCHOWNAT''@|$(HAVE_FCHOWNAT)|g' \
1137 -e 's|@''HAVE_FDATASYNC''@|$(HAVE_FDATASYNC)|g' \
1138 -e 's|@''HAVE_FSYNC''@|$(HAVE_FSYNC)|g' \
1139 -e 's|@''HAVE_FTRUNCATE''@|$(HAVE_FTRUNCATE)|g' \
1140 -e 's|@''HAVE_GETDTABLESIZE''@|$(HAVE_GETDTABLESIZE)|g' \
1141 -e 's|@''HAVE_GETGROUPS''@|$(HAVE_GETGROUPS)|g' \
1142 -e 's|@''HAVE_GETHOSTNAME''@|$(HAVE_GETHOSTNAME)|g' \
1143 -e 's|@''HAVE_GETLOGIN''@|$(HAVE_GETLOGIN)|g' \
1144 -e 's|@''HAVE_GETPAGESIZE''@|$(HAVE_GETPAGESIZE)|g' \
1145 -e 's|@''HAVE_GROUP_MEMBER''@|$(HAVE_GROUP_MEMBER)|g' \
1146 -e 's|@''HAVE_LCHOWN''@|$(HAVE_LCHOWN)|g' \
1147 -e 's|@''HAVE_LINK''@|$(HAVE_LINK)|g' \
1148 -e 's|@''HAVE_LINKAT''@|$(HAVE_LINKAT)|g' \
1149 -e 's|@''HAVE_PIPE''@|$(HAVE_PIPE)|g' \
1150 -e 's|@''HAVE_PIPE2''@|$(HAVE_PIPE2)|g' \
1151 -e 's|@''HAVE_PREAD''@|$(HAVE_PREAD)|g' \
1152 -e 's|@''HAVE_PWRITE''@|$(HAVE_PWRITE)|g' \
1153 -e 's|@''HAVE_READLINK''@|$(HAVE_READLINK)|g' \
1154 -e 's|@''HAVE_READLINKAT''@|$(HAVE_READLINKAT)|g' \
1155 -e 's|@''HAVE_SETHOSTNAME''@|$(HAVE_SETHOSTNAME)|g' \
1156 -e 's|@''HAVE_SLEEP''@|$(HAVE_SLEEP)|g' \
1157 -e 's|@''HAVE_SYMLINK''@|$(HAVE_SYMLINK)|g' \
1158 -e 's|@''HAVE_SYMLINKAT''@|$(HAVE_SYMLINKAT)|g' \
1159 -e 's|@''HAVE_UNLINKAT''@|$(HAVE_UNLINKAT)|g' \
1160 -e 's|@''HAVE_USLEEP''@|$(HAVE_USLEEP)|g' \
1161 -e 's|@''HAVE_DECL_ENVIRON''@|$(HAVE_DECL_ENVIRON)|g' \
1162 -e 's|@''HAVE_DECL_FCHDIR''@|$(HAVE_DECL_FCHDIR)|g' \
1163 -e 's|@''HAVE_DECL_FDATASYNC''@|$(HAVE_DECL_FDATASYNC)|g' \
1164 -e 's|@''HAVE_DECL_GETDOMAINNAME''@|$(HAVE_DECL_GETDOMAINNAME)|g' \
1165 -e 's|@''HAVE_DECL_GETLOGIN_R''@|$(HAVE_DECL_GETLOGIN_R)|g' \
1166 -e 's|@''HAVE_DECL_GETPAGESIZE''@|$(HAVE_DECL_GETPAGESIZE)|g' \
1167 -e 's|@''HAVE_DECL_GETUSERSHELL''@|$(HAVE_DECL_GETUSERSHELL)|g' \
1168 -e 's|@''HAVE_DECL_SETHOSTNAME''@|$(HAVE_DECL_SETHOSTNAME)|g' \
1169 -e 's|@''HAVE_DECL_TTYNAME_R''@|$(HAVE_DECL_TTYNAME_R)|g' \
1170 -e 's|@''HAVE_OS_H''@|$(HAVE_OS_H)|g' \
1171 -e 's|@''HAVE_SYS_PARAM_H''@|$(HAVE_SYS_PARAM_H)|g' \
1172 | \
1173 sed -e 's|@''REPLACE_CHOWN''@|$(REPLACE_CHOWN)|g' \
1174 -e 's|@''REPLACE_CLOSE''@|$(REPLACE_CLOSE)|g' \
1175 -e 's|@''REPLACE_DUP''@|$(REPLACE_DUP)|g' \
1176 -e 's|@''REPLACE_DUP2''@|$(REPLACE_DUP2)|g' \
1177 -e 's|@''REPLACE_FCHOWNAT''@|$(REPLACE_FCHOWNAT)|g' \
1178 -e 's|@''REPLACE_FTRUNCATE''@|$(REPLACE_FTRUNCATE)|g' \
1179 -e 's|@''REPLACE_GETCWD''@|$(REPLACE_GETCWD)|g' \
1180 -e 's|@''REPLACE_GETDOMAINNAME''@|$(REPLACE_GETDOMAINNAME)|g' \
1181 -e 's|@''REPLACE_GETLOGIN_R''@|$(REPLACE_GETLOGIN_R)|g' \
1182 -e 's|@''REPLACE_GETGROUPS''@|$(REPLACE_GETGROUPS)|g' \
1183 -e 's|@''REPLACE_GETPAGESIZE''@|$(REPLACE_GETPAGESIZE)|g' \
1184 -e 's|@''REPLACE_ISATTY''@|$(REPLACE_ISATTY)|g' \
1185 -e 's|@''REPLACE_LCHOWN''@|$(REPLACE_LCHOWN)|g' \
1186 -e 's|@''REPLACE_LINK''@|$(REPLACE_LINK)|g' \
1187 -e 's|@''REPLACE_LINKAT''@|$(REPLACE_LINKAT)|g' \
1188 -e 's|@''REPLACE_LSEEK''@|$(REPLACE_LSEEK)|g' \
1189 -e 's|@''REPLACE_PREAD''@|$(REPLACE_PREAD)|g' \
1190 -e 's|@''REPLACE_PWRITE''@|$(REPLACE_PWRITE)|g' \
1191 -e 's|@''REPLACE_READ''@|$(REPLACE_READ)|g' \
1192 -e 's|@''REPLACE_READLINK''@|$(REPLACE_READLINK)|g' \
1193 -e 's|@''REPLACE_RMDIR''@|$(REPLACE_RMDIR)|g' \
1194 -e 's|@''REPLACE_SLEEP''@|$(REPLACE_SLEEP)|g' \
1195 -e 's|@''REPLACE_SYMLINK''@|$(REPLACE_SYMLINK)|g' \
1196 -e 's|@''REPLACE_TTYNAME_R''@|$(REPLACE_TTYNAME_R)|g' \
1197 -e 's|@''REPLACE_UNLINK''@|$(REPLACE_UNLINK)|g' \
1198 -e 's|@''REPLACE_UNLINKAT''@|$(REPLACE_UNLINKAT)|g' \
1199 -e 's|@''REPLACE_USLEEP''@|$(REPLACE_USLEEP)|g' \
1200 -e 's|@''REPLACE_WRITE''@|$(REPLACE_WRITE)|g' \
1201 -e 's|@''UNISTD_H_HAVE_WINSOCK2_H''@|$(UNISTD_H_HAVE_WINSOCK2_H)|g' \
1202 -e 's|@''UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS''@|$(UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS)|g' \
1203 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
1204 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
1205 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)'; \
1206 } > $@-t && \
1207 mv $@-t $@
1208 MOSTLYCLEANFILES += lib/unistd.h lib/unistd.h-t
1209
1210 EXTRA_DIST += lib/unistd.in.h
1211
1212 ## end gnulib module unistd
1213
1214 ## begin gnulib module unlocked-io
1215
1216
1217 EXTRA_DIST += lib/unlocked-io.h
1218
1219 ## end gnulib module unlocked-io
1220
1221 ## begin gnulib module update-copyright
1222
1223
1224 EXTRA_DIST += $(top_srcdir)/build-aux/update-copyright
1225
1226 ## end gnulib module update-copyright
1227
1228 ## begin gnulib module useless-if-before-free
1229
1230
1231 EXTRA_DIST += $(top_srcdir)/build-aux/useless-if-before-free
1232
1233 ## end gnulib module useless-if-before-free
1234
1235 ## begin gnulib module vc-list-files
1236
1237
1238 EXTRA_DIST += $(top_srcdir)/build-aux/vc-list-files
1239
1240 ## end gnulib module vc-list-files
1241
1242 ## begin gnulib module verify
1243
1244
1245 EXTRA_DIST += lib/verify.h
1246
1247 ## end gnulib module verify
1248
1249 ## begin gnulib module version-etc
1250
1251 lib_libcppi_a_SOURCES += lib/version-etc.h lib/version-etc.c
1252
1253 ## end gnulib module version-etc
1254
1255 ## begin gnulib module version-etc-fsf
1256
1257 lib_libcppi_a_SOURCES += lib/version-etc-fsf.c
1258
1259 ## end gnulib module version-etc-fsf
1260
1261 ## begin gnulib module wchar
1262
1263 BUILT_SOURCES += lib/wchar.h
1264
1265 # We need the following in order to create <wchar.h> when the system
1266 # version does not work standalone.
1267 lib/wchar.h: lib/wchar.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
1268 $(AM_V_GEN)rm -f $@-t $@ && \
1269 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
1270 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
1271 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1272 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1273 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
1274 -e 's|@''HAVE_FEATURES_H''@|$(HAVE_FEATURES_H)|g' \
1275 -e 's|@''NEXT_WCHAR_H''@|$(NEXT_WCHAR_H)|g' \
1276 -e 's|@''HAVE_WCHAR_H''@|$(HAVE_WCHAR_H)|g' \
1277 -e 's/@''GNULIB_BTOWC''@/$(GNULIB_BTOWC)/g' \
1278 -e 's/@''GNULIB_WCTOB''@/$(GNULIB_WCTOB)/g' \
1279 -e 's/@''GNULIB_MBSINIT''@/$(GNULIB_MBSINIT)/g' \
1280 -e 's/@''GNULIB_MBRTOWC''@/$(GNULIB_MBRTOWC)/g' \
1281 -e 's/@''GNULIB_MBRLEN''@/$(GNULIB_MBRLEN)/g' \
1282 -e 's/@''GNULIB_MBSRTOWCS''@/$(GNULIB_MBSRTOWCS)/g' \
1283 -e 's/@''GNULIB_MBSNRTOWCS''@/$(GNULIB_MBSNRTOWCS)/g' \
1284 -e 's/@''GNULIB_WCRTOMB''@/$(GNULIB_WCRTOMB)/g' \
1285 -e 's/@''GNULIB_WCSRTOMBS''@/$(GNULIB_WCSRTOMBS)/g' \
1286 -e 's/@''GNULIB_WCSNRTOMBS''@/$(GNULIB_WCSNRTOMBS)/g' \
1287 -e 's/@''GNULIB_WCWIDTH''@/$(GNULIB_WCWIDTH)/g' \
1288 -e 's/@''GNULIB_WMEMCHR''@/$(GNULIB_WMEMCHR)/g' \
1289 -e 's/@''GNULIB_WMEMCMP''@/$(GNULIB_WMEMCMP)/g' \
1290 -e 's/@''GNULIB_WMEMCPY''@/$(GNULIB_WMEMCPY)/g' \
1291 -e 's/@''GNULIB_WMEMMOVE''@/$(GNULIB_WMEMMOVE)/g' \
1292 -e 's/@''GNULIB_WMEMSET''@/$(GNULIB_WMEMSET)/g' \
1293 -e 's/@''GNULIB_WCSLEN''@/$(GNULIB_WCSLEN)/g' \
1294 -e 's/@''GNULIB_WCSNLEN''@/$(GNULIB_WCSNLEN)/g' \
1295 -e 's/@''GNULIB_WCSCPY''@/$(GNULIB_WCSCPY)/g' \
1296 -e 's/@''GNULIB_WCPCPY''@/$(GNULIB_WCPCPY)/g' \
1297 -e 's/@''GNULIB_WCSNCPY''@/$(GNULIB_WCSNCPY)/g' \
1298 -e 's/@''GNULIB_WCPNCPY''@/$(GNULIB_WCPNCPY)/g' \
1299 -e 's/@''GNULIB_WCSCAT''@/$(GNULIB_WCSCAT)/g' \
1300 -e 's/@''GNULIB_WCSNCAT''@/$(GNULIB_WCSNCAT)/g' \
1301 -e 's/@''GNULIB_WCSCMP''@/$(GNULIB_WCSCMP)/g' \
1302 -e 's/@''GNULIB_WCSNCMP''@/$(GNULIB_WCSNCMP)/g' \
1303 -e 's/@''GNULIB_WCSCASECMP''@/$(GNULIB_WCSCASECMP)/g' \
1304 -e 's/@''GNULIB_WCSNCASECMP''@/$(GNULIB_WCSNCASECMP)/g' \
1305 -e 's/@''GNULIB_WCSCOLL''@/$(GNULIB_WCSCOLL)/g' \
1306 -e 's/@''GNULIB_WCSXFRM''@/$(GNULIB_WCSXFRM)/g' \
1307 -e 's/@''GNULIB_WCSDUP''@/$(GNULIB_WCSDUP)/g' \
1308 -e 's/@''GNULIB_WCSCHR''@/$(GNULIB_WCSCHR)/g' \
1309 -e 's/@''GNULIB_WCSRCHR''@/$(GNULIB_WCSRCHR)/g' \
1310 -e 's/@''GNULIB_WCSCSPN''@/$(GNULIB_WCSCSPN)/g' \
1311 -e 's/@''GNULIB_WCSSPN''@/$(GNULIB_WCSSPN)/g' \
1312 -e 's/@''GNULIB_WCSPBRK''@/$(GNULIB_WCSPBRK)/g' \
1313 -e 's/@''GNULIB_WCSSTR''@/$(GNULIB_WCSSTR)/g' \
1314 -e 's/@''GNULIB_WCSTOK''@/$(GNULIB_WCSTOK)/g' \
1315 -e 's/@''GNULIB_WCSWIDTH''@/$(GNULIB_WCSWIDTH)/g' \
1316 < $(top_srcdir)/lib/wchar.in.h | \
1317 sed -e 's|@''HAVE_WINT_T''@|$(HAVE_WINT_T)|g' \
1318 -e 's|@''HAVE_BTOWC''@|$(HAVE_BTOWC)|g' \
1319 -e 's|@''HAVE_MBSINIT''@|$(HAVE_MBSINIT)|g' \
1320 -e 's|@''HAVE_MBRTOWC''@|$(HAVE_MBRTOWC)|g' \
1321 -e 's|@''HAVE_MBRLEN''@|$(HAVE_MBRLEN)|g' \
1322 -e 's|@''HAVE_MBSRTOWCS''@|$(HAVE_MBSRTOWCS)|g' \
1323 -e 's|@''HAVE_MBSNRTOWCS''@|$(HAVE_MBSNRTOWCS)|g' \
1324 -e 's|@''HAVE_WCRTOMB''@|$(HAVE_WCRTOMB)|g' \
1325 -e 's|@''HAVE_WCSRTOMBS''@|$(HAVE_WCSRTOMBS)|g' \
1326 -e 's|@''HAVE_WCSNRTOMBS''@|$(HAVE_WCSNRTOMBS)|g' \
1327 -e 's|@''HAVE_WMEMCHR''@|$(HAVE_WMEMCHR)|g' \
1328 -e 's|@''HAVE_WMEMCMP''@|$(HAVE_WMEMCMP)|g' \
1329 -e 's|@''HAVE_WMEMCPY''@|$(HAVE_WMEMCPY)|g' \
1330 -e 's|@''HAVE_WMEMMOVE''@|$(HAVE_WMEMMOVE)|g' \
1331 -e 's|@''HAVE_WMEMSET''@|$(HAVE_WMEMSET)|g' \
1332 -e 's|@''HAVE_WCSLEN''@|$(HAVE_WCSLEN)|g' \
1333 -e 's|@''HAVE_WCSNLEN''@|$(HAVE_WCSNLEN)|g' \
1334 -e 's|@''HAVE_WCSCPY''@|$(HAVE_WCSCPY)|g' \
1335 -e 's|@''HAVE_WCPCPY''@|$(HAVE_WCPCPY)|g' \
1336 -e 's|@''HAVE_WCSNCPY''@|$(HAVE_WCSNCPY)|g' \
1337 -e 's|@''HAVE_WCPNCPY''@|$(HAVE_WCPNCPY)|g' \
1338 -e 's|@''HAVE_WCSCAT''@|$(HAVE_WCSCAT)|g' \
1339 -e 's|@''HAVE_WCSNCAT''@|$(HAVE_WCSNCAT)|g' \
1340 -e 's|@''HAVE_WCSCMP''@|$(HAVE_WCSCMP)|g' \
1341 -e 's|@''HAVE_WCSNCMP''@|$(HAVE_WCSNCMP)|g' \
1342 -e 's|@''HAVE_WCSCASECMP''@|$(HAVE_WCSCASECMP)|g' \
1343 -e 's|@''HAVE_WCSNCASECMP''@|$(HAVE_WCSNCASECMP)|g' \
1344 -e 's|@''HAVE_WCSCOLL''@|$(HAVE_WCSCOLL)|g' \
1345 -e 's|@''HAVE_WCSXFRM''@|$(HAVE_WCSXFRM)|g' \
1346 -e 's|@''HAVE_WCSDUP''@|$(HAVE_WCSDUP)|g' \
1347 -e 's|@''HAVE_WCSCHR''@|$(HAVE_WCSCHR)|g' \
1348 -e 's|@''HAVE_WCSRCHR''@|$(HAVE_WCSRCHR)|g' \
1349 -e 's|@''HAVE_WCSCSPN''@|$(HAVE_WCSCSPN)|g' \
1350 -e 's|@''HAVE_WCSSPN''@|$(HAVE_WCSSPN)|g' \
1351 -e 's|@''HAVE_WCSPBRK''@|$(HAVE_WCSPBRK)|g' \
1352 -e 's|@''HAVE_WCSSTR''@|$(HAVE_WCSSTR)|g' \
1353 -e 's|@''HAVE_WCSTOK''@|$(HAVE_WCSTOK)|g' \
1354 -e 's|@''HAVE_WCSWIDTH''@|$(HAVE_WCSWIDTH)|g' \
1355 -e 's|@''HAVE_DECL_WCTOB''@|$(HAVE_DECL_WCTOB)|g' \
1356 -e 's|@''HAVE_DECL_WCWIDTH''@|$(HAVE_DECL_WCWIDTH)|g' \
1357 | \
1358 sed -e 's|@''REPLACE_MBSTATE_T''@|$(REPLACE_MBSTATE_T)|g' \
1359 -e 's|@''REPLACE_BTOWC''@|$(REPLACE_BTOWC)|g' \
1360 -e 's|@''REPLACE_WCTOB''@|$(REPLACE_WCTOB)|g' \
1361 -e 's|@''REPLACE_MBSINIT''@|$(REPLACE_MBSINIT)|g' \
1362 -e 's|@''REPLACE_MBRTOWC''@|$(REPLACE_MBRTOWC)|g' \
1363 -e 's|@''REPLACE_MBRLEN''@|$(REPLACE_MBRLEN)|g' \
1364 -e 's|@''REPLACE_MBSRTOWCS''@|$(REPLACE_MBSRTOWCS)|g' \
1365 -e 's|@''REPLACE_MBSNRTOWCS''@|$(REPLACE_MBSNRTOWCS)|g' \
1366 -e 's|@''REPLACE_WCRTOMB''@|$(REPLACE_WCRTOMB)|g' \
1367 -e 's|@''REPLACE_WCSRTOMBS''@|$(REPLACE_WCSRTOMBS)|g' \
1368 -e 's|@''REPLACE_WCSNRTOMBS''@|$(REPLACE_WCSNRTOMBS)|g' \
1369 -e 's|@''REPLACE_WCWIDTH''@|$(REPLACE_WCWIDTH)|g' \
1370 -e 's|@''REPLACE_WCSWIDTH''@|$(REPLACE_WCSWIDTH)|g' \
1371 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
1372 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
1373 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)'; \
1374 } > $@-t && \
1375 mv $@-t $@
1376 MOSTLYCLEANFILES += lib/wchar.h lib/wchar.h-t
1377
1378 EXTRA_DIST += lib/wchar.in.h
1379
1380 ## end gnulib module wchar
1381
1382 ## begin gnulib module wctype-h
1383
1384 BUILT_SOURCES += lib/wctype.h
1385 lib_libcppi_a_SOURCES += lib/wctype-h.c
1386
1387 # We need the following in order to create <wctype.h> when the system
1388 # doesn't have one that works with the given compiler.
1389 lib/wctype.h: lib/wctype.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(WARN_ON_USE_H)
1390 $(AM_V_GEN)rm -f $@-t $@ && \
1391 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
1392 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
1393 -e 's/@''HAVE_WCTYPE_H''@/$(HAVE_WCTYPE_H)/g' \
1394 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1395 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1396 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
1397 -e 's|@''NEXT_WCTYPE_H''@|$(NEXT_WCTYPE_H)|g' \
1398 -e 's/@''GNULIB_ISWBLANK''@/$(GNULIB_ISWBLANK)/g' \
1399 -e 's/@''GNULIB_WCTYPE''@/$(GNULIB_WCTYPE)/g' \
1400 -e 's/@''GNULIB_ISWCTYPE''@/$(GNULIB_ISWCTYPE)/g' \
1401 -e 's/@''GNULIB_WCTRANS''@/$(GNULIB_WCTRANS)/g' \
1402 -e 's/@''GNULIB_TOWCTRANS''@/$(GNULIB_TOWCTRANS)/g' \
1403 -e 's/@''HAVE_ISWBLANK''@/$(HAVE_ISWBLANK)/g' \
1404 -e 's/@''HAVE_ISWCNTRL''@/$(HAVE_ISWCNTRL)/g' \
1405 -e 's/@''HAVE_WCTYPE_T''@/$(HAVE_WCTYPE_T)/g' \
1406 -e 's/@''HAVE_WCTRANS_T''@/$(HAVE_WCTRANS_T)/g' \
1407 -e 's/@''HAVE_WINT_T''@/$(HAVE_WINT_T)/g' \
1408 -e 's/@''REPLACE_ISWBLANK''@/$(REPLACE_ISWBLANK)/g' \
1409 -e 's/@''REPLACE_ISWCNTRL''@/$(REPLACE_ISWCNTRL)/g' \
1410 -e 's/@''REPLACE_TOWLOWER''@/$(REPLACE_TOWLOWER)/g' \
1411 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
1412 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
1413 < $(top_srcdir)/lib/wctype.in.h; \
1414 } > $@-t && \
1415 mv $@-t $@
1416 MOSTLYCLEANFILES += lib/wctype.h lib/wctype.h-t
1417
1418 EXTRA_DIST += lib/wctype.in.h
1419
1420 ## end gnulib module wctype-h
1421
1422 ## begin gnulib module xalloc
1423
1424 lib_libcppi_a_SOURCES += lib/xmalloc.c
1425
1426 EXTRA_DIST += lib/xalloc.h
1427
1428 ## end gnulib module xalloc
1429
1430 ## begin gnulib module xalloc-die
1431
1432 lib_libcppi_a_SOURCES += lib/xalloc-die.c
1433
1434 ## end gnulib module xalloc-die
1435
1436 ## begin gnulib module xalloc-oversized
1437
1438
1439 EXTRA_DIST += lib/xalloc-oversized.h
1440
1441 ## end gnulib module xalloc-oversized
1442
1443 ## begin gnulib module xstrtol
1444
1445 lib_libcppi_a_SOURCES += lib/xstrtol.c lib/xstrtoul.c lib/xstrtol-error.c
1446
1447 EXTRA_DIST += lib/xstrtol.h
1448
1449 ## end gnulib module xstrtol
1450
1451
1452 mostlyclean-local: mostlyclean-generic
1453 @for dir in '' $(MOSTLYCLEANDIRS); do \
1454 if test -n "$$dir" && test -d $$dir; then \
1455 echo "rmdir $$dir"; rmdir $$dir; \
1456 fi; \
1457 done; \
1458 :