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