gdb/
[deliverable/binutils-gdb.git] / gdb / gnulib / import / Makefile.am
CommitLineData
f6ea5628
DJ
1## DO NOT EDIT! GENERATED AUTOMATICALLY!
2## Process this file with automake to produce Makefile.in.
770d76d7 3# Copyright (C) 2002-2012 Free Software Foundation, Inc.
f6ea5628 4#
770d76d7
PA
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
f6ea5628
DJ
21# the same distribution terms as the rest of that program.
22#
23# Generated by gnulib-tool.
8690e634 24# Reproduce by: gnulib-tool --import --dir=. --lib=libgnu --source-base=import --m4-base=import/m4 --doc-base=doc --tests-base=tests --aux-dir=import/extra --no-conditional-dependencies --no-libtool --macro-prefix=gl --no-vc-files fnmatch-gnu inttypes memmem update-copyright
f6ea5628
DJ
25
26AUTOMAKE_OPTIONS = 1.5 gnits
27
f434ba03 28SUBDIRS =
f6ea5628
DJ
29noinst_HEADERS =
30noinst_LIBRARIES =
31noinst_LTLIBRARIES =
32EXTRA_DIST =
33BUILT_SOURCES =
34SUFFIXES =
35MOSTLYCLEANFILES = core *.stackdump
36MOSTLYCLEANDIRS =
37CLEANFILES =
38DISTCLEANFILES =
39MAINTAINERCLEANFILES =
f434ba03 40EXTRA_DIST += m4/gnulib-cache.m4
f6ea5628
DJ
41
42AM_CPPFLAGS =
f434ba03 43AM_CFLAGS =
f6ea5628
DJ
44
45noinst_LIBRARIES += libgnu.a
46
47libgnu_a_SOURCES =
48libgnu_a_LIBADD = $(gl_LIBOBJS)
49libgnu_a_DEPENDENCIES = $(gl_LIBOBJS)
50EXTRA_libgnu_a_SOURCES =
51
8690e634
JK
52## begin gnulib module alloca
53
54
55libgnu_a_LIBADD += @ALLOCA@
56libgnu_a_DEPENDENCIES += @ALLOCA@
57EXTRA_DIST += alloca.c
58
59EXTRA_libgnu_a_SOURCES += alloca.c
60
61## end gnulib module alloca
62
63## begin gnulib module alloca-opt
64
65BUILT_SOURCES += $(ALLOCA_H)
66
67# We need the following in order to create <alloca.h> when the system
68# doesn't have one that works with the given compiler.
69if GL_GENERATE_ALLOCA_H
70alloca.h: alloca.in.h $(top_builddir)/config.status
71 $(AM_V_GEN)rm -f $@-t $@ && \
72 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
73 cat $(srcdir)/alloca.in.h; \
74 } > $@-t && \
75 mv -f $@-t $@
76else
77alloca.h: $(top_builddir)/config.status
78 rm -f $@
79endif
80MOSTLYCLEANFILES += alloca.h alloca.h-t
81
82EXTRA_DIST += alloca.in.h
83
84## end gnulib module alloca-opt
85
86## begin gnulib module configmake
87
88# Listed in the same order as the GNU makefile conventions, and
89# provided by autoconf 2.59c+.
90# The Automake-defined pkg* macros are appended, in the order
91# listed in the Automake 1.10a+ documentation.
92configmake.h: Makefile
93 $(AM_V_GEN)rm -f $@-t && \
94 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
95 echo '#define PREFIX "$(prefix)"'; \
96 echo '#define EXEC_PREFIX "$(exec_prefix)"'; \
97 echo '#define BINDIR "$(bindir)"'; \
98 echo '#define SBINDIR "$(sbindir)"'; \
99 echo '#define LIBEXECDIR "$(libexecdir)"'; \
100 echo '#define DATAROOTDIR "$(datarootdir)"'; \
101 echo '#define DATADIR "$(datadir)"'; \
102 echo '#define SYSCONFDIR "$(sysconfdir)"'; \
103 echo '#define SHAREDSTATEDIR "$(sharedstatedir)"'; \
104 echo '#define LOCALSTATEDIR "$(localstatedir)"'; \
105 echo '#define INCLUDEDIR "$(includedir)"'; \
106 echo '#define OLDINCLUDEDIR "$(oldincludedir)"'; \
107 echo '#define DOCDIR "$(docdir)"'; \
108 echo '#define INFODIR "$(infodir)"'; \
109 echo '#define HTMLDIR "$(htmldir)"'; \
110 echo '#define DVIDIR "$(dvidir)"'; \
111 echo '#define PDFDIR "$(pdfdir)"'; \
112 echo '#define PSDIR "$(psdir)"'; \
113 echo '#define LIBDIR "$(libdir)"'; \
114 echo '#define LISPDIR "$(lispdir)"'; \
115 echo '#define LOCALEDIR "$(localedir)"'; \
116 echo '#define MANDIR "$(mandir)"'; \
117 echo '#define MANEXT "$(manext)"'; \
118 echo '#define PKGDATADIR "$(pkgdatadir)"'; \
119 echo '#define PKGINCLUDEDIR "$(pkgincludedir)"'; \
120 echo '#define PKGLIBDIR "$(pkglibdir)"'; \
121 echo '#define PKGLIBEXECDIR "$(pkglibexecdir)"'; \
122 } | sed '/""/d' > $@-t && \
123 mv -f $@-t $@
124
125BUILT_SOURCES += configmake.h
126CLEANFILES += configmake.h configmake.h-t
127
128## end gnulib module configmake
129
130## begin gnulib module fnmatch
131
132BUILT_SOURCES += $(FNMATCH_H)
133
134# We need the following in order to create <fnmatch.h> when the system
135# doesn't have one that supports the required API.
136if GL_GENERATE_FNMATCH_H
137fnmatch.h: fnmatch.in.h $(top_builddir)/config.status $(ARG_NONNULL_H)
138 $(AM_V_GEN)rm -f $@-t $@ && \
139 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
140 sed -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
141 < $(srcdir)/fnmatch.in.h; \
142 } > $@-t && \
143 mv -f $@-t $@
144else
145fnmatch.h: $(top_builddir)/config.status
146 rm -f $@
147endif
148MOSTLYCLEANFILES += fnmatch.h fnmatch.h-t
149
150EXTRA_DIST += fnmatch.c fnmatch.in.h fnmatch_loop.c
151
152EXTRA_libgnu_a_SOURCES += fnmatch.c fnmatch_loop.c
153
154## end gnulib module fnmatch
155
770d76d7 156## begin gnulib module inttypes-incomplete
55a8c076
YQ
157
158BUILT_SOURCES += inttypes.h
159
160# We need the following in order to create <inttypes.h> when the system
161# doesn't have one that works with the given compiler.
770d76d7 162inttypes.h: inttypes.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(WARN_ON_USE_H) $(ARG_NONNULL_H)
55a8c076
YQ
163 $(AM_V_GEN)rm -f $@-t $@ && \
164 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
165 sed -e 's/@''HAVE_INTTYPES_H''@/$(HAVE_INTTYPES_H)/g' \
166 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
167 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
770d76d7 168 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
55a8c076
YQ
169 -e 's|@''NEXT_INTTYPES_H''@|$(NEXT_INTTYPES_H)|g' \
170 -e 's/@''PRI_MACROS_BROKEN''@/$(PRI_MACROS_BROKEN)/g' \
171 -e 's/@''APPLE_UNIVERSAL_BUILD''@/$(APPLE_UNIVERSAL_BUILD)/g' \
172 -e 's/@''HAVE_LONG_LONG_INT''@/$(HAVE_LONG_LONG_INT)/g' \
173 -e 's/@''HAVE_UNSIGNED_LONG_LONG_INT''@/$(HAVE_UNSIGNED_LONG_LONG_INT)/g' \
174 -e 's/@''PRIPTR_PREFIX''@/$(PRIPTR_PREFIX)/g' \
175 -e 's/@''GNULIB_IMAXABS''@/$(GNULIB_IMAXABS)/g' \
176 -e 's/@''GNULIB_IMAXDIV''@/$(GNULIB_IMAXDIV)/g' \
177 -e 's/@''GNULIB_STRTOIMAX''@/$(GNULIB_STRTOIMAX)/g' \
178 -e 's/@''GNULIB_STRTOUMAX''@/$(GNULIB_STRTOUMAX)/g' \
179 -e 's/@''HAVE_DECL_IMAXABS''@/$(HAVE_DECL_IMAXABS)/g' \
180 -e 's/@''HAVE_DECL_IMAXDIV''@/$(HAVE_DECL_IMAXDIV)/g' \
181 -e 's/@''HAVE_DECL_STRTOIMAX''@/$(HAVE_DECL_STRTOIMAX)/g' \
182 -e 's/@''HAVE_DECL_STRTOUMAX''@/$(HAVE_DECL_STRTOUMAX)/g' \
770d76d7 183 -e 's/@''REPLACE_STRTOIMAX''@/$(REPLACE_STRTOIMAX)/g' \
55a8c076
YQ
184 -e 's/@''INT32_MAX_LT_INTMAX_MAX''@/$(INT32_MAX_LT_INTMAX_MAX)/g' \
185 -e 's/@''INT64_MAX_EQ_LONG_MAX''@/$(INT64_MAX_EQ_LONG_MAX)/g' \
186 -e 's/@''UINT32_MAX_LT_UINTMAX_MAX''@/$(UINT32_MAX_LT_UINTMAX_MAX)/g' \
187 -e 's/@''UINT64_MAX_EQ_ULONG_MAX''@/$(UINT64_MAX_EQ_ULONG_MAX)/g' \
770d76d7 188 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
55a8c076
YQ
189 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
190 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
191 < $(srcdir)/inttypes.in.h; \
192 } > $@-t && \
193 mv $@-t $@
194MOSTLYCLEANFILES += inttypes.h inttypes.h-t
195
196EXTRA_DIST += inttypes.in.h
197
770d76d7 198## end gnulib module inttypes-incomplete
55a8c076 199
8690e634
JK
200## begin gnulib module localcharset
201
202libgnu_a_SOURCES += localcharset.h localcharset.c
203
204# We need the following in order to install a simple file in $(libdir)
205# which is shared with other installed packages. We use a list of referencing
206# packages so that "make uninstall" will remove the file if and only if it
207# is not used by another installed package.
208# On systems with glibc-2.1 or newer, the file is redundant, therefore we
209# avoid installing it.
210
211all-local: charset.alias ref-add.sed ref-del.sed
212
213charset_alias = $(DESTDIR)$(libdir)/charset.alias
214charset_tmp = $(DESTDIR)$(libdir)/charset.tmp
215install-exec-local: install-exec-localcharset
216install-exec-localcharset: all-local
217 if test $(GLIBC21) = no; then \
218 case '$(host_os)' in \
219 darwin[56]*) \
220 need_charset_alias=true ;; \
221 darwin* | cygwin* | mingw* | pw32* | cegcc*) \
222 need_charset_alias=false ;; \
223 *) \
224 need_charset_alias=true ;; \
225 esac ; \
226 else \
227 need_charset_alias=false ; \
228 fi ; \
229 if $$need_charset_alias; then \
230 $(mkinstalldirs) $(DESTDIR)$(libdir) ; \
231 fi ; \
232 if test -f $(charset_alias); then \
233 sed -f ref-add.sed $(charset_alias) > $(charset_tmp) ; \
234 $(INSTALL_DATA) $(charset_tmp) $(charset_alias) ; \
235 rm -f $(charset_tmp) ; \
236 else \
237 if $$need_charset_alias; then \
238 sed -f ref-add.sed charset.alias > $(charset_tmp) ; \
239 $(INSTALL_DATA) $(charset_tmp) $(charset_alias) ; \
240 rm -f $(charset_tmp) ; \
241 fi ; \
242 fi
243
244uninstall-local: uninstall-localcharset
245uninstall-localcharset: all-local
246 if test -f $(charset_alias); then \
247 sed -f ref-del.sed $(charset_alias) > $(charset_tmp); \
248 if grep '^# Packages using this file: $$' $(charset_tmp) \
249 > /dev/null; then \
250 rm -f $(charset_alias); \
251 else \
252 $(INSTALL_DATA) $(charset_tmp) $(charset_alias); \
253 fi; \
254 rm -f $(charset_tmp); \
255 fi
256
257charset.alias: config.charset
258 $(AM_V_GEN)rm -f t-$@ $@ && \
259 $(SHELL) $(srcdir)/config.charset '$(host)' > t-$@ && \
260 mv t-$@ $@
261
262SUFFIXES += .sed .sin
263.sin.sed:
264 $(AM_V_GEN)rm -f t-$@ $@ && \
265 sed -e '/^#/d' -e 's/@''PACKAGE''@/$(PACKAGE)/g' $< > t-$@ && \
266 mv t-$@ $@
267
268CLEANFILES += charset.alias ref-add.sed ref-del.sed
269
270EXTRA_DIST += config.charset ref-add.sin ref-del.sin
271
272## end gnulib module localcharset
273
274## begin gnulib module mbrtowc
275
276
277EXTRA_DIST += mbrtowc.c
278
279EXTRA_libgnu_a_SOURCES += mbrtowc.c
280
281## end gnulib module mbrtowc
282
283## begin gnulib module mbsinit
284
285
286EXTRA_DIST += mbsinit.c
287
288EXTRA_libgnu_a_SOURCES += mbsinit.c
289
290## end gnulib module mbsinit
291
292## begin gnulib module mbsrtowcs
293
294
295EXTRA_DIST += mbsrtowcs-impl.h mbsrtowcs-state.c mbsrtowcs.c
296
297EXTRA_libgnu_a_SOURCES += mbsrtowcs-state.c mbsrtowcs.c
298
299## end gnulib module mbsrtowcs
300
f434ba03 301## begin gnulib module memchr
f6ea5628
DJ
302
303
f434ba03 304EXTRA_DIST += memchr.c memchr.valgrind
f6ea5628 305
f434ba03 306EXTRA_libgnu_a_SOURCES += memchr.c
f6ea5628 307
f434ba03 308## end gnulib module memchr
f6ea5628
DJ
309
310## begin gnulib module memmem-simple
311
312
313EXTRA_DIST += memmem.c str-two-way.h
314
315EXTRA_libgnu_a_SOURCES += memmem.c
316
317## end gnulib module memmem-simple
318
770d76d7
PA
319## begin gnulib module snippet/arg-nonnull
320
321# The BUILT_SOURCES created by this Makefile snippet are not used via #include
322# statements but through direct file reference. Therefore this snippet must be
323# present in all Makefile.am that need it. This is ensured by the applicability
324# 'all' defined above.
325
326BUILT_SOURCES += arg-nonnull.h
327# The arg-nonnull.h that gets inserted into generated .h files is the same as
328# build-aux/snippet/arg-nonnull.h, except that it has the copyright header cut
329# off.
c971b7fa 330arg-nonnull.h: $(top_srcdir)/import/extra/snippet/arg-nonnull.h
770d76d7
PA
331 $(AM_V_GEN)rm -f $@-t $@ && \
332 sed -n -e '/GL_ARG_NONNULL/,$$p' \
c971b7fa 333 < $(top_srcdir)/import/extra/snippet/arg-nonnull.h \
770d76d7
PA
334 > $@-t && \
335 mv $@-t $@
336MOSTLYCLEANFILES += arg-nonnull.h arg-nonnull.h-t
337
338ARG_NONNULL_H=arg-nonnull.h
339
c971b7fa 340EXTRA_DIST += $(top_srcdir)/import/extra/snippet/arg-nonnull.h
770d76d7
PA
341
342## end gnulib module snippet/arg-nonnull
343
344## begin gnulib module snippet/c++defs
345
346# The BUILT_SOURCES created by this Makefile snippet are not used via #include
347# statements but through direct file reference. Therefore this snippet must be
348# present in all Makefile.am that need it. This is ensured by the applicability
349# 'all' defined above.
350
351BUILT_SOURCES += c++defs.h
352# The c++defs.h that gets inserted into generated .h files is the same as
353# build-aux/snippet/c++defs.h, except that it has the copyright header cut off.
c971b7fa 354c++defs.h: $(top_srcdir)/import/extra/snippet/c++defs.h
770d76d7
PA
355 $(AM_V_GEN)rm -f $@-t $@ && \
356 sed -n -e '/_GL_CXXDEFS/,$$p' \
c971b7fa 357 < $(top_srcdir)/import/extra/snippet/c++defs.h \
770d76d7
PA
358 > $@-t && \
359 mv $@-t $@
360MOSTLYCLEANFILES += c++defs.h c++defs.h-t
361
362CXXDEFS_H=c++defs.h
363
c971b7fa 364EXTRA_DIST += $(top_srcdir)/import/extra/snippet/c++defs.h
770d76d7
PA
365
366## end gnulib module snippet/c++defs
367
368## begin gnulib module snippet/warn-on-use
369
370BUILT_SOURCES += warn-on-use.h
371# The warn-on-use.h that gets inserted into generated .h files is the same as
372# build-aux/snippet/warn-on-use.h, except that it has the copyright header cut
373# off.
c971b7fa 374warn-on-use.h: $(top_srcdir)/import/extra/snippet/warn-on-use.h
770d76d7
PA
375 $(AM_V_GEN)rm -f $@-t $@ && \
376 sed -n -e '/^.ifndef/,$$p' \
c971b7fa 377 < $(top_srcdir)/import/extra/snippet/warn-on-use.h \
770d76d7
PA
378 > $@-t && \
379 mv $@-t $@
380MOSTLYCLEANFILES += warn-on-use.h warn-on-use.h-t
381
382WARN_ON_USE_H=warn-on-use.h
383
c971b7fa 384EXTRA_DIST += $(top_srcdir)/import/extra/snippet/warn-on-use.h
770d76d7
PA
385
386## end gnulib module snippet/warn-on-use
387
8690e634
JK
388## begin gnulib module stdbool
389
390BUILT_SOURCES += $(STDBOOL_H)
391
392# We need the following in order to create <stdbool.h> when the system
393# doesn't have one that works.
394if GL_GENERATE_STDBOOL_H
395stdbool.h: stdbool.in.h $(top_builddir)/config.status
396 $(AM_V_GEN)rm -f $@-t $@ && \
397 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
398 sed -e 's/@''HAVE__BOOL''@/$(HAVE__BOOL)/g' < $(srcdir)/stdbool.in.h; \
399 } > $@-t && \
400 mv $@-t $@
401else
402stdbool.h: $(top_builddir)/config.status
403 rm -f $@
404endif
405MOSTLYCLEANFILES += stdbool.h stdbool.h-t
406
407EXTRA_DIST += stdbool.in.h
408
409## end gnulib module stdbool
410
f434ba03
PA
411## begin gnulib module stddef
412
413BUILT_SOURCES += $(STDDEF_H)
414
415# We need the following in order to create <stddef.h> when the system
416# doesn't have one that works with the given compiler.
770d76d7
PA
417if GL_GENERATE_STDDEF_H
418stddef.h: stddef.in.h $(top_builddir)/config.status
f434ba03
PA
419 $(AM_V_GEN)rm -f $@-t $@ && \
420 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
770d76d7
PA
421 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
422 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
f434ba03 423 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
770d76d7 424 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
f434ba03
PA
425 -e 's|@''NEXT_STDDEF_H''@|$(NEXT_STDDEF_H)|g' \
426 -e 's|@''HAVE_WCHAR_T''@|$(HAVE_WCHAR_T)|g' \
427 -e 's|@''REPLACE_NULL''@|$(REPLACE_NULL)|g' \
428 < $(srcdir)/stddef.in.h; \
429 } > $@-t && \
430 mv $@-t $@
770d76d7
PA
431else
432stddef.h: $(top_builddir)/config.status
433 rm -f $@
434endif
f434ba03
PA
435MOSTLYCLEANFILES += stddef.h stddef.h-t
436
437EXTRA_DIST += stddef.in.h
438
439## end gnulib module stddef
440
f6ea5628
DJ
441## begin gnulib module stdint
442
443BUILT_SOURCES += $(STDINT_H)
444
445# We need the following in order to create <stdint.h> when the system
446# doesn't have one that works with the given compiler.
770d76d7
PA
447if GL_GENERATE_STDINT_H
448stdint.h: stdint.in.h $(top_builddir)/config.status
f434ba03 449 $(AM_V_GEN)rm -f $@-t $@ && \
f6ea5628 450 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
770d76d7
PA
451 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
452 -e 's/@''HAVE_STDINT_H''@/$(HAVE_STDINT_H)/g' \
f434ba03
PA
453 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
454 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
770d76d7 455 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
f6ea5628
DJ
456 -e 's|@''NEXT_STDINT_H''@|$(NEXT_STDINT_H)|g' \
457 -e 's/@''HAVE_SYS_TYPES_H''@/$(HAVE_SYS_TYPES_H)/g' \
458 -e 's/@''HAVE_INTTYPES_H''@/$(HAVE_INTTYPES_H)/g' \
459 -e 's/@''HAVE_SYS_INTTYPES_H''@/$(HAVE_SYS_INTTYPES_H)/g' \
460 -e 's/@''HAVE_SYS_BITYPES_H''@/$(HAVE_SYS_BITYPES_H)/g' \
770d76d7 461 -e 's/@''HAVE_WCHAR_H''@/$(HAVE_WCHAR_H)/g' \
f6ea5628
DJ
462 -e 's/@''HAVE_LONG_LONG_INT''@/$(HAVE_LONG_LONG_INT)/g' \
463 -e 's/@''HAVE_UNSIGNED_LONG_LONG_INT''@/$(HAVE_UNSIGNED_LONG_LONG_INT)/g' \
f434ba03 464 -e 's/@''APPLE_UNIVERSAL_BUILD''@/$(APPLE_UNIVERSAL_BUILD)/g' \
f6ea5628
DJ
465 -e 's/@''BITSIZEOF_PTRDIFF_T''@/$(BITSIZEOF_PTRDIFF_T)/g' \
466 -e 's/@''PTRDIFF_T_SUFFIX''@/$(PTRDIFF_T_SUFFIX)/g' \
467 -e 's/@''BITSIZEOF_SIG_ATOMIC_T''@/$(BITSIZEOF_SIG_ATOMIC_T)/g' \
468 -e 's/@''HAVE_SIGNED_SIG_ATOMIC_T''@/$(HAVE_SIGNED_SIG_ATOMIC_T)/g' \
469 -e 's/@''SIG_ATOMIC_T_SUFFIX''@/$(SIG_ATOMIC_T_SUFFIX)/g' \
470 -e 's/@''BITSIZEOF_SIZE_T''@/$(BITSIZEOF_SIZE_T)/g' \
471 -e 's/@''SIZE_T_SUFFIX''@/$(SIZE_T_SUFFIX)/g' \
472 -e 's/@''BITSIZEOF_WCHAR_T''@/$(BITSIZEOF_WCHAR_T)/g' \
473 -e 's/@''HAVE_SIGNED_WCHAR_T''@/$(HAVE_SIGNED_WCHAR_T)/g' \
474 -e 's/@''WCHAR_T_SUFFIX''@/$(WCHAR_T_SUFFIX)/g' \
475 -e 's/@''BITSIZEOF_WINT_T''@/$(BITSIZEOF_WINT_T)/g' \
476 -e 's/@''HAVE_SIGNED_WINT_T''@/$(HAVE_SIGNED_WINT_T)/g' \
477 -e 's/@''WINT_T_SUFFIX''@/$(WINT_T_SUFFIX)/g' \
478 < $(srcdir)/stdint.in.h; \
f434ba03 479 } > $@-t && \
f6ea5628 480 mv $@-t $@
770d76d7
PA
481else
482stdint.h: $(top_builddir)/config.status
483 rm -f $@
484endif
f6ea5628
DJ
485MOSTLYCLEANFILES += stdint.h stdint.h-t
486
487EXTRA_DIST += stdint.in.h
488
489## end gnulib module stdint
490
8690e634
JK
491## begin gnulib module streq
492
493
494EXTRA_DIST += streq.h
495
496## end gnulib module streq
497
f6ea5628
DJ
498## begin gnulib module string
499
500BUILT_SOURCES += string.h
501
502# We need the following in order to create <string.h> when the system
503# doesn't have one that works with the given compiler.
770d76d7 504string.h: string.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
f434ba03 505 $(AM_V_GEN)rm -f $@-t $@ && \
f6ea5628 506 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
770d76d7
PA
507 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
508 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
f434ba03 509 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
770d76d7 510 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
f6ea5628 511 -e 's|@''NEXT_STRING_H''@|$(NEXT_STRING_H)|g' \
770d76d7
PA
512 -e 's/@''GNULIB_FFSL''@/$(GNULIB_FFSL)/g' \
513 -e 's/@''GNULIB_FFSLL''@/$(GNULIB_FFSLL)/g' \
514 -e 's/@''GNULIB_MBSLEN''@/$(GNULIB_MBSLEN)/g' \
515 -e 's/@''GNULIB_MBSNLEN''@/$(GNULIB_MBSNLEN)/g' \
516 -e 's/@''GNULIB_MBSCHR''@/$(GNULIB_MBSCHR)/g' \
517 -e 's/@''GNULIB_MBSRCHR''@/$(GNULIB_MBSRCHR)/g' \
518 -e 's/@''GNULIB_MBSSTR''@/$(GNULIB_MBSSTR)/g' \
519 -e 's/@''GNULIB_MBSCASECMP''@/$(GNULIB_MBSCASECMP)/g' \
520 -e 's/@''GNULIB_MBSNCASECMP''@/$(GNULIB_MBSNCASECMP)/g' \
521 -e 's/@''GNULIB_MBSPCASECMP''@/$(GNULIB_MBSPCASECMP)/g' \
522 -e 's/@''GNULIB_MBSCASESTR''@/$(GNULIB_MBSCASESTR)/g' \
523 -e 's/@''GNULIB_MBSCSPN''@/$(GNULIB_MBSCSPN)/g' \
524 -e 's/@''GNULIB_MBSPBRK''@/$(GNULIB_MBSPBRK)/g' \
525 -e 's/@''GNULIB_MBSSPN''@/$(GNULIB_MBSSPN)/g' \
526 -e 's/@''GNULIB_MBSSEP''@/$(GNULIB_MBSSEP)/g' \
527 -e 's/@''GNULIB_MBSTOK_R''@/$(GNULIB_MBSTOK_R)/g' \
528 -e 's/@''GNULIB_MEMCHR''@/$(GNULIB_MEMCHR)/g' \
529 -e 's/@''GNULIB_MEMMEM''@/$(GNULIB_MEMMEM)/g' \
530 -e 's/@''GNULIB_MEMPCPY''@/$(GNULIB_MEMPCPY)/g' \
531 -e 's/@''GNULIB_MEMRCHR''@/$(GNULIB_MEMRCHR)/g' \
532 -e 's/@''GNULIB_RAWMEMCHR''@/$(GNULIB_RAWMEMCHR)/g' \
533 -e 's/@''GNULIB_STPCPY''@/$(GNULIB_STPCPY)/g' \
534 -e 's/@''GNULIB_STPNCPY''@/$(GNULIB_STPNCPY)/g' \
535 -e 's/@''GNULIB_STRCHRNUL''@/$(GNULIB_STRCHRNUL)/g' \
536 -e 's/@''GNULIB_STRDUP''@/$(GNULIB_STRDUP)/g' \
537 -e 's/@''GNULIB_STRNCAT''@/$(GNULIB_STRNCAT)/g' \
538 -e 's/@''GNULIB_STRNDUP''@/$(GNULIB_STRNDUP)/g' \
539 -e 's/@''GNULIB_STRNLEN''@/$(GNULIB_STRNLEN)/g' \
540 -e 's/@''GNULIB_STRPBRK''@/$(GNULIB_STRPBRK)/g' \
541 -e 's/@''GNULIB_STRSEP''@/$(GNULIB_STRSEP)/g' \
542 -e 's/@''GNULIB_STRSTR''@/$(GNULIB_STRSTR)/g' \
543 -e 's/@''GNULIB_STRCASESTR''@/$(GNULIB_STRCASESTR)/g' \
544 -e 's/@''GNULIB_STRTOK_R''@/$(GNULIB_STRTOK_R)/g' \
545 -e 's/@''GNULIB_STRERROR''@/$(GNULIB_STRERROR)/g' \
546 -e 's/@''GNULIB_STRERROR_R''@/$(GNULIB_STRERROR_R)/g' \
547 -e 's/@''GNULIB_STRSIGNAL''@/$(GNULIB_STRSIGNAL)/g' \
548 -e 's/@''GNULIB_STRVERSCMP''@/$(GNULIB_STRVERSCMP)/g' \
f434ba03 549 < $(srcdir)/string.in.h | \
770d76d7
PA
550 sed -e 's|@''HAVE_FFSL''@|$(HAVE_FFSL)|g' \
551 -e 's|@''HAVE_FFSLL''@|$(HAVE_FFSLL)|g' \
552 -e 's|@''HAVE_MBSLEN''@|$(HAVE_MBSLEN)|g' \
f434ba03 553 -e 's|@''HAVE_MEMCHR''@|$(HAVE_MEMCHR)|g' \
f6ea5628
DJ
554 -e 's|@''HAVE_DECL_MEMMEM''@|$(HAVE_DECL_MEMMEM)|g' \
555 -e 's|@''HAVE_MEMPCPY''@|$(HAVE_MEMPCPY)|g' \
556 -e 's|@''HAVE_DECL_MEMRCHR''@|$(HAVE_DECL_MEMRCHR)|g' \
f434ba03 557 -e 's|@''HAVE_RAWMEMCHR''@|$(HAVE_RAWMEMCHR)|g' \
f6ea5628
DJ
558 -e 's|@''HAVE_STPCPY''@|$(HAVE_STPCPY)|g' \
559 -e 's|@''HAVE_STPNCPY''@|$(HAVE_STPNCPY)|g' \
560 -e 's|@''HAVE_STRCHRNUL''@|$(HAVE_STRCHRNUL)|g' \
561 -e 's|@''HAVE_DECL_STRDUP''@|$(HAVE_DECL_STRDUP)|g' \
f6ea5628
DJ
562 -e 's|@''HAVE_DECL_STRNDUP''@|$(HAVE_DECL_STRNDUP)|g' \
563 -e 's|@''HAVE_DECL_STRNLEN''@|$(HAVE_DECL_STRNLEN)|g' \
564 -e 's|@''HAVE_STRPBRK''@|$(HAVE_STRPBRK)|g' \
565 -e 's|@''HAVE_STRSEP''@|$(HAVE_STRSEP)|g' \
566 -e 's|@''HAVE_STRCASESTR''@|$(HAVE_STRCASESTR)|g' \
567 -e 's|@''HAVE_DECL_STRTOK_R''@|$(HAVE_DECL_STRTOK_R)|g' \
770d76d7 568 -e 's|@''HAVE_DECL_STRERROR_R''@|$(HAVE_DECL_STRERROR_R)|g' \
f6ea5628 569 -e 's|@''HAVE_DECL_STRSIGNAL''@|$(HAVE_DECL_STRSIGNAL)|g' \
f434ba03
PA
570 -e 's|@''HAVE_STRVERSCMP''@|$(HAVE_STRVERSCMP)|g' \
571 -e 's|@''REPLACE_STPNCPY''@|$(REPLACE_STPNCPY)|g' \
572 -e 's|@''REPLACE_MEMCHR''@|$(REPLACE_MEMCHR)|g' \
f6ea5628
DJ
573 -e 's|@''REPLACE_MEMMEM''@|$(REPLACE_MEMMEM)|g' \
574 -e 's|@''REPLACE_STRCASESTR''@|$(REPLACE_STRCASESTR)|g' \
770d76d7 575 -e 's|@''REPLACE_STRCHRNUL''@|$(REPLACE_STRCHRNUL)|g' \
f434ba03 576 -e 's|@''REPLACE_STRDUP''@|$(REPLACE_STRDUP)|g' \
f6ea5628
DJ
577 -e 's|@''REPLACE_STRSTR''@|$(REPLACE_STRSTR)|g' \
578 -e 's|@''REPLACE_STRERROR''@|$(REPLACE_STRERROR)|g' \
770d76d7 579 -e 's|@''REPLACE_STRERROR_R''@|$(REPLACE_STRERROR_R)|g' \
f434ba03
PA
580 -e 's|@''REPLACE_STRNCAT''@|$(REPLACE_STRNCAT)|g' \
581 -e 's|@''REPLACE_STRNDUP''@|$(REPLACE_STRNDUP)|g' \
582 -e 's|@''REPLACE_STRNLEN''@|$(REPLACE_STRNLEN)|g' \
f6ea5628 583 -e 's|@''REPLACE_STRSIGNAL''@|$(REPLACE_STRSIGNAL)|g' \
f434ba03
PA
584 -e 's|@''REPLACE_STRTOK_R''@|$(REPLACE_STRTOK_R)|g' \
585 -e 's|@''UNDEFINE_STRTOK_R''@|$(UNDEFINE_STRTOK_R)|g' \
586 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
587 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
588 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)'; \
f6ea5628 589 < $(srcdir)/string.in.h; \
f434ba03 590 } > $@-t && \
f6ea5628
DJ
591 mv $@-t $@
592MOSTLYCLEANFILES += string.h string.h-t
593
594EXTRA_DIST += string.in.h
595
596## end gnulib module string
597
8690e634
JK
598## begin gnulib module strnlen1
599
600libgnu_a_SOURCES += strnlen1.h strnlen1.c
601
602## end gnulib module strnlen1
603
174e088e
PA
604## begin gnulib module update-copyright
605
606
c971b7fa 607EXTRA_DIST += $(top_srcdir)/import/extra/update-copyright
174e088e
PA
608
609## end gnulib module update-copyright
610
8690e634
JK
611## begin gnulib module verify
612
613
614EXTRA_DIST += verify.h
615
616## end gnulib module verify
617
618## begin gnulib module wchar
619
620BUILT_SOURCES += wchar.h
621
622# We need the following in order to create <wchar.h> when the system
623# version does not work standalone.
624wchar.h: wchar.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
625 $(AM_V_GEN)rm -f $@-t $@ && \
626 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
627 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
628 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
629 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
630 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
631 -e 's|@''HAVE_FEATURES_H''@|$(HAVE_FEATURES_H)|g' \
632 -e 's|@''NEXT_WCHAR_H''@|$(NEXT_WCHAR_H)|g' \
633 -e 's|@''HAVE_WCHAR_H''@|$(HAVE_WCHAR_H)|g' \
634 -e 's/@''GNULIB_BTOWC''@/$(GNULIB_BTOWC)/g' \
635 -e 's/@''GNULIB_WCTOB''@/$(GNULIB_WCTOB)/g' \
636 -e 's/@''GNULIB_MBSINIT''@/$(GNULIB_MBSINIT)/g' \
637 -e 's/@''GNULIB_MBRTOWC''@/$(GNULIB_MBRTOWC)/g' \
638 -e 's/@''GNULIB_MBRLEN''@/$(GNULIB_MBRLEN)/g' \
639 -e 's/@''GNULIB_MBSRTOWCS''@/$(GNULIB_MBSRTOWCS)/g' \
640 -e 's/@''GNULIB_MBSNRTOWCS''@/$(GNULIB_MBSNRTOWCS)/g' \
641 -e 's/@''GNULIB_WCRTOMB''@/$(GNULIB_WCRTOMB)/g' \
642 -e 's/@''GNULIB_WCSRTOMBS''@/$(GNULIB_WCSRTOMBS)/g' \
643 -e 's/@''GNULIB_WCSNRTOMBS''@/$(GNULIB_WCSNRTOMBS)/g' \
644 -e 's/@''GNULIB_WCWIDTH''@/$(GNULIB_WCWIDTH)/g' \
645 -e 's/@''GNULIB_WMEMCHR''@/$(GNULIB_WMEMCHR)/g' \
646 -e 's/@''GNULIB_WMEMCMP''@/$(GNULIB_WMEMCMP)/g' \
647 -e 's/@''GNULIB_WMEMCPY''@/$(GNULIB_WMEMCPY)/g' \
648 -e 's/@''GNULIB_WMEMMOVE''@/$(GNULIB_WMEMMOVE)/g' \
649 -e 's/@''GNULIB_WMEMSET''@/$(GNULIB_WMEMSET)/g' \
650 -e 's/@''GNULIB_WCSLEN''@/$(GNULIB_WCSLEN)/g' \
651 -e 's/@''GNULIB_WCSNLEN''@/$(GNULIB_WCSNLEN)/g' \
652 -e 's/@''GNULIB_WCSCPY''@/$(GNULIB_WCSCPY)/g' \
653 -e 's/@''GNULIB_WCPCPY''@/$(GNULIB_WCPCPY)/g' \
654 -e 's/@''GNULIB_WCSNCPY''@/$(GNULIB_WCSNCPY)/g' \
655 -e 's/@''GNULIB_WCPNCPY''@/$(GNULIB_WCPNCPY)/g' \
656 -e 's/@''GNULIB_WCSCAT''@/$(GNULIB_WCSCAT)/g' \
657 -e 's/@''GNULIB_WCSNCAT''@/$(GNULIB_WCSNCAT)/g' \
658 -e 's/@''GNULIB_WCSCMP''@/$(GNULIB_WCSCMP)/g' \
659 -e 's/@''GNULIB_WCSNCMP''@/$(GNULIB_WCSNCMP)/g' \
660 -e 's/@''GNULIB_WCSCASECMP''@/$(GNULIB_WCSCASECMP)/g' \
661 -e 's/@''GNULIB_WCSNCASECMP''@/$(GNULIB_WCSNCASECMP)/g' \
662 -e 's/@''GNULIB_WCSCOLL''@/$(GNULIB_WCSCOLL)/g' \
663 -e 's/@''GNULIB_WCSXFRM''@/$(GNULIB_WCSXFRM)/g' \
664 -e 's/@''GNULIB_WCSDUP''@/$(GNULIB_WCSDUP)/g' \
665 -e 's/@''GNULIB_WCSCHR''@/$(GNULIB_WCSCHR)/g' \
666 -e 's/@''GNULIB_WCSRCHR''@/$(GNULIB_WCSRCHR)/g' \
667 -e 's/@''GNULIB_WCSCSPN''@/$(GNULIB_WCSCSPN)/g' \
668 -e 's/@''GNULIB_WCSSPN''@/$(GNULIB_WCSSPN)/g' \
669 -e 's/@''GNULIB_WCSPBRK''@/$(GNULIB_WCSPBRK)/g' \
670 -e 's/@''GNULIB_WCSSTR''@/$(GNULIB_WCSSTR)/g' \
671 -e 's/@''GNULIB_WCSTOK''@/$(GNULIB_WCSTOK)/g' \
672 -e 's/@''GNULIB_WCSWIDTH''@/$(GNULIB_WCSWIDTH)/g' \
673 < $(srcdir)/wchar.in.h | \
674 sed -e 's|@''HAVE_WINT_T''@|$(HAVE_WINT_T)|g' \
675 -e 's|@''HAVE_BTOWC''@|$(HAVE_BTOWC)|g' \
676 -e 's|@''HAVE_MBSINIT''@|$(HAVE_MBSINIT)|g' \
677 -e 's|@''HAVE_MBRTOWC''@|$(HAVE_MBRTOWC)|g' \
678 -e 's|@''HAVE_MBRLEN''@|$(HAVE_MBRLEN)|g' \
679 -e 's|@''HAVE_MBSRTOWCS''@|$(HAVE_MBSRTOWCS)|g' \
680 -e 's|@''HAVE_MBSNRTOWCS''@|$(HAVE_MBSNRTOWCS)|g' \
681 -e 's|@''HAVE_WCRTOMB''@|$(HAVE_WCRTOMB)|g' \
682 -e 's|@''HAVE_WCSRTOMBS''@|$(HAVE_WCSRTOMBS)|g' \
683 -e 's|@''HAVE_WCSNRTOMBS''@|$(HAVE_WCSNRTOMBS)|g' \
684 -e 's|@''HAVE_WMEMCHR''@|$(HAVE_WMEMCHR)|g' \
685 -e 's|@''HAVE_WMEMCMP''@|$(HAVE_WMEMCMP)|g' \
686 -e 's|@''HAVE_WMEMCPY''@|$(HAVE_WMEMCPY)|g' \
687 -e 's|@''HAVE_WMEMMOVE''@|$(HAVE_WMEMMOVE)|g' \
688 -e 's|@''HAVE_WMEMSET''@|$(HAVE_WMEMSET)|g' \
689 -e 's|@''HAVE_WCSLEN''@|$(HAVE_WCSLEN)|g' \
690 -e 's|@''HAVE_WCSNLEN''@|$(HAVE_WCSNLEN)|g' \
691 -e 's|@''HAVE_WCSCPY''@|$(HAVE_WCSCPY)|g' \
692 -e 's|@''HAVE_WCPCPY''@|$(HAVE_WCPCPY)|g' \
693 -e 's|@''HAVE_WCSNCPY''@|$(HAVE_WCSNCPY)|g' \
694 -e 's|@''HAVE_WCPNCPY''@|$(HAVE_WCPNCPY)|g' \
695 -e 's|@''HAVE_WCSCAT''@|$(HAVE_WCSCAT)|g' \
696 -e 's|@''HAVE_WCSNCAT''@|$(HAVE_WCSNCAT)|g' \
697 -e 's|@''HAVE_WCSCMP''@|$(HAVE_WCSCMP)|g' \
698 -e 's|@''HAVE_WCSNCMP''@|$(HAVE_WCSNCMP)|g' \
699 -e 's|@''HAVE_WCSCASECMP''@|$(HAVE_WCSCASECMP)|g' \
700 -e 's|@''HAVE_WCSNCASECMP''@|$(HAVE_WCSNCASECMP)|g' \
701 -e 's|@''HAVE_WCSCOLL''@|$(HAVE_WCSCOLL)|g' \
702 -e 's|@''HAVE_WCSXFRM''@|$(HAVE_WCSXFRM)|g' \
703 -e 's|@''HAVE_WCSDUP''@|$(HAVE_WCSDUP)|g' \
704 -e 's|@''HAVE_WCSCHR''@|$(HAVE_WCSCHR)|g' \
705 -e 's|@''HAVE_WCSRCHR''@|$(HAVE_WCSRCHR)|g' \
706 -e 's|@''HAVE_WCSCSPN''@|$(HAVE_WCSCSPN)|g' \
707 -e 's|@''HAVE_WCSSPN''@|$(HAVE_WCSSPN)|g' \
708 -e 's|@''HAVE_WCSPBRK''@|$(HAVE_WCSPBRK)|g' \
709 -e 's|@''HAVE_WCSSTR''@|$(HAVE_WCSSTR)|g' \
710 -e 's|@''HAVE_WCSTOK''@|$(HAVE_WCSTOK)|g' \
711 -e 's|@''HAVE_WCSWIDTH''@|$(HAVE_WCSWIDTH)|g' \
712 -e 's|@''HAVE_DECL_WCTOB''@|$(HAVE_DECL_WCTOB)|g' \
713 -e 's|@''HAVE_DECL_WCWIDTH''@|$(HAVE_DECL_WCWIDTH)|g' \
714 | \
715 sed -e 's|@''REPLACE_MBSTATE_T''@|$(REPLACE_MBSTATE_T)|g' \
716 -e 's|@''REPLACE_BTOWC''@|$(REPLACE_BTOWC)|g' \
717 -e 's|@''REPLACE_WCTOB''@|$(REPLACE_WCTOB)|g' \
718 -e 's|@''REPLACE_MBSINIT''@|$(REPLACE_MBSINIT)|g' \
719 -e 's|@''REPLACE_MBRTOWC''@|$(REPLACE_MBRTOWC)|g' \
720 -e 's|@''REPLACE_MBRLEN''@|$(REPLACE_MBRLEN)|g' \
721 -e 's|@''REPLACE_MBSRTOWCS''@|$(REPLACE_MBSRTOWCS)|g' \
722 -e 's|@''REPLACE_MBSNRTOWCS''@|$(REPLACE_MBSNRTOWCS)|g' \
723 -e 's|@''REPLACE_WCRTOMB''@|$(REPLACE_WCRTOMB)|g' \
724 -e 's|@''REPLACE_WCSRTOMBS''@|$(REPLACE_WCSRTOMBS)|g' \
725 -e 's|@''REPLACE_WCSNRTOMBS''@|$(REPLACE_WCSNRTOMBS)|g' \
726 -e 's|@''REPLACE_WCWIDTH''@|$(REPLACE_WCWIDTH)|g' \
727 -e 's|@''REPLACE_WCSWIDTH''@|$(REPLACE_WCSWIDTH)|g' \
728 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
729 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
730 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)'; \
731 } > $@-t && \
732 mv $@-t $@
733MOSTLYCLEANFILES += wchar.h wchar.h-t
734
735EXTRA_DIST += wchar.in.h
736
737## end gnulib module wchar
738
739## begin gnulib module wctype-h
740
741BUILT_SOURCES += wctype.h
742
743# We need the following in order to create <wctype.h> when the system
744# doesn't have one that works with the given compiler.
745wctype.h: wctype.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(WARN_ON_USE_H)
746 $(AM_V_GEN)rm -f $@-t $@ && \
747 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
748 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
749 -e 's/@''HAVE_WCTYPE_H''@/$(HAVE_WCTYPE_H)/g' \
750 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
751 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
752 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
753 -e 's|@''NEXT_WCTYPE_H''@|$(NEXT_WCTYPE_H)|g' \
754 -e 's/@''GNULIB_ISWBLANK''@/$(GNULIB_ISWBLANK)/g' \
755 -e 's/@''GNULIB_WCTYPE''@/$(GNULIB_WCTYPE)/g' \
756 -e 's/@''GNULIB_ISWCTYPE''@/$(GNULIB_ISWCTYPE)/g' \
757 -e 's/@''GNULIB_WCTRANS''@/$(GNULIB_WCTRANS)/g' \
758 -e 's/@''GNULIB_TOWCTRANS''@/$(GNULIB_TOWCTRANS)/g' \
759 -e 's/@''HAVE_ISWBLANK''@/$(HAVE_ISWBLANK)/g' \
760 -e 's/@''HAVE_ISWCNTRL''@/$(HAVE_ISWCNTRL)/g' \
761 -e 's/@''HAVE_WCTYPE_T''@/$(HAVE_WCTYPE_T)/g' \
762 -e 's/@''HAVE_WCTRANS_T''@/$(HAVE_WCTRANS_T)/g' \
763 -e 's/@''HAVE_WINT_T''@/$(HAVE_WINT_T)/g' \
764 -e 's/@''REPLACE_ISWBLANK''@/$(REPLACE_ISWBLANK)/g' \
765 -e 's/@''REPLACE_ISWCNTRL''@/$(REPLACE_ISWCNTRL)/g' \
766 -e 's/@''REPLACE_TOWLOWER''@/$(REPLACE_TOWLOWER)/g' \
767 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
768 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
769 < $(srcdir)/wctype.in.h; \
770 } > $@-t && \
771 mv $@-t $@
772MOSTLYCLEANFILES += wctype.h wctype.h-t
f6ea5628 773
8690e634 774EXTRA_DIST += wctype.in.h
f6ea5628 775
8690e634 776## end gnulib module wctype-h
f6ea5628
DJ
777
778
779mostlyclean-local: mostlyclean-generic
780 @for dir in '' $(MOSTLYCLEANDIRS); do \
781 if test -n "$$dir" && test -d $$dir; then \
782 echo "rmdir $$dir"; rmdir $$dir; \
783 fi; \
784 done; \
785 :
This page took 0.464522 seconds and 4 git commands to generate.