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