1 ## DO NOT EDIT! GENERATED AUTOMATICALLY!
2 ## Process this file with automake to produce Makefile.in.
3 # Copyright (C) 2002-2010 Free Software Foundation, Inc.
5 # This file is free software, distributed under the terms of the GNU
6 # General Public License. As a special exception to the GNU General
7 # Public License, this file may be distributed as part of a program
8 # that contains a configuration script generated by Autoconf, under
9 # the same distribution terms as the rest of that program.
11 # Generated by gnulib-tool.
12 # Reproduce by: gnulib-tool --import --dir=. --local-dir=gl/override --lib=libgnu --source-base=gl --m4-base=gl/m4 --doc-base=doc --tests-base=tests --aux-dir=build-aux --libtool --macro-prefix=gl --no-vc-files autobuild fdl-1.3 gendocs getopt-gnu maintainer-makefile manywarnings pmccabe2html progname read-file stdint update-copyright valgrind-tests version-etc-fsf warnings
14 AUTOMAKE_OPTIONS = 1.5 gnits
23 MOSTLYCLEANFILES = core *.stackdump
27 MAINTAINERCLEANFILES =
28 EXTRA_DIST += m4/gnulib-cache.m4
33 noinst_LTLIBRARIES += libgnu.la
36 libgnu_la_LIBADD = $(gl_LTLIBOBJS)
37 libgnu_la_DEPENDENCIES = $(gl_LTLIBOBJS)
38 EXTRA_libgnu_la_SOURCES =
39 libgnu_la_LDFLAGS = $(AM_LDFLAGS)
41 ## begin gnulib module arg-nonnull
43 # The BUILT_SOURCES created by this Makefile snippet are not used via #include
44 # statements but through direct file reference. Therefore this snippet must be
45 # present in all Makefile.am that need it. This is ensured by the applicability
46 # 'all' defined above.
48 BUILT_SOURCES += arg-nonnull.h
49 # The arg-nonnull.h that gets inserted into generated .h files is the same as
50 # build-aux/arg-nonnull.h, except that it has the copyright header cut off.
51 arg-nonnull.h: $(top_srcdir)/build-aux/arg-nonnull.h
52 $(AM_V_GEN)rm -f $@-t $@ && \
53 sed -n -e '/GL_ARG_NONNULL/,$$p' \
54 < $(top_srcdir)/build-aux/arg-nonnull.h \
57 MOSTLYCLEANFILES += arg-nonnull.h arg-nonnull.h-t
59 ARG_NONNULL_H=arg-nonnull.h
61 EXTRA_DIST += $(top_srcdir)/build-aux/arg-nonnull.h
63 ## end gnulib module arg-nonnull
65 ## begin gnulib module c++defs
67 # The BUILT_SOURCES created by this Makefile snippet are not used via #include
68 # statements but through direct file reference. Therefore this snippet must be
69 # present in all Makefile.am that need it. This is ensured by the applicability
70 # 'all' defined above.
72 BUILT_SOURCES += c++defs.h
73 # The c++defs.h that gets inserted into generated .h files is the same as
74 # build-aux/c++defs.h, except that it has the copyright header cut off.
75 c++defs.h: $(top_srcdir)/build-aux/c++defs.h
76 $(AM_V_GEN)rm -f $@-t $@ && \
77 sed -n -e '/_GL_CXXDEFS/,$$p' \
78 < $(top_srcdir)/build-aux/c++defs.h \
81 MOSTLYCLEANFILES += c++defs.h c++defs.h-t
85 EXTRA_DIST += $(top_srcdir)/build-aux/c++defs.h
87 ## end gnulib module c++defs
89 ## begin gnulib module gendocs
92 EXTRA_DIST += $(top_srcdir)/build-aux/gendocs.sh
94 ## end gnulib module gendocs
96 ## begin gnulib module getopt-posix
98 BUILT_SOURCES += $(GETOPT_H)
100 # We need the following in order to create <getopt.h> when the system
101 # doesn't have one that works with the given compiler.
102 getopt.h: getopt.in.h $(ARG_NONNULL_H)
103 $(AM_V_GEN)rm -f $@-t $@ && \
104 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
105 sed -e 's|@''HAVE_GETOPT_H''@|$(HAVE_GETOPT_H)|g' \
106 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
107 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
108 -e 's|@''NEXT_GETOPT_H''@|$(NEXT_GETOPT_H)|g' \
109 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
110 < $(srcdir)/getopt.in.h; \
113 MOSTLYCLEANFILES += getopt.h getopt.h-t
115 EXTRA_DIST += getopt.c getopt.in.h getopt1.c getopt_int.h
117 EXTRA_libgnu_la_SOURCES += getopt.c getopt1.c
119 ## end gnulib module getopt-posix
121 ## begin gnulib module gettext-h
123 libgnu_la_SOURCES += gettext.h
125 ## end gnulib module gettext-h
127 ## begin gnulib module gnumakefile
129 distclean-local: clean-GNUmakefile
131 test x'$(VPATH)' != x && rm -f $(top_builddir)/GNUmakefile || :
133 EXTRA_DIST += $(top_srcdir)/GNUmakefile
135 ## end gnulib module gnumakefile
137 ## begin gnulib module maintainer-makefile
139 EXTRA_DIST += $(top_srcdir)/maint.mk
141 ## end gnulib module maintainer-makefile
143 ## begin gnulib module pmccabe2html
146 EXTRA_DIST += $(top_srcdir)/build-aux/pmccabe2html $(top_srcdir)/build-aux/pmccabe.css
148 ## end gnulib module pmccabe2html
150 ## begin gnulib module progname
152 libgnu_la_SOURCES += progname.h progname.c
154 ## end gnulib module progname
156 ## begin gnulib module read-file
159 EXTRA_DIST += read-file.c read-file.h
161 EXTRA_libgnu_la_SOURCES += read-file.c
163 ## end gnulib module read-file
165 ## begin gnulib module realloc-posix
168 EXTRA_DIST += realloc.c
170 EXTRA_libgnu_la_SOURCES += realloc.c
172 ## end gnulib module realloc-posix
174 ## begin gnulib module stdarg
176 BUILT_SOURCES += $(STDARG_H)
178 # We need the following in order to create <stdarg.h> when the system
179 # doesn't have one that works with the given compiler.
180 stdarg.h: stdarg.in.h
181 $(AM_V_GEN)rm -f $@-t $@ && \
182 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
183 sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
184 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
185 -e 's|@''NEXT_STDARG_H''@|$(NEXT_STDARG_H)|g' \
186 < $(srcdir)/stdarg.in.h; \
189 MOSTLYCLEANFILES += stdarg.h stdarg.h-t
191 EXTRA_DIST += stdarg.in.h
193 ## end gnulib module stdarg
195 ## begin gnulib module stddef
197 BUILT_SOURCES += $(STDDEF_H)
199 # We need the following in order to create <stddef.h> when the system
200 # doesn't have one that works with the given compiler.
201 stddef.h: stddef.in.h
202 $(AM_V_GEN)rm -f $@-t $@ && \
203 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
204 sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
205 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
206 -e 's|@''NEXT_STDDEF_H''@|$(NEXT_STDDEF_H)|g' \
207 -e 's|@''HAVE_WCHAR_T''@|$(HAVE_WCHAR_T)|g' \
208 -e 's|@''REPLACE_NULL''@|$(REPLACE_NULL)|g' \
209 < $(srcdir)/stddef.in.h; \
212 MOSTLYCLEANFILES += stddef.h stddef.h-t
214 EXTRA_DIST += stddef.in.h
216 ## end gnulib module stddef
218 ## begin gnulib module stdint
220 BUILT_SOURCES += $(STDINT_H)
222 # We need the following in order to create <stdint.h> when the system
223 # doesn't have one that works with the given compiler.
224 stdint.h: stdint.in.h
225 $(AM_V_GEN)rm -f $@-t $@ && \
226 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
227 sed -e 's/@''HAVE_STDINT_H''@/$(HAVE_STDINT_H)/g' \
228 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
229 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
230 -e 's|@''NEXT_STDINT_H''@|$(NEXT_STDINT_H)|g' \
231 -e 's/@''HAVE_SYS_TYPES_H''@/$(HAVE_SYS_TYPES_H)/g' \
232 -e 's/@''HAVE_INTTYPES_H''@/$(HAVE_INTTYPES_H)/g' \
233 -e 's/@''HAVE_SYS_INTTYPES_H''@/$(HAVE_SYS_INTTYPES_H)/g' \
234 -e 's/@''HAVE_SYS_BITYPES_H''@/$(HAVE_SYS_BITYPES_H)/g' \
235 -e 's/@''HAVE_LONG_LONG_INT''@/$(HAVE_LONG_LONG_INT)/g' \
236 -e 's/@''HAVE_UNSIGNED_LONG_LONG_INT''@/$(HAVE_UNSIGNED_LONG_LONG_INT)/g' \
237 -e 's/@''APPLE_UNIVERSAL_BUILD''@/$(APPLE_UNIVERSAL_BUILD)/g' \
238 -e 's/@''BITSIZEOF_PTRDIFF_T''@/$(BITSIZEOF_PTRDIFF_T)/g' \
239 -e 's/@''PTRDIFF_T_SUFFIX''@/$(PTRDIFF_T_SUFFIX)/g' \
240 -e 's/@''BITSIZEOF_SIG_ATOMIC_T''@/$(BITSIZEOF_SIG_ATOMIC_T)/g' \
241 -e 's/@''HAVE_SIGNED_SIG_ATOMIC_T''@/$(HAVE_SIGNED_SIG_ATOMIC_T)/g' \
242 -e 's/@''SIG_ATOMIC_T_SUFFIX''@/$(SIG_ATOMIC_T_SUFFIX)/g' \
243 -e 's/@''BITSIZEOF_SIZE_T''@/$(BITSIZEOF_SIZE_T)/g' \
244 -e 's/@''SIZE_T_SUFFIX''@/$(SIZE_T_SUFFIX)/g' \
245 -e 's/@''BITSIZEOF_WCHAR_T''@/$(BITSIZEOF_WCHAR_T)/g' \
246 -e 's/@''HAVE_SIGNED_WCHAR_T''@/$(HAVE_SIGNED_WCHAR_T)/g' \
247 -e 's/@''WCHAR_T_SUFFIX''@/$(WCHAR_T_SUFFIX)/g' \
248 -e 's/@''BITSIZEOF_WINT_T''@/$(BITSIZEOF_WINT_T)/g' \
249 -e 's/@''HAVE_SIGNED_WINT_T''@/$(HAVE_SIGNED_WINT_T)/g' \
250 -e 's/@''WINT_T_SUFFIX''@/$(WINT_T_SUFFIX)/g' \
251 < $(srcdir)/stdint.in.h; \
254 MOSTLYCLEANFILES += stdint.h stdint.h-t
256 EXTRA_DIST += stdint.in.h
258 ## end gnulib module stdint
260 ## begin gnulib module stdlib
262 BUILT_SOURCES += stdlib.h
264 # We need the following in order to create <stdlib.h> when the system
265 # doesn't have one that works with the given compiler.
266 stdlib.h: stdlib.in.h $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
267 $(AM_V_GEN)rm -f $@-t $@ && \
268 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
269 sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
270 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
271 -e 's|@''NEXT_STDLIB_H''@|$(NEXT_STDLIB_H)|g' \
272 -e 's|@''GNULIB_ATOLL''@|$(GNULIB_ATOLL)|g' \
273 -e 's|@''GNULIB_CALLOC_POSIX''@|$(GNULIB_CALLOC_POSIX)|g' \
274 -e 's|@''GNULIB_CANONICALIZE_FILE_NAME''@|$(GNULIB_CANONICALIZE_FILE_NAME)|g' \
275 -e 's|@''GNULIB_GETLOADAVG''@|$(GNULIB_GETLOADAVG)|g' \
276 -e 's|@''GNULIB_GETSUBOPT''@|$(GNULIB_GETSUBOPT)|g' \
277 -e 's|@''GNULIB_GRANTPT''@|$(GNULIB_GRANTPT)|g' \
278 -e 's|@''GNULIB_MALLOC_POSIX''@|$(GNULIB_MALLOC_POSIX)|g' \
279 -e 's|@''GNULIB_MKDTEMP''@|$(GNULIB_MKDTEMP)|g' \
280 -e 's|@''GNULIB_MKOSTEMP''@|$(GNULIB_MKOSTEMP)|g' \
281 -e 's|@''GNULIB_MKOSTEMPS''@|$(GNULIB_MKOSTEMPS)|g' \
282 -e 's|@''GNULIB_MKSTEMP''@|$(GNULIB_MKSTEMP)|g' \
283 -e 's|@''GNULIB_MKSTEMPS''@|$(GNULIB_MKSTEMPS)|g' \
284 -e 's|@''GNULIB_PTSNAME''@|$(GNULIB_PTSNAME)|g' \
285 -e 's|@''GNULIB_PUTENV''@|$(GNULIB_PUTENV)|g' \
286 -e 's|@''GNULIB_RANDOM_R''@|$(GNULIB_RANDOM_R)|g' \
287 -e 's|@''GNULIB_REALLOC_POSIX''@|$(GNULIB_REALLOC_POSIX)|g' \
288 -e 's|@''GNULIB_REALPATH''@|$(GNULIB_REALPATH)|g' \
289 -e 's|@''GNULIB_RPMATCH''@|$(GNULIB_RPMATCH)|g' \
290 -e 's|@''GNULIB_SETENV''@|$(GNULIB_SETENV)|g' \
291 -e 's|@''GNULIB_STRTOD''@|$(GNULIB_STRTOD)|g' \
292 -e 's|@''GNULIB_STRTOLL''@|$(GNULIB_STRTOLL)|g' \
293 -e 's|@''GNULIB_STRTOULL''@|$(GNULIB_STRTOULL)|g' \
294 -e 's|@''GNULIB_UNLOCKPT''@|$(GNULIB_UNLOCKPT)|g' \
295 -e 's|@''GNULIB_UNSETENV''@|$(GNULIB_UNSETENV)|g' \
296 -e 's|@''HAVE_ATOLL''@|$(HAVE_ATOLL)|g' \
297 -e 's|@''HAVE_CALLOC_POSIX''@|$(HAVE_CALLOC_POSIX)|g' \
298 -e 's|@''HAVE_CANONICALIZE_FILE_NAME''@|$(HAVE_CANONICALIZE_FILE_NAME)|g' \
299 -e 's|@''HAVE_DECL_GETLOADAVG''@|$(HAVE_DECL_GETLOADAVG)|g' \
300 -e 's|@''HAVE_GETSUBOPT''@|$(HAVE_GETSUBOPT)|g' \
301 -e 's|@''HAVE_GRANTPT''@|$(HAVE_GRANTPT)|g' \
302 -e 's|@''HAVE_MALLOC_POSIX''@|$(HAVE_MALLOC_POSIX)|g' \
303 -e 's|@''HAVE_MKDTEMP''@|$(HAVE_MKDTEMP)|g' \
304 -e 's|@''HAVE_MKOSTEMP''@|$(HAVE_MKOSTEMP)|g' \
305 -e 's|@''HAVE_MKOSTEMPS''@|$(HAVE_MKOSTEMPS)|g' \
306 -e 's|@''HAVE_MKSTEMP''@|$(HAVE_MKSTEMP)|g' \
307 -e 's|@''HAVE_MKSTEMPS''@|$(HAVE_MKSTEMPS)|g' \
308 -e 's|@''HAVE_PTSNAME''@|$(HAVE_PTSNAME)|g' \
309 -e 's|@''HAVE_RANDOM_H''@|$(HAVE_RANDOM_H)|g' \
310 -e 's|@''HAVE_RANDOM_R''@|$(HAVE_RANDOM_R)|g' \
311 -e 's|@''HAVE_REALLOC_POSIX''@|$(HAVE_REALLOC_POSIX)|g' \
312 -e 's|@''HAVE_REALPATH''@|$(HAVE_REALPATH)|g' \
313 -e 's|@''HAVE_RPMATCH''@|$(HAVE_RPMATCH)|g' \
314 -e 's|@''HAVE_SETENV''@|$(HAVE_SETENV)|g' \
315 -e 's|@''HAVE_STRTOD''@|$(HAVE_STRTOD)|g' \
316 -e 's|@''HAVE_STRTOLL''@|$(HAVE_STRTOLL)|g' \
317 -e 's|@''HAVE_STRTOULL''@|$(HAVE_STRTOULL)|g' \
318 -e 's|@''HAVE_STRUCT_RANDOM_DATA''@|$(HAVE_STRUCT_RANDOM_DATA)|g' \
319 -e 's|@''HAVE_SYS_LOADAVG_H''@|$(HAVE_SYS_LOADAVG_H)|g' \
320 -e 's|@''HAVE_UNLOCKPT''@|$(HAVE_UNLOCKPT)|g' \
321 -e 's|@''HAVE_UNSETENV''@|$(HAVE_UNSETENV)|g' \
322 -e 's|@''REPLACE_CANONICALIZE_FILE_NAME''@|$(REPLACE_CANONICALIZE_FILE_NAME)|g' \
323 -e 's|@''REPLACE_MKSTEMP''@|$(REPLACE_MKSTEMP)|g' \
324 -e 's|@''REPLACE_PUTENV''@|$(REPLACE_PUTENV)|g' \
325 -e 's|@''REPLACE_REALPATH''@|$(REPLACE_REALPATH)|g' \
326 -e 's|@''REPLACE_SETENV''@|$(REPLACE_SETENV)|g' \
327 -e 's|@''REPLACE_STRTOD''@|$(REPLACE_STRTOD)|g' \
328 -e 's|@''REPLACE_UNSETENV''@|$(REPLACE_UNSETENV)|g' \
329 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
330 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
331 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
332 < $(srcdir)/stdlib.in.h; \
335 MOSTLYCLEANFILES += stdlib.h stdlib.h-t
337 EXTRA_DIST += stdlib.in.h
339 ## end gnulib module stdlib
341 ## begin gnulib module unistd
343 BUILT_SOURCES += unistd.h
345 # We need the following in order to create an empty placeholder for
346 # <unistd.h> when the system doesn't have one.
347 unistd.h: unistd.in.h $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
348 $(AM_V_GEN)rm -f $@-t $@ && \
349 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
350 sed -e 's|@''HAVE_UNISTD_H''@|$(HAVE_UNISTD_H)|g' \
351 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
352 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
353 -e 's|@''NEXT_UNISTD_H''@|$(NEXT_UNISTD_H)|g' \
354 -e 's|@''GNULIB_CHOWN''@|$(GNULIB_CHOWN)|g' \
355 -e 's|@''GNULIB_CLOSE''@|$(GNULIB_CLOSE)|g' \
356 -e 's|@''GNULIB_DUP2''@|$(GNULIB_DUP2)|g' \
357 -e 's|@''GNULIB_DUP3''@|$(GNULIB_DUP3)|g' \
358 -e 's|@''GNULIB_ENVIRON''@|$(GNULIB_ENVIRON)|g' \
359 -e 's|@''GNULIB_EUIDACCESS''@|$(GNULIB_EUIDACCESS)|g' \
360 -e 's|@''GNULIB_FACCESSAT''@|$(GNULIB_FACCESSAT)|g' \
361 -e 's|@''GNULIB_FCHDIR''@|$(GNULIB_FCHDIR)|g' \
362 -e 's|@''GNULIB_FCHOWNAT''@|$(GNULIB_FCHOWNAT)|g' \
363 -e 's|@''GNULIB_FSYNC''@|$(GNULIB_FSYNC)|g' \
364 -e 's|@''GNULIB_FTRUNCATE''@|$(GNULIB_FTRUNCATE)|g' \
365 -e 's|@''GNULIB_GETCWD''@|$(GNULIB_GETCWD)|g' \
366 -e 's|@''GNULIB_GETDOMAINNAME''@|$(GNULIB_GETDOMAINNAME)|g' \
367 -e 's|@''GNULIB_GETDTABLESIZE''@|$(GNULIB_GETDTABLESIZE)|g' \
368 -e 's|@''GNULIB_GETGROUPS''@|$(GNULIB_GETGROUPS)|g' \
369 -e 's|@''GNULIB_GETHOSTNAME''@|$(GNULIB_GETHOSTNAME)|g' \
370 -e 's|@''GNULIB_GETLOGIN''@|$(GNULIB_GETLOGIN)|g' \
371 -e 's|@''GNULIB_GETLOGIN_R''@|$(GNULIB_GETLOGIN_R)|g' \
372 -e 's|@''GNULIB_GETPAGESIZE''@|$(GNULIB_GETPAGESIZE)|g' \
373 -e 's|@''GNULIB_GETUSERSHELL''@|$(GNULIB_GETUSERSHELL)|g' \
374 -e 's|@''GNULIB_LCHOWN''@|$(GNULIB_LCHOWN)|g' \
375 -e 's|@''GNULIB_LINK''@|$(GNULIB_LINK)|g' \
376 -e 's|@''GNULIB_LINKAT''@|$(GNULIB_LINKAT)|g' \
377 -e 's|@''GNULIB_LSEEK''@|$(GNULIB_LSEEK)|g' \
378 -e 's|@''GNULIB_PIPE2''@|$(GNULIB_PIPE2)|g' \
379 -e 's|@''GNULIB_PREAD''@|$(GNULIB_PREAD)|g' \
380 -e 's|@''GNULIB_PWRITE''@|$(GNULIB_PWRITE)|g' \
381 -e 's|@''GNULIB_READLINK''@|$(GNULIB_READLINK)|g' \
382 -e 's|@''GNULIB_READLINKAT''@|$(GNULIB_READLINKAT)|g' \
383 -e 's|@''GNULIB_RMDIR''@|$(GNULIB_RMDIR)|g' \
384 -e 's|@''GNULIB_SLEEP''@|$(GNULIB_SLEEP)|g' \
385 -e 's|@''GNULIB_SYMLINK''@|$(GNULIB_SYMLINK)|g' \
386 -e 's|@''GNULIB_SYMLINKAT''@|$(GNULIB_SYMLINKAT)|g' \
387 -e 's|@''GNULIB_TTYNAME_R''@|$(GNULIB_TTYNAME_R)|g' \
388 -e 's|@''GNULIB_UNISTD_H_GETOPT''@|$(GNULIB_UNISTD_H_GETOPT)|g' \
389 -e 's|@''GNULIB_UNISTD_H_SIGPIPE''@|$(GNULIB_UNISTD_H_SIGPIPE)|g' \
390 -e 's|@''GNULIB_UNLINK''@|$(GNULIB_UNLINK)|g' \
391 -e 's|@''GNULIB_UNLINKAT''@|$(GNULIB_UNLINKAT)|g' \
392 -e 's|@''GNULIB_USLEEP''@|$(GNULIB_USLEEP)|g' \
393 -e 's|@''GNULIB_WRITE''@|$(GNULIB_WRITE)|g' \
394 < $(srcdir)/unistd.in.h | \
395 sed -e 's|@''HAVE_CHOWN''@|$(HAVE_CHOWN)|g' \
396 -e 's|@''HAVE_DUP2''@|$(HAVE_DUP2)|g' \
397 -e 's|@''HAVE_DUP3''@|$(HAVE_DUP3)|g' \
398 -e 's|@''HAVE_EUIDACCESS''@|$(HAVE_EUIDACCESS)|g' \
399 -e 's|@''HAVE_FACCESSAT''@|$(HAVE_FACCESSAT)|g' \
400 -e 's|@''HAVE_FCHDIR''@|$(HAVE_FCHDIR)|g' \
401 -e 's|@''HAVE_FCHOWNAT''@|$(HAVE_FCHOWNAT)|g' \
402 -e 's|@''HAVE_FSYNC''@|$(HAVE_FSYNC)|g' \
403 -e 's|@''HAVE_FTRUNCATE''@|$(HAVE_FTRUNCATE)|g' \
404 -e 's|@''HAVE_GETDOMAINNAME''@|$(HAVE_GETDOMAINNAME)|g' \
405 -e 's|@''HAVE_GETDTABLESIZE''@|$(HAVE_GETDTABLESIZE)|g' \
406 -e 's|@''HAVE_GETGROUPS''@|$(HAVE_GETGROUPS)|g' \
407 -e 's|@''HAVE_GETHOSTNAME''@|$(HAVE_GETHOSTNAME)|g' \
408 -e 's|@''HAVE_GETLOGIN''@|$(HAVE_GETLOGIN)|g' \
409 -e 's|@''HAVE_GETPAGESIZE''@|$(HAVE_GETPAGESIZE)|g' \
410 -e 's|@''HAVE_LCHOWN''@|$(HAVE_LCHOWN)|g' \
411 -e 's|@''HAVE_LINK''@|$(HAVE_LINK)|g' \
412 -e 's|@''HAVE_LINKAT''@|$(HAVE_LINKAT)|g' \
413 -e 's|@''HAVE_PIPE2''@|$(HAVE_PIPE2)|g' \
414 -e 's|@''HAVE_PREAD''@|$(HAVE_PREAD)|g' \
415 -e 's|@''HAVE_PWRITE''@|$(HAVE_PWRITE)|g' \
416 -e 's|@''HAVE_READLINK''@|$(HAVE_READLINK)|g' \
417 -e 's|@''HAVE_READLINKAT''@|$(HAVE_READLINKAT)|g' \
418 -e 's|@''HAVE_SLEEP''@|$(HAVE_SLEEP)|g' \
419 -e 's|@''HAVE_SYMLINK''@|$(HAVE_SYMLINK)|g' \
420 -e 's|@''HAVE_SYMLINKAT''@|$(HAVE_SYMLINKAT)|g' \
421 -e 's|@''HAVE_TTYNAME_R''@|$(HAVE_TTYNAME_R)|g' \
422 -e 's|@''HAVE_UNLINKAT''@|$(HAVE_UNLINKAT)|g' \
423 -e 's|@''HAVE_USLEEP''@|$(HAVE_USLEEP)|g' \
424 -e 's|@''HAVE_DECL_ENVIRON''@|$(HAVE_DECL_ENVIRON)|g' \
425 -e 's|@''HAVE_DECL_GETLOGIN_R''@|$(HAVE_DECL_GETLOGIN_R)|g' \
426 -e 's|@''HAVE_DECL_GETPAGESIZE''@|$(HAVE_DECL_GETPAGESIZE)|g' \
427 -e 's|@''HAVE_DECL_GETUSERSHELL''@|$(HAVE_DECL_GETUSERSHELL)|g' \
428 -e 's|@''HAVE_OS_H''@|$(HAVE_OS_H)|g' \
429 -e 's|@''HAVE_SYS_PARAM_H''@|$(HAVE_SYS_PARAM_H)|g' \
430 -e 's|@''REPLACE_CHOWN''@|$(REPLACE_CHOWN)|g' \
431 -e 's|@''REPLACE_CLOSE''@|$(REPLACE_CLOSE)|g' \
432 -e 's|@''REPLACE_DUP''@|$(REPLACE_DUP)|g' \
433 -e 's|@''REPLACE_DUP2''@|$(REPLACE_DUP2)|g' \
434 -e 's|@''REPLACE_FCHOWNAT''@|$(REPLACE_FCHOWNAT)|g' \
435 -e 's|@''REPLACE_GETCWD''@|$(REPLACE_GETCWD)|g' \
436 -e 's|@''REPLACE_GETGROUPS''@|$(REPLACE_GETGROUPS)|g' \
437 -e 's|@''REPLACE_GETPAGESIZE''@|$(REPLACE_GETPAGESIZE)|g' \
438 -e 's|@''REPLACE_LCHOWN''@|$(REPLACE_LCHOWN)|g' \
439 -e 's|@''REPLACE_LINK''@|$(REPLACE_LINK)|g' \
440 -e 's|@''REPLACE_LINKAT''@|$(REPLACE_LINKAT)|g' \
441 -e 's|@''REPLACE_LSEEK''@|$(REPLACE_LSEEK)|g' \
442 -e 's|@''REPLACE_PREAD''@|$(REPLACE_PREAD)|g' \
443 -e 's|@''REPLACE_PWRITE''@|$(REPLACE_PWRITE)|g' \
444 -e 's|@''REPLACE_READLINK''@|$(REPLACE_READLINK)|g' \
445 -e 's|@''REPLACE_RMDIR''@|$(REPLACE_RMDIR)|g' \
446 -e 's|@''REPLACE_SLEEP''@|$(REPLACE_SLEEP)|g' \
447 -e 's|@''REPLACE_SYMLINK''@|$(REPLACE_SYMLINK)|g' \
448 -e 's|@''REPLACE_TTYNAME_R''@|$(REPLACE_TTYNAME_R)|g' \
449 -e 's|@''REPLACE_UNLINK''@|$(REPLACE_UNLINK)|g' \
450 -e 's|@''REPLACE_UNLINKAT''@|$(REPLACE_UNLINKAT)|g' \
451 -e 's|@''REPLACE_USLEEP''@|$(REPLACE_USLEEP)|g' \
452 -e 's|@''REPLACE_WRITE''@|$(REPLACE_WRITE)|g' \
453 -e 's|@''UNISTD_H_HAVE_WINSOCK2_H''@|$(UNISTD_H_HAVE_WINSOCK2_H)|g' \
454 -e 's|@''UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS''@|$(UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS)|g' \
455 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
456 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
457 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)'; \
460 MOSTLYCLEANFILES += unistd.h unistd.h-t
462 EXTRA_DIST += unistd.in.h
464 ## end gnulib module unistd
466 ## begin gnulib module update-copyright
469 EXTRA_DIST += $(top_srcdir)/build-aux/update-copyright
471 ## end gnulib module update-copyright
473 ## begin gnulib module useless-if-before-free
476 EXTRA_DIST += $(top_srcdir)/build-aux/useless-if-before-free
478 ## end gnulib module useless-if-before-free
480 ## begin gnulib module vc-list-files
483 EXTRA_DIST += $(top_srcdir)/build-aux/vc-list-files
485 ## end gnulib module vc-list-files
487 ## begin gnulib module version-etc
489 libgnu_la_SOURCES += version-etc.h version-etc.c
491 ## end gnulib module version-etc
493 ## begin gnulib module version-etc-fsf
495 libgnu_la_SOURCES += version-etc-fsf.c
497 ## end gnulib module version-etc-fsf
499 ## begin gnulib module warn-on-use
501 BUILT_SOURCES += warn-on-use.h
502 # The warn-on-use.h that gets inserted into generated .h files is the same as
503 # build-aux/warn-on-use.h, except that it has the copyright header cut off.
504 warn-on-use.h: $(top_srcdir)/build-aux/warn-on-use.h
505 $(AM_V_GEN)rm -f $@-t $@ && \
506 sed -n -e '/^.ifndef/,$$p' \
507 < $(top_srcdir)/build-aux/warn-on-use.h \
510 MOSTLYCLEANFILES += warn-on-use.h warn-on-use.h-t
512 WARN_ON_USE_H=warn-on-use.h
514 EXTRA_DIST += $(top_srcdir)/build-aux/warn-on-use.h
516 ## end gnulib module warn-on-use
518 ## begin gnulib module wchar
520 BUILT_SOURCES += wchar.h
522 # We need the following in order to create <wchar.h> when the system
523 # version does not work standalone.
524 wchar.h: wchar.in.h $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
525 $(AM_V_GEN)rm -f $@-t $@ && \
526 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
527 sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
528 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
529 -e 's|@''NEXT_WCHAR_H''@|$(NEXT_WCHAR_H)|g' \
530 -e 's|@''HAVE_WCHAR_H''@|$(HAVE_WCHAR_H)|g' \
531 -e 's|@''GNULIB_BTOWC''@|$(GNULIB_BTOWC)|g' \
532 -e 's|@''GNULIB_WCTOB''@|$(GNULIB_WCTOB)|g' \
533 -e 's|@''GNULIB_MBSINIT''@|$(GNULIB_MBSINIT)|g' \
534 -e 's|@''GNULIB_MBRTOWC''@|$(GNULIB_MBRTOWC)|g' \
535 -e 's|@''GNULIB_MBRLEN''@|$(GNULIB_MBRLEN)|g' \
536 -e 's|@''GNULIB_MBSRTOWCS''@|$(GNULIB_MBSRTOWCS)|g' \
537 -e 's|@''GNULIB_MBSNRTOWCS''@|$(GNULIB_MBSNRTOWCS)|g' \
538 -e 's|@''GNULIB_WCRTOMB''@|$(GNULIB_WCRTOMB)|g' \
539 -e 's|@''GNULIB_WCSRTOMBS''@|$(GNULIB_WCSRTOMBS)|g' \
540 -e 's|@''GNULIB_WCSNRTOMBS''@|$(GNULIB_WCSNRTOMBS)|g' \
541 -e 's|@''GNULIB_WCWIDTH''@|$(GNULIB_WCWIDTH)|g' \
542 -e 's|@''HAVE_WINT_T''@|$(HAVE_WINT_T)|g' \
543 -e 's|@''HAVE_BTOWC''@|$(HAVE_BTOWC)|g' \
544 -e 's|@''HAVE_MBSINIT''@|$(HAVE_MBSINIT)|g' \
545 -e 's|@''HAVE_MBRTOWC''@|$(HAVE_MBRTOWC)|g' \
546 -e 's|@''HAVE_MBRLEN''@|$(HAVE_MBRLEN)|g' \
547 -e 's|@''HAVE_MBSRTOWCS''@|$(HAVE_MBSRTOWCS)|g' \
548 -e 's|@''HAVE_MBSNRTOWCS''@|$(HAVE_MBSNRTOWCS)|g' \
549 -e 's|@''HAVE_WCRTOMB''@|$(HAVE_WCRTOMB)|g' \
550 -e 's|@''HAVE_WCSRTOMBS''@|$(HAVE_WCSRTOMBS)|g' \
551 -e 's|@''HAVE_WCSNRTOMBS''@|$(HAVE_WCSNRTOMBS)|g' \
552 -e 's|@''HAVE_DECL_WCTOB''@|$(HAVE_DECL_WCTOB)|g' \
553 -e 's|@''HAVE_DECL_WCWIDTH''@|$(HAVE_DECL_WCWIDTH)|g' \
554 -e 's|@''REPLACE_MBSTATE_T''@|$(REPLACE_MBSTATE_T)|g' \
555 -e 's|@''REPLACE_BTOWC''@|$(REPLACE_BTOWC)|g' \
556 -e 's|@''REPLACE_WCTOB''@|$(REPLACE_WCTOB)|g' \
557 -e 's|@''REPLACE_MBSINIT''@|$(REPLACE_MBSINIT)|g' \
558 -e 's|@''REPLACE_MBRTOWC''@|$(REPLACE_MBRTOWC)|g' \
559 -e 's|@''REPLACE_MBRLEN''@|$(REPLACE_MBRLEN)|g' \
560 -e 's|@''REPLACE_MBSRTOWCS''@|$(REPLACE_MBSRTOWCS)|g' \
561 -e 's|@''REPLACE_MBSNRTOWCS''@|$(REPLACE_MBSNRTOWCS)|g' \
562 -e 's|@''REPLACE_WCRTOMB''@|$(REPLACE_WCRTOMB)|g' \
563 -e 's|@''REPLACE_WCSRTOMBS''@|$(REPLACE_WCSRTOMBS)|g' \
564 -e 's|@''REPLACE_WCSNRTOMBS''@|$(REPLACE_WCSNRTOMBS)|g' \
565 -e 's|@''REPLACE_WCWIDTH''@|$(REPLACE_WCWIDTH)|g' \
566 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
567 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
568 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
569 < $(srcdir)/wchar.in.h; \
572 MOSTLYCLEANFILES += wchar.h wchar.h-t
574 EXTRA_DIST += wchar.in.h
576 ## end gnulib module wchar
579 mostlyclean-local: mostlyclean-generic
580 @for dir in '' $(MOSTLYCLEANDIRS); do \
581 if test -n "$$dir" && test -d $$dir; then \
582 echo "rmdir $$dir"; rmdir $$dir; \