Commit | Line | Data |
---|---|---|
103dc4d4 LC |
1 | ## DO NOT EDIT! GENERATED AUTOMATICALLY! |
2 | ## Process this file with automake to produce Makefile.in. | |
f0007cad | 3 | # Copyright (C) 2002-2012 Free Software Foundation, Inc. |
103dc4d4 | 4 | # |
35428fb6 LC |
5 | # This file is free software; you can redistribute it and/or modify |
6 | # it under the terms of the GNU General Public License as published by | |
7 | # the Free Software Foundation; either version 3 of the License, or | |
8 | # (at your option) any later version. | |
9 | # | |
10 | # This file is distributed in the hope that it will be useful, | |
11 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | |
12 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
13 | # GNU General Public License for more details. | |
14 | # | |
15 | # You should have received a copy of the GNU General Public License | |
16 | # along with this file. If not, see <http://www.gnu.org/licenses/>. | |
17 | # | |
18 | # As a special exception to the GNU General Public License, | |
19 | # this file may be distributed as part of a program that | |
20 | # contains a configuration script generated by Autoconf, under | |
103dc4d4 LC |
21 | # the same distribution terms as the rest of that program. |
22 | # | |
23 | # Generated by gnulib-tool. | |
235c2804 | 24 | # Reproduce by: gnulib-tool --import --dir=. --local-dir=gnulib-local --lib=libgnu --source-base=lib --m4-base=m4 --doc-base=doc --tests-base=tests --aux-dir=build-aux --lgpl=3 --no-conditional-dependencies --libtool --macro-prefix=gl --no-vc-files accept alignof alloca-opt announce-gen autobuild bind byteswap canonicalize-lgpl ceil clock-time close connect dirfd duplocale environ extensions flock floor fpieee frexp full-read full-write func gendocs getaddrinfo getpeername getsockname getsockopt git-version-gen gitlog-to-changelog gnu-web-doc-update gnupload havelib iconv_open-utf inet_ntop inet_pton isinf isnan ldexp lib-symbol-versions lib-symbol-visibility libunistring listen localcharset locale log1p maintainer-makefile malloc-gnu malloca nl_langinfo nproc open pipe2 putenv recv recvfrom regex rename send sendto setenv setsockopt shutdown socket stat-time stdlib strftime striconveh string sys_stat trunc verify vsnprintf warnings wchar |
103dc4d4 | 25 | |
24d56127 | 26 | AUTOMAKE_OPTIONS = 1.5 gnits subdir-objects |
103dc4d4 | 27 | |
aa7a939c | 28 | SUBDIRS = |
103dc4d4 LC |
29 | noinst_HEADERS = |
30 | noinst_LIBRARIES = | |
31 | noinst_LTLIBRARIES = | |
32 | EXTRA_DIST = | |
33 | BUILT_SOURCES = | |
34 | SUFFIXES = | |
35 | MOSTLYCLEANFILES = core *.stackdump | |
36 | MOSTLYCLEANDIRS = | |
37 | CLEANFILES = | |
38 | DISTCLEANFILES = | |
39 | MAINTAINERCLEANFILES = | |
40 | ||
41 | AM_CPPFLAGS = | |
f240aacb | 42 | AM_CFLAGS = |
103dc4d4 LC |
43 | |
44 | noinst_LTLIBRARIES += libgnu.la | |
45 | ||
46 | libgnu_la_SOURCES = | |
47 | libgnu_la_LIBADD = $(gl_LTLIBOBJS) | |
48 | libgnu_la_DEPENDENCIES = $(gl_LTLIBOBJS) | |
49 | EXTRA_libgnu_la_SOURCES = | |
50 | libgnu_la_LDFLAGS = $(AM_LDFLAGS) | |
0f00f2c3 | 51 | libgnu_la_LDFLAGS += -no-undefined |
dd36ce77 | 52 | libgnu_la_LDFLAGS += $(CEIL_LIBM) |
b81eb646 | 53 | libgnu_la_LDFLAGS += $(FLOOR_LIBM) |
dd36ce77 | 54 | libgnu_la_LDFLAGS += $(FREXP_LIBM) |
0f00f2c3 LC |
55 | libgnu_la_LDFLAGS += $(GETADDRINFO_LIB) |
56 | libgnu_la_LDFLAGS += $(HOSTENT_LIB) | |
57 | libgnu_la_LDFLAGS += $(INET_NTOP_LIB) | |
58 | libgnu_la_LDFLAGS += $(INET_PTON_LIB) | |
59 | libgnu_la_LDFLAGS += $(ISNAND_LIBM) | |
60 | libgnu_la_LDFLAGS += $(ISNANF_LIBM) | |
61 | libgnu_la_LDFLAGS += $(ISNANL_LIBM) | |
dd36ce77 | 62 | libgnu_la_LDFLAGS += $(LDEXP_LIBM) |
0f00f2c3 | 63 | libgnu_la_LDFLAGS += $(LIBSOCKET) |
235c2804 | 64 | libgnu_la_LDFLAGS += $(LIB_CLOCK_GETTIME) |
b81eb646 | 65 | libgnu_la_LDFLAGS += $(LOG1P_LIBM) |
005de2e8 | 66 | libgnu_la_LDFLAGS += $(LOG_LIBM) |
0f00f2c3 LC |
67 | libgnu_la_LDFLAGS += $(LTLIBICONV) |
68 | libgnu_la_LDFLAGS += $(LTLIBINTL) | |
69 | libgnu_la_LDFLAGS += $(LTLIBUNISTRING) | |
005de2e8 | 70 | libgnu_la_LDFLAGS += $(ROUND_LIBM) |
0f00f2c3 | 71 | libgnu_la_LDFLAGS += $(SERVENT_LIB) |
49114fd4 LC |
72 | libgnu_la_LDFLAGS += $(TRUNC_LIBM) |
73 | ||
74 | ## begin gnulib module accept | |
75 | ||
76 | ||
77 | EXTRA_DIST += accept.c w32sock.h | |
78 | ||
79 | EXTRA_libgnu_la_SOURCES += accept.c | |
80 | ||
81 | ## end gnulib module accept | |
103dc4d4 | 82 | |
8912421c LC |
83 | ## begin gnulib module alignof |
84 | ||
85 | ||
86 | EXTRA_DIST += alignof.h | |
87 | ||
88 | ## end gnulib module alignof | |
89 | ||
103dc4d4 LC |
90 | ## begin gnulib module alloca-opt |
91 | ||
92 | BUILT_SOURCES += $(ALLOCA_H) | |
93 | ||
94 | # We need the following in order to create <alloca.h> when the system | |
95 | # doesn't have one that works with the given compiler. | |
dd7d0148 LC |
96 | if GL_GENERATE_ALLOCA_H |
97 | alloca.h: alloca.in.h $(top_builddir)/config.status | |
8912421c | 98 | $(AM_V_GEN)rm -f $@-t $@ && \ |
103dc4d4 LC |
99 | { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ |
100 | cat $(srcdir)/alloca.in.h; \ | |
8912421c | 101 | } > $@-t && \ |
103dc4d4 | 102 | mv -f $@-t $@ |
dd7d0148 LC |
103 | else |
104 | alloca.h: $(top_builddir)/config.status | |
105 | rm -f $@ | |
106 | endif | |
103dc4d4 LC |
107 | MOSTLYCLEANFILES += alloca.h alloca.h-t |
108 | ||
109 | EXTRA_DIST += alloca.in.h | |
110 | ||
111 | ## end gnulib module alloca-opt | |
112 | ||
c84bdaf6 LC |
113 | ## begin gnulib module announce-gen |
114 | ||
115 | ||
116 | EXTRA_DIST += $(top_srcdir)/build-aux/announce-gen | |
117 | ||
118 | ## end gnulib module announce-gen | |
119 | ||
8912421c LC |
120 | ## begin gnulib module arpa_inet |
121 | ||
61cd9dc9 | 122 | BUILT_SOURCES += arpa/inet.h |
8912421c LC |
123 | |
124 | # We need the following in order to create <arpa/inet.h> when the system | |
125 | # doesn't have one. | |
dd7d0148 | 126 | arpa/inet.h: arpa_inet.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(WARN_ON_USE_H) $(ARG_NONNULL_H) |
8912421c LC |
127 | $(AM_V_at)$(MKDIR_P) arpa |
128 | $(AM_V_GEN)rm -f $@-t $@ && \ | |
129 | { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ | |
3d458a81 AW |
130 | sed -e 's|@''GUARD_PREFIX''@|GL|g' \ |
131 | -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ | |
8912421c | 132 | -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ |
0f00f2c3 LC |
133 | -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ |
134 | -e 's|@''HAVE_FEATURES_H''@|$(HAVE_FEATURES_H)|g' \ | |
8912421c LC |
135 | -e 's|@''NEXT_ARPA_INET_H''@|$(NEXT_ARPA_INET_H)|g' \ |
136 | -e 's|@''HAVE_ARPA_INET_H''@|$(HAVE_ARPA_INET_H)|g' \ | |
3d458a81 AW |
137 | -e 's/@''GNULIB_INET_NTOP''@/$(GNULIB_INET_NTOP)/g' \ |
138 | -e 's/@''GNULIB_INET_PTON''@/$(GNULIB_INET_PTON)/g' \ | |
8912421c LC |
139 | -e 's|@''HAVE_DECL_INET_NTOP''@|$(HAVE_DECL_INET_NTOP)|g' \ |
140 | -e 's|@''HAVE_DECL_INET_PTON''@|$(HAVE_DECL_INET_PTON)|g' \ | |
35428fb6 LC |
141 | -e 's|@''REPLACE_INET_NTOP''@|$(REPLACE_INET_NTOP)|g' \ |
142 | -e 's|@''REPLACE_INET_PTON''@|$(REPLACE_INET_PTON)|g' \ | |
49114fd4 | 143 | -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \ |
1cd4fffc | 144 | -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \ |
61cd9dc9 | 145 | -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \ |
8912421c LC |
146 | < $(srcdir)/arpa_inet.in.h; \ |
147 | } > $@-t && \ | |
148 | mv $@-t $@ | |
149 | MOSTLYCLEANFILES += arpa/inet.h arpa/inet.h-t | |
150 | MOSTLYCLEANDIRS += arpa | |
151 | ||
152 | EXTRA_DIST += arpa_inet.in.h | |
153 | ||
154 | ## end gnulib module arpa_inet | |
155 | ||
3d458a81 AW |
156 | ## begin gnulib module binary-io |
157 | ||
158 | libgnu_la_SOURCES += binary-io.h | |
159 | ||
160 | ## end gnulib module binary-io | |
161 | ||
49114fd4 LC |
162 | ## begin gnulib module bind |
163 | ||
164 | ||
165 | EXTRA_DIST += bind.c w32sock.h | |
166 | ||
167 | EXTRA_libgnu_la_SOURCES += bind.c | |
168 | ||
169 | ## end gnulib module bind | |
170 | ||
eb4a14ed LC |
171 | ## begin gnulib module btowc |
172 | ||
173 | ||
174 | EXTRA_DIST += btowc.c | |
175 | ||
176 | EXTRA_libgnu_la_SOURCES += btowc.c | |
177 | ||
178 | ## end gnulib module btowc | |
179 | ||
24d56127 LC |
180 | ## begin gnulib module byteswap |
181 | ||
182 | BUILT_SOURCES += $(BYTESWAP_H) | |
183 | ||
184 | # We need the following in order to create <byteswap.h> when the system | |
185 | # doesn't have one. | |
dd7d0148 LC |
186 | if GL_GENERATE_BYTESWAP_H |
187 | byteswap.h: byteswap.in.h $(top_builddir)/config.status | |
8912421c | 188 | $(AM_V_GEN)rm -f $@-t $@ && \ |
24d56127 LC |
189 | { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ |
190 | cat $(srcdir)/byteswap.in.h; \ | |
8912421c | 191 | } > $@-t && \ |
24d56127 | 192 | mv -f $@-t $@ |
dd7d0148 LC |
193 | else |
194 | byteswap.h: $(top_builddir)/config.status | |
195 | rm -f $@ | |
196 | endif | |
24d56127 LC |
197 | MOSTLYCLEANFILES += byteswap.h byteswap.h-t |
198 | ||
199 | EXTRA_DIST += byteswap.in.h | |
200 | ||
201 | ## end gnulib module byteswap | |
202 | ||
203 | ## begin gnulib module c-ctype | |
204 | ||
205 | libgnu_la_SOURCES += c-ctype.h c-ctype.c | |
206 | ||
207 | ## end gnulib module c-ctype | |
208 | ||
209 | ## begin gnulib module c-strcase | |
210 | ||
211 | libgnu_la_SOURCES += c-strcase.h c-strcasecmp.c c-strncasecmp.c | |
212 | ||
213 | ## end gnulib module c-strcase | |
214 | ||
215 | ## begin gnulib module c-strcaseeq | |
216 | ||
217 | ||
218 | EXTRA_DIST += c-strcaseeq.h | |
219 | ||
220 | ## end gnulib module c-strcaseeq | |
221 | ||
ffca4c22 AW |
222 | ## begin gnulib module canonicalize-lgpl |
223 | ||
224 | ||
8912421c | 225 | EXTRA_DIST += canonicalize-lgpl.c |
ffca4c22 AW |
226 | |
227 | EXTRA_libgnu_la_SOURCES += canonicalize-lgpl.c | |
228 | ||
229 | ## end gnulib module canonicalize-lgpl | |
230 | ||
dd36ce77 MW |
231 | ## begin gnulib module ceil |
232 | ||
233 | ||
234 | EXTRA_DIST += ceil.c | |
235 | ||
236 | EXTRA_libgnu_la_SOURCES += ceil.c | |
237 | ||
238 | ## end gnulib module ceil | |
239 | ||
49114fd4 LC |
240 | ## begin gnulib module close |
241 | ||
242 | ||
243 | EXTRA_DIST += close.c | |
244 | ||
245 | EXTRA_libgnu_la_SOURCES += close.c | |
246 | ||
247 | ## end gnulib module close | |
248 | ||
c2c2b5a4 LC |
249 | ## begin gnulib module configmake |
250 | ||
251 | # Listed in the same order as the GNU makefile conventions, and | |
252 | # provided by autoconf 2.59c+. | |
253 | # The Automake-defined pkg* macros are appended, in the order | |
254 | # listed in the Automake 1.10a+ documentation. | |
255 | configmake.h: Makefile | |
256 | $(AM_V_GEN)rm -f $@-t && \ | |
257 | { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ | |
258 | echo '#define PREFIX "$(prefix)"'; \ | |
259 | echo '#define EXEC_PREFIX "$(exec_prefix)"'; \ | |
260 | echo '#define BINDIR "$(bindir)"'; \ | |
261 | echo '#define SBINDIR "$(sbindir)"'; \ | |
262 | echo '#define LIBEXECDIR "$(libexecdir)"'; \ | |
263 | echo '#define DATAROOTDIR "$(datarootdir)"'; \ | |
264 | echo '#define DATADIR "$(datadir)"'; \ | |
265 | echo '#define SYSCONFDIR "$(sysconfdir)"'; \ | |
266 | echo '#define SHAREDSTATEDIR "$(sharedstatedir)"'; \ | |
267 | echo '#define LOCALSTATEDIR "$(localstatedir)"'; \ | |
268 | echo '#define INCLUDEDIR "$(includedir)"'; \ | |
269 | echo '#define OLDINCLUDEDIR "$(oldincludedir)"'; \ | |
270 | echo '#define DOCDIR "$(docdir)"'; \ | |
271 | echo '#define INFODIR "$(infodir)"'; \ | |
272 | echo '#define HTMLDIR "$(htmldir)"'; \ | |
273 | echo '#define DVIDIR "$(dvidir)"'; \ | |
274 | echo '#define PDFDIR "$(pdfdir)"'; \ | |
275 | echo '#define PSDIR "$(psdir)"'; \ | |
276 | echo '#define LIBDIR "$(libdir)"'; \ | |
277 | echo '#define LISPDIR "$(lispdir)"'; \ | |
278 | echo '#define LOCALEDIR "$(localedir)"'; \ | |
279 | echo '#define MANDIR "$(mandir)"'; \ | |
280 | echo '#define MANEXT "$(manext)"'; \ | |
281 | echo '#define PKGDATADIR "$(pkgdatadir)"'; \ | |
282 | echo '#define PKGINCLUDEDIR "$(pkgincludedir)"'; \ | |
283 | echo '#define PKGLIBDIR "$(pkglibdir)"'; \ | |
284 | echo '#define PKGLIBEXECDIR "$(pkglibexecdir)"'; \ | |
005de2e8 | 285 | } | sed '/""/d' > $@-t && \ |
c2c2b5a4 LC |
286 | mv -f $@-t $@ |
287 | ||
288 | BUILT_SOURCES += configmake.h | |
289 | CLEANFILES += configmake.h configmake.h-t | |
290 | ||
291 | ## end gnulib module configmake | |
292 | ||
49114fd4 | 293 | ## begin gnulib module connect |
4a462e35 | 294 | |
49114fd4 LC |
295 | |
296 | EXTRA_DIST += connect.c w32sock.h | |
297 | ||
298 | EXTRA_libgnu_la_SOURCES += connect.c | |
299 | ||
300 | ## end gnulib module connect | |
4a462e35 | 301 | |
f0007cad LC |
302 | ## begin gnulib module dirent |
303 | ||
304 | BUILT_SOURCES += dirent.h | |
305 | ||
306 | # We need the following in order to create <dirent.h> when the system | |
307 | # doesn't have one that works with the given compiler. | |
308 | dirent.h: dirent.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H) | |
309 | $(AM_V_GEN)rm -f $@-t $@ && \ | |
310 | { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ | |
311 | sed -e 's|@''GUARD_PREFIX''@|GL|g' \ | |
312 | -e 's|@''HAVE_DIRENT_H''@|$(HAVE_DIRENT_H)|g' \ | |
313 | -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ | |
314 | -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ | |
315 | -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ | |
316 | -e 's|@''NEXT_DIRENT_H''@|$(NEXT_DIRENT_H)|g' \ | |
317 | -e 's/@''GNULIB_OPENDIR''@/$(GNULIB_OPENDIR)/g' \ | |
318 | -e 's/@''GNULIB_READDIR''@/$(GNULIB_READDIR)/g' \ | |
319 | -e 's/@''GNULIB_REWINDDIR''@/$(GNULIB_REWINDDIR)/g' \ | |
320 | -e 's/@''GNULIB_CLOSEDIR''@/$(GNULIB_CLOSEDIR)/g' \ | |
321 | -e 's/@''GNULIB_DIRFD''@/$(GNULIB_DIRFD)/g' \ | |
322 | -e 's/@''GNULIB_FDOPENDIR''@/$(GNULIB_FDOPENDIR)/g' \ | |
323 | -e 's/@''GNULIB_SCANDIR''@/$(GNULIB_SCANDIR)/g' \ | |
324 | -e 's/@''GNULIB_ALPHASORT''@/$(GNULIB_ALPHASORT)/g' \ | |
325 | -e 's/@''HAVE_OPENDIR''@/$(HAVE_OPENDIR)/g' \ | |
326 | -e 's/@''HAVE_READDIR''@/$(HAVE_READDIR)/g' \ | |
327 | -e 's/@''HAVE_REWINDDIR''@/$(HAVE_REWINDDIR)/g' \ | |
328 | -e 's/@''HAVE_CLOSEDIR''@/$(HAVE_CLOSEDIR)/g' \ | |
329 | -e 's|@''HAVE_DECL_DIRFD''@|$(HAVE_DECL_DIRFD)|g' \ | |
330 | -e 's|@''HAVE_DECL_FDOPENDIR''@|$(HAVE_DECL_FDOPENDIR)|g' \ | |
331 | -e 's|@''HAVE_FDOPENDIR''@|$(HAVE_FDOPENDIR)|g' \ | |
332 | -e 's|@''HAVE_SCANDIR''@|$(HAVE_SCANDIR)|g' \ | |
333 | -e 's|@''HAVE_ALPHASORT''@|$(HAVE_ALPHASORT)|g' \ | |
334 | -e 's|@''REPLACE_OPENDIR''@|$(REPLACE_OPENDIR)|g' \ | |
335 | -e 's|@''REPLACE_CLOSEDIR''@|$(REPLACE_CLOSEDIR)|g' \ | |
336 | -e 's|@''REPLACE_DIRFD''@|$(REPLACE_DIRFD)|g' \ | |
337 | -e 's|@''REPLACE_FDOPENDIR''@|$(REPLACE_FDOPENDIR)|g' \ | |
338 | -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \ | |
339 | -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \ | |
340 | -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \ | |
341 | < $(srcdir)/dirent.in.h; \ | |
342 | } > $@-t && \ | |
343 | mv $@-t $@ | |
344 | MOSTLYCLEANFILES += dirent.h dirent.h-t | |
345 | ||
346 | EXTRA_DIST += dirent.in.h | |
347 | ||
348 | ## end gnulib module dirent | |
349 | ||
350 | ## begin gnulib module dirfd | |
351 | ||
352 | ||
353 | EXTRA_DIST += dirfd.c | |
354 | ||
355 | EXTRA_libgnu_la_SOURCES += dirfd.c | |
356 | ||
357 | ## end gnulib module dirfd | |
358 | ||
a67f2fce AW |
359 | ## begin gnulib module dirname-lgpl |
360 | ||
361 | libgnu_la_SOURCES += dirname-lgpl.c basename-lgpl.c stripslash.c | |
362 | ||
363 | EXTRA_DIST += dirname.h | |
364 | ||
365 | ## end gnulib module dirname-lgpl | |
366 | ||
dd36ce77 MW |
367 | ## begin gnulib module dosname |
368 | ||
369 | ||
370 | EXTRA_DIST += dosname.h | |
371 | ||
372 | ## end gnulib module dosname | |
373 | ||
c3b16a5d LC |
374 | ## begin gnulib module duplocale |
375 | ||
376 | ||
377 | EXTRA_DIST += duplocale.c | |
378 | ||
379 | EXTRA_libgnu_la_SOURCES += duplocale.c | |
380 | ||
381 | ## end gnulib module duplocale | |
382 | ||
c4b681fd LC |
383 | ## begin gnulib module errno |
384 | ||
385 | BUILT_SOURCES += $(ERRNO_H) | |
386 | ||
387 | # We need the following in order to create <errno.h> when the system | |
388 | # doesn't have one that is POSIX compliant. | |
dd7d0148 LC |
389 | if GL_GENERATE_ERRNO_H |
390 | errno.h: errno.in.h $(top_builddir)/config.status | |
8912421c | 391 | $(AM_V_GEN)rm -f $@-t $@ && \ |
c4b681fd | 392 | { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \ |
3d458a81 AW |
393 | sed -e 's|@''GUARD_PREFIX''@|GL|g' \ |
394 | -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ | |
c4b681fd | 395 | -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ |
0f00f2c3 | 396 | -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ |
c4b681fd LC |
397 | -e 's|@''NEXT_ERRNO_H''@|$(NEXT_ERRNO_H)|g' \ |
398 | -e 's|@''EMULTIHOP_HIDDEN''@|$(EMULTIHOP_HIDDEN)|g' \ | |
399 | -e 's|@''EMULTIHOP_VALUE''@|$(EMULTIHOP_VALUE)|g' \ | |
400 | -e 's|@''ENOLINK_HIDDEN''@|$(ENOLINK_HIDDEN)|g' \ | |
401 | -e 's|@''ENOLINK_VALUE''@|$(ENOLINK_VALUE)|g' \ | |
402 | -e 's|@''EOVERFLOW_HIDDEN''@|$(EOVERFLOW_HIDDEN)|g' \ | |
403 | -e 's|@''EOVERFLOW_VALUE''@|$(EOVERFLOW_VALUE)|g' \ | |
404 | < $(srcdir)/errno.in.h; \ | |
8912421c | 405 | } > $@-t && \ |
c4b681fd | 406 | mv $@-t $@ |
dd7d0148 LC |
407 | else |
408 | errno.h: $(top_builddir)/config.status | |
409 | rm -f $@ | |
410 | endif | |
c4b681fd LC |
411 | MOSTLYCLEANFILES += errno.h errno.h-t |
412 | ||
413 | EXTRA_DIST += errno.in.h | |
414 | ||
415 | ## end gnulib module errno | |
416 | ||
3d458a81 AW |
417 | ## begin gnulib module fcntl-h |
418 | ||
419 | BUILT_SOURCES += fcntl.h | |
420 | ||
421 | # We need the following in order to create <fcntl.h> when the system | |
422 | # doesn't have one that works with the given compiler. | |
423 | fcntl.h: fcntl.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H) | |
424 | $(AM_V_GEN)rm -f $@-t $@ && \ | |
425 | { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ | |
426 | sed -e 's|@''GUARD_PREFIX''@|GL|g' \ | |
427 | -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ | |
428 | -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ | |
429 | -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ | |
430 | -e 's|@''NEXT_FCNTL_H''@|$(NEXT_FCNTL_H)|g' \ | |
431 | -e 's/@''GNULIB_FCNTL''@/$(GNULIB_FCNTL)/g' \ | |
432 | -e 's/@''GNULIB_NONBLOCKING''@/$(GNULIB_NONBLOCKING)/g' \ | |
433 | -e 's/@''GNULIB_OPEN''@/$(GNULIB_OPEN)/g' \ | |
434 | -e 's/@''GNULIB_OPENAT''@/$(GNULIB_OPENAT)/g' \ | |
435 | -e 's|@''HAVE_FCNTL''@|$(HAVE_FCNTL)|g' \ | |
436 | -e 's|@''HAVE_OPENAT''@|$(HAVE_OPENAT)|g' \ | |
437 | -e 's|@''REPLACE_FCNTL''@|$(REPLACE_FCNTL)|g' \ | |
438 | -e 's|@''REPLACE_OPEN''@|$(REPLACE_OPEN)|g' \ | |
439 | -e 's|@''REPLACE_OPENAT''@|$(REPLACE_OPENAT)|g' \ | |
440 | -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \ | |
441 | -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \ | |
442 | -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \ | |
443 | < $(srcdir)/fcntl.in.h; \ | |
444 | } > $@-t && \ | |
445 | mv $@-t $@ | |
446 | MOSTLYCLEANFILES += fcntl.h fcntl.h-t | |
447 | ||
448 | EXTRA_DIST += fcntl.in.h | |
449 | ||
450 | ## end gnulib module fcntl-h | |
451 | ||
dd7d0148 LC |
452 | ## begin gnulib module fd-hook |
453 | ||
454 | libgnu_la_SOURCES += fd-hook.c | |
455 | ||
456 | EXTRA_DIST += fd-hook.h | |
457 | ||
458 | ## end gnulib module fd-hook | |
459 | ||
c4b681fd LC |
460 | ## begin gnulib module float |
461 | ||
462 | BUILT_SOURCES += $(FLOAT_H) | |
463 | ||
464 | # We need the following in order to create <float.h> when the system | |
465 | # doesn't have one that works with the given compiler. | |
dd7d0148 LC |
466 | if GL_GENERATE_FLOAT_H |
467 | float.h: float.in.h $(top_builddir)/config.status | |
8912421c | 468 | $(AM_V_GEN)rm -f $@-t $@ && \ |
c4b681fd | 469 | { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \ |
3d458a81 AW |
470 | sed -e 's|@''GUARD_PREFIX''@|GL|g' \ |
471 | -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ | |
c4b681fd | 472 | -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ |
0f00f2c3 | 473 | -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ |
c4b681fd | 474 | -e 's|@''NEXT_FLOAT_H''@|$(NEXT_FLOAT_H)|g' \ |
35428fb6 | 475 | -e 's|@''REPLACE_ITOLD''@|$(REPLACE_ITOLD)|g' \ |
c4b681fd | 476 | < $(srcdir)/float.in.h; \ |
8912421c | 477 | } > $@-t && \ |
c4b681fd | 478 | mv $@-t $@ |
dd7d0148 LC |
479 | else |
480 | float.h: $(top_builddir)/config.status | |
481 | rm -f $@ | |
482 | endif | |
c4b681fd LC |
483 | MOSTLYCLEANFILES += float.h float.h-t |
484 | ||
35428fb6 | 485 | EXTRA_DIST += float.c float.in.h itold.c |
231c0e0e | 486 | |
35428fb6 | 487 | EXTRA_libgnu_la_SOURCES += float.c itold.c |
c4b681fd LC |
488 | |
489 | ## end gnulib module float | |
490 | ||
f240aacb LC |
491 | ## begin gnulib module flock |
492 | ||
493 | ||
494 | EXTRA_DIST += flock.c | |
495 | ||
496 | EXTRA_libgnu_la_SOURCES += flock.c | |
497 | ||
498 | ## end gnulib module flock | |
499 | ||
b81eb646 LC |
500 | ## begin gnulib module floor |
501 | ||
502 | ||
503 | EXTRA_DIST += floor.c | |
504 | ||
505 | EXTRA_libgnu_la_SOURCES += floor.c | |
506 | ||
507 | ## end gnulib module floor | |
508 | ||
dd36ce77 MW |
509 | ## begin gnulib module frexp |
510 | ||
511 | ||
512 | EXTRA_DIST += frexp.c | |
513 | ||
514 | EXTRA_libgnu_la_SOURCES += frexp.c | |
515 | ||
516 | ## end gnulib module frexp | |
517 | ||
35428fb6 | 518 | ## begin gnulib module fstat |
3d458a81 AW |
519 | |
520 | ||
35428fb6 | 521 | EXTRA_DIST += fstat.c |
3d458a81 | 522 | |
35428fb6 | 523 | EXTRA_libgnu_la_SOURCES += fstat.c |
3d458a81 | 524 | |
35428fb6 | 525 | ## end gnulib module fstat |
3d458a81 | 526 | |
9b36a80c LC |
527 | ## begin gnulib module full-read |
528 | ||
529 | libgnu_la_SOURCES += full-read.h full-read.c | |
530 | ||
dd7d0148 LC |
531 | EXTRA_DIST += full-write.c |
532 | ||
533 | EXTRA_libgnu_la_SOURCES += full-write.c | |
534 | ||
9b36a80c LC |
535 | ## end gnulib module full-read |
536 | ||
537 | ## begin gnulib module full-write | |
538 | ||
539 | libgnu_la_SOURCES += full-write.h full-write.c | |
540 | ||
541 | ## end gnulib module full-write | |
542 | ||
c84bdaf6 LC |
543 | ## begin gnulib module gendocs |
544 | ||
545 | ||
546 | EXTRA_DIST += $(top_srcdir)/build-aux/gendocs.sh | |
547 | ||
548 | ## end gnulib module gendocs | |
549 | ||
61cd9dc9 LC |
550 | ## begin gnulib module getaddrinfo |
551 | ||
552 | ||
553 | EXTRA_DIST += gai_strerror.c getaddrinfo.c | |
554 | ||
555 | EXTRA_libgnu_la_SOURCES += gai_strerror.c getaddrinfo.c | |
556 | ||
557 | ## end gnulib module getaddrinfo | |
558 | ||
49114fd4 LC |
559 | ## begin gnulib module getpeername |
560 | ||
561 | ||
562 | EXTRA_DIST += getpeername.c w32sock.h | |
563 | ||
564 | EXTRA_libgnu_la_SOURCES += getpeername.c | |
565 | ||
566 | ## end gnulib module getpeername | |
567 | ||
568 | ## begin gnulib module getsockname | |
569 | ||
570 | ||
571 | EXTRA_DIST += getsockname.c w32sock.h | |
572 | ||
573 | EXTRA_libgnu_la_SOURCES += getsockname.c | |
574 | ||
575 | ## end gnulib module getsockname | |
576 | ||
577 | ## begin gnulib module getsockopt | |
578 | ||
579 | ||
580 | EXTRA_DIST += getsockopt.c w32sock.h | |
581 | ||
582 | EXTRA_libgnu_la_SOURCES += getsockopt.c | |
583 | ||
584 | ## end gnulib module getsockopt | |
585 | ||
4f02b98d LC |
586 | ## begin gnulib module gettext-h |
587 | ||
588 | libgnu_la_SOURCES += gettext.h | |
589 | ||
590 | ## end gnulib module gettext-h | |
591 | ||
5ad8e59f LC |
592 | ## begin gnulib module git-version-gen |
593 | ||
594 | ||
595 | EXTRA_DIST += $(top_srcdir)/build-aux/git-version-gen | |
596 | ||
597 | ## end gnulib module git-version-gen | |
598 | ||
c84bdaf6 LC |
599 | ## begin gnulib module gitlog-to-changelog |
600 | ||
601 | ||
602 | EXTRA_DIST += $(top_srcdir)/build-aux/gitlog-to-changelog | |
603 | ||
604 | ## end gnulib module gitlog-to-changelog | |
605 | ||
606 | ## begin gnulib module gnu-web-doc-update | |
607 | ||
608 | ||
609 | EXTRA_DIST += $(top_srcdir)/build-aux/gnu-web-doc-update | |
610 | ||
611 | ## end gnulib module gnu-web-doc-update | |
612 | ||
613 | ## begin gnulib module gnumakefile | |
614 | ||
615 | distclean-local: clean-GNUmakefile | |
616 | clean-GNUmakefile: | |
617 | test x'$(VPATH)' != x && rm -f $(top_builddir)/GNUmakefile || : | |
618 | ||
619 | EXTRA_DIST += $(top_srcdir)/GNUmakefile | |
620 | ||
621 | ## end gnulib module gnumakefile | |
622 | ||
623 | ## begin gnulib module gnupload | |
624 | ||
625 | ||
626 | EXTRA_DIST += $(top_srcdir)/build-aux/gnupload | |
627 | ||
628 | ## end gnulib module gnupload | |
629 | ||
24d56127 LC |
630 | ## begin gnulib module gperf |
631 | ||
632 | GPERF = gperf | |
633 | ||
634 | ## end gnulib module gperf | |
635 | ||
636 | ## begin gnulib module havelib | |
637 | ||
638 | ||
639 | EXTRA_DIST += $(top_srcdir)/build-aux/config.rpath | |
640 | ||
641 | ## end gnulib module havelib | |
642 | ||
f4c79b3c | 643 | ## begin gnulib module iconv-h |
24d56127 LC |
644 | |
645 | BUILT_SOURCES += $(ICONV_H) | |
646 | ||
647 | # We need the following in order to create <iconv.h> when the system | |
648 | # doesn't have one that works with the given compiler. | |
dd7d0148 LC |
649 | if GL_GENERATE_ICONV_H |
650 | iconv.h: iconv.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H) | |
8912421c | 651 | $(AM_V_GEN)rm -f $@-t $@ && \ |
24d56127 | 652 | { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \ |
3d458a81 AW |
653 | sed -e 's|@''GUARD_PREFIX''@|GL|g' \ |
654 | -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ | |
24d56127 | 655 | -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ |
0f00f2c3 | 656 | -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ |
24d56127 | 657 | -e 's|@''NEXT_ICONV_H''@|$(NEXT_ICONV_H)|g' \ |
3d458a81 | 658 | -e 's/@''GNULIB_ICONV''@/$(GNULIB_ICONV)/g' \ |
24d56127 LC |
659 | -e 's|@''ICONV_CONST''@|$(ICONV_CONST)|g' \ |
660 | -e 's|@''REPLACE_ICONV''@|$(REPLACE_ICONV)|g' \ | |
661 | -e 's|@''REPLACE_ICONV_OPEN''@|$(REPLACE_ICONV_OPEN)|g' \ | |
662 | -e 's|@''REPLACE_ICONV_UTF''@|$(REPLACE_ICONV_UTF)|g' \ | |
f4c79b3c | 663 | -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \ |
1cd4fffc | 664 | -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \ |
f4c79b3c | 665 | -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \ |
24d56127 | 666 | < $(srcdir)/iconv.in.h; \ |
8912421c | 667 | } > $@-t && \ |
24d56127 | 668 | mv $@-t $@ |
dd7d0148 LC |
669 | else |
670 | iconv.h: $(top_builddir)/config.status | |
671 | rm -f $@ | |
672 | endif | |
24d56127 LC |
673 | MOSTLYCLEANFILES += iconv.h iconv.h-t |
674 | ||
f4c79b3c LC |
675 | EXTRA_DIST += iconv.in.h |
676 | ||
677 | ## end gnulib module iconv-h | |
678 | ||
679 | ## begin gnulib module iconv_open | |
680 | ||
24d56127 LC |
681 | iconv_open-aix.h: iconv_open-aix.gperf |
682 | $(GPERF) -m 10 $(srcdir)/iconv_open-aix.gperf > $(srcdir)/iconv_open-aix.h-t | |
683 | mv $(srcdir)/iconv_open-aix.h-t $(srcdir)/iconv_open-aix.h | |
684 | iconv_open-hpux.h: iconv_open-hpux.gperf | |
685 | $(GPERF) -m 10 $(srcdir)/iconv_open-hpux.gperf > $(srcdir)/iconv_open-hpux.h-t | |
686 | mv $(srcdir)/iconv_open-hpux.h-t $(srcdir)/iconv_open-hpux.h | |
687 | iconv_open-irix.h: iconv_open-irix.gperf | |
688 | $(GPERF) -m 10 $(srcdir)/iconv_open-irix.gperf > $(srcdir)/iconv_open-irix.h-t | |
689 | mv $(srcdir)/iconv_open-irix.h-t $(srcdir)/iconv_open-irix.h | |
690 | iconv_open-osf.h: iconv_open-osf.gperf | |
691 | $(GPERF) -m 10 $(srcdir)/iconv_open-osf.gperf > $(srcdir)/iconv_open-osf.h-t | |
692 | mv $(srcdir)/iconv_open-osf.h-t $(srcdir)/iconv_open-osf.h | |
8912421c LC |
693 | iconv_open-solaris.h: iconv_open-solaris.gperf |
694 | $(GPERF) -m 10 $(srcdir)/iconv_open-solaris.gperf > $(srcdir)/iconv_open-solaris.h-t | |
695 | mv $(srcdir)/iconv_open-solaris.h-t $(srcdir)/iconv_open-solaris.h | |
696 | BUILT_SOURCES += iconv_open-aix.h iconv_open-hpux.h iconv_open-irix.h iconv_open-osf.h iconv_open-solaris.h | |
697 | 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 | |
698 | MAINTAINERCLEANFILES += iconv_open-aix.h iconv_open-hpux.h iconv_open-irix.h iconv_open-osf.h iconv_open-solaris.h | |
699 | EXTRA_DIST += iconv_open-aix.h iconv_open-hpux.h iconv_open-irix.h iconv_open-osf.h iconv_open-solaris.h | |
24d56127 | 700 | |
3d458a81 | 701 | EXTRA_DIST += iconv.c iconv_close.c iconv_open-aix.gperf iconv_open-hpux.gperf iconv_open-irix.gperf iconv_open-osf.gperf iconv_open-solaris.gperf iconv_open.c |
24d56127 | 702 | |
3d458a81 | 703 | EXTRA_libgnu_la_SOURCES += iconv.c iconv_close.c iconv_open.c |
24d56127 LC |
704 | |
705 | ## end gnulib module iconv_open | |
706 | ||
8912421c LC |
707 | ## begin gnulib module inet_ntop |
708 | ||
709 | ||
710 | EXTRA_DIST += inet_ntop.c | |
711 | ||
712 | EXTRA_libgnu_la_SOURCES += inet_ntop.c | |
713 | ||
714 | ## end gnulib module inet_ntop | |
715 | ||
716 | ## begin gnulib module inet_pton | |
717 | ||
718 | ||
719 | EXTRA_DIST += inet_pton.c | |
720 | ||
721 | EXTRA_libgnu_la_SOURCES += inet_pton.c | |
722 | ||
723 | ## end gnulib module inet_pton | |
724 | ||
2e65b52f LC |
725 | ## begin gnulib module isinf |
726 | ||
727 | ||
728 | EXTRA_DIST += isinf.c | |
729 | ||
730 | EXTRA_libgnu_la_SOURCES += isinf.c | |
731 | ||
732 | ## end gnulib module isinf | |
733 | ||
734 | ## begin gnulib module isnand | |
735 | ||
736 | ||
737 | EXTRA_DIST += float+.h isnan.c isnand.c | |
738 | ||
739 | EXTRA_libgnu_la_SOURCES += isnan.c isnand.c | |
740 | ||
741 | ## end gnulib module isnand | |
742 | ||
dd36ce77 MW |
743 | ## begin gnulib module isnand-nolibm |
744 | ||
745 | ||
746 | EXTRA_DIST += float+.h isnan.c isnand-nolibm.h isnand.c | |
747 | ||
748 | EXTRA_libgnu_la_SOURCES += isnan.c isnand.c | |
749 | ||
750 | ## end gnulib module isnand-nolibm | |
751 | ||
2e65b52f LC |
752 | ## begin gnulib module isnanf |
753 | ||
754 | ||
755 | EXTRA_DIST += float+.h isnan.c isnanf.c | |
756 | ||
757 | EXTRA_libgnu_la_SOURCES += isnan.c isnanf.c | |
758 | ||
759 | ## end gnulib module isnanf | |
760 | ||
761 | ## begin gnulib module isnanl | |
762 | ||
763 | ||
764 | EXTRA_DIST += float+.h isnan.c isnanl.c | |
765 | ||
766 | EXTRA_libgnu_la_SOURCES += isnan.c isnanl.c | |
767 | ||
768 | ## end gnulib module isnanl | |
769 | ||
eb4a14ed LC |
770 | ## begin gnulib module langinfo |
771 | ||
772 | BUILT_SOURCES += langinfo.h | |
773 | ||
774 | # We need the following in order to create an empty placeholder for | |
775 | # <langinfo.h> when the system doesn't have one. | |
776 | langinfo.h: langinfo.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(WARN_ON_USE_H) | |
777 | $(AM_V_GEN)rm -f $@-t $@ && \ | |
778 | { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ | |
779 | sed -e 's|@''GUARD_PREFIX''@|GL|g' \ | |
780 | -e 's|@''HAVE_LANGINFO_H''@|$(HAVE_LANGINFO_H)|g' \ | |
781 | -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ | |
782 | -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ | |
783 | -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ | |
784 | -e 's|@''NEXT_LANGINFO_H''@|$(NEXT_LANGINFO_H)|g' \ | |
785 | -e 's/@''GNULIB_NL_LANGINFO''@/$(GNULIB_NL_LANGINFO)/g' \ | |
786 | -e 's|@''HAVE_LANGINFO_CODESET''@|$(HAVE_LANGINFO_CODESET)|g' \ | |
787 | -e 's|@''HAVE_LANGINFO_T_FMT_AMPM''@|$(HAVE_LANGINFO_T_FMT_AMPM)|g' \ | |
788 | -e 's|@''HAVE_LANGINFO_ERA''@|$(HAVE_LANGINFO_ERA)|g' \ | |
789 | -e 's|@''HAVE_LANGINFO_YESEXPR''@|$(HAVE_LANGINFO_YESEXPR)|g' \ | |
790 | -e 's|@''HAVE_NL_LANGINFO''@|$(HAVE_NL_LANGINFO)|g' \ | |
791 | -e 's|@''REPLACE_NL_LANGINFO''@|$(REPLACE_NL_LANGINFO)|g' \ | |
792 | -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \ | |
793 | -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \ | |
794 | < $(srcdir)/langinfo.in.h; \ | |
795 | } > $@-t && \ | |
796 | mv $@-t $@ | |
797 | MOSTLYCLEANFILES += langinfo.h langinfo.h-t | |
798 | ||
799 | EXTRA_DIST += langinfo.in.h | |
800 | ||
801 | ## end gnulib module langinfo | |
802 | ||
d9a9e182 AW |
803 | ## begin gnulib module lib-symbol-visibility |
804 | ||
805 | # The value of $(CFLAG_VISIBILITY) needs to be added to the CFLAGS for the | |
806 | # compilation of all sources that make up the library. This line here does it | |
807 | # only for the gnulib part of it. The developer is responsible for adding | |
808 | # $(CFLAG_VISIBILITY) to the Makefile.ams of the other portions of the library. | |
809 | AM_CFLAGS += $(CFLAG_VISIBILITY) | |
810 | ||
811 | ## end gnulib module lib-symbol-visibility | |
812 | ||
a927b6c1 LC |
813 | ## begin gnulib module libunistring |
814 | ||
815 | ||
816 | EXTRA_DIST += libunistring.valgrind | |
817 | ||
818 | ## end gnulib module libunistring | |
819 | ||
49114fd4 | 820 | ## begin gnulib module listen |
4a462e35 | 821 | |
4a462e35 | 822 | |
49114fd4 | 823 | EXTRA_DIST += listen.c w32sock.h |
4a462e35 | 824 | |
49114fd4 | 825 | EXTRA_libgnu_la_SOURCES += listen.c |
4a462e35 | 826 | |
49114fd4 | 827 | ## end gnulib module listen |
4a462e35 | 828 | |
c2c2b5a4 LC |
829 | ## begin gnulib module localcharset |
830 | ||
831 | libgnu_la_SOURCES += localcharset.h localcharset.c | |
832 | ||
833 | # We need the following in order to install a simple file in $(libdir) | |
834 | # which is shared with other installed packages. We use a list of referencing | |
835 | # packages so that "make uninstall" will remove the file if and only if it | |
836 | # is not used by another installed package. | |
837 | # On systems with glibc-2.1 or newer, the file is redundant, therefore we | |
838 | # avoid installing it. | |
839 | ||
840 | all-local: charset.alias ref-add.sed ref-del.sed | |
841 | ||
842 | charset_alias = $(DESTDIR)$(libdir)/charset.alias | |
843 | charset_tmp = $(DESTDIR)$(libdir)/charset.tmp | |
844 | install-exec-local: install-exec-localcharset | |
845 | install-exec-localcharset: all-local | |
846 | if test $(GLIBC21) = no; then \ | |
847 | case '$(host_os)' in \ | |
848 | darwin[56]*) \ | |
849 | need_charset_alias=true ;; \ | |
850 | darwin* | cygwin* | mingw* | pw32* | cegcc*) \ | |
851 | need_charset_alias=false ;; \ | |
852 | *) \ | |
853 | need_charset_alias=true ;; \ | |
854 | esac ; \ | |
855 | else \ | |
856 | need_charset_alias=false ; \ | |
857 | fi ; \ | |
858 | if $$need_charset_alias; then \ | |
859 | $(mkinstalldirs) $(DESTDIR)$(libdir) ; \ | |
860 | fi ; \ | |
861 | if test -f $(charset_alias); then \ | |
862 | sed -f ref-add.sed $(charset_alias) > $(charset_tmp) ; \ | |
863 | $(INSTALL_DATA) $(charset_tmp) $(charset_alias) ; \ | |
864 | rm -f $(charset_tmp) ; \ | |
865 | else \ | |
866 | if $$need_charset_alias; then \ | |
867 | sed -f ref-add.sed charset.alias > $(charset_tmp) ; \ | |
868 | $(INSTALL_DATA) $(charset_tmp) $(charset_alias) ; \ | |
869 | rm -f $(charset_tmp) ; \ | |
870 | fi ; \ | |
871 | fi | |
872 | ||
873 | uninstall-local: uninstall-localcharset | |
874 | uninstall-localcharset: all-local | |
875 | if test -f $(charset_alias); then \ | |
876 | sed -f ref-del.sed $(charset_alias) > $(charset_tmp); \ | |
877 | if grep '^# Packages using this file: $$' $(charset_tmp) \ | |
878 | > /dev/null; then \ | |
879 | rm -f $(charset_alias); \ | |
880 | else \ | |
881 | $(INSTALL_DATA) $(charset_tmp) $(charset_alias); \ | |
882 | fi; \ | |
883 | rm -f $(charset_tmp); \ | |
884 | fi | |
885 | ||
886 | charset.alias: config.charset | |
887 | $(AM_V_GEN)rm -f t-$@ $@ && \ | |
888 | $(SHELL) $(srcdir)/config.charset '$(host)' > t-$@ && \ | |
889 | mv t-$@ $@ | |
890 | ||
891 | SUFFIXES += .sed .sin | |
892 | .sin.sed: | |
893 | $(AM_V_GEN)rm -f t-$@ $@ && \ | |
894 | sed -e '/^#/d' -e 's/@''PACKAGE''@/$(PACKAGE)/g' $< > t-$@ && \ | |
895 | mv t-$@ $@ | |
896 | ||
897 | CLEANFILES += charset.alias ref-add.sed ref-del.sed | |
898 | ||
899 | EXTRA_DIST += config.charset ref-add.sin ref-del.sin | |
900 | ||
901 | ## end gnulib module localcharset | |
902 | ||
414e4441 LC |
903 | ## begin gnulib module locale |
904 | ||
61cd9dc9 | 905 | BUILT_SOURCES += locale.h |
414e4441 LC |
906 | |
907 | # We need the following in order to create <locale.h> when the system | |
908 | # doesn't have one that provides all definitions. | |
dd7d0148 | 909 | locale.h: locale.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H) |
414e4441 LC |
910 | $(AM_V_GEN)rm -f $@-t $@ && \ |
911 | { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \ | |
3d458a81 AW |
912 | sed -e 's|@''GUARD_PREFIX''@|GL|g' \ |
913 | -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ | |
414e4441 | 914 | -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ |
0f00f2c3 | 915 | -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ |
414e4441 | 916 | -e 's|@''NEXT_LOCALE_H''@|$(NEXT_LOCALE_H)|g' \ |
005de2e8 | 917 | -e 's/@''GNULIB_LOCALECONV''@/$(GNULIB_LOCALECONV)/g' \ |
3d458a81 AW |
918 | -e 's/@''GNULIB_SETLOCALE''@/$(GNULIB_SETLOCALE)/g' \ |
919 | -e 's/@''GNULIB_DUPLOCALE''@/$(GNULIB_DUPLOCALE)/g' \ | |
f4c79b3c | 920 | -e 's|@''HAVE_DUPLOCALE''@|$(HAVE_DUPLOCALE)|g' \ |
414e4441 | 921 | -e 's|@''HAVE_XLOCALE_H''@|$(HAVE_XLOCALE_H)|g' \ |
005de2e8 | 922 | -e 's|@''REPLACE_LOCALECONV''@|$(REPLACE_LOCALECONV)|g' \ |
49114fd4 | 923 | -e 's|@''REPLACE_SETLOCALE''@|$(REPLACE_SETLOCALE)|g' \ |
414e4441 | 924 | -e 's|@''REPLACE_DUPLOCALE''@|$(REPLACE_DUPLOCALE)|g' \ |
005de2e8 | 925 | -e 's|@''REPLACE_STRUCT_LCONV''@|$(REPLACE_STRUCT_LCONV)|g' \ |
f4c79b3c | 926 | -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \ |
1cd4fffc | 927 | -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \ |
61cd9dc9 | 928 | -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \ |
414e4441 LC |
929 | < $(srcdir)/locale.in.h; \ |
930 | } > $@-t && \ | |
931 | mv $@-t $@ | |
932 | MOSTLYCLEANFILES += locale.h locale.h-t | |
933 | ||
934 | EXTRA_DIST += locale.in.h | |
935 | ||
936 | ## end gnulib module locale | |
937 | ||
005de2e8 LC |
938 | ## begin gnulib module localeconv |
939 | ||
940 | ||
941 | EXTRA_DIST += localeconv.c | |
942 | ||
943 | EXTRA_libgnu_la_SOURCES += localeconv.c | |
944 | ||
945 | ## end gnulib module localeconv | |
946 | ||
947 | ## begin gnulib module log | |
948 | ||
949 | ||
950 | EXTRA_DIST += log.c | |
951 | ||
952 | EXTRA_libgnu_la_SOURCES += log.c | |
953 | ||
954 | ## end gnulib module log | |
955 | ||
956 | ## begin gnulib module log1p | |
957 | ||
958 | ||
959 | EXTRA_DIST += log1p.c | |
960 | ||
961 | EXTRA_libgnu_la_SOURCES += log1p.c | |
962 | ||
963 | ## end gnulib module log1p | |
964 | ||
8912421c LC |
965 | ## begin gnulib module lstat |
966 | ||
967 | ||
968 | EXTRA_DIST += lstat.c | |
969 | ||
970 | EXTRA_libgnu_la_SOURCES += lstat.c | |
971 | ||
972 | ## end gnulib module lstat | |
973 | ||
c84bdaf6 LC |
974 | ## begin gnulib module maintainer-makefile |
975 | ||
976 | EXTRA_DIST += $(top_srcdir)/maint.mk | |
977 | ||
978 | ## end gnulib module maintainer-makefile | |
979 | ||
49114fd4 LC |
980 | ## begin gnulib module malloc-gnu |
981 | ||
982 | ||
983 | EXTRA_DIST += malloc.c | |
984 | ||
985 | EXTRA_libgnu_la_SOURCES += malloc.c | |
986 | ||
987 | ## end gnulib module malloc-gnu | |
988 | ||
f240aacb LC |
989 | ## begin gnulib module malloc-posix |
990 | ||
991 | ||
992 | EXTRA_DIST += malloc.c | |
993 | ||
994 | EXTRA_libgnu_la_SOURCES += malloc.c | |
995 | ||
996 | ## end gnulib module malloc-posix | |
997 | ||
ffca4c22 AW |
998 | ## begin gnulib module malloca |
999 | ||
1000 | libgnu_la_SOURCES += malloca.c | |
1001 | ||
1002 | EXTRA_DIST += malloca.h malloca.valgrind | |
1003 | ||
1004 | ## end gnulib module malloca | |
1005 | ||
2e65b52f LC |
1006 | ## begin gnulib module math |
1007 | ||
1008 | BUILT_SOURCES += math.h | |
1009 | ||
1010 | # We need the following in order to create <math.h> when the system | |
1011 | # doesn't have one that works with the given compiler. | |
dd7d0148 | 1012 | math.h: math.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H) |
2e65b52f LC |
1013 | $(AM_V_GEN)rm -f $@-t $@ && \ |
1014 | { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \ | |
3d458a81 AW |
1015 | sed -e 's|@''GUARD_PREFIX''@|GL|g' \ |
1016 | -e 's|@''INCLUDE_NEXT_AS_FIRST_DIRECTIVE''@|$(INCLUDE_NEXT_AS_FIRST_DIRECTIVE)|g' \ | |
2e65b52f | 1017 | -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ |
0f00f2c3 | 1018 | -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ |
2e65b52f | 1019 | -e 's|@''NEXT_AS_FIRST_DIRECTIVE_MATH_H''@|$(NEXT_AS_FIRST_DIRECTIVE_MATH_H)|g' \ |
35428fb6 | 1020 | -e 's/@''GNULIB_ACOSF''@/$(GNULIB_ACOSF)/g' \ |
3d458a81 | 1021 | -e 's/@''GNULIB_ACOSL''@/$(GNULIB_ACOSL)/g' \ |
35428fb6 | 1022 | -e 's/@''GNULIB_ASINF''@/$(GNULIB_ASINF)/g' \ |
3d458a81 | 1023 | -e 's/@''GNULIB_ASINL''@/$(GNULIB_ASINL)/g' \ |
35428fb6 | 1024 | -e 's/@''GNULIB_ATANF''@/$(GNULIB_ATANF)/g' \ |
3d458a81 | 1025 | -e 's/@''GNULIB_ATANL''@/$(GNULIB_ATANL)/g' \ |
35428fb6 | 1026 | -e 's/@''GNULIB_ATAN2F''@/$(GNULIB_ATAN2F)/g' \ |
005de2e8 LC |
1027 | -e 's/@''GNULIB_CBRT''@/$(GNULIB_CBRT)/g' \ |
1028 | -e 's/@''GNULIB_CBRTF''@/$(GNULIB_CBRTF)/g' \ | |
1029 | -e 's/@''GNULIB_CBRTL''@/$(GNULIB_CBRTL)/g' \ | |
3d458a81 AW |
1030 | -e 's/@''GNULIB_CEIL''@/$(GNULIB_CEIL)/g' \ |
1031 | -e 's/@''GNULIB_CEILF''@/$(GNULIB_CEILF)/g' \ | |
1032 | -e 's/@''GNULIB_CEILL''@/$(GNULIB_CEILL)/g' \ | |
35428fb6 LC |
1033 | -e 's/@''GNULIB_COPYSIGN''@/$(GNULIB_COPYSIGN)/g' \ |
1034 | -e 's/@''GNULIB_COPYSIGNF''@/$(GNULIB_COPYSIGNF)/g' \ | |
1035 | -e 's/@''GNULIB_COPYSIGNL''@/$(GNULIB_COPYSIGNL)/g' \ | |
1036 | -e 's/@''GNULIB_COSF''@/$(GNULIB_COSF)/g' \ | |
3d458a81 | 1037 | -e 's/@''GNULIB_COSL''@/$(GNULIB_COSL)/g' \ |
35428fb6 LC |
1038 | -e 's/@''GNULIB_COSHF''@/$(GNULIB_COSHF)/g' \ |
1039 | -e 's/@''GNULIB_EXPF''@/$(GNULIB_EXPF)/g' \ | |
3d458a81 | 1040 | -e 's/@''GNULIB_EXPL''@/$(GNULIB_EXPL)/g' \ |
005de2e8 LC |
1041 | -e 's/@''GNULIB_EXP2''@/$(GNULIB_EXP2)/g' \ |
1042 | -e 's/@''GNULIB_EXP2F''@/$(GNULIB_EXP2F)/g' \ | |
1043 | -e 's/@''GNULIB_EXP2L''@/$(GNULIB_EXP2L)/g' \ | |
1044 | -e 's/@''GNULIB_EXPM1''@/$(GNULIB_EXPM1)/g' \ | |
1045 | -e 's/@''GNULIB_EXPM1F''@/$(GNULIB_EXPM1F)/g' \ | |
1046 | -e 's/@''GNULIB_EXPM1L''@/$(GNULIB_EXPM1L)/g' \ | |
35428fb6 | 1047 | -e 's/@''GNULIB_FABSF''@/$(GNULIB_FABSF)/g' \ |
005de2e8 | 1048 | -e 's/@''GNULIB_FABSL''@/$(GNULIB_FABSL)/g' \ |
3d458a81 AW |
1049 | -e 's/@''GNULIB_FLOOR''@/$(GNULIB_FLOOR)/g' \ |
1050 | -e 's/@''GNULIB_FLOORF''@/$(GNULIB_FLOORF)/g' \ | |
1051 | -e 's/@''GNULIB_FLOORL''@/$(GNULIB_FLOORL)/g' \ | |
7f1ea859 LC |
1052 | -e 's/@''GNULIB_FMA''@/$(GNULIB_FMA)/g' \ |
1053 | -e 's/@''GNULIB_FMAF''@/$(GNULIB_FMAF)/g' \ | |
1054 | -e 's/@''GNULIB_FMAL''@/$(GNULIB_FMAL)/g' \ | |
005de2e8 | 1055 | -e 's/@''GNULIB_FMOD''@/$(GNULIB_FMOD)/g' \ |
35428fb6 | 1056 | -e 's/@''GNULIB_FMODF''@/$(GNULIB_FMODF)/g' \ |
005de2e8 | 1057 | -e 's/@''GNULIB_FMODL''@/$(GNULIB_FMODL)/g' \ |
35428fb6 | 1058 | -e 's/@''GNULIB_FREXPF''@/$(GNULIB_FREXPF)/g' \ |
3d458a81 AW |
1059 | -e 's/@''GNULIB_FREXP''@/$(GNULIB_FREXP)/g' \ |
1060 | -e 's/@''GNULIB_FREXPL''@/$(GNULIB_FREXPL)/g' \ | |
005de2e8 LC |
1061 | -e 's/@''GNULIB_HYPOT''@/$(GNULIB_HYPOT)/g' \ |
1062 | -e 's/@''GNULIB_HYPOTF''@/$(GNULIB_HYPOTF)/g' \ | |
1063 | -e 's/@''GNULIB_HYPOTL''@/$(GNULIB_HYPOTL)/g' \ | |
1064 | < $(srcdir)/math.in.h | \ | |
1065 | sed -e 's/@''GNULIB_ILOGB''@/$(GNULIB_ILOGB)/g' \ | |
1066 | -e 's/@''GNULIB_ILOGBF''@/$(GNULIB_ILOGBF)/g' \ | |
1067 | -e 's/@''GNULIB_ILOGBL''@/$(GNULIB_ILOGBL)/g' \ | |
3d458a81 AW |
1068 | -e 's/@''GNULIB_ISFINITE''@/$(GNULIB_ISFINITE)/g' \ |
1069 | -e 's/@''GNULIB_ISINF''@/$(GNULIB_ISINF)/g' \ | |
1070 | -e 's/@''GNULIB_ISNAN''@/$(GNULIB_ISNAN)/g' \ | |
1071 | -e 's/@''GNULIB_ISNANF''@/$(GNULIB_ISNANF)/g' \ | |
1072 | -e 's/@''GNULIB_ISNAND''@/$(GNULIB_ISNAND)/g' \ | |
1073 | -e 's/@''GNULIB_ISNANL''@/$(GNULIB_ISNANL)/g' \ | |
35428fb6 | 1074 | -e 's/@''GNULIB_LDEXPF''@/$(GNULIB_LDEXPF)/g' \ |
3d458a81 | 1075 | -e 's/@''GNULIB_LDEXPL''@/$(GNULIB_LDEXPL)/g' \ |
005de2e8 | 1076 | -e 's/@''GNULIB_LOG''@/$(GNULIB_LOG)/g' \ |
35428fb6 | 1077 | -e 's/@''GNULIB_LOGF''@/$(GNULIB_LOGF)/g' \ |
3d458a81 | 1078 | -e 's/@''GNULIB_LOGL''@/$(GNULIB_LOGL)/g' \ |
005de2e8 | 1079 | -e 's/@''GNULIB_LOG10''@/$(GNULIB_LOG10)/g' \ |
35428fb6 | 1080 | -e 's/@''GNULIB_LOG10F''@/$(GNULIB_LOG10F)/g' \ |
005de2e8 LC |
1081 | -e 's/@''GNULIB_LOG10L''@/$(GNULIB_LOG10L)/g' \ |
1082 | -e 's/@''GNULIB_LOG1P''@/$(GNULIB_LOG1P)/g' \ | |
1083 | -e 's/@''GNULIB_LOG1PF''@/$(GNULIB_LOG1PF)/g' \ | |
1084 | -e 's/@''GNULIB_LOG1PL''@/$(GNULIB_LOG1PL)/g' \ | |
1085 | -e 's/@''GNULIB_LOG2''@/$(GNULIB_LOG2)/g' \ | |
1086 | -e 's/@''GNULIB_LOG2F''@/$(GNULIB_LOG2F)/g' \ | |
1087 | -e 's/@''GNULIB_LOG2L''@/$(GNULIB_LOG2L)/g' \ | |
1088 | -e 's/@''GNULIB_LOGB''@/$(GNULIB_LOGB)/g' \ | |
1089 | -e 's/@''GNULIB_LOGBF''@/$(GNULIB_LOGBF)/g' \ | |
1090 | -e 's/@''GNULIB_LOGBL''@/$(GNULIB_LOGBL)/g' \ | |
1091 | -e 's/@''GNULIB_MODF''@/$(GNULIB_MODF)/g' \ | |
35428fb6 | 1092 | -e 's/@''GNULIB_MODFF''@/$(GNULIB_MODFF)/g' \ |
005de2e8 | 1093 | -e 's/@''GNULIB_MODFL''@/$(GNULIB_MODFL)/g' \ |
35428fb6 | 1094 | -e 's/@''GNULIB_POWF''@/$(GNULIB_POWF)/g' \ |
005de2e8 LC |
1095 | -e 's/@''GNULIB_REMAINDER''@/$(GNULIB_REMAINDER)/g' \ |
1096 | -e 's/@''GNULIB_REMAINDERF''@/$(GNULIB_REMAINDERF)/g' \ | |
1097 | -e 's/@''GNULIB_REMAINDERL''@/$(GNULIB_REMAINDERL)/g' \ | |
35428fb6 LC |
1098 | -e 's/@''GNULIB_RINT''@/$(GNULIB_RINT)/g' \ |
1099 | -e 's/@''GNULIB_RINTF''@/$(GNULIB_RINTF)/g' \ | |
1100 | -e 's/@''GNULIB_RINTL''@/$(GNULIB_RINTL)/g' \ | |
3d458a81 AW |
1101 | -e 's/@''GNULIB_ROUND''@/$(GNULIB_ROUND)/g' \ |
1102 | -e 's/@''GNULIB_ROUNDF''@/$(GNULIB_ROUNDF)/g' \ | |
1103 | -e 's/@''GNULIB_ROUNDL''@/$(GNULIB_ROUNDL)/g' \ | |
1104 | -e 's/@''GNULIB_SIGNBIT''@/$(GNULIB_SIGNBIT)/g' \ | |
35428fb6 | 1105 | -e 's/@''GNULIB_SINF''@/$(GNULIB_SINF)/g' \ |
3d458a81 | 1106 | -e 's/@''GNULIB_SINL''@/$(GNULIB_SINL)/g' \ |
35428fb6 LC |
1107 | -e 's/@''GNULIB_SINHF''@/$(GNULIB_SINHF)/g' \ |
1108 | -e 's/@''GNULIB_SQRTF''@/$(GNULIB_SQRTF)/g' \ | |
3d458a81 | 1109 | -e 's/@''GNULIB_SQRTL''@/$(GNULIB_SQRTL)/g' \ |
35428fb6 | 1110 | -e 's/@''GNULIB_TANF''@/$(GNULIB_TANF)/g' \ |
3d458a81 | 1111 | -e 's/@''GNULIB_TANL''@/$(GNULIB_TANL)/g' \ |
35428fb6 | 1112 | -e 's/@''GNULIB_TANHF''@/$(GNULIB_TANHF)/g' \ |
3d458a81 AW |
1113 | -e 's/@''GNULIB_TRUNC''@/$(GNULIB_TRUNC)/g' \ |
1114 | -e 's/@''GNULIB_TRUNCF''@/$(GNULIB_TRUNCF)/g' \ | |
1115 | -e 's/@''GNULIB_TRUNCL''@/$(GNULIB_TRUNCL)/g' \ | |
005de2e8 | 1116 | | \ |
35428fb6 LC |
1117 | sed -e 's|@''HAVE_ACOSF''@|$(HAVE_ACOSF)|g' \ |
1118 | -e 's|@''HAVE_ACOSL''@|$(HAVE_ACOSL)|g' \ | |
1119 | -e 's|@''HAVE_ASINF''@|$(HAVE_ASINF)|g' \ | |
2e65b52f | 1120 | -e 's|@''HAVE_ASINL''@|$(HAVE_ASINL)|g' \ |
35428fb6 | 1121 | -e 's|@''HAVE_ATANF''@|$(HAVE_ATANF)|g' \ |
2e65b52f | 1122 | -e 's|@''HAVE_ATANL''@|$(HAVE_ATANL)|g' \ |
35428fb6 | 1123 | -e 's|@''HAVE_ATAN2F''@|$(HAVE_ATAN2F)|g' \ |
005de2e8 LC |
1124 | -e 's|@''HAVE_CBRT''@|$(HAVE_CBRT)|g' \ |
1125 | -e 's|@''HAVE_CBRTF''@|$(HAVE_CBRTF)|g' \ | |
1126 | -e 's|@''HAVE_CBRTL''@|$(HAVE_CBRTL)|g' \ | |
35428fb6 | 1127 | -e 's|@''HAVE_COPYSIGN''@|$(HAVE_COPYSIGN)|g' \ |
35428fb6 LC |
1128 | -e 's|@''HAVE_COPYSIGNL''@|$(HAVE_COPYSIGNL)|g' \ |
1129 | -e 's|@''HAVE_COSF''@|$(HAVE_COSF)|g' \ | |
2e65b52f | 1130 | -e 's|@''HAVE_COSL''@|$(HAVE_COSL)|g' \ |
35428fb6 LC |
1131 | -e 's|@''HAVE_COSHF''@|$(HAVE_COSHF)|g' \ |
1132 | -e 's|@''HAVE_EXPF''@|$(HAVE_EXPF)|g' \ | |
2e65b52f | 1133 | -e 's|@''HAVE_EXPL''@|$(HAVE_EXPL)|g' \ |
005de2e8 LC |
1134 | -e 's|@''HAVE_EXPM1''@|$(HAVE_EXPM1)|g' \ |
1135 | -e 's|@''HAVE_EXPM1F''@|$(HAVE_EXPM1F)|g' \ | |
35428fb6 | 1136 | -e 's|@''HAVE_FABSF''@|$(HAVE_FABSF)|g' \ |
005de2e8 | 1137 | -e 's|@''HAVE_FABSL''@|$(HAVE_FABSL)|g' \ |
7f1ea859 LC |
1138 | -e 's|@''HAVE_FMA''@|$(HAVE_FMA)|g' \ |
1139 | -e 's|@''HAVE_FMAF''@|$(HAVE_FMAF)|g' \ | |
1140 | -e 's|@''HAVE_FMAL''@|$(HAVE_FMAL)|g' \ | |
35428fb6 | 1141 | -e 's|@''HAVE_FMODF''@|$(HAVE_FMODF)|g' \ |
005de2e8 | 1142 | -e 's|@''HAVE_FMODL''@|$(HAVE_FMODL)|g' \ |
35428fb6 | 1143 | -e 's|@''HAVE_FREXPF''@|$(HAVE_FREXPF)|g' \ |
005de2e8 LC |
1144 | -e 's|@''HAVE_HYPOTF''@|$(HAVE_HYPOTF)|g' \ |
1145 | -e 's|@''HAVE_HYPOTL''@|$(HAVE_HYPOTL)|g' \ | |
1146 | -e 's|@''HAVE_ILOGB''@|$(HAVE_ILOGB)|g' \ | |
1147 | -e 's|@''HAVE_ILOGBF''@|$(HAVE_ILOGBF)|g' \ | |
1148 | -e 's|@''HAVE_ILOGBL''@|$(HAVE_ILOGBL)|g' \ | |
2e65b52f LC |
1149 | -e 's|@''HAVE_ISNANF''@|$(HAVE_ISNANF)|g' \ |
1150 | -e 's|@''HAVE_ISNAND''@|$(HAVE_ISNAND)|g' \ | |
1151 | -e 's|@''HAVE_ISNANL''@|$(HAVE_ISNANL)|g' \ | |
35428fb6 LC |
1152 | -e 's|@''HAVE_LDEXPF''@|$(HAVE_LDEXPF)|g' \ |
1153 | -e 's|@''HAVE_LOGF''@|$(HAVE_LOGF)|g' \ | |
2e65b52f | 1154 | -e 's|@''HAVE_LOGL''@|$(HAVE_LOGL)|g' \ |
35428fb6 | 1155 | -e 's|@''HAVE_LOG10F''@|$(HAVE_LOG10F)|g' \ |
005de2e8 LC |
1156 | -e 's|@''HAVE_LOG10L''@|$(HAVE_LOG10L)|g' \ |
1157 | -e 's|@''HAVE_LOG1P''@|$(HAVE_LOG1P)|g' \ | |
1158 | -e 's|@''HAVE_LOG1PF''@|$(HAVE_LOG1PF)|g' \ | |
1159 | -e 's|@''HAVE_LOG1PL''@|$(HAVE_LOG1PL)|g' \ | |
1160 | -e 's|@''HAVE_LOGBF''@|$(HAVE_LOGBF)|g' \ | |
1161 | -e 's|@''HAVE_LOGBL''@|$(HAVE_LOGBL)|g' \ | |
35428fb6 | 1162 | -e 's|@''HAVE_MODFF''@|$(HAVE_MODFF)|g' \ |
005de2e8 | 1163 | -e 's|@''HAVE_MODFL''@|$(HAVE_MODFL)|g' \ |
35428fb6 | 1164 | -e 's|@''HAVE_POWF''@|$(HAVE_POWF)|g' \ |
005de2e8 LC |
1165 | -e 's|@''HAVE_REMAINDER''@|$(HAVE_REMAINDER)|g' \ |
1166 | -e 's|@''HAVE_REMAINDERF''@|$(HAVE_REMAINDERF)|g' \ | |
35428fb6 | 1167 | -e 's|@''HAVE_RINT''@|$(HAVE_RINT)|g' \ |
35428fb6 LC |
1168 | -e 's|@''HAVE_RINTL''@|$(HAVE_RINTL)|g' \ |
1169 | -e 's|@''HAVE_SINF''@|$(HAVE_SINF)|g' \ | |
2e65b52f | 1170 | -e 's|@''HAVE_SINL''@|$(HAVE_SINL)|g' \ |
35428fb6 LC |
1171 | -e 's|@''HAVE_SINHF''@|$(HAVE_SINHF)|g' \ |
1172 | -e 's|@''HAVE_SQRTF''@|$(HAVE_SQRTF)|g' \ | |
2e65b52f | 1173 | -e 's|@''HAVE_SQRTL''@|$(HAVE_SQRTL)|g' \ |
35428fb6 | 1174 | -e 's|@''HAVE_TANF''@|$(HAVE_TANF)|g' \ |
2e65b52f | 1175 | -e 's|@''HAVE_TANL''@|$(HAVE_TANL)|g' \ |
35428fb6 | 1176 | -e 's|@''HAVE_TANHF''@|$(HAVE_TANHF)|g' \ |
2e65b52f LC |
1177 | -e 's|@''HAVE_DECL_ACOSL''@|$(HAVE_DECL_ACOSL)|g' \ |
1178 | -e 's|@''HAVE_DECL_ASINL''@|$(HAVE_DECL_ASINL)|g' \ | |
1179 | -e 's|@''HAVE_DECL_ATANL''@|$(HAVE_DECL_ATANL)|g' \ | |
005de2e8 LC |
1180 | -e 's|@''HAVE_DECL_CBRTF''@|$(HAVE_DECL_CBRTF)|g' \ |
1181 | -e 's|@''HAVE_DECL_CBRTL''@|$(HAVE_DECL_CBRTL)|g' \ | |
2e65b52f LC |
1182 | -e 's|@''HAVE_DECL_CEILF''@|$(HAVE_DECL_CEILF)|g' \ |
1183 | -e 's|@''HAVE_DECL_CEILL''@|$(HAVE_DECL_CEILL)|g' \ | |
005de2e8 | 1184 | -e 's|@''HAVE_DECL_COPYSIGNF''@|$(HAVE_DECL_COPYSIGNF)|g' \ |
2e65b52f LC |
1185 | -e 's|@''HAVE_DECL_COSL''@|$(HAVE_DECL_COSL)|g' \ |
1186 | -e 's|@''HAVE_DECL_EXPL''@|$(HAVE_DECL_EXPL)|g' \ | |
005de2e8 LC |
1187 | -e 's|@''HAVE_DECL_EXP2''@|$(HAVE_DECL_EXP2)|g' \ |
1188 | -e 's|@''HAVE_DECL_EXP2F''@|$(HAVE_DECL_EXP2F)|g' \ | |
1189 | -e 's|@''HAVE_DECL_EXP2L''@|$(HAVE_DECL_EXP2L)|g' \ | |
1190 | -e 's|@''HAVE_DECL_EXPM1L''@|$(HAVE_DECL_EXPM1L)|g' \ | |
2e65b52f LC |
1191 | -e 's|@''HAVE_DECL_FLOORF''@|$(HAVE_DECL_FLOORF)|g' \ |
1192 | -e 's|@''HAVE_DECL_FLOORL''@|$(HAVE_DECL_FLOORL)|g' \ | |
1193 | -e 's|@''HAVE_DECL_FREXPL''@|$(HAVE_DECL_FREXPL)|g' \ | |
1194 | -e 's|@''HAVE_DECL_LDEXPL''@|$(HAVE_DECL_LDEXPL)|g' \ | |
2e65b52f | 1195 | -e 's|@''HAVE_DECL_LOGL''@|$(HAVE_DECL_LOGL)|g' \ |
005de2e8 LC |
1196 | -e 's|@''HAVE_DECL_LOG10L''@|$(HAVE_DECL_LOG10L)|g' \ |
1197 | -e 's|@''HAVE_DECL_LOG2''@|$(HAVE_DECL_LOG2)|g' \ | |
1198 | -e 's|@''HAVE_DECL_LOG2F''@|$(HAVE_DECL_LOG2F)|g' \ | |
1199 | -e 's|@''HAVE_DECL_LOG2L''@|$(HAVE_DECL_LOG2L)|g' \ | |
1200 | -e 's|@''HAVE_DECL_LOGB''@|$(HAVE_DECL_LOGB)|g' \ | |
1201 | -e 's|@''HAVE_DECL_REMAINDER''@|$(HAVE_DECL_REMAINDER)|g' \ | |
1202 | -e 's|@''HAVE_DECL_REMAINDERL''@|$(HAVE_DECL_REMAINDERL)|g' \ | |
1203 | -e 's|@''HAVE_DECL_RINTF''@|$(HAVE_DECL_RINTF)|g' \ | |
2e65b52f LC |
1204 | -e 's|@''HAVE_DECL_ROUND''@|$(HAVE_DECL_ROUND)|g' \ |
1205 | -e 's|@''HAVE_DECL_ROUNDF''@|$(HAVE_DECL_ROUNDF)|g' \ | |
1206 | -e 's|@''HAVE_DECL_ROUNDL''@|$(HAVE_DECL_ROUNDL)|g' \ | |
1207 | -e 's|@''HAVE_DECL_SINL''@|$(HAVE_DECL_SINL)|g' \ | |
1208 | -e 's|@''HAVE_DECL_SQRTL''@|$(HAVE_DECL_SQRTL)|g' \ | |
1209 | -e 's|@''HAVE_DECL_TANL''@|$(HAVE_DECL_TANL)|g' \ | |
1210 | -e 's|@''HAVE_DECL_TRUNC''@|$(HAVE_DECL_TRUNC)|g' \ | |
1211 | -e 's|@''HAVE_DECL_TRUNCF''@|$(HAVE_DECL_TRUNCF)|g' \ | |
1212 | -e 's|@''HAVE_DECL_TRUNCL''@|$(HAVE_DECL_TRUNCL)|g' \ | |
49114fd4 | 1213 | | \ |
005de2e8 LC |
1214 | sed -e 's|@''REPLACE_CBRTF''@|$(REPLACE_CBRTF)|g' \ |
1215 | -e 's|@''REPLACE_CBRTL''@|$(REPLACE_CBRTL)|g' \ | |
1216 | -e 's|@''REPLACE_CEIL''@|$(REPLACE_CEIL)|g' \ | |
2e65b52f LC |
1217 | -e 's|@''REPLACE_CEILF''@|$(REPLACE_CEILF)|g' \ |
1218 | -e 's|@''REPLACE_CEILL''@|$(REPLACE_CEILL)|g' \ | |
005de2e8 LC |
1219 | -e 's|@''REPLACE_EXPM1''@|$(REPLACE_EXPM1)|g' \ |
1220 | -e 's|@''REPLACE_EXPM1F''@|$(REPLACE_EXPM1F)|g' \ | |
1221 | -e 's|@''REPLACE_EXP2''@|$(REPLACE_EXP2)|g' \ | |
1222 | -e 's|@''REPLACE_EXP2L''@|$(REPLACE_EXP2L)|g' \ | |
1223 | -e 's|@''REPLACE_FABSL''@|$(REPLACE_FABSL)|g' \ | |
49114fd4 | 1224 | -e 's|@''REPLACE_FLOOR''@|$(REPLACE_FLOOR)|g' \ |
2e65b52f LC |
1225 | -e 's|@''REPLACE_FLOORF''@|$(REPLACE_FLOORF)|g' \ |
1226 | -e 's|@''REPLACE_FLOORL''@|$(REPLACE_FLOORL)|g' \ | |
7f1ea859 LC |
1227 | -e 's|@''REPLACE_FMA''@|$(REPLACE_FMA)|g' \ |
1228 | -e 's|@''REPLACE_FMAF''@|$(REPLACE_FMAF)|g' \ | |
1229 | -e 's|@''REPLACE_FMAL''@|$(REPLACE_FMAL)|g' \ | |
005de2e8 LC |
1230 | -e 's|@''REPLACE_FMOD''@|$(REPLACE_FMOD)|g' \ |
1231 | -e 's|@''REPLACE_FMODF''@|$(REPLACE_FMODF)|g' \ | |
1232 | -e 's|@''REPLACE_FMODL''@|$(REPLACE_FMODL)|g' \ | |
35428fb6 | 1233 | -e 's|@''REPLACE_FREXPF''@|$(REPLACE_FREXPF)|g' \ |
2e65b52f LC |
1234 | -e 's|@''REPLACE_FREXP''@|$(REPLACE_FREXP)|g' \ |
1235 | -e 's|@''REPLACE_FREXPL''@|$(REPLACE_FREXPL)|g' \ | |
1236 | -e 's|@''REPLACE_HUGE_VAL''@|$(REPLACE_HUGE_VAL)|g' \ | |
005de2e8 LC |
1237 | -e 's|@''REPLACE_HYPOT''@|$(REPLACE_HYPOT)|g' \ |
1238 | -e 's|@''REPLACE_HYPOTF''@|$(REPLACE_HYPOTF)|g' \ | |
1239 | -e 's|@''REPLACE_HYPOTL''@|$(REPLACE_HYPOTL)|g' \ | |
1240 | -e 's|@''REPLACE_ILOGB''@|$(REPLACE_ILOGB)|g' \ | |
1241 | -e 's|@''REPLACE_ILOGBF''@|$(REPLACE_ILOGBF)|g' \ | |
2e65b52f LC |
1242 | -e 's|@''REPLACE_ISFINITE''@|$(REPLACE_ISFINITE)|g' \ |
1243 | -e 's|@''REPLACE_ISINF''@|$(REPLACE_ISINF)|g' \ | |
1244 | -e 's|@''REPLACE_ISNAN''@|$(REPLACE_ISNAN)|g' \ | |
35428fb6 | 1245 | -e 's|@''REPLACE_ITOLD''@|$(REPLACE_ITOLD)|g' \ |
2e65b52f | 1246 | -e 's|@''REPLACE_LDEXPL''@|$(REPLACE_LDEXPL)|g' \ |
005de2e8 LC |
1247 | -e 's|@''REPLACE_LOG''@|$(REPLACE_LOG)|g' \ |
1248 | -e 's|@''REPLACE_LOGF''@|$(REPLACE_LOGF)|g' \ | |
1249 | -e 's|@''REPLACE_LOGL''@|$(REPLACE_LOGL)|g' \ | |
1250 | -e 's|@''REPLACE_LOG10''@|$(REPLACE_LOG10)|g' \ | |
1251 | -e 's|@''REPLACE_LOG10F''@|$(REPLACE_LOG10F)|g' \ | |
1252 | -e 's|@''REPLACE_LOG10L''@|$(REPLACE_LOG10L)|g' \ | |
1253 | -e 's|@''REPLACE_LOG1P''@|$(REPLACE_LOG1P)|g' \ | |
1254 | -e 's|@''REPLACE_LOG1PF''@|$(REPLACE_LOG1PF)|g' \ | |
1255 | -e 's|@''REPLACE_LOG1PL''@|$(REPLACE_LOG1PL)|g' \ | |
1256 | -e 's|@''REPLACE_LOG2''@|$(REPLACE_LOG2)|g' \ | |
1257 | -e 's|@''REPLACE_LOG2F''@|$(REPLACE_LOG2F)|g' \ | |
1258 | -e 's|@''REPLACE_LOG2L''@|$(REPLACE_LOG2L)|g' \ | |
1259 | -e 's|@''REPLACE_LOGB''@|$(REPLACE_LOGB)|g' \ | |
1260 | -e 's|@''REPLACE_LOGBF''@|$(REPLACE_LOGBF)|g' \ | |
1261 | -e 's|@''REPLACE_LOGBL''@|$(REPLACE_LOGBL)|g' \ | |
1262 | -e 's|@''REPLACE_MODF''@|$(REPLACE_MODF)|g' \ | |
1263 | -e 's|@''REPLACE_MODFF''@|$(REPLACE_MODFF)|g' \ | |
1264 | -e 's|@''REPLACE_MODFL''@|$(REPLACE_MODFL)|g' \ | |
2e65b52f | 1265 | -e 's|@''REPLACE_NAN''@|$(REPLACE_NAN)|g' \ |
005de2e8 LC |
1266 | -e 's|@''REPLACE_REMAINDER''@|$(REPLACE_REMAINDER)|g' \ |
1267 | -e 's|@''REPLACE_REMAINDERF''@|$(REPLACE_REMAINDERF)|g' \ | |
1268 | -e 's|@''REPLACE_REMAINDERL''@|$(REPLACE_REMAINDERL)|g' \ | |
2e65b52f LC |
1269 | -e 's|@''REPLACE_ROUND''@|$(REPLACE_ROUND)|g' \ |
1270 | -e 's|@''REPLACE_ROUNDF''@|$(REPLACE_ROUNDF)|g' \ | |
1271 | -e 's|@''REPLACE_ROUNDL''@|$(REPLACE_ROUNDL)|g' \ | |
1272 | -e 's|@''REPLACE_SIGNBIT''@|$(REPLACE_SIGNBIT)|g' \ | |
1273 | -e 's|@''REPLACE_SIGNBIT_USING_GCC''@|$(REPLACE_SIGNBIT_USING_GCC)|g' \ | |
005de2e8 | 1274 | -e 's|@''REPLACE_SQRTL''@|$(REPLACE_SQRTL)|g' \ |
49114fd4 LC |
1275 | -e 's|@''REPLACE_TRUNC''@|$(REPLACE_TRUNC)|g' \ |
1276 | -e 's|@''REPLACE_TRUNCF''@|$(REPLACE_TRUNCF)|g' \ | |
2e65b52f LC |
1277 | -e 's|@''REPLACE_TRUNCL''@|$(REPLACE_TRUNCL)|g' \ |
1278 | -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \ | |
1279 | -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \ | |
49114fd4 | 1280 | -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)'; \ |
2e65b52f LC |
1281 | } > $@-t && \ |
1282 | mv $@-t $@ | |
1283 | MOSTLYCLEANFILES += math.h math.h-t | |
1284 | ||
1285 | EXTRA_DIST += math.in.h | |
1286 | ||
1287 | ## end gnulib module math | |
1288 | ||
eb4a14ed LC |
1289 | ## begin gnulib module mbrtowc |
1290 | ||
1291 | ||
1292 | EXTRA_DIST += mbrtowc.c | |
1293 | ||
1294 | EXTRA_libgnu_la_SOURCES += mbrtowc.c | |
1295 | ||
1296 | ## end gnulib module mbrtowc | |
1297 | ||
1298 | ## begin gnulib module mbsinit | |
1299 | ||
1300 | ||
1301 | EXTRA_DIST += mbsinit.c | |
1302 | ||
1303 | EXTRA_libgnu_la_SOURCES += mbsinit.c | |
1304 | ||
1305 | ## end gnulib module mbsinit | |
1306 | ||
1307 | ## begin gnulib module mbtowc | |
1308 | ||
1309 | ||
1310 | EXTRA_DIST += mbtowc-impl.h mbtowc.c | |
1311 | ||
1312 | EXTRA_libgnu_la_SOURCES += mbtowc.c | |
1313 | ||
1314 | ## end gnulib module mbtowc | |
1315 | ||
c4b681fd LC |
1316 | ## begin gnulib module memchr |
1317 | ||
1318 | ||
1319 | EXTRA_DIST += memchr.c memchr.valgrind | |
1320 | ||
1321 | EXTRA_libgnu_la_SOURCES += memchr.c | |
1322 | ||
1323 | ## end gnulib module memchr | |
1324 | ||
35428fb6 LC |
1325 | ## begin gnulib module msvc-inval |
1326 | ||
1327 | ||
1328 | EXTRA_DIST += msvc-inval.c msvc-inval.h | |
1329 | ||
1330 | EXTRA_libgnu_la_SOURCES += msvc-inval.c | |
1331 | ||
1332 | ## end gnulib module msvc-inval | |
1333 | ||
1334 | ## begin gnulib module msvc-nothrow | |
1335 | ||
1336 | ||
1337 | EXTRA_DIST += msvc-nothrow.c msvc-nothrow.h | |
1338 | ||
1339 | EXTRA_libgnu_la_SOURCES += msvc-nothrow.c | |
1340 | ||
1341 | ## end gnulib module msvc-nothrow | |
1342 | ||
61cd9dc9 LC |
1343 | ## begin gnulib module netdb |
1344 | ||
a927b6c1 | 1345 | BUILT_SOURCES += netdb.h |
61cd9dc9 LC |
1346 | |
1347 | # We need the following in order to create <netdb.h> when the system | |
1348 | # doesn't have one that works with the given compiler. | |
3d458a81 | 1349 | netdb.h: netdb.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H) |
61cd9dc9 LC |
1350 | $(AM_V_GEN)rm -f $@-t $@ && \ |
1351 | { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ | |
3d458a81 AW |
1352 | sed -e 's|@''GUARD_PREFIX''@|GL|g' \ |
1353 | -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ | |
61cd9dc9 | 1354 | -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ |
0f00f2c3 | 1355 | -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ |
61cd9dc9 LC |
1356 | -e 's|@''NEXT_NETDB_H''@|$(NEXT_NETDB_H)|g' \ |
1357 | -e 's|@''HAVE_NETDB_H''@|$(HAVE_NETDB_H)|g' \ | |
3d458a81 | 1358 | -e 's/@''GNULIB_GETADDRINFO''@/$(GNULIB_GETADDRINFO)/g' \ |
61cd9dc9 LC |
1359 | -e 's|@''HAVE_STRUCT_ADDRINFO''@|$(HAVE_STRUCT_ADDRINFO)|g' \ |
1360 | -e 's|@''HAVE_DECL_FREEADDRINFO''@|$(HAVE_DECL_FREEADDRINFO)|g' \ | |
1361 | -e 's|@''HAVE_DECL_GAI_STRERROR''@|$(HAVE_DECL_GAI_STRERROR)|g' \ | |
1362 | -e 's|@''HAVE_DECL_GETADDRINFO''@|$(HAVE_DECL_GETADDRINFO)|g' \ | |
1363 | -e 's|@''HAVE_DECL_GETNAMEINFO''@|$(HAVE_DECL_GETNAMEINFO)|g' \ | |
3d458a81 AW |
1364 | -e 's|@''REPLACE_GAI_STRERROR''@|$(REPLACE_GAI_STRERROR)|g' \ |
1365 | -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \ | |
61cd9dc9 | 1366 | -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \ |
a927b6c1 | 1367 | -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \ |
61cd9dc9 LC |
1368 | < $(srcdir)/netdb.in.h; \ |
1369 | } > $@-t && \ | |
1370 | mv $@-t $@ | |
1371 | MOSTLYCLEANFILES += netdb.h netdb.h-t | |
1372 | ||
1373 | EXTRA_DIST += netdb.in.h | |
1374 | ||
1375 | ## end gnulib module netdb | |
1376 | ||
8912421c LC |
1377 | ## begin gnulib module netinet_in |
1378 | ||
1379 | BUILT_SOURCES += $(NETINET_IN_H) | |
1380 | ||
1381 | # We need the following in order to create <netinet/in.h> when the system | |
1382 | # doesn't have one. | |
dd7d0148 LC |
1383 | if GL_GENERATE_NETINET_IN_H |
1384 | netinet/in.h: netinet_in.in.h $(top_builddir)/config.status | |
8912421c LC |
1385 | $(AM_V_at)$(MKDIR_P) netinet |
1386 | $(AM_V_GEN)rm -f $@-t $@ && \ | |
1387 | { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ | |
3d458a81 AW |
1388 | sed -e 's|@''GUARD_PREFIX''@|GL|g' \ |
1389 | -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ | |
8912421c | 1390 | -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ |
0f00f2c3 | 1391 | -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ |
8912421c LC |
1392 | -e 's|@''NEXT_NETINET_IN_H''@|$(NEXT_NETINET_IN_H)|g' \ |
1393 | -e 's|@''HAVE_NETINET_IN_H''@|$(HAVE_NETINET_IN_H)|g' \ | |
1394 | < $(srcdir)/netinet_in.in.h; \ | |
1395 | } > $@-t && \ | |
1396 | mv $@-t $@ | |
dd7d0148 LC |
1397 | else |
1398 | netinet/in.h: $(top_builddir)/config.status | |
1399 | rm -f $@ | |
1400 | endif | |
8912421c LC |
1401 | MOSTLYCLEANFILES += netinet/in.h netinet/in.h-t |
1402 | MOSTLYCLEANDIRS += netinet | |
1403 | ||
1404 | EXTRA_DIST += netinet_in.in.h | |
1405 | ||
1406 | ## end gnulib module netinet_in | |
1407 | ||
eb4a14ed LC |
1408 | ## begin gnulib module nl_langinfo |
1409 | ||
1410 | ||
1411 | EXTRA_DIST += nl_langinfo.c | |
1412 | ||
1413 | EXTRA_libgnu_la_SOURCES += nl_langinfo.c | |
1414 | ||
1415 | ## end gnulib module nl_langinfo | |
1416 | ||
0f00f2c3 LC |
1417 | ## begin gnulib module nproc |
1418 | ||
1419 | libgnu_la_SOURCES += nproc.c | |
1420 | ||
1421 | EXTRA_DIST += nproc.h | |
1422 | ||
1423 | ## end gnulib module nproc | |
1424 | ||
3d458a81 AW |
1425 | ## begin gnulib module open |
1426 | ||
1427 | ||
1428 | EXTRA_DIST += open.c | |
1429 | ||
1430 | EXTRA_libgnu_la_SOURCES += open.c | |
1431 | ||
1432 | ## end gnulib module open | |
1433 | ||
ffca4c22 AW |
1434 | ## begin gnulib module pathmax |
1435 | ||
1436 | ||
1437 | EXTRA_DIST += pathmax.h | |
1438 | ||
1439 | ## end gnulib module pathmax | |
1440 | ||
3d458a81 AW |
1441 | ## begin gnulib module pipe2 |
1442 | ||
1443 | libgnu_la_SOURCES += pipe2.c | |
1444 | ||
1445 | ## end gnulib module pipe2 | |
1446 | ||
f240aacb LC |
1447 | ## begin gnulib module putenv |
1448 | ||
1449 | ||
1450 | EXTRA_DIST += putenv.c | |
1451 | ||
1452 | EXTRA_libgnu_la_SOURCES += putenv.c | |
1453 | ||
1454 | ## end gnulib module putenv | |
1455 | ||
35428fb6 LC |
1456 | ## begin gnulib module raise |
1457 | ||
1458 | ||
1459 | EXTRA_DIST += raise.c | |
1460 | ||
1461 | EXTRA_libgnu_la_SOURCES += raise.c | |
1462 | ||
1463 | ## end gnulib module raise | |
1464 | ||
dd7d0148 LC |
1465 | ## begin gnulib module read |
1466 | ||
1467 | ||
1468 | EXTRA_DIST += read.c | |
1469 | ||
1470 | EXTRA_libgnu_la_SOURCES += read.c | |
1471 | ||
1472 | ## end gnulib module read | |
1473 | ||
ffca4c22 AW |
1474 | ## begin gnulib module readlink |
1475 | ||
1476 | ||
1477 | EXTRA_DIST += readlink.c | |
1478 | ||
1479 | EXTRA_libgnu_la_SOURCES += readlink.c | |
1480 | ||
1481 | ## end gnulib module readlink | |
1482 | ||
49114fd4 LC |
1483 | ## begin gnulib module recv |
1484 | ||
1485 | ||
1486 | EXTRA_DIST += recv.c w32sock.h | |
1487 | ||
1488 | EXTRA_libgnu_la_SOURCES += recv.c | |
1489 | ||
1490 | ## end gnulib module recv | |
1491 | ||
1492 | ## begin gnulib module recvfrom | |
1493 | ||
1494 | ||
1495 | EXTRA_DIST += recvfrom.c w32sock.h | |
1496 | ||
1497 | EXTRA_libgnu_la_SOURCES += recvfrom.c | |
1498 | ||
1499 | ## end gnulib module recvfrom | |
1500 | ||
eb4a14ed LC |
1501 | ## begin gnulib module regex |
1502 | ||
1503 | ||
1504 | EXTRA_DIST += regcomp.c regex.c regex.h regex_internal.c regex_internal.h regexec.c | |
1505 | ||
1506 | EXTRA_libgnu_la_SOURCES += regcomp.c regex.c regex_internal.c regexec.c | |
1507 | ||
1508 | ## end gnulib module regex | |
1509 | ||
a67f2fce AW |
1510 | ## begin gnulib module rename |
1511 | ||
1512 | ||
1513 | EXTRA_DIST += rename.c | |
1514 | ||
1515 | EXTRA_libgnu_la_SOURCES += rename.c | |
1516 | ||
1517 | ## end gnulib module rename | |
1518 | ||
1519 | ## begin gnulib module rmdir | |
1520 | ||
1521 | ||
1522 | EXTRA_DIST += rmdir.c | |
1523 | ||
1524 | EXTRA_libgnu_la_SOURCES += rmdir.c | |
1525 | ||
1526 | ## end gnulib module rmdir | |
1527 | ||
005de2e8 LC |
1528 | ## begin gnulib module round |
1529 | ||
1530 | ||
1531 | EXTRA_DIST += round.c | |
1532 | ||
1533 | EXTRA_libgnu_la_SOURCES += round.c | |
1534 | ||
1535 | ## end gnulib module round | |
1536 | ||
9b36a80c LC |
1537 | ## begin gnulib module safe-read |
1538 | ||
3d458a81 | 1539 | libgnu_la_SOURCES += safe-read.c |
9b36a80c | 1540 | |
3d458a81 | 1541 | EXTRA_DIST += safe-read.h |
9b36a80c LC |
1542 | |
1543 | ## end gnulib module safe-read | |
1544 | ||
1545 | ## begin gnulib module safe-write | |
1546 | ||
3d458a81 | 1547 | libgnu_la_SOURCES += safe-write.c |
9b36a80c | 1548 | |
3d458a81 | 1549 | EXTRA_DIST += safe-read.c safe-write.h |
9b36a80c | 1550 | |
3d458a81 | 1551 | EXTRA_libgnu_la_SOURCES += safe-read.c |
9b36a80c LC |
1552 | |
1553 | ## end gnulib module safe-write | |
1554 | ||
a67f2fce AW |
1555 | ## begin gnulib module same-inode |
1556 | ||
1557 | ||
1558 | EXTRA_DIST += same-inode.h | |
1559 | ||
1560 | ## end gnulib module same-inode | |
1561 | ||
49114fd4 LC |
1562 | ## begin gnulib module send |
1563 | ||
1564 | ||
1565 | EXTRA_DIST += send.c w32sock.h | |
1566 | ||
1567 | EXTRA_libgnu_la_SOURCES += send.c | |
1568 | ||
1569 | ## end gnulib module send | |
1570 | ||
1571 | ## begin gnulib module sendto | |
1572 | ||
1573 | ||
1574 | EXTRA_DIST += sendto.c w32sock.h | |
1575 | ||
1576 | EXTRA_libgnu_la_SOURCES += sendto.c | |
1577 | ||
1578 | ## end gnulib module sendto | |
1579 | ||
40fb4e31 LC |
1580 | ## begin gnulib module setenv |
1581 | ||
1582 | ||
1583 | EXTRA_DIST += setenv.c | |
1584 | ||
1585 | EXTRA_libgnu_la_SOURCES += setenv.c | |
1586 | ||
1587 | ## end gnulib module setenv | |
1588 | ||
49114fd4 LC |
1589 | ## begin gnulib module setsockopt |
1590 | ||
1591 | ||
1592 | EXTRA_DIST += setsockopt.c w32sock.h | |
1593 | ||
1594 | EXTRA_libgnu_la_SOURCES += setsockopt.c | |
1595 | ||
1596 | ## end gnulib module setsockopt | |
1597 | ||
1598 | ## begin gnulib module shutdown | |
1599 | ||
1600 | ||
1601 | EXTRA_DIST += shutdown.c w32sock.h | |
1602 | ||
1603 | EXTRA_libgnu_la_SOURCES += shutdown.c | |
1604 | ||
1605 | ## end gnulib module shutdown | |
1606 | ||
35428fb6 LC |
1607 | ## begin gnulib module signal-h |
1608 | ||
1609 | BUILT_SOURCES += signal.h | |
1610 | ||
1611 | # We need the following in order to create <signal.h> when the system | |
1612 | # doesn't have a complete one. | |
1613 | signal.h: signal.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H) | |
1614 | $(AM_V_GEN)rm -f $@-t $@ && \ | |
1615 | { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \ | |
1616 | sed -e 's|@''GUARD_PREFIX''@|GL|g' \ | |
1617 | -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ | |
1618 | -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ | |
1619 | -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ | |
1620 | -e 's|@''NEXT_SIGNAL_H''@|$(NEXT_SIGNAL_H)|g' \ | |
1621 | -e 's|@''GNULIB_PTHREAD_SIGMASK''@|$(GNULIB_PTHREAD_SIGMASK)|g' \ | |
1622 | -e 's|@''GNULIB_RAISE''@|$(GNULIB_RAISE)|g' \ | |
1623 | -e 's/@''GNULIB_SIGNAL_H_SIGPIPE''@/$(GNULIB_SIGNAL_H_SIGPIPE)/g' \ | |
1624 | -e 's/@''GNULIB_SIGPROCMASK''@/$(GNULIB_SIGPROCMASK)/g' \ | |
1625 | -e 's/@''GNULIB_SIGACTION''@/$(GNULIB_SIGACTION)/g' \ | |
1626 | -e 's|@''HAVE_POSIX_SIGNALBLOCKING''@|$(HAVE_POSIX_SIGNALBLOCKING)|g' \ | |
1627 | -e 's|@''HAVE_PTHREAD_SIGMASK''@|$(HAVE_PTHREAD_SIGMASK)|g' \ | |
1628 | -e 's|@''HAVE_RAISE''@|$(HAVE_RAISE)|g' \ | |
1629 | -e 's|@''HAVE_SIGSET_T''@|$(HAVE_SIGSET_T)|g' \ | |
1630 | -e 's|@''HAVE_SIGINFO_T''@|$(HAVE_SIGINFO_T)|g' \ | |
1631 | -e 's|@''HAVE_SIGACTION''@|$(HAVE_SIGACTION)|g' \ | |
1632 | -e 's|@''HAVE_STRUCT_SIGACTION_SA_SIGACTION''@|$(HAVE_STRUCT_SIGACTION_SA_SIGACTION)|g' \ | |
1633 | -e 's|@''HAVE_TYPE_VOLATILE_SIG_ATOMIC_T''@|$(HAVE_TYPE_VOLATILE_SIG_ATOMIC_T)|g' \ | |
1634 | -e 's|@''HAVE_SIGHANDLER_T''@|$(HAVE_SIGHANDLER_T)|g' \ | |
1635 | -e 's|@''REPLACE_PTHREAD_SIGMASK''@|$(REPLACE_PTHREAD_SIGMASK)|g' \ | |
1636 | -e 's|@''REPLACE_RAISE''@|$(REPLACE_RAISE)|g' \ | |
1637 | -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \ | |
1638 | -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \ | |
1639 | -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \ | |
1640 | < $(srcdir)/signal.in.h; \ | |
1641 | } > $@-t && \ | |
1642 | mv $@-t $@ | |
1643 | MOSTLYCLEANFILES += signal.h signal.h-t | |
1644 | ||
1645 | EXTRA_DIST += signal.in.h | |
1646 | ||
1647 | ## end gnulib module signal-h | |
1648 | ||
c4b681fd LC |
1649 | ## begin gnulib module size_max |
1650 | ||
1651 | libgnu_la_SOURCES += size_max.h | |
1652 | ||
1653 | ## end gnulib module size_max | |
1654 | ||
35428fb6 LC |
1655 | ## begin gnulib module snippet/_Noreturn |
1656 | ||
1657 | # Because this Makefile snippet defines a variable used by other | |
1658 | # gnulib Makefile snippets, it must be present in all Makefile.am that | |
1659 | # need it. This is ensured by the applicability 'all' defined above. | |
1660 | ||
1661 | _NORETURN_H=$(top_srcdir)/build-aux/snippet/_Noreturn.h | |
1662 | ||
1663 | EXTRA_DIST += $(top_srcdir)/build-aux/snippet/_Noreturn.h | |
1664 | ||
1665 | ## end gnulib module snippet/_Noreturn | |
1666 | ||
1667 | ## begin gnulib module snippet/arg-nonnull | |
1668 | ||
1669 | # The BUILT_SOURCES created by this Makefile snippet are not used via #include | |
1670 | # statements but through direct file reference. Therefore this snippet must be | |
1671 | # present in all Makefile.am that need it. This is ensured by the applicability | |
1672 | # 'all' defined above. | |
1673 | ||
1674 | BUILT_SOURCES += arg-nonnull.h | |
1675 | # The arg-nonnull.h that gets inserted into generated .h files is the same as | |
1676 | # build-aux/snippet/arg-nonnull.h, except that it has the copyright header cut | |
1677 | # off. | |
1678 | arg-nonnull.h: $(top_srcdir)/build-aux/snippet/arg-nonnull.h | |
1679 | $(AM_V_GEN)rm -f $@-t $@ && \ | |
1680 | sed -n -e '/GL_ARG_NONNULL/,$$p' \ | |
1681 | < $(top_srcdir)/build-aux/snippet/arg-nonnull.h \ | |
1682 | > $@-t && \ | |
1683 | mv $@-t $@ | |
1684 | MOSTLYCLEANFILES += arg-nonnull.h arg-nonnull.h-t | |
1685 | ||
1686 | ARG_NONNULL_H=arg-nonnull.h | |
1687 | ||
1688 | EXTRA_DIST += $(top_srcdir)/build-aux/snippet/arg-nonnull.h | |
1689 | ||
1690 | ## end gnulib module snippet/arg-nonnull | |
1691 | ||
1692 | ## begin gnulib module snippet/c++defs | |
1693 | ||
1694 | # The BUILT_SOURCES created by this Makefile snippet are not used via #include | |
1695 | # statements but through direct file reference. Therefore this snippet must be | |
1696 | # present in all Makefile.am that need it. This is ensured by the applicability | |
1697 | # 'all' defined above. | |
1698 | ||
1699 | BUILT_SOURCES += c++defs.h | |
1700 | # The c++defs.h that gets inserted into generated .h files is the same as | |
1701 | # build-aux/snippet/c++defs.h, except that it has the copyright header cut off. | |
1702 | c++defs.h: $(top_srcdir)/build-aux/snippet/c++defs.h | |
1703 | $(AM_V_GEN)rm -f $@-t $@ && \ | |
1704 | sed -n -e '/_GL_CXXDEFS/,$$p' \ | |
1705 | < $(top_srcdir)/build-aux/snippet/c++defs.h \ | |
1706 | > $@-t && \ | |
1707 | mv $@-t $@ | |
1708 | MOSTLYCLEANFILES += c++defs.h c++defs.h-t | |
1709 | ||
1710 | CXXDEFS_H=c++defs.h | |
1711 | ||
1712 | EXTRA_DIST += $(top_srcdir)/build-aux/snippet/c++defs.h | |
1713 | ||
1714 | ## end gnulib module snippet/c++defs | |
1715 | ||
1716 | ## begin gnulib module snippet/unused-parameter | |
1717 | ||
1718 | # The BUILT_SOURCES created by this Makefile snippet are not used via #include | |
1719 | # statements but through direct file reference. Therefore this snippet must be | |
1720 | # present in all Makefile.am that need it. This is ensured by the applicability | |
1721 | # 'all' defined above. | |
1722 | ||
1723 | BUILT_SOURCES += unused-parameter.h | |
1724 | # The unused-parameter.h that gets inserted into generated .h files is the same | |
1725 | # as build-aux/snippet/unused-parameter.h, except that it has the copyright | |
1726 | # header cut off. | |
1727 | unused-parameter.h: $(top_srcdir)/build-aux/snippet/unused-parameter.h | |
1728 | $(AM_V_GEN)rm -f $@-t $@ && \ | |
1729 | sed -n -e '/GL_UNUSED_PARAMETER/,$$p' \ | |
1730 | < $(top_srcdir)/build-aux/snippet/unused-parameter.h \ | |
1731 | > $@-t && \ | |
1732 | mv $@-t $@ | |
1733 | MOSTLYCLEANFILES += unused-parameter.h unused-parameter.h-t | |
1734 | ||
1735 | UNUSED_PARAMETER_H=unused-parameter.h | |
1736 | ||
1737 | EXTRA_DIST += $(top_srcdir)/build-aux/snippet/unused-parameter.h | |
1738 | ||
1739 | ## end gnulib module snippet/unused-parameter | |
1740 | ||
1741 | ## begin gnulib module snippet/warn-on-use | |
1742 | ||
1743 | BUILT_SOURCES += warn-on-use.h | |
1744 | # The warn-on-use.h that gets inserted into generated .h files is the same as | |
1745 | # build-aux/snippet/warn-on-use.h, except that it has the copyright header cut | |
1746 | # off. | |
1747 | warn-on-use.h: $(top_srcdir)/build-aux/snippet/warn-on-use.h | |
1748 | $(AM_V_GEN)rm -f $@-t $@ && \ | |
1749 | sed -n -e '/^.ifndef/,$$p' \ | |
1750 | < $(top_srcdir)/build-aux/snippet/warn-on-use.h \ | |
1751 | > $@-t && \ | |
1752 | mv $@-t $@ | |
1753 | MOSTLYCLEANFILES += warn-on-use.h warn-on-use.h-t | |
1754 | ||
1755 | WARN_ON_USE_H=warn-on-use.h | |
1756 | ||
1757 | EXTRA_DIST += $(top_srcdir)/build-aux/snippet/warn-on-use.h | |
1758 | ||
1759 | ## end gnulib module snippet/warn-on-use | |
1760 | ||
61cd9dc9 LC |
1761 | ## begin gnulib module snprintf |
1762 | ||
1763 | ||
1764 | EXTRA_DIST += snprintf.c | |
1765 | ||
1766 | EXTRA_libgnu_la_SOURCES += snprintf.c | |
1767 | ||
1768 | ## end gnulib module snprintf | |
1769 | ||
49114fd4 LC |
1770 | ## begin gnulib module socket |
1771 | ||
1772 | ||
1773 | EXTRA_DIST += socket.c w32sock.h | |
1774 | ||
1775 | EXTRA_libgnu_la_SOURCES += socket.c | |
1776 | ||
1777 | ## end gnulib module socket | |
1778 | ||
0f00f2c3 LC |
1779 | ## begin gnulib module sockets |
1780 | ||
1781 | libgnu_la_SOURCES += sockets.h sockets.c | |
1782 | ||
1783 | EXTRA_DIST += w32sock.h | |
1784 | ||
1785 | ## end gnulib module sockets | |
1786 | ||
8912421c LC |
1787 | ## begin gnulib module stat |
1788 | ||
1789 | ||
1790 | EXTRA_DIST += stat.c | |
1791 | ||
1792 | EXTRA_libgnu_la_SOURCES += stat.c | |
1793 | ||
1794 | ## end gnulib module stat | |
1795 | ||
9157d901 LC |
1796 | ## begin gnulib module stat-time |
1797 | ||
1798 | ||
1799 | EXTRA_DIST += stat-time.h | |
1800 | ||
1801 | ## end gnulib module stat-time | |
1802 | ||
7f1ea859 LC |
1803 | ## begin gnulib module stdalign |
1804 | ||
1805 | BUILT_SOURCES += $(STDALIGN_H) | |
1806 | ||
1807 | # We need the following in order to create <stdalign.h> when the system | |
1808 | # doesn't have one that works. | |
1809 | if GL_GENERATE_STDALIGN_H | |
1810 | stdalign.h: stdalign.in.h $(top_builddir)/config.status | |
1811 | $(AM_V_GEN)rm -f $@-t $@ && \ | |
1812 | { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ | |
1813 | cat $(srcdir)/stdalign.in.h; \ | |
1814 | } > $@-t && \ | |
1815 | mv $@-t $@ | |
1816 | else | |
1817 | stdalign.h: $(top_builddir)/config.status | |
1818 | rm -f $@ | |
1819 | endif | |
1820 | MOSTLYCLEANFILES += stdalign.h stdalign.h-t | |
1821 | ||
1822 | EXTRA_DIST += stdalign.in.h | |
1823 | ||
1824 | ## end gnulib module stdalign | |
1825 | ||
e65fc94b LC |
1826 | ## begin gnulib module stdbool |
1827 | ||
1828 | BUILT_SOURCES += $(STDBOOL_H) | |
1829 | ||
1830 | # We need the following in order to create <stdbool.h> when the system | |
1831 | # doesn't have one that works. | |
dd7d0148 LC |
1832 | if GL_GENERATE_STDBOOL_H |
1833 | stdbool.h: stdbool.in.h $(top_builddir)/config.status | |
8912421c | 1834 | $(AM_V_GEN)rm -f $@-t $@ && \ |
e65fc94b LC |
1835 | { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ |
1836 | sed -e 's/@''HAVE__BOOL''@/$(HAVE__BOOL)/g' < $(srcdir)/stdbool.in.h; \ | |
8912421c | 1837 | } > $@-t && \ |
e65fc94b | 1838 | mv $@-t $@ |
dd7d0148 LC |
1839 | else |
1840 | stdbool.h: $(top_builddir)/config.status | |
1841 | rm -f $@ | |
1842 | endif | |
e65fc94b LC |
1843 | MOSTLYCLEANFILES += stdbool.h stdbool.h-t |
1844 | ||
1845 | EXTRA_DIST += stdbool.in.h | |
1846 | ||
1847 | ## end gnulib module stdbool | |
1848 | ||
8912421c LC |
1849 | ## begin gnulib module stddef |
1850 | ||
1851 | BUILT_SOURCES += $(STDDEF_H) | |
1852 | ||
1853 | # We need the following in order to create <stddef.h> when the system | |
1854 | # doesn't have one that works with the given compiler. | |
dd7d0148 LC |
1855 | if GL_GENERATE_STDDEF_H |
1856 | stddef.h: stddef.in.h $(top_builddir)/config.status | |
8912421c LC |
1857 | $(AM_V_GEN)rm -f $@-t $@ && \ |
1858 | { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \ | |
3d458a81 AW |
1859 | sed -e 's|@''GUARD_PREFIX''@|GL|g' \ |
1860 | -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ | |
8912421c | 1861 | -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ |
0f00f2c3 | 1862 | -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ |
8912421c LC |
1863 | -e 's|@''NEXT_STDDEF_H''@|$(NEXT_STDDEF_H)|g' \ |
1864 | -e 's|@''HAVE_WCHAR_T''@|$(HAVE_WCHAR_T)|g' \ | |
1865 | -e 's|@''REPLACE_NULL''@|$(REPLACE_NULL)|g' \ | |
1866 | < $(srcdir)/stddef.in.h; \ | |
1867 | } > $@-t && \ | |
1868 | mv $@-t $@ | |
dd7d0148 LC |
1869 | else |
1870 | stddef.h: $(top_builddir)/config.status | |
1871 | rm -f $@ | |
1872 | endif | |
8912421c LC |
1873 | MOSTLYCLEANFILES += stddef.h stddef.h-t |
1874 | ||
1875 | EXTRA_DIST += stddef.in.h | |
1876 | ||
1877 | ## end gnulib module stddef | |
1878 | ||
f240aacb LC |
1879 | ## begin gnulib module stdint |
1880 | ||
1881 | BUILT_SOURCES += $(STDINT_H) | |
1882 | ||
1883 | # We need the following in order to create <stdint.h> when the system | |
1884 | # doesn't have one that works with the given compiler. | |
dd7d0148 LC |
1885 | if GL_GENERATE_STDINT_H |
1886 | stdint.h: stdint.in.h $(top_builddir)/config.status | |
8912421c | 1887 | $(AM_V_GEN)rm -f $@-t $@ && \ |
f240aacb | 1888 | { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ |
3d458a81 AW |
1889 | sed -e 's|@''GUARD_PREFIX''@|GL|g' \ |
1890 | -e 's/@''HAVE_STDINT_H''@/$(HAVE_STDINT_H)/g' \ | |
f240aacb LC |
1891 | -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ |
1892 | -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ | |
0f00f2c3 | 1893 | -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ |
f240aacb LC |
1894 | -e 's|@''NEXT_STDINT_H''@|$(NEXT_STDINT_H)|g' \ |
1895 | -e 's/@''HAVE_SYS_TYPES_H''@/$(HAVE_SYS_TYPES_H)/g' \ | |
1896 | -e 's/@''HAVE_INTTYPES_H''@/$(HAVE_INTTYPES_H)/g' \ | |
1897 | -e 's/@''HAVE_SYS_INTTYPES_H''@/$(HAVE_SYS_INTTYPES_H)/g' \ | |
1898 | -e 's/@''HAVE_SYS_BITYPES_H''@/$(HAVE_SYS_BITYPES_H)/g' \ | |
dd36ce77 | 1899 | -e 's/@''HAVE_WCHAR_H''@/$(HAVE_WCHAR_H)/g' \ |
f240aacb LC |
1900 | -e 's/@''HAVE_LONG_LONG_INT''@/$(HAVE_LONG_LONG_INT)/g' \ |
1901 | -e 's/@''HAVE_UNSIGNED_LONG_LONG_INT''@/$(HAVE_UNSIGNED_LONG_LONG_INT)/g' \ | |
1902 | -e 's/@''APPLE_UNIVERSAL_BUILD''@/$(APPLE_UNIVERSAL_BUILD)/g' \ | |
1903 | -e 's/@''BITSIZEOF_PTRDIFF_T''@/$(BITSIZEOF_PTRDIFF_T)/g' \ | |
1904 | -e 's/@''PTRDIFF_T_SUFFIX''@/$(PTRDIFF_T_SUFFIX)/g' \ | |
1905 | -e 's/@''BITSIZEOF_SIG_ATOMIC_T''@/$(BITSIZEOF_SIG_ATOMIC_T)/g' \ | |
1906 | -e 's/@''HAVE_SIGNED_SIG_ATOMIC_T''@/$(HAVE_SIGNED_SIG_ATOMIC_T)/g' \ | |
1907 | -e 's/@''SIG_ATOMIC_T_SUFFIX''@/$(SIG_ATOMIC_T_SUFFIX)/g' \ | |
1908 | -e 's/@''BITSIZEOF_SIZE_T''@/$(BITSIZEOF_SIZE_T)/g' \ | |
1909 | -e 's/@''SIZE_T_SUFFIX''@/$(SIZE_T_SUFFIX)/g' \ | |
1910 | -e 's/@''BITSIZEOF_WCHAR_T''@/$(BITSIZEOF_WCHAR_T)/g' \ | |
1911 | -e 's/@''HAVE_SIGNED_WCHAR_T''@/$(HAVE_SIGNED_WCHAR_T)/g' \ | |
1912 | -e 's/@''WCHAR_T_SUFFIX''@/$(WCHAR_T_SUFFIX)/g' \ | |
1913 | -e 's/@''BITSIZEOF_WINT_T''@/$(BITSIZEOF_WINT_T)/g' \ | |
1914 | -e 's/@''HAVE_SIGNED_WINT_T''@/$(HAVE_SIGNED_WINT_T)/g' \ | |
1915 | -e 's/@''WINT_T_SUFFIX''@/$(WINT_T_SUFFIX)/g' \ | |
1916 | < $(srcdir)/stdint.in.h; \ | |
8912421c | 1917 | } > $@-t && \ |
f240aacb | 1918 | mv $@-t $@ |
dd7d0148 LC |
1919 | else |
1920 | stdint.h: $(top_builddir)/config.status | |
1921 | rm -f $@ | |
1922 | endif | |
f240aacb LC |
1923 | MOSTLYCLEANFILES += stdint.h stdint.h-t |
1924 | ||
1925 | EXTRA_DIST += stdint.in.h | |
1926 | ||
1927 | ## end gnulib module stdint | |
1928 | ||
c4b681fd LC |
1929 | ## begin gnulib module stdio |
1930 | ||
1931 | BUILT_SOURCES += stdio.h | |
1932 | ||
1933 | # We need the following in order to create <stdio.h> when the system | |
1934 | # doesn't have one that works with the given compiler. | |
dd7d0148 | 1935 | stdio.h: stdio.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H) |
8912421c | 1936 | $(AM_V_GEN)rm -f $@-t $@ && \ |
c4b681fd | 1937 | { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \ |
3d458a81 AW |
1938 | sed -e 's|@''GUARD_PREFIX''@|GL|g' \ |
1939 | -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ | |
c4b681fd | 1940 | -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ |
0f00f2c3 | 1941 | -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ |
c4b681fd | 1942 | -e 's|@''NEXT_STDIO_H''@|$(NEXT_STDIO_H)|g' \ |
3d458a81 AW |
1943 | -e 's/@''GNULIB_DPRINTF''@/$(GNULIB_DPRINTF)/g' \ |
1944 | -e 's/@''GNULIB_FCLOSE''@/$(GNULIB_FCLOSE)/g' \ | |
35428fb6 | 1945 | -e 's/@''GNULIB_FDOPEN''@/$(GNULIB_FDOPEN)/g' \ |
3d458a81 AW |
1946 | -e 's/@''GNULIB_FFLUSH''@/$(GNULIB_FFLUSH)/g' \ |
1947 | -e 's/@''GNULIB_FGETC''@/$(GNULIB_FGETC)/g' \ | |
1948 | -e 's/@''GNULIB_FGETS''@/$(GNULIB_FGETS)/g' \ | |
1949 | -e 's/@''GNULIB_FOPEN''@/$(GNULIB_FOPEN)/g' \ | |
1950 | -e 's/@''GNULIB_FPRINTF''@/$(GNULIB_FPRINTF)/g' \ | |
1951 | -e 's/@''GNULIB_FPRINTF_POSIX''@/$(GNULIB_FPRINTF_POSIX)/g' \ | |
1952 | -e 's/@''GNULIB_FPURGE''@/$(GNULIB_FPURGE)/g' \ | |
1953 | -e 's/@''GNULIB_FPUTC''@/$(GNULIB_FPUTC)/g' \ | |
1954 | -e 's/@''GNULIB_FPUTS''@/$(GNULIB_FPUTS)/g' \ | |
1955 | -e 's/@''GNULIB_FREAD''@/$(GNULIB_FREAD)/g' \ | |
1956 | -e 's/@''GNULIB_FREOPEN''@/$(GNULIB_FREOPEN)/g' \ | |
1957 | -e 's/@''GNULIB_FSCANF''@/$(GNULIB_FSCANF)/g' \ | |
1958 | -e 's/@''GNULIB_FSEEK''@/$(GNULIB_FSEEK)/g' \ | |
1959 | -e 's/@''GNULIB_FSEEKO''@/$(GNULIB_FSEEKO)/g' \ | |
1960 | -e 's/@''GNULIB_FTELL''@/$(GNULIB_FTELL)/g' \ | |
1961 | -e 's/@''GNULIB_FTELLO''@/$(GNULIB_FTELLO)/g' \ | |
1962 | -e 's/@''GNULIB_FWRITE''@/$(GNULIB_FWRITE)/g' \ | |
1963 | -e 's/@''GNULIB_GETC''@/$(GNULIB_GETC)/g' \ | |
1964 | -e 's/@''GNULIB_GETCHAR''@/$(GNULIB_GETCHAR)/g' \ | |
1965 | -e 's/@''GNULIB_GETDELIM''@/$(GNULIB_GETDELIM)/g' \ | |
1966 | -e 's/@''GNULIB_GETLINE''@/$(GNULIB_GETLINE)/g' \ | |
3d458a81 AW |
1967 | -e 's/@''GNULIB_OBSTACK_PRINTF''@/$(GNULIB_OBSTACK_PRINTF)/g' \ |
1968 | -e 's/@''GNULIB_OBSTACK_PRINTF_POSIX''@/$(GNULIB_OBSTACK_PRINTF_POSIX)/g' \ | |
35428fb6 | 1969 | -e 's/@''GNULIB_PCLOSE''@/$(GNULIB_PCLOSE)/g' \ |
3d458a81 AW |
1970 | -e 's/@''GNULIB_PERROR''@/$(GNULIB_PERROR)/g' \ |
1971 | -e 's/@''GNULIB_POPEN''@/$(GNULIB_POPEN)/g' \ | |
1972 | -e 's/@''GNULIB_PRINTF''@/$(GNULIB_PRINTF)/g' \ | |
1973 | -e 's/@''GNULIB_PRINTF_POSIX''@/$(GNULIB_PRINTF_POSIX)/g' \ | |
1974 | -e 's/@''GNULIB_PUTC''@/$(GNULIB_PUTC)/g' \ | |
1975 | -e 's/@''GNULIB_PUTCHAR''@/$(GNULIB_PUTCHAR)/g' \ | |
1976 | -e 's/@''GNULIB_PUTS''@/$(GNULIB_PUTS)/g' \ | |
1977 | -e 's/@''GNULIB_REMOVE''@/$(GNULIB_REMOVE)/g' \ | |
1978 | -e 's/@''GNULIB_RENAME''@/$(GNULIB_RENAME)/g' \ | |
1979 | -e 's/@''GNULIB_RENAMEAT''@/$(GNULIB_RENAMEAT)/g' \ | |
1980 | -e 's/@''GNULIB_SCANF''@/$(GNULIB_SCANF)/g' \ | |
1981 | -e 's/@''GNULIB_SNPRINTF''@/$(GNULIB_SNPRINTF)/g' \ | |
1982 | -e 's/@''GNULIB_SPRINTF_POSIX''@/$(GNULIB_SPRINTF_POSIX)/g' \ | |
1983 | -e 's/@''GNULIB_STDIO_H_NONBLOCKING''@/$(GNULIB_STDIO_H_NONBLOCKING)/g' \ | |
1984 | -e 's/@''GNULIB_STDIO_H_SIGPIPE''@/$(GNULIB_STDIO_H_SIGPIPE)/g' \ | |
1985 | -e 's/@''GNULIB_TMPFILE''@/$(GNULIB_TMPFILE)/g' \ | |
1986 | -e 's/@''GNULIB_VASPRINTF''@/$(GNULIB_VASPRINTF)/g' \ | |
1987 | -e 's/@''GNULIB_VDPRINTF''@/$(GNULIB_VDPRINTF)/g' \ | |
1988 | -e 's/@''GNULIB_VFPRINTF''@/$(GNULIB_VFPRINTF)/g' \ | |
1989 | -e 's/@''GNULIB_VFPRINTF_POSIX''@/$(GNULIB_VFPRINTF_POSIX)/g' \ | |
1990 | -e 's/@''GNULIB_VFSCANF''@/$(GNULIB_VFSCANF)/g' \ | |
1991 | -e 's/@''GNULIB_VSCANF''@/$(GNULIB_VSCANF)/g' \ | |
1992 | -e 's/@''GNULIB_VPRINTF''@/$(GNULIB_VPRINTF)/g' \ | |
1993 | -e 's/@''GNULIB_VPRINTF_POSIX''@/$(GNULIB_VPRINTF_POSIX)/g' \ | |
1994 | -e 's/@''GNULIB_VSNPRINTF''@/$(GNULIB_VSNPRINTF)/g' \ | |
1995 | -e 's/@''GNULIB_VSPRINTF_POSIX''@/$(GNULIB_VSPRINTF_POSIX)/g' \ | |
61cd9dc9 LC |
1996 | < $(srcdir)/stdio.in.h | \ |
1997 | sed -e 's|@''HAVE_DECL_FPURGE''@|$(HAVE_DECL_FPURGE)|g' \ | |
ab4d62ad LC |
1998 | -e 's|@''HAVE_DECL_FSEEKO''@|$(HAVE_DECL_FSEEKO)|g' \ |
1999 | -e 's|@''HAVE_DECL_FTELLO''@|$(HAVE_DECL_FTELLO)|g' \ | |
8912421c LC |
2000 | -e 's|@''HAVE_DECL_GETDELIM''@|$(HAVE_DECL_GETDELIM)|g' \ |
2001 | -e 's|@''HAVE_DECL_GETLINE''@|$(HAVE_DECL_GETLINE)|g' \ | |
2002 | -e 's|@''HAVE_DECL_OBSTACK_PRINTF''@|$(HAVE_DECL_OBSTACK_PRINTF)|g' \ | |
c4b681fd | 2003 | -e 's|@''HAVE_DECL_SNPRINTF''@|$(HAVE_DECL_SNPRINTF)|g' \ |
c4b681fd | 2004 | -e 's|@''HAVE_DECL_VSNPRINTF''@|$(HAVE_DECL_VSNPRINTF)|g' \ |
c4b681fd | 2005 | -e 's|@''HAVE_DPRINTF''@|$(HAVE_DPRINTF)|g' \ |
a927b6c1 LC |
2006 | -e 's|@''HAVE_FSEEKO''@|$(HAVE_FSEEKO)|g' \ |
2007 | -e 's|@''HAVE_FTELLO''@|$(HAVE_FTELLO)|g' \ | |
35428fb6 LC |
2008 | -e 's|@''HAVE_PCLOSE''@|$(HAVE_PCLOSE)|g' \ |
2009 | -e 's|@''HAVE_POPEN''@|$(HAVE_POPEN)|g' \ | |
8912421c | 2010 | -e 's|@''HAVE_RENAMEAT''@|$(HAVE_RENAMEAT)|g' \ |
c4b681fd | 2011 | -e 's|@''HAVE_VASPRINTF''@|$(HAVE_VASPRINTF)|g' \ |
8912421c LC |
2012 | -e 's|@''HAVE_VDPRINTF''@|$(HAVE_VDPRINTF)|g' \ |
2013 | -e 's|@''REPLACE_DPRINTF''@|$(REPLACE_DPRINTF)|g' \ | |
2014 | -e 's|@''REPLACE_FCLOSE''@|$(REPLACE_FCLOSE)|g' \ | |
35428fb6 | 2015 | -e 's|@''REPLACE_FDOPEN''@|$(REPLACE_FDOPEN)|g' \ |
8912421c | 2016 | -e 's|@''REPLACE_FFLUSH''@|$(REPLACE_FFLUSH)|g' \ |
c4b681fd | 2017 | -e 's|@''REPLACE_FOPEN''@|$(REPLACE_FOPEN)|g' \ |
8912421c LC |
2018 | -e 's|@''REPLACE_FPRINTF''@|$(REPLACE_FPRINTF)|g' \ |
2019 | -e 's|@''REPLACE_FPURGE''@|$(REPLACE_FPURGE)|g' \ | |
c4b681fd | 2020 | -e 's|@''REPLACE_FREOPEN''@|$(REPLACE_FREOPEN)|g' \ |
c4b681fd | 2021 | -e 's|@''REPLACE_FSEEK''@|$(REPLACE_FSEEK)|g' \ |
8912421c | 2022 | -e 's|@''REPLACE_FSEEKO''@|$(REPLACE_FSEEKO)|g' \ |
c4b681fd | 2023 | -e 's|@''REPLACE_FTELL''@|$(REPLACE_FTELL)|g' \ |
8912421c | 2024 | -e 's|@''REPLACE_FTELLO''@|$(REPLACE_FTELLO)|g' \ |
61cd9dc9 | 2025 | -e 's|@''REPLACE_GETDELIM''@|$(REPLACE_GETDELIM)|g' \ |
c4b681fd | 2026 | -e 's|@''REPLACE_GETLINE''@|$(REPLACE_GETLINE)|g' \ |
8912421c | 2027 | -e 's|@''REPLACE_OBSTACK_PRINTF''@|$(REPLACE_OBSTACK_PRINTF)|g' \ |
c4b681fd | 2028 | -e 's|@''REPLACE_PERROR''@|$(REPLACE_PERROR)|g' \ |
8912421c LC |
2029 | -e 's|@''REPLACE_POPEN''@|$(REPLACE_POPEN)|g' \ |
2030 | -e 's|@''REPLACE_PRINTF''@|$(REPLACE_PRINTF)|g' \ | |
2031 | -e 's|@''REPLACE_REMOVE''@|$(REPLACE_REMOVE)|g' \ | |
2032 | -e 's|@''REPLACE_RENAME''@|$(REPLACE_RENAME)|g' \ | |
2033 | -e 's|@''REPLACE_RENAMEAT''@|$(REPLACE_RENAMEAT)|g' \ | |
2034 | -e 's|@''REPLACE_SNPRINTF''@|$(REPLACE_SNPRINTF)|g' \ | |
2035 | -e 's|@''REPLACE_SPRINTF''@|$(REPLACE_SPRINTF)|g' \ | |
dd7d0148 | 2036 | -e 's|@''REPLACE_STDIO_READ_FUNCS''@|$(REPLACE_STDIO_READ_FUNCS)|g' \ |
8912421c | 2037 | -e 's|@''REPLACE_STDIO_WRITE_FUNCS''@|$(REPLACE_STDIO_WRITE_FUNCS)|g' \ |
a927b6c1 | 2038 | -e 's|@''REPLACE_TMPFILE''@|$(REPLACE_TMPFILE)|g' \ |
8912421c LC |
2039 | -e 's|@''REPLACE_VASPRINTF''@|$(REPLACE_VASPRINTF)|g' \ |
2040 | -e 's|@''REPLACE_VDPRINTF''@|$(REPLACE_VDPRINTF)|g' \ | |
2041 | -e 's|@''REPLACE_VFPRINTF''@|$(REPLACE_VFPRINTF)|g' \ | |
2042 | -e 's|@''REPLACE_VPRINTF''@|$(REPLACE_VPRINTF)|g' \ | |
2043 | -e 's|@''REPLACE_VSNPRINTF''@|$(REPLACE_VSNPRINTF)|g' \ | |
2044 | -e 's|@''REPLACE_VSPRINTF''@|$(REPLACE_VSPRINTF)|g' \ | |
a927b6c1 | 2045 | -e 's|@''ASM_SYMBOL_PREFIX''@|$(ASM_SYMBOL_PREFIX)|g' \ |
f4c79b3c | 2046 | -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \ |
1cd4fffc | 2047 | -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \ |
61cd9dc9 | 2048 | -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)'; \ |
8912421c | 2049 | } > $@-t && \ |
c4b681fd LC |
2050 | mv $@-t $@ |
2051 | MOSTLYCLEANFILES += stdio.h stdio.h-t | |
2052 | ||
dd36ce77 | 2053 | EXTRA_DIST += stdio.in.h |
c4b681fd LC |
2054 | |
2055 | ## end gnulib module stdio | |
2056 | ||
f240aacb LC |
2057 | ## begin gnulib module stdlib |
2058 | ||
2059 | BUILT_SOURCES += stdlib.h | |
2060 | ||
2061 | # We need the following in order to create <stdlib.h> when the system | |
2062 | # doesn't have one that works with the given compiler. | |
35428fb6 LC |
2063 | stdlib.h: stdlib.in.h $(top_builddir)/config.status $(CXXDEFS_H) \ |
2064 | $(_NORETURN_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H) | |
8912421c | 2065 | $(AM_V_GEN)rm -f $@-t $@ && \ |
f240aacb | 2066 | { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \ |
3d458a81 AW |
2067 | sed -e 's|@''GUARD_PREFIX''@|GL|g' \ |
2068 | -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ | |
f240aacb | 2069 | -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ |
0f00f2c3 | 2070 | -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ |
f240aacb | 2071 | -e 's|@''NEXT_STDLIB_H''@|$(NEXT_STDLIB_H)|g' \ |
3d458a81 AW |
2072 | -e 's/@''GNULIB__EXIT''@/$(GNULIB__EXIT)/g' \ |
2073 | -e 's/@''GNULIB_ATOLL''@/$(GNULIB_ATOLL)/g' \ | |
2074 | -e 's/@''GNULIB_CALLOC_POSIX''@/$(GNULIB_CALLOC_POSIX)/g' \ | |
2075 | -e 's/@''GNULIB_CANONICALIZE_FILE_NAME''@/$(GNULIB_CANONICALIZE_FILE_NAME)/g' \ | |
2076 | -e 's/@''GNULIB_GETLOADAVG''@/$(GNULIB_GETLOADAVG)/g' \ | |
2077 | -e 's/@''GNULIB_GETSUBOPT''@/$(GNULIB_GETSUBOPT)/g' \ | |
2078 | -e 's/@''GNULIB_GRANTPT''@/$(GNULIB_GRANTPT)/g' \ | |
2079 | -e 's/@''GNULIB_MALLOC_POSIX''@/$(GNULIB_MALLOC_POSIX)/g' \ | |
2080 | -e 's/@''GNULIB_MBTOWC''@/$(GNULIB_MBTOWC)/g' \ | |
2081 | -e 's/@''GNULIB_MKDTEMP''@/$(GNULIB_MKDTEMP)/g' \ | |
2082 | -e 's/@''GNULIB_MKOSTEMP''@/$(GNULIB_MKOSTEMP)/g' \ | |
2083 | -e 's/@''GNULIB_MKOSTEMPS''@/$(GNULIB_MKOSTEMPS)/g' \ | |
2084 | -e 's/@''GNULIB_MKSTEMP''@/$(GNULIB_MKSTEMP)/g' \ | |
2085 | -e 's/@''GNULIB_MKSTEMPS''@/$(GNULIB_MKSTEMPS)/g' \ | |
35428fb6 | 2086 | -e 's/@''GNULIB_POSIX_OPENPT''@/$(GNULIB_POSIX_OPENPT)/g' \ |
3d458a81 | 2087 | -e 's/@''GNULIB_PTSNAME''@/$(GNULIB_PTSNAME)/g' \ |
7f1ea859 | 2088 | -e 's/@''GNULIB_PTSNAME_R''@/$(GNULIB_PTSNAME_R)/g' \ |
3d458a81 | 2089 | -e 's/@''GNULIB_PUTENV''@/$(GNULIB_PUTENV)/g' \ |
f0007cad | 2090 | -e 's/@''GNULIB_RANDOM''@/$(GNULIB_RANDOM)/g' \ |
3d458a81 AW |
2091 | -e 's/@''GNULIB_RANDOM_R''@/$(GNULIB_RANDOM_R)/g' \ |
2092 | -e 's/@''GNULIB_REALLOC_POSIX''@/$(GNULIB_REALLOC_POSIX)/g' \ | |
2093 | -e 's/@''GNULIB_REALPATH''@/$(GNULIB_REALPATH)/g' \ | |
2094 | -e 's/@''GNULIB_RPMATCH''@/$(GNULIB_RPMATCH)/g' \ | |
2095 | -e 's/@''GNULIB_SETENV''@/$(GNULIB_SETENV)/g' \ | |
2096 | -e 's/@''GNULIB_STRTOD''@/$(GNULIB_STRTOD)/g' \ | |
2097 | -e 's/@''GNULIB_STRTOLL''@/$(GNULIB_STRTOLL)/g' \ | |
2098 | -e 's/@''GNULIB_STRTOULL''@/$(GNULIB_STRTOULL)/g' \ | |
2099 | -e 's/@''GNULIB_SYSTEM_POSIX''@/$(GNULIB_SYSTEM_POSIX)/g' \ | |
2100 | -e 's/@''GNULIB_UNLOCKPT''@/$(GNULIB_UNLOCKPT)/g' \ | |
2101 | -e 's/@''GNULIB_UNSETENV''@/$(GNULIB_UNSETENV)/g' \ | |
2102 | -e 's/@''GNULIB_WCTOMB''@/$(GNULIB_WCTOMB)/g' \ | |
49114fd4 LC |
2103 | < $(srcdir)/stdlib.in.h | \ |
2104 | sed -e 's|@''HAVE__EXIT''@|$(HAVE__EXIT)|g' \ | |
f240aacb | 2105 | -e 's|@''HAVE_ATOLL''@|$(HAVE_ATOLL)|g' \ |
8912421c LC |
2106 | -e 's|@''HAVE_CANONICALIZE_FILE_NAME''@|$(HAVE_CANONICALIZE_FILE_NAME)|g' \ |
2107 | -e 's|@''HAVE_DECL_GETLOADAVG''@|$(HAVE_DECL_GETLOADAVG)|g' \ | |
f240aacb | 2108 | -e 's|@''HAVE_GETSUBOPT''@|$(HAVE_GETSUBOPT)|g' \ |
a927b6c1 | 2109 | -e 's|@''HAVE_GRANTPT''@|$(HAVE_GRANTPT)|g' \ |
f240aacb | 2110 | -e 's|@''HAVE_MKDTEMP''@|$(HAVE_MKDTEMP)|g' \ |
8912421c | 2111 | -e 's|@''HAVE_MKOSTEMP''@|$(HAVE_MKOSTEMP)|g' \ |
f29ded4b | 2112 | -e 's|@''HAVE_MKOSTEMPS''@|$(HAVE_MKOSTEMPS)|g' \ |
a927b6c1 | 2113 | -e 's|@''HAVE_MKSTEMP''@|$(HAVE_MKSTEMP)|g' \ |
f29ded4b | 2114 | -e 's|@''HAVE_MKSTEMPS''@|$(HAVE_MKSTEMPS)|g' \ |
35428fb6 | 2115 | -e 's|@''HAVE_POSIX_OPENPT''@|$(HAVE_POSIX_OPENPT)|g' \ |
a927b6c1 | 2116 | -e 's|@''HAVE_PTSNAME''@|$(HAVE_PTSNAME)|g' \ |
7f1ea859 | 2117 | -e 's|@''HAVE_PTSNAME_R''@|$(HAVE_PTSNAME_R)|g' \ |
f0007cad | 2118 | -e 's|@''HAVE_RANDOM''@|$(HAVE_RANDOM)|g' \ |
8912421c | 2119 | -e 's|@''HAVE_RANDOM_H''@|$(HAVE_RANDOM_H)|g' \ |
f240aacb | 2120 | -e 's|@''HAVE_RANDOM_R''@|$(HAVE_RANDOM_R)|g' \ |
8912421c | 2121 | -e 's|@''HAVE_REALPATH''@|$(HAVE_REALPATH)|g' \ |
f240aacb | 2122 | -e 's|@''HAVE_RPMATCH''@|$(HAVE_RPMATCH)|g' \ |
ab4d62ad | 2123 | -e 's|@''HAVE_DECL_SETENV''@|$(HAVE_DECL_SETENV)|g' \ |
f240aacb LC |
2124 | -e 's|@''HAVE_STRTOD''@|$(HAVE_STRTOD)|g' \ |
2125 | -e 's|@''HAVE_STRTOLL''@|$(HAVE_STRTOLL)|g' \ | |
2126 | -e 's|@''HAVE_STRTOULL''@|$(HAVE_STRTOULL)|g' \ | |
2127 | -e 's|@''HAVE_STRUCT_RANDOM_DATA''@|$(HAVE_STRUCT_RANDOM_DATA)|g' \ | |
2128 | -e 's|@''HAVE_SYS_LOADAVG_H''@|$(HAVE_SYS_LOADAVG_H)|g' \ | |
a927b6c1 | 2129 | -e 's|@''HAVE_UNLOCKPT''@|$(HAVE_UNLOCKPT)|g' \ |
ab4d62ad | 2130 | -e 's|@''HAVE_DECL_UNSETENV''@|$(HAVE_DECL_UNSETENV)|g' \ |
9157d901 | 2131 | -e 's|@''REPLACE_CALLOC''@|$(REPLACE_CALLOC)|g' \ |
8912421c | 2132 | -e 's|@''REPLACE_CANONICALIZE_FILE_NAME''@|$(REPLACE_CANONICALIZE_FILE_NAME)|g' \ |
9157d901 | 2133 | -e 's|@''REPLACE_MALLOC''@|$(REPLACE_MALLOC)|g' \ |
dd36ce77 | 2134 | -e 's|@''REPLACE_MBTOWC''@|$(REPLACE_MBTOWC)|g' \ |
f240aacb | 2135 | -e 's|@''REPLACE_MKSTEMP''@|$(REPLACE_MKSTEMP)|g' \ |
7f1ea859 | 2136 | -e 's|@''REPLACE_PTSNAME_R''@|$(REPLACE_PTSNAME_R)|g' \ |
f240aacb | 2137 | -e 's|@''REPLACE_PUTENV''@|$(REPLACE_PUTENV)|g' \ |
f0007cad | 2138 | -e 's|@''REPLACE_RANDOM_R''@|$(REPLACE_RANDOM_R)|g' \ |
9157d901 | 2139 | -e 's|@''REPLACE_REALLOC''@|$(REPLACE_REALLOC)|g' \ |
8912421c | 2140 | -e 's|@''REPLACE_REALPATH''@|$(REPLACE_REALPATH)|g' \ |
4f02b98d | 2141 | -e 's|@''REPLACE_SETENV''@|$(REPLACE_SETENV)|g' \ |
f240aacb | 2142 | -e 's|@''REPLACE_STRTOD''@|$(REPLACE_STRTOD)|g' \ |
4f02b98d | 2143 | -e 's|@''REPLACE_UNSETENV''@|$(REPLACE_UNSETENV)|g' \ |
dd36ce77 | 2144 | -e 's|@''REPLACE_WCTOMB''@|$(REPLACE_WCTOMB)|g' \ |
f4c79b3c | 2145 | -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \ |
35428fb6 | 2146 | -e '/definition of _Noreturn/r $(_NORETURN_H)' \ |
1cd4fffc | 2147 | -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \ |
49114fd4 | 2148 | -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)'; \ |
8912421c | 2149 | } > $@-t && \ |
f240aacb LC |
2150 | mv $@-t $@ |
2151 | MOSTLYCLEANFILES += stdlib.h stdlib.h-t | |
2152 | ||
2153 | EXTRA_DIST += stdlib.in.h | |
2154 | ||
2155 | ## end gnulib module stdlib | |
2156 | ||
eb4a14ed LC |
2157 | ## begin gnulib module streq |
2158 | ||
2159 | ||
2160 | EXTRA_DIST += streq.h | |
2161 | ||
2162 | ## end gnulib module streq | |
2163 | ||
e65fc94b LC |
2164 | ## begin gnulib module strftime |
2165 | ||
3d458a81 | 2166 | libgnu_la_SOURCES += strftime.c |
e65fc94b | 2167 | |
3d458a81 | 2168 | EXTRA_DIST += strftime.h |
e65fc94b LC |
2169 | |
2170 | ## end gnulib module strftime | |
2171 | ||
24d56127 LC |
2172 | ## begin gnulib module striconveh |
2173 | ||
2174 | libgnu_la_SOURCES += striconveh.h striconveh.c | |
2175 | if GL_COND_LIBTOOL | |
2176 | libgnu_la_LDFLAGS += $(LTLIBICONV) | |
2177 | endif | |
2178 | ||
2179 | EXTRA_DIST += iconveh.h | |
2180 | ||
2181 | ## end gnulib module striconveh | |
2182 | ||
2183 | ## begin gnulib module string | |
2184 | ||
2185 | BUILT_SOURCES += string.h | |
2186 | ||
2187 | # We need the following in order to create <string.h> when the system | |
2188 | # doesn't have one that works with the given compiler. | |
dd7d0148 | 2189 | string.h: string.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H) |
8912421c | 2190 | $(AM_V_GEN)rm -f $@-t $@ && \ |
24d56127 | 2191 | { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \ |
3d458a81 AW |
2192 | sed -e 's|@''GUARD_PREFIX''@|GL|g' \ |
2193 | -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ | |
24d56127 | 2194 | -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ |
0f00f2c3 | 2195 | -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ |
24d56127 | 2196 | -e 's|@''NEXT_STRING_H''@|$(NEXT_STRING_H)|g' \ |
35428fb6 LC |
2197 | -e 's/@''GNULIB_FFSL''@/$(GNULIB_FFSL)/g' \ |
2198 | -e 's/@''GNULIB_FFSLL''@/$(GNULIB_FFSLL)/g' \ | |
3d458a81 AW |
2199 | -e 's/@''GNULIB_MBSLEN''@/$(GNULIB_MBSLEN)/g' \ |
2200 | -e 's/@''GNULIB_MBSNLEN''@/$(GNULIB_MBSNLEN)/g' \ | |
2201 | -e 's/@''GNULIB_MBSCHR''@/$(GNULIB_MBSCHR)/g' \ | |
2202 | -e 's/@''GNULIB_MBSRCHR''@/$(GNULIB_MBSRCHR)/g' \ | |
2203 | -e 's/@''GNULIB_MBSSTR''@/$(GNULIB_MBSSTR)/g' \ | |
2204 | -e 's/@''GNULIB_MBSCASECMP''@/$(GNULIB_MBSCASECMP)/g' \ | |
2205 | -e 's/@''GNULIB_MBSNCASECMP''@/$(GNULIB_MBSNCASECMP)/g' \ | |
2206 | -e 's/@''GNULIB_MBSPCASECMP''@/$(GNULIB_MBSPCASECMP)/g' \ | |
2207 | -e 's/@''GNULIB_MBSCASESTR''@/$(GNULIB_MBSCASESTR)/g' \ | |
2208 | -e 's/@''GNULIB_MBSCSPN''@/$(GNULIB_MBSCSPN)/g' \ | |
2209 | -e 's/@''GNULIB_MBSPBRK''@/$(GNULIB_MBSPBRK)/g' \ | |
2210 | -e 's/@''GNULIB_MBSSPN''@/$(GNULIB_MBSSPN)/g' \ | |
2211 | -e 's/@''GNULIB_MBSSEP''@/$(GNULIB_MBSSEP)/g' \ | |
2212 | -e 's/@''GNULIB_MBSTOK_R''@/$(GNULIB_MBSTOK_R)/g' \ | |
2213 | -e 's/@''GNULIB_MEMCHR''@/$(GNULIB_MEMCHR)/g' \ | |
2214 | -e 's/@''GNULIB_MEMMEM''@/$(GNULIB_MEMMEM)/g' \ | |
2215 | -e 's/@''GNULIB_MEMPCPY''@/$(GNULIB_MEMPCPY)/g' \ | |
2216 | -e 's/@''GNULIB_MEMRCHR''@/$(GNULIB_MEMRCHR)/g' \ | |
2217 | -e 's/@''GNULIB_RAWMEMCHR''@/$(GNULIB_RAWMEMCHR)/g' \ | |
2218 | -e 's/@''GNULIB_STPCPY''@/$(GNULIB_STPCPY)/g' \ | |
2219 | -e 's/@''GNULIB_STPNCPY''@/$(GNULIB_STPNCPY)/g' \ | |
2220 | -e 's/@''GNULIB_STRCHRNUL''@/$(GNULIB_STRCHRNUL)/g' \ | |
2221 | -e 's/@''GNULIB_STRDUP''@/$(GNULIB_STRDUP)/g' \ | |
2222 | -e 's/@''GNULIB_STRNCAT''@/$(GNULIB_STRNCAT)/g' \ | |
2223 | -e 's/@''GNULIB_STRNDUP''@/$(GNULIB_STRNDUP)/g' \ | |
2224 | -e 's/@''GNULIB_STRNLEN''@/$(GNULIB_STRNLEN)/g' \ | |
2225 | -e 's/@''GNULIB_STRPBRK''@/$(GNULIB_STRPBRK)/g' \ | |
2226 | -e 's/@''GNULIB_STRSEP''@/$(GNULIB_STRSEP)/g' \ | |
2227 | -e 's/@''GNULIB_STRSTR''@/$(GNULIB_STRSTR)/g' \ | |
2228 | -e 's/@''GNULIB_STRCASESTR''@/$(GNULIB_STRCASESTR)/g' \ | |
2229 | -e 's/@''GNULIB_STRTOK_R''@/$(GNULIB_STRTOK_R)/g' \ | |
2230 | -e 's/@''GNULIB_STRERROR''@/$(GNULIB_STRERROR)/g' \ | |
2231 | -e 's/@''GNULIB_STRERROR_R''@/$(GNULIB_STRERROR_R)/g' \ | |
2232 | -e 's/@''GNULIB_STRSIGNAL''@/$(GNULIB_STRSIGNAL)/g' \ | |
2233 | -e 's/@''GNULIB_STRVERSCMP''@/$(GNULIB_STRVERSCMP)/g' \ | |
61cd9dc9 | 2234 | < $(srcdir)/string.in.h | \ |
35428fb6 LC |
2235 | sed -e 's|@''HAVE_FFSL''@|$(HAVE_FFSL)|g' \ |
2236 | -e 's|@''HAVE_FFSLL''@|$(HAVE_FFSLL)|g' \ | |
2237 | -e 's|@''HAVE_MBSLEN''@|$(HAVE_MBSLEN)|g' \ | |
a927b6c1 | 2238 | -e 's|@''HAVE_MEMCHR''@|$(HAVE_MEMCHR)|g' \ |
24d56127 LC |
2239 | -e 's|@''HAVE_DECL_MEMMEM''@|$(HAVE_DECL_MEMMEM)|g' \ |
2240 | -e 's|@''HAVE_MEMPCPY''@|$(HAVE_MEMPCPY)|g' \ | |
2241 | -e 's|@''HAVE_DECL_MEMRCHR''@|$(HAVE_DECL_MEMRCHR)|g' \ | |
2242 | -e 's|@''HAVE_RAWMEMCHR''@|$(HAVE_RAWMEMCHR)|g' \ | |
2243 | -e 's|@''HAVE_STPCPY''@|$(HAVE_STPCPY)|g' \ | |
2244 | -e 's|@''HAVE_STPNCPY''@|$(HAVE_STPNCPY)|g' \ | |
2245 | -e 's|@''HAVE_STRCHRNUL''@|$(HAVE_STRCHRNUL)|g' \ | |
2246 | -e 's|@''HAVE_DECL_STRDUP''@|$(HAVE_DECL_STRDUP)|g' \ | |
24d56127 LC |
2247 | -e 's|@''HAVE_DECL_STRNDUP''@|$(HAVE_DECL_STRNDUP)|g' \ |
2248 | -e 's|@''HAVE_DECL_STRNLEN''@|$(HAVE_DECL_STRNLEN)|g' \ | |
2249 | -e 's|@''HAVE_STRPBRK''@|$(HAVE_STRPBRK)|g' \ | |
2250 | -e 's|@''HAVE_STRSEP''@|$(HAVE_STRSEP)|g' \ | |
2251 | -e 's|@''HAVE_STRCASESTR''@|$(HAVE_STRCASESTR)|g' \ | |
2252 | -e 's|@''HAVE_DECL_STRTOK_R''@|$(HAVE_DECL_STRTOK_R)|g' \ | |
0f00f2c3 | 2253 | -e 's|@''HAVE_DECL_STRERROR_R''@|$(HAVE_DECL_STRERROR_R)|g' \ |
24d56127 LC |
2254 | -e 's|@''HAVE_DECL_STRSIGNAL''@|$(HAVE_DECL_STRSIGNAL)|g' \ |
2255 | -e 's|@''HAVE_STRVERSCMP''@|$(HAVE_STRVERSCMP)|g' \ | |
a927b6c1 | 2256 | -e 's|@''REPLACE_STPNCPY''@|$(REPLACE_STPNCPY)|g' \ |
ffca4c22 | 2257 | -e 's|@''REPLACE_MEMCHR''@|$(REPLACE_MEMCHR)|g' \ |
24d56127 LC |
2258 | -e 's|@''REPLACE_MEMMEM''@|$(REPLACE_MEMMEM)|g' \ |
2259 | -e 's|@''REPLACE_STRCASESTR''@|$(REPLACE_STRCASESTR)|g' \ | |
dd7d0148 | 2260 | -e 's|@''REPLACE_STRCHRNUL''@|$(REPLACE_STRCHRNUL)|g' \ |
24d56127 LC |
2261 | -e 's|@''REPLACE_STRDUP''@|$(REPLACE_STRDUP)|g' \ |
2262 | -e 's|@''REPLACE_STRSTR''@|$(REPLACE_STRSTR)|g' \ | |
2263 | -e 's|@''REPLACE_STRERROR''@|$(REPLACE_STRERROR)|g' \ | |
0f00f2c3 | 2264 | -e 's|@''REPLACE_STRERROR_R''@|$(REPLACE_STRERROR_R)|g' \ |
a927b6c1 | 2265 | -e 's|@''REPLACE_STRNCAT''@|$(REPLACE_STRNCAT)|g' \ |
8912421c | 2266 | -e 's|@''REPLACE_STRNDUP''@|$(REPLACE_STRNDUP)|g' \ |
a927b6c1 | 2267 | -e 's|@''REPLACE_STRNLEN''@|$(REPLACE_STRNLEN)|g' \ |
24d56127 | 2268 | -e 's|@''REPLACE_STRSIGNAL''@|$(REPLACE_STRSIGNAL)|g' \ |
8912421c LC |
2269 | -e 's|@''REPLACE_STRTOK_R''@|$(REPLACE_STRTOK_R)|g' \ |
2270 | -e 's|@''UNDEFINE_STRTOK_R''@|$(UNDEFINE_STRTOK_R)|g' \ | |
f4c79b3c | 2271 | -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \ |
1cd4fffc | 2272 | -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \ |
61cd9dc9 | 2273 | -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)'; \ |
24d56127 | 2274 | < $(srcdir)/string.in.h; \ |
8912421c | 2275 | } > $@-t && \ |
24d56127 LC |
2276 | mv $@-t $@ |
2277 | MOSTLYCLEANFILES += string.h string.h-t | |
2278 | ||
2279 | EXTRA_DIST += string.in.h | |
2280 | ||
2281 | ## end gnulib module string | |
2282 | ||
f240aacb LC |
2283 | ## begin gnulib module sys_file |
2284 | ||
61cd9dc9 | 2285 | BUILT_SOURCES += sys/file.h |
f240aacb LC |
2286 | |
2287 | # We need the following in order to create <sys/file.h> when the system | |
2288 | # has one that is incomplete. | |
dd7d0148 | 2289 | sys/file.h: sys_file.in.h $(top_builddir)/config.status $(WARN_ON_USE_H) |
8912421c LC |
2290 | $(AM_V_at)$(MKDIR_P) sys |
2291 | $(AM_V_GEN)rm -f $@-t $@ && \ | |
f240aacb | 2292 | { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ |
3d458a81 AW |
2293 | sed -e 's|@''GUARD_PREFIX''@|GL|g' \ |
2294 | -e 's/@''HAVE_SYS_FILE_H''@/$(HAVE_SYS_FILE_H)/g' \ | |
f240aacb LC |
2295 | -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ |
2296 | -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ | |
0f00f2c3 | 2297 | -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ |
f240aacb LC |
2298 | -e 's|@''NEXT_SYS_FILE_H''@|$(NEXT_SYS_FILE_H)|g' \ |
2299 | -e 's/@''HAVE_FLOCK''@/$(HAVE_FLOCK)/g' \ | |
2300 | -e 's/@''GNULIB_FLOCK''@/$(GNULIB_FLOCK)/g' \ | |
61cd9dc9 | 2301 | -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \ |
f240aacb | 2302 | < $(srcdir)/sys_file.in.h; \ |
8912421c | 2303 | } > $@-t && \ |
f240aacb LC |
2304 | mv $@-t $@ |
2305 | MOSTLYCLEANFILES += sys/file.h sys/file.h-t | |
2306 | MOSTLYCLEANDIRS += sys | |
2307 | ||
2308 | EXTRA_DIST += sys_file.in.h | |
2309 | ||
2310 | ## end gnulib module sys_file | |
2311 | ||
8912421c LC |
2312 | ## begin gnulib module sys_socket |
2313 | ||
61cd9dc9 | 2314 | BUILT_SOURCES += sys/socket.h |
8912421c LC |
2315 | |
2316 | # We need the following in order to create <sys/socket.h> when the system | |
2317 | # doesn't have one that works with the given compiler. | |
dd7d0148 | 2318 | sys/socket.h: sys_socket.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(WARN_ON_USE_H) $(ARG_NONNULL_H) |
8912421c LC |
2319 | $(AM_V_at)$(MKDIR_P) sys |
2320 | $(AM_V_GEN)rm -f $@-t $@ && \ | |
2321 | { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ | |
3d458a81 AW |
2322 | sed -e 's|@''GUARD_PREFIX''@|GL|g' \ |
2323 | -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ | |
8912421c | 2324 | -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ |
0f00f2c3 | 2325 | -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ |
8912421c LC |
2326 | -e 's|@''NEXT_SYS_SOCKET_H''@|$(NEXT_SYS_SOCKET_H)|g' \ |
2327 | -e 's|@''HAVE_SYS_SOCKET_H''@|$(HAVE_SYS_SOCKET_H)|g' \ | |
3d458a81 AW |
2328 | -e 's/@''GNULIB_CLOSE''@/$(GNULIB_CLOSE)/g' \ |
2329 | -e 's/@''GNULIB_SOCKET''@/$(GNULIB_SOCKET)/g' \ | |
2330 | -e 's/@''GNULIB_CONNECT''@/$(GNULIB_CONNECT)/g' \ | |
2331 | -e 's/@''GNULIB_ACCEPT''@/$(GNULIB_ACCEPT)/g' \ | |
2332 | -e 's/@''GNULIB_BIND''@/$(GNULIB_BIND)/g' \ | |
2333 | -e 's/@''GNULIB_GETPEERNAME''@/$(GNULIB_GETPEERNAME)/g' \ | |
2334 | -e 's/@''GNULIB_GETSOCKNAME''@/$(GNULIB_GETSOCKNAME)/g' \ | |
2335 | -e 's/@''GNULIB_GETSOCKOPT''@/$(GNULIB_GETSOCKOPT)/g' \ | |
2336 | -e 's/@''GNULIB_LISTEN''@/$(GNULIB_LISTEN)/g' \ | |
2337 | -e 's/@''GNULIB_RECV''@/$(GNULIB_RECV)/g' \ | |
2338 | -e 's/@''GNULIB_SEND''@/$(GNULIB_SEND)/g' \ | |
2339 | -e 's/@''GNULIB_RECVFROM''@/$(GNULIB_RECVFROM)/g' \ | |
2340 | -e 's/@''GNULIB_SENDTO''@/$(GNULIB_SENDTO)/g' \ | |
2341 | -e 's/@''GNULIB_SETSOCKOPT''@/$(GNULIB_SETSOCKOPT)/g' \ | |
2342 | -e 's/@''GNULIB_SHUTDOWN''@/$(GNULIB_SHUTDOWN)/g' \ | |
2343 | -e 's/@''GNULIB_ACCEPT4''@/$(GNULIB_ACCEPT4)/g' \ | |
8912421c LC |
2344 | -e 's|@''HAVE_WINSOCK2_H''@|$(HAVE_WINSOCK2_H)|g' \ |
2345 | -e 's|@''HAVE_WS2TCPIP_H''@|$(HAVE_WS2TCPIP_H)|g' \ | |
2346 | -e 's|@''HAVE_STRUCT_SOCKADDR_STORAGE''@|$(HAVE_STRUCT_SOCKADDR_STORAGE)|g' \ | |
0f00f2c3 | 2347 | -e 's|@''HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY''@|$(HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY)|g' \ |
8912421c LC |
2348 | -e 's|@''HAVE_SA_FAMILY_T''@|$(HAVE_SA_FAMILY_T)|g' \ |
2349 | -e 's|@''HAVE_ACCEPT4''@|$(HAVE_ACCEPT4)|g' \ | |
f4c79b3c | 2350 | -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \ |
1cd4fffc | 2351 | -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \ |
61cd9dc9 | 2352 | -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \ |
8912421c LC |
2353 | < $(srcdir)/sys_socket.in.h; \ |
2354 | } > $@-t && \ | |
2355 | mv -f $@-t $@ | |
2356 | MOSTLYCLEANFILES += sys/socket.h sys/socket.h-t | |
2357 | MOSTLYCLEANDIRS += sys | |
2358 | ||
2359 | EXTRA_DIST += sys_socket.in.h | |
2360 | ||
2361 | ## end gnulib module sys_socket | |
2362 | ||
2363 | ## begin gnulib module sys_stat | |
2364 | ||
2365 | BUILT_SOURCES += sys/stat.h | |
2366 | ||
2367 | # We need the following in order to create <sys/stat.h> when the system | |
2368 | # has one that is incomplete. | |
dd7d0148 | 2369 | sys/stat.h: sys_stat.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H) |
8912421c LC |
2370 | $(AM_V_at)$(MKDIR_P) sys |
2371 | $(AM_V_GEN)rm -f $@-t $@ && \ | |
2372 | { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ | |
3d458a81 AW |
2373 | sed -e 's|@''GUARD_PREFIX''@|GL|g' \ |
2374 | -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ | |
8912421c | 2375 | -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ |
0f00f2c3 | 2376 | -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ |
8912421c | 2377 | -e 's|@''NEXT_SYS_STAT_H''@|$(NEXT_SYS_STAT_H)|g' \ |
005de2e8 | 2378 | -e 's|@''WINDOWS_64_BIT_ST_SIZE''@|$(WINDOWS_64_BIT_ST_SIZE)|g' \ |
3d458a81 | 2379 | -e 's/@''GNULIB_FCHMODAT''@/$(GNULIB_FCHMODAT)/g' \ |
35428fb6 | 2380 | -e 's/@''GNULIB_FSTAT''@/$(GNULIB_FSTAT)/g' \ |
3d458a81 AW |
2381 | -e 's/@''GNULIB_FSTATAT''@/$(GNULIB_FSTATAT)/g' \ |
2382 | -e 's/@''GNULIB_FUTIMENS''@/$(GNULIB_FUTIMENS)/g' \ | |
2383 | -e 's/@''GNULIB_LCHMOD''@/$(GNULIB_LCHMOD)/g' \ | |
2384 | -e 's/@''GNULIB_LSTAT''@/$(GNULIB_LSTAT)/g' \ | |
2385 | -e 's/@''GNULIB_MKDIRAT''@/$(GNULIB_MKDIRAT)/g' \ | |
2386 | -e 's/@''GNULIB_MKFIFO''@/$(GNULIB_MKFIFO)/g' \ | |
2387 | -e 's/@''GNULIB_MKFIFOAT''@/$(GNULIB_MKFIFOAT)/g' \ | |
2388 | -e 's/@''GNULIB_MKNOD''@/$(GNULIB_MKNOD)/g' \ | |
2389 | -e 's/@''GNULIB_MKNODAT''@/$(GNULIB_MKNODAT)/g' \ | |
2390 | -e 's/@''GNULIB_STAT''@/$(GNULIB_STAT)/g' \ | |
2391 | -e 's/@''GNULIB_UTIMENSAT''@/$(GNULIB_UTIMENSAT)/g' \ | |
8912421c LC |
2392 | -e 's|@''HAVE_FCHMODAT''@|$(HAVE_FCHMODAT)|g' \ |
2393 | -e 's|@''HAVE_FSTATAT''@|$(HAVE_FSTATAT)|g' \ | |
2394 | -e 's|@''HAVE_FUTIMENS''@|$(HAVE_FUTIMENS)|g' \ | |
2395 | -e 's|@''HAVE_LCHMOD''@|$(HAVE_LCHMOD)|g' \ | |
2396 | -e 's|@''HAVE_LSTAT''@|$(HAVE_LSTAT)|g' \ | |
2397 | -e 's|@''HAVE_MKDIRAT''@|$(HAVE_MKDIRAT)|g' \ | |
f29ded4b | 2398 | -e 's|@''HAVE_MKFIFO''@|$(HAVE_MKFIFO)|g' \ |
8912421c | 2399 | -e 's|@''HAVE_MKFIFOAT''@|$(HAVE_MKFIFOAT)|g' \ |
f29ded4b | 2400 | -e 's|@''HAVE_MKNOD''@|$(HAVE_MKNOD)|g' \ |
8912421c LC |
2401 | -e 's|@''HAVE_MKNODAT''@|$(HAVE_MKNODAT)|g' \ |
2402 | -e 's|@''HAVE_UTIMENSAT''@|$(HAVE_UTIMENSAT)|g' \ | |
2403 | -e 's|@''REPLACE_FSTAT''@|$(REPLACE_FSTAT)|g' \ | |
2404 | -e 's|@''REPLACE_FSTATAT''@|$(REPLACE_FSTATAT)|g' \ | |
2405 | -e 's|@''REPLACE_FUTIMENS''@|$(REPLACE_FUTIMENS)|g' \ | |
2406 | -e 's|@''REPLACE_LSTAT''@|$(REPLACE_LSTAT)|g' \ | |
2407 | -e 's|@''REPLACE_MKDIR''@|$(REPLACE_MKDIR)|g' \ | |
f29ded4b LC |
2408 | -e 's|@''REPLACE_MKFIFO''@|$(REPLACE_MKFIFO)|g' \ |
2409 | -e 's|@''REPLACE_MKNOD''@|$(REPLACE_MKNOD)|g' \ | |
8912421c LC |
2410 | -e 's|@''REPLACE_STAT''@|$(REPLACE_STAT)|g' \ |
2411 | -e 's|@''REPLACE_UTIMENSAT''@|$(REPLACE_UTIMENSAT)|g' \ | |
f4c79b3c | 2412 | -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \ |
1cd4fffc | 2413 | -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \ |
61cd9dc9 | 2414 | -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \ |
8912421c LC |
2415 | < $(srcdir)/sys_stat.in.h; \ |
2416 | } > $@-t && \ | |
2417 | mv $@-t $@ | |
2418 | MOSTLYCLEANFILES += sys/stat.h sys/stat.h-t | |
2419 | MOSTLYCLEANDIRS += sys | |
2420 | ||
2421 | EXTRA_DIST += sys_stat.in.h | |
2422 | ||
2423 | ## end gnulib module sys_stat | |
2424 | ||
49114fd4 LC |
2425 | ## begin gnulib module sys_time |
2426 | ||
2427 | BUILT_SOURCES += sys/time.h | |
2428 | ||
2429 | # We need the following in order to create <sys/time.h> when the system | |
2430 | # doesn't have one that works with the given compiler. | |
dd7d0148 | 2431 | sys/time.h: sys_time.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H) |
49114fd4 LC |
2432 | $(AM_V_at)$(MKDIR_P) sys |
2433 | $(AM_V_GEN)rm -f $@-t $@ && \ | |
2434 | { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ | |
3d458a81 AW |
2435 | sed -e 's|@''GUARD_PREFIX''@|GL|g' \ |
2436 | -e 's/@''HAVE_SYS_TIME_H''@/$(HAVE_SYS_TIME_H)/g' \ | |
49114fd4 LC |
2437 | -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ |
2438 | -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ | |
2439 | -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ | |
2440 | -e 's|@''NEXT_SYS_TIME_H''@|$(NEXT_SYS_TIME_H)|g' \ | |
2441 | -e 's/@''GNULIB_GETTIMEOFDAY''@/$(GNULIB_GETTIMEOFDAY)/g' \ | |
35428fb6 | 2442 | -e 's|@''HAVE_WINSOCK2_H''@|$(HAVE_WINSOCK2_H)|g' \ |
49114fd4 LC |
2443 | -e 's/@''HAVE_GETTIMEOFDAY''@/$(HAVE_GETTIMEOFDAY)/g' \ |
2444 | -e 's/@''HAVE_STRUCT_TIMEVAL''@/$(HAVE_STRUCT_TIMEVAL)/g' \ | |
2445 | -e 's/@''REPLACE_GETTIMEOFDAY''@/$(REPLACE_GETTIMEOFDAY)/g' \ | |
005de2e8 | 2446 | -e 's/@''REPLACE_STRUCT_TIMEVAL''@/$(REPLACE_STRUCT_TIMEVAL)/g' \ |
49114fd4 LC |
2447 | -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \ |
2448 | -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \ | |
2449 | -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \ | |
2450 | < $(srcdir)/sys_time.in.h; \ | |
2451 | } > $@-t && \ | |
2452 | mv $@-t $@ | |
2453 | MOSTLYCLEANFILES += sys/time.h sys/time.h-t | |
2454 | ||
2455 | EXTRA_DIST += sys_time.in.h | |
2456 | ||
2457 | ## end gnulib module sys_time | |
2458 | ||
35428fb6 LC |
2459 | ## begin gnulib module sys_types |
2460 | ||
2461 | BUILT_SOURCES += sys/types.h | |
2462 | ||
2463 | # We need the following in order to create <sys/types.h> when the system | |
2464 | # doesn't have one that works with the given compiler. | |
2465 | sys/types.h: sys_types.in.h $(top_builddir)/config.status | |
2466 | $(AM_V_at)$(MKDIR_P) sys | |
2467 | $(AM_V_GEN)rm -f $@-t $@ && \ | |
2468 | { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ | |
2469 | sed -e 's|@''GUARD_PREFIX''@|GL|g' \ | |
2470 | -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ | |
2471 | -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ | |
2472 | -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ | |
2473 | -e 's|@''NEXT_SYS_TYPES_H''@|$(NEXT_SYS_TYPES_H)|g' \ | |
005de2e8 | 2474 | -e 's|@''WINDOWS_64_BIT_OFF_T''@|$(WINDOWS_64_BIT_OFF_T)|g' \ |
35428fb6 LC |
2475 | < $(srcdir)/sys_types.in.h; \ |
2476 | } > $@-t && \ | |
2477 | mv $@-t $@ | |
2478 | MOSTLYCLEANFILES += sys/types.h sys/types.h-t | |
2479 | ||
2480 | EXTRA_DIST += sys_types.in.h | |
2481 | ||
2482 | ## end gnulib module sys_types | |
2483 | ||
dd7d0148 LC |
2484 | ## begin gnulib module sys_uio |
2485 | ||
2486 | BUILT_SOURCES += sys/uio.h | |
2487 | ||
2488 | # We need the following in order to create <sys/uio.h> when the system | |
2489 | # doesn't have one that works with the given compiler. | |
2490 | sys/uio.h: sys_uio.in.h $(top_builddir)/config.status | |
2491 | $(AM_V_at)$(MKDIR_P) sys | |
2492 | $(AM_V_GEN)rm -f $@-t $@ && \ | |
2493 | { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ | |
3d458a81 AW |
2494 | sed -e 's|@''GUARD_PREFIX''@|GL|g' \ |
2495 | -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ | |
dd7d0148 LC |
2496 | -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ |
2497 | -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ | |
2498 | -e 's|@''NEXT_SYS_UIO_H''@|$(NEXT_SYS_UIO_H)|g' \ | |
2499 | -e 's|@''HAVE_SYS_UIO_H''@|$(HAVE_SYS_UIO_H)|g' \ | |
2500 | < $(srcdir)/sys_uio.in.h; \ | |
2501 | } > $@-t && \ | |
2502 | mv -f $@-t $@ | |
2503 | MOSTLYCLEANFILES += sys/uio.h sys/uio.h-t | |
2504 | MOSTLYCLEANDIRS += sys | |
2505 | ||
2506 | EXTRA_DIST += sys_uio.in.h | |
2507 | ||
2508 | ## end gnulib module sys_uio | |
2509 | ||
e65fc94b LC |
2510 | ## begin gnulib module time |
2511 | ||
2512 | BUILT_SOURCES += time.h | |
2513 | ||
2514 | # We need the following in order to create <time.h> when the system | |
2515 | # doesn't have one that works with the given compiler. | |
dd7d0148 | 2516 | time.h: time.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H) |
8912421c | 2517 | $(AM_V_GEN)rm -f $@-t $@ && \ |
e65fc94b | 2518 | { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \ |
3d458a81 AW |
2519 | sed -e 's|@''GUARD_PREFIX''@|GL|g' \ |
2520 | -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ | |
e65fc94b | 2521 | -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ |
0f00f2c3 | 2522 | -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ |
f4c79b3c | 2523 | -e 's|@''NEXT_TIME_H''@|$(NEXT_TIME_H)|g' \ |
3d458a81 AW |
2524 | -e 's/@''GNULIB_MKTIME''@/$(GNULIB_MKTIME)/g' \ |
2525 | -e 's/@''GNULIB_NANOSLEEP''@/$(GNULIB_NANOSLEEP)/g' \ | |
2526 | -e 's/@''GNULIB_STRPTIME''@/$(GNULIB_STRPTIME)/g' \ | |
2527 | -e 's/@''GNULIB_TIMEGM''@/$(GNULIB_TIMEGM)/g' \ | |
2528 | -e 's/@''GNULIB_TIME_R''@/$(GNULIB_TIME_R)/g' \ | |
49114fd4 | 2529 | -e 's|@''HAVE_DECL_LOCALTIME_R''@|$(HAVE_DECL_LOCALTIME_R)|g' \ |
a927b6c1 LC |
2530 | -e 's|@''HAVE_NANOSLEEP''@|$(HAVE_NANOSLEEP)|g' \ |
2531 | -e 's|@''HAVE_STRPTIME''@|$(HAVE_STRPTIME)|g' \ | |
2532 | -e 's|@''HAVE_TIMEGM''@|$(HAVE_TIMEGM)|g' \ | |
f4c79b3c LC |
2533 | -e 's|@''REPLACE_LOCALTIME_R''@|$(REPLACE_LOCALTIME_R)|g' \ |
2534 | -e 's|@''REPLACE_MKTIME''@|$(REPLACE_MKTIME)|g' \ | |
2535 | -e 's|@''REPLACE_NANOSLEEP''@|$(REPLACE_NANOSLEEP)|g' \ | |
f4c79b3c | 2536 | -e 's|@''REPLACE_TIMEGM''@|$(REPLACE_TIMEGM)|g' \ |
6f32e5c7 | 2537 | -e 's|@''PTHREAD_H_DEFINES_STRUCT_TIMESPEC''@|$(PTHREAD_H_DEFINES_STRUCT_TIMESPEC)|g' \ |
f4c79b3c LC |
2538 | -e 's|@''SYS_TIME_H_DEFINES_STRUCT_TIMESPEC''@|$(SYS_TIME_H_DEFINES_STRUCT_TIMESPEC)|g' \ |
2539 | -e 's|@''TIME_H_DEFINES_STRUCT_TIMESPEC''@|$(TIME_H_DEFINES_STRUCT_TIMESPEC)|g' \ | |
2540 | -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \ | |
1cd4fffc | 2541 | -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \ |
f4c79b3c | 2542 | -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \ |
e65fc94b | 2543 | < $(srcdir)/time.in.h; \ |
8912421c | 2544 | } > $@-t && \ |
e65fc94b LC |
2545 | mv $@-t $@ |
2546 | MOSTLYCLEANFILES += time.h time.h-t | |
2547 | ||
2548 | EXTRA_DIST += time.in.h | |
2549 | ||
2550 | ## end gnulib module time | |
2551 | ||
2552 | ## begin gnulib module time_r | |
2553 | ||
2554 | ||
2555 | EXTRA_DIST += time_r.c | |
2556 | ||
2557 | EXTRA_libgnu_la_SOURCES += time_r.c | |
2558 | ||
2559 | ## end gnulib module time_r | |
2560 | ||
49114fd4 LC |
2561 | ## begin gnulib module trunc |
2562 | ||
2563 | ||
2564 | EXTRA_DIST += trunc.c | |
2565 | ||
2566 | EXTRA_libgnu_la_SOURCES += trunc.c | |
2567 | ||
2568 | ## end gnulib module trunc | |
2569 | ||
9b36a80c LC |
2570 | ## begin gnulib module unistd |
2571 | ||
2572 | BUILT_SOURCES += unistd.h | |
2573 | ||
2574 | # We need the following in order to create an empty placeholder for | |
2575 | # <unistd.h> when the system doesn't have one. | |
dd7d0148 | 2576 | unistd.h: unistd.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H) |
8912421c | 2577 | $(AM_V_GEN)rm -f $@-t $@ && \ |
9b36a80c | 2578 | { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ |
3d458a81 AW |
2579 | sed -e 's|@''GUARD_PREFIX''@|GL|g' \ |
2580 | -e 's|@''HAVE_UNISTD_H''@|$(HAVE_UNISTD_H)|g' \ | |
9b36a80c LC |
2581 | -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ |
2582 | -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ | |
0f00f2c3 | 2583 | -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ |
9b36a80c | 2584 | -e 's|@''NEXT_UNISTD_H''@|$(NEXT_UNISTD_H)|g' \ |
005de2e8 | 2585 | -e 's|@''WINDOWS_64_BIT_OFF_T''@|$(WINDOWS_64_BIT_OFF_T)|g' \ |
35428fb6 | 2586 | -e 's/@''GNULIB_CHDIR''@/$(GNULIB_CHDIR)/g' \ |
3d458a81 AW |
2587 | -e 's/@''GNULIB_CHOWN''@/$(GNULIB_CHOWN)/g' \ |
2588 | -e 's/@''GNULIB_CLOSE''@/$(GNULIB_CLOSE)/g' \ | |
35428fb6 | 2589 | -e 's/@''GNULIB_DUP''@/$(GNULIB_DUP)/g' \ |
3d458a81 AW |
2590 | -e 's/@''GNULIB_DUP2''@/$(GNULIB_DUP2)/g' \ |
2591 | -e 's/@''GNULIB_DUP3''@/$(GNULIB_DUP3)/g' \ | |
2592 | -e 's/@''GNULIB_ENVIRON''@/$(GNULIB_ENVIRON)/g' \ | |
2593 | -e 's/@''GNULIB_EUIDACCESS''@/$(GNULIB_EUIDACCESS)/g' \ | |
2594 | -e 's/@''GNULIB_FACCESSAT''@/$(GNULIB_FACCESSAT)/g' \ | |
2595 | -e 's/@''GNULIB_FCHDIR''@/$(GNULIB_FCHDIR)/g' \ | |
2596 | -e 's/@''GNULIB_FCHOWNAT''@/$(GNULIB_FCHOWNAT)/g' \ | |
35428fb6 | 2597 | -e 's/@''GNULIB_FDATASYNC''@/$(GNULIB_FDATASYNC)/g' \ |
3d458a81 AW |
2598 | -e 's/@''GNULIB_FSYNC''@/$(GNULIB_FSYNC)/g' \ |
2599 | -e 's/@''GNULIB_FTRUNCATE''@/$(GNULIB_FTRUNCATE)/g' \ | |
2600 | -e 's/@''GNULIB_GETCWD''@/$(GNULIB_GETCWD)/g' \ | |
2601 | -e 's/@''GNULIB_GETDOMAINNAME''@/$(GNULIB_GETDOMAINNAME)/g' \ | |
2602 | -e 's/@''GNULIB_GETDTABLESIZE''@/$(GNULIB_GETDTABLESIZE)/g' \ | |
2603 | -e 's/@''GNULIB_GETGROUPS''@/$(GNULIB_GETGROUPS)/g' \ | |
2604 | -e 's/@''GNULIB_GETHOSTNAME''@/$(GNULIB_GETHOSTNAME)/g' \ | |
2605 | -e 's/@''GNULIB_GETLOGIN''@/$(GNULIB_GETLOGIN)/g' \ | |
2606 | -e 's/@''GNULIB_GETLOGIN_R''@/$(GNULIB_GETLOGIN_R)/g' \ | |
2607 | -e 's/@''GNULIB_GETPAGESIZE''@/$(GNULIB_GETPAGESIZE)/g' \ | |
2608 | -e 's/@''GNULIB_GETUSERSHELL''@/$(GNULIB_GETUSERSHELL)/g' \ | |
2609 | -e 's/@''GNULIB_GROUP_MEMBER''@/$(GNULIB_GROUP_MEMBER)/g' \ | |
f0007cad | 2610 | -e 's/@''GNULIB_ISATTY''@/$(GNULIB_ISATTY)/g' \ |
3d458a81 AW |
2611 | -e 's/@''GNULIB_LCHOWN''@/$(GNULIB_LCHOWN)/g' \ |
2612 | -e 's/@''GNULIB_LINK''@/$(GNULIB_LINK)/g' \ | |
2613 | -e 's/@''GNULIB_LINKAT''@/$(GNULIB_LINKAT)/g' \ | |
2614 | -e 's/@''GNULIB_LSEEK''@/$(GNULIB_LSEEK)/g' \ | |
2615 | -e 's/@''GNULIB_PIPE''@/$(GNULIB_PIPE)/g' \ | |
2616 | -e 's/@''GNULIB_PIPE2''@/$(GNULIB_PIPE2)/g' \ | |
2617 | -e 's/@''GNULIB_PREAD''@/$(GNULIB_PREAD)/g' \ | |
2618 | -e 's/@''GNULIB_PWRITE''@/$(GNULIB_PWRITE)/g' \ | |
2619 | -e 's/@''GNULIB_READ''@/$(GNULIB_READ)/g' \ | |
2620 | -e 's/@''GNULIB_READLINK''@/$(GNULIB_READLINK)/g' \ | |
2621 | -e 's/@''GNULIB_READLINKAT''@/$(GNULIB_READLINKAT)/g' \ | |
2622 | -e 's/@''GNULIB_RMDIR''@/$(GNULIB_RMDIR)/g' \ | |
7f1ea859 | 2623 | -e 's/@''GNULIB_SETHOSTNAME''@/$(GNULIB_SETHOSTNAME)/g' \ |
3d458a81 AW |
2624 | -e 's/@''GNULIB_SLEEP''@/$(GNULIB_SLEEP)/g' \ |
2625 | -e 's/@''GNULIB_SYMLINK''@/$(GNULIB_SYMLINK)/g' \ | |
2626 | -e 's/@''GNULIB_SYMLINKAT''@/$(GNULIB_SYMLINKAT)/g' \ | |
2627 | -e 's/@''GNULIB_TTYNAME_R''@/$(GNULIB_TTYNAME_R)/g' \ | |
7f1ea859 | 2628 | -e 's/@''GNULIB_UNISTD_H_GETOPT''@/0$(GNULIB_GL_UNISTD_H_GETOPT)/g' \ |
3d458a81 AW |
2629 | -e 's/@''GNULIB_UNISTD_H_NONBLOCKING''@/$(GNULIB_UNISTD_H_NONBLOCKING)/g' \ |
2630 | -e 's/@''GNULIB_UNISTD_H_SIGPIPE''@/$(GNULIB_UNISTD_H_SIGPIPE)/g' \ | |
2631 | -e 's/@''GNULIB_UNLINK''@/$(GNULIB_UNLINK)/g' \ | |
2632 | -e 's/@''GNULIB_UNLINKAT''@/$(GNULIB_UNLINKAT)/g' \ | |
2633 | -e 's/@''GNULIB_USLEEP''@/$(GNULIB_USLEEP)/g' \ | |
2634 | -e 's/@''GNULIB_WRITE''@/$(GNULIB_WRITE)/g' \ | |
61cd9dc9 LC |
2635 | < $(srcdir)/unistd.in.h | \ |
2636 | sed -e 's|@''HAVE_CHOWN''@|$(HAVE_CHOWN)|g' \ | |
9b36a80c | 2637 | -e 's|@''HAVE_DUP2''@|$(HAVE_DUP2)|g' \ |
8912421c | 2638 | -e 's|@''HAVE_DUP3''@|$(HAVE_DUP3)|g' \ |
9b36a80c | 2639 | -e 's|@''HAVE_EUIDACCESS''@|$(HAVE_EUIDACCESS)|g' \ |
8912421c | 2640 | -e 's|@''HAVE_FACCESSAT''@|$(HAVE_FACCESSAT)|g' \ |
a927b6c1 | 2641 | -e 's|@''HAVE_FCHDIR''@|$(HAVE_FCHDIR)|g' \ |
8912421c | 2642 | -e 's|@''HAVE_FCHOWNAT''@|$(HAVE_FCHOWNAT)|g' \ |
35428fb6 | 2643 | -e 's|@''HAVE_FDATASYNC''@|$(HAVE_FDATASYNC)|g' \ |
9b36a80c LC |
2644 | -e 's|@''HAVE_FSYNC''@|$(HAVE_FSYNC)|g' \ |
2645 | -e 's|@''HAVE_FTRUNCATE''@|$(HAVE_FTRUNCATE)|g' \ | |
9b36a80c | 2646 | -e 's|@''HAVE_GETDTABLESIZE''@|$(HAVE_GETDTABLESIZE)|g' \ |
f29ded4b | 2647 | -e 's|@''HAVE_GETGROUPS''@|$(HAVE_GETGROUPS)|g' \ |
9b36a80c | 2648 | -e 's|@''HAVE_GETHOSTNAME''@|$(HAVE_GETHOSTNAME)|g' \ |
61cd9dc9 | 2649 | -e 's|@''HAVE_GETLOGIN''@|$(HAVE_GETLOGIN)|g' \ |
9b36a80c | 2650 | -e 's|@''HAVE_GETPAGESIZE''@|$(HAVE_GETPAGESIZE)|g' \ |
3d458a81 | 2651 | -e 's|@''HAVE_GROUP_MEMBER''@|$(HAVE_GROUP_MEMBER)|g' \ |
f29ded4b | 2652 | -e 's|@''HAVE_LCHOWN''@|$(HAVE_LCHOWN)|g' \ |
f240aacb | 2653 | -e 's|@''HAVE_LINK''@|$(HAVE_LINK)|g' \ |
8912421c | 2654 | -e 's|@''HAVE_LINKAT''@|$(HAVE_LINKAT)|g' \ |
ab4d62ad | 2655 | -e 's|@''HAVE_PIPE''@|$(HAVE_PIPE)|g' \ |
8912421c | 2656 | -e 's|@''HAVE_PIPE2''@|$(HAVE_PIPE2)|g' \ |
1cd4fffc | 2657 | -e 's|@''HAVE_PREAD''@|$(HAVE_PREAD)|g' \ |
a927b6c1 | 2658 | -e 's|@''HAVE_PWRITE''@|$(HAVE_PWRITE)|g' \ |
9b36a80c | 2659 | -e 's|@''HAVE_READLINK''@|$(HAVE_READLINK)|g' \ |
8912421c | 2660 | -e 's|@''HAVE_READLINKAT''@|$(HAVE_READLINKAT)|g' \ |
7f1ea859 | 2661 | -e 's|@''HAVE_SETHOSTNAME''@|$(HAVE_SETHOSTNAME)|g' \ |
9b36a80c | 2662 | -e 's|@''HAVE_SLEEP''@|$(HAVE_SLEEP)|g' \ |
8912421c LC |
2663 | -e 's|@''HAVE_SYMLINK''@|$(HAVE_SYMLINK)|g' \ |
2664 | -e 's|@''HAVE_SYMLINKAT''@|$(HAVE_SYMLINKAT)|g' \ | |
2665 | -e 's|@''HAVE_UNLINKAT''@|$(HAVE_UNLINKAT)|g' \ | |
414e4441 | 2666 | -e 's|@''HAVE_USLEEP''@|$(HAVE_USLEEP)|g' \ |
9b36a80c | 2667 | -e 's|@''HAVE_DECL_ENVIRON''@|$(HAVE_DECL_ENVIRON)|g' \ |
ab4d62ad | 2668 | -e 's|@''HAVE_DECL_FCHDIR''@|$(HAVE_DECL_FCHDIR)|g' \ |
35428fb6 | 2669 | -e 's|@''HAVE_DECL_FDATASYNC''@|$(HAVE_DECL_FDATASYNC)|g' \ |
0f00f2c3 | 2670 | -e 's|@''HAVE_DECL_GETDOMAINNAME''@|$(HAVE_DECL_GETDOMAINNAME)|g' \ |
9b36a80c | 2671 | -e 's|@''HAVE_DECL_GETLOGIN_R''@|$(HAVE_DECL_GETLOGIN_R)|g' \ |
a927b6c1 LC |
2672 | -e 's|@''HAVE_DECL_GETPAGESIZE''@|$(HAVE_DECL_GETPAGESIZE)|g' \ |
2673 | -e 's|@''HAVE_DECL_GETUSERSHELL''@|$(HAVE_DECL_GETUSERSHELL)|g' \ | |
7f1ea859 | 2674 | -e 's|@''HAVE_DECL_SETHOSTNAME''@|$(HAVE_DECL_SETHOSTNAME)|g' \ |
ab4d62ad | 2675 | -e 's|@''HAVE_DECL_TTYNAME_R''@|$(HAVE_DECL_TTYNAME_R)|g' \ |
9b36a80c LC |
2676 | -e 's|@''HAVE_OS_H''@|$(HAVE_OS_H)|g' \ |
2677 | -e 's|@''HAVE_SYS_PARAM_H''@|$(HAVE_SYS_PARAM_H)|g' \ | |
49114fd4 LC |
2678 | | \ |
2679 | sed -e 's|@''REPLACE_CHOWN''@|$(REPLACE_CHOWN)|g' \ | |
9b36a80c | 2680 | -e 's|@''REPLACE_CLOSE''@|$(REPLACE_CLOSE)|g' \ |
8912421c | 2681 | -e 's|@''REPLACE_DUP''@|$(REPLACE_DUP)|g' \ |
25361e4b | 2682 | -e 's|@''REPLACE_DUP2''@|$(REPLACE_DUP2)|g' \ |
8912421c | 2683 | -e 's|@''REPLACE_FCHOWNAT''@|$(REPLACE_FCHOWNAT)|g' \ |
005de2e8 | 2684 | -e 's|@''REPLACE_FTRUNCATE''@|$(REPLACE_FTRUNCATE)|g' \ |
9b36a80c | 2685 | -e 's|@''REPLACE_GETCWD''@|$(REPLACE_GETCWD)|g' \ |
0f00f2c3 | 2686 | -e 's|@''REPLACE_GETDOMAINNAME''@|$(REPLACE_GETDOMAINNAME)|g' \ |
49114fd4 | 2687 | -e 's|@''REPLACE_GETLOGIN_R''@|$(REPLACE_GETLOGIN_R)|g' \ |
f29ded4b | 2688 | -e 's|@''REPLACE_GETGROUPS''@|$(REPLACE_GETGROUPS)|g' \ |
9b36a80c | 2689 | -e 's|@''REPLACE_GETPAGESIZE''@|$(REPLACE_GETPAGESIZE)|g' \ |
f0007cad | 2690 | -e 's|@''REPLACE_ISATTY''@|$(REPLACE_ISATTY)|g' \ |
9b36a80c | 2691 | -e 's|@''REPLACE_LCHOWN''@|$(REPLACE_LCHOWN)|g' \ |
8912421c LC |
2692 | -e 's|@''REPLACE_LINK''@|$(REPLACE_LINK)|g' \ |
2693 | -e 's|@''REPLACE_LINKAT''@|$(REPLACE_LINKAT)|g' \ | |
9b36a80c | 2694 | -e 's|@''REPLACE_LSEEK''@|$(REPLACE_LSEEK)|g' \ |
1cd4fffc | 2695 | -e 's|@''REPLACE_PREAD''@|$(REPLACE_PREAD)|g' \ |
a927b6c1 | 2696 | -e 's|@''REPLACE_PWRITE''@|$(REPLACE_PWRITE)|g' \ |
dd7d0148 | 2697 | -e 's|@''REPLACE_READ''@|$(REPLACE_READ)|g' \ |
8912421c LC |
2698 | -e 's|@''REPLACE_READLINK''@|$(REPLACE_READLINK)|g' \ |
2699 | -e 's|@''REPLACE_RMDIR''@|$(REPLACE_RMDIR)|g' \ | |
414e4441 | 2700 | -e 's|@''REPLACE_SLEEP''@|$(REPLACE_SLEEP)|g' \ |
8912421c | 2701 | -e 's|@''REPLACE_SYMLINK''@|$(REPLACE_SYMLINK)|g' \ |
a927b6c1 | 2702 | -e 's|@''REPLACE_TTYNAME_R''@|$(REPLACE_TTYNAME_R)|g' \ |
8912421c LC |
2703 | -e 's|@''REPLACE_UNLINK''@|$(REPLACE_UNLINK)|g' \ |
2704 | -e 's|@''REPLACE_UNLINKAT''@|$(REPLACE_UNLINKAT)|g' \ | |
414e4441 | 2705 | -e 's|@''REPLACE_USLEEP''@|$(REPLACE_USLEEP)|g' \ |
9b36a80c LC |
2706 | -e 's|@''REPLACE_WRITE''@|$(REPLACE_WRITE)|g' \ |
2707 | -e 's|@''UNISTD_H_HAVE_WINSOCK2_H''@|$(UNISTD_H_HAVE_WINSOCK2_H)|g' \ | |
8912421c | 2708 | -e 's|@''UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS''@|$(UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS)|g' \ |
f4c79b3c | 2709 | -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \ |
1cd4fffc | 2710 | -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \ |
61cd9dc9 | 2711 | -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)'; \ |
8912421c | 2712 | } > $@-t && \ |
9b36a80c LC |
2713 | mv $@-t $@ |
2714 | MOSTLYCLEANFILES += unistd.h unistd.h-t | |
2715 | ||
2716 | EXTRA_DIST += unistd.in.h | |
2717 | ||
2718 | ## end gnulib module unistd | |
2719 | ||
24d56127 LC |
2720 | ## begin gnulib module unistr/base |
2721 | ||
a927b6c1 | 2722 | BUILT_SOURCES += $(LIBUNISTRING_UNISTR_H) |
24d56127 | 2723 | |
a927b6c1 LC |
2724 | unistr.h: unistr.in.h |
2725 | $(AM_V_GEN)rm -f $@-t $@ && \ | |
2726 | { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ | |
2727 | cat $(srcdir)/unistr.in.h; \ | |
2728 | } > $@-t && \ | |
2729 | mv -f $@-t $@ | |
2730 | MOSTLYCLEANFILES += unistr.h unistr.h-t | |
2731 | ||
2732 | EXTRA_DIST += unistr.in.h | |
24d56127 LC |
2733 | |
2734 | ## end gnulib module unistr/base | |
2735 | ||
2736 | ## begin gnulib module unistr/u8-mbtouc | |
2737 | ||
6f32e5c7 LC |
2738 | if LIBUNISTRING_COMPILE_UNISTR_U8_MBTOUC |
2739 | libgnu_la_SOURCES += unistr/u8-mbtouc.c unistr/u8-mbtouc-aux.c | |
2740 | endif | |
24d56127 LC |
2741 | |
2742 | ## end gnulib module unistr/u8-mbtouc | |
2743 | ||
2744 | ## begin gnulib module unistr/u8-mbtouc-unsafe | |
2745 | ||
6f32e5c7 LC |
2746 | if LIBUNISTRING_COMPILE_UNISTR_U8_MBTOUC_UNSAFE |
2747 | libgnu_la_SOURCES += unistr/u8-mbtouc-unsafe.c unistr/u8-mbtouc-unsafe-aux.c | |
2748 | endif | |
24d56127 LC |
2749 | |
2750 | ## end gnulib module unistr/u8-mbtouc-unsafe | |
2751 | ||
2752 | ## begin gnulib module unistr/u8-mbtoucr | |
2753 | ||
6f32e5c7 LC |
2754 | if LIBUNISTRING_COMPILE_UNISTR_U8_MBTOUCR |
2755 | libgnu_la_SOURCES += unistr/u8-mbtoucr.c | |
2756 | endif | |
24d56127 LC |
2757 | |
2758 | ## end gnulib module unistr/u8-mbtoucr | |
2759 | ||
2760 | ## begin gnulib module unistr/u8-prev | |
2761 | ||
6f32e5c7 LC |
2762 | if LIBUNISTRING_COMPILE_UNISTR_U8_PREV |
2763 | libgnu_la_SOURCES += unistr/u8-prev.c | |
2764 | endif | |
24d56127 LC |
2765 | |
2766 | ## end gnulib module unistr/u8-prev | |
2767 | ||
2768 | ## begin gnulib module unistr/u8-uctomb | |
2769 | ||
6f32e5c7 LC |
2770 | if LIBUNISTRING_COMPILE_UNISTR_U8_UCTOMB |
2771 | libgnu_la_SOURCES += unistr/u8-uctomb.c unistr/u8-uctomb-aux.c | |
2772 | endif | |
24d56127 LC |
2773 | |
2774 | ## end gnulib module unistr/u8-uctomb | |
2775 | ||
2776 | ## begin gnulib module unitypes | |
2777 | ||
a927b6c1 LC |
2778 | BUILT_SOURCES += $(LIBUNISTRING_UNITYPES_H) |
2779 | ||
2780 | unitypes.h: unitypes.in.h | |
2781 | $(AM_V_GEN)rm -f $@-t $@ && \ | |
2782 | { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ | |
2783 | cat $(srcdir)/unitypes.in.h; \ | |
2784 | } > $@-t && \ | |
2785 | mv -f $@-t $@ | |
2786 | MOSTLYCLEANFILES += unitypes.h unitypes.h-t | |
24d56127 | 2787 | |
a927b6c1 | 2788 | EXTRA_DIST += unitypes.in.h |
24d56127 LC |
2789 | |
2790 | ## end gnulib module unitypes | |
2791 | ||
c84bdaf6 LC |
2792 | ## begin gnulib module useless-if-before-free |
2793 | ||
2794 | ||
2795 | EXTRA_DIST += $(top_srcdir)/build-aux/useless-if-before-free | |
2796 | ||
2797 | ## end gnulib module useless-if-before-free | |
2798 | ||
c4b681fd LC |
2799 | ## begin gnulib module vasnprintf |
2800 | ||
2801 | ||
2802 | EXTRA_DIST += asnprintf.c float+.h printf-args.c printf-args.h printf-parse.c printf-parse.h vasnprintf.c vasnprintf.h | |
2803 | ||
2804 | EXTRA_libgnu_la_SOURCES += asnprintf.c printf-args.c printf-parse.c vasnprintf.c | |
2805 | ||
2806 | ## end gnulib module vasnprintf | |
2807 | ||
c84bdaf6 LC |
2808 | ## begin gnulib module vc-list-files |
2809 | ||
2810 | ||
2811 | EXTRA_DIST += $(top_srcdir)/build-aux/vc-list-files | |
2812 | ||
2813 | ## end gnulib module vc-list-files | |
2814 | ||
d7014610 LC |
2815 | ## begin gnulib module verify |
2816 | ||
3d458a81 AW |
2817 | |
2818 | EXTRA_DIST += verify.h | |
d7014610 LC |
2819 | |
2820 | ## end gnulib module verify | |
2821 | ||
c4b681fd LC |
2822 | ## begin gnulib module vsnprintf |
2823 | ||
2824 | ||
2825 | EXTRA_DIST += vsnprintf.c | |
2826 | ||
2827 | EXTRA_libgnu_la_SOURCES += vsnprintf.c | |
2828 | ||
2829 | ## end gnulib module vsnprintf | |
2830 | ||
e65fc94b LC |
2831 | ## begin gnulib module wchar |
2832 | ||
61cd9dc9 | 2833 | BUILT_SOURCES += wchar.h |
e65fc94b LC |
2834 | |
2835 | # We need the following in order to create <wchar.h> when the system | |
2836 | # version does not work standalone. | |
dd7d0148 | 2837 | wchar.h: wchar.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H) |
8912421c | 2838 | $(AM_V_GEN)rm -f $@-t $@ && \ |
e65fc94b | 2839 | { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ |
3d458a81 AW |
2840 | sed -e 's|@''GUARD_PREFIX''@|GL|g' \ |
2841 | -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ | |
e65fc94b | 2842 | -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ |
0f00f2c3 LC |
2843 | -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ |
2844 | -e 's|@''HAVE_FEATURES_H''@|$(HAVE_FEATURES_H)|g' \ | |
e65fc94b | 2845 | -e 's|@''NEXT_WCHAR_H''@|$(NEXT_WCHAR_H)|g' \ |
4a462e35 | 2846 | -e 's|@''HAVE_WCHAR_H''@|$(HAVE_WCHAR_H)|g' \ |
3d458a81 AW |
2847 | -e 's/@''GNULIB_BTOWC''@/$(GNULIB_BTOWC)/g' \ |
2848 | -e 's/@''GNULIB_WCTOB''@/$(GNULIB_WCTOB)/g' \ | |
2849 | -e 's/@''GNULIB_MBSINIT''@/$(GNULIB_MBSINIT)/g' \ | |
2850 | -e 's/@''GNULIB_MBRTOWC''@/$(GNULIB_MBRTOWC)/g' \ | |
2851 | -e 's/@''GNULIB_MBRLEN''@/$(GNULIB_MBRLEN)/g' \ | |
2852 | -e 's/@''GNULIB_MBSRTOWCS''@/$(GNULIB_MBSRTOWCS)/g' \ | |
2853 | -e 's/@''GNULIB_MBSNRTOWCS''@/$(GNULIB_MBSNRTOWCS)/g' \ | |
2854 | -e 's/@''GNULIB_WCRTOMB''@/$(GNULIB_WCRTOMB)/g' \ | |
2855 | -e 's/@''GNULIB_WCSRTOMBS''@/$(GNULIB_WCSRTOMBS)/g' \ | |
2856 | -e 's/@''GNULIB_WCSNRTOMBS''@/$(GNULIB_WCSNRTOMBS)/g' \ | |
2857 | -e 's/@''GNULIB_WCWIDTH''@/$(GNULIB_WCWIDTH)/g' \ | |
2858 | -e 's/@''GNULIB_WMEMCHR''@/$(GNULIB_WMEMCHR)/g' \ | |
2859 | -e 's/@''GNULIB_WMEMCMP''@/$(GNULIB_WMEMCMP)/g' \ | |
2860 | -e 's/@''GNULIB_WMEMCPY''@/$(GNULIB_WMEMCPY)/g' \ | |
2861 | -e 's/@''GNULIB_WMEMMOVE''@/$(GNULIB_WMEMMOVE)/g' \ | |
2862 | -e 's/@''GNULIB_WMEMSET''@/$(GNULIB_WMEMSET)/g' \ | |
2863 | -e 's/@''GNULIB_WCSLEN''@/$(GNULIB_WCSLEN)/g' \ | |
2864 | -e 's/@''GNULIB_WCSNLEN''@/$(GNULIB_WCSNLEN)/g' \ | |
2865 | -e 's/@''GNULIB_WCSCPY''@/$(GNULIB_WCSCPY)/g' \ | |
2866 | -e 's/@''GNULIB_WCPCPY''@/$(GNULIB_WCPCPY)/g' \ | |
2867 | -e 's/@''GNULIB_WCSNCPY''@/$(GNULIB_WCSNCPY)/g' \ | |
2868 | -e 's/@''GNULIB_WCPNCPY''@/$(GNULIB_WCPNCPY)/g' \ | |
2869 | -e 's/@''GNULIB_WCSCAT''@/$(GNULIB_WCSCAT)/g' \ | |
2870 | -e 's/@''GNULIB_WCSNCAT''@/$(GNULIB_WCSNCAT)/g' \ | |
2871 | -e 's/@''GNULIB_WCSCMP''@/$(GNULIB_WCSCMP)/g' \ | |
2872 | -e 's/@''GNULIB_WCSNCMP''@/$(GNULIB_WCSNCMP)/g' \ | |
2873 | -e 's/@''GNULIB_WCSCASECMP''@/$(GNULIB_WCSCASECMP)/g' \ | |
2874 | -e 's/@''GNULIB_WCSNCASECMP''@/$(GNULIB_WCSNCASECMP)/g' \ | |
2875 | -e 's/@''GNULIB_WCSCOLL''@/$(GNULIB_WCSCOLL)/g' \ | |
2876 | -e 's/@''GNULIB_WCSXFRM''@/$(GNULIB_WCSXFRM)/g' \ | |
2877 | -e 's/@''GNULIB_WCSDUP''@/$(GNULIB_WCSDUP)/g' \ | |
2878 | -e 's/@''GNULIB_WCSCHR''@/$(GNULIB_WCSCHR)/g' \ | |
2879 | -e 's/@''GNULIB_WCSRCHR''@/$(GNULIB_WCSRCHR)/g' \ | |
2880 | -e 's/@''GNULIB_WCSCSPN''@/$(GNULIB_WCSCSPN)/g' \ | |
2881 | -e 's/@''GNULIB_WCSSPN''@/$(GNULIB_WCSSPN)/g' \ | |
2882 | -e 's/@''GNULIB_WCSPBRK''@/$(GNULIB_WCSPBRK)/g' \ | |
2883 | -e 's/@''GNULIB_WCSSTR''@/$(GNULIB_WCSSTR)/g' \ | |
2884 | -e 's/@''GNULIB_WCSTOK''@/$(GNULIB_WCSTOK)/g' \ | |
2885 | -e 's/@''GNULIB_WCSWIDTH''@/$(GNULIB_WCSWIDTH)/g' \ | |
49114fd4 LC |
2886 | < $(srcdir)/wchar.in.h | \ |
2887 | sed -e 's|@''HAVE_WINT_T''@|$(HAVE_WINT_T)|g' \ | |
4a462e35 NJ |
2888 | -e 's|@''HAVE_BTOWC''@|$(HAVE_BTOWC)|g' \ |
2889 | -e 's|@''HAVE_MBSINIT''@|$(HAVE_MBSINIT)|g' \ | |
2890 | -e 's|@''HAVE_MBRTOWC''@|$(HAVE_MBRTOWC)|g' \ | |
2891 | -e 's|@''HAVE_MBRLEN''@|$(HAVE_MBRLEN)|g' \ | |
2892 | -e 's|@''HAVE_MBSRTOWCS''@|$(HAVE_MBSRTOWCS)|g' \ | |
2893 | -e 's|@''HAVE_MBSNRTOWCS''@|$(HAVE_MBSNRTOWCS)|g' \ | |
2894 | -e 's|@''HAVE_WCRTOMB''@|$(HAVE_WCRTOMB)|g' \ | |
2895 | -e 's|@''HAVE_WCSRTOMBS''@|$(HAVE_WCSRTOMBS)|g' \ | |
2896 | -e 's|@''HAVE_WCSNRTOMBS''@|$(HAVE_WCSNRTOMBS)|g' \ | |
49114fd4 LC |
2897 | -e 's|@''HAVE_WMEMCHR''@|$(HAVE_WMEMCHR)|g' \ |
2898 | -e 's|@''HAVE_WMEMCMP''@|$(HAVE_WMEMCMP)|g' \ | |
2899 | -e 's|@''HAVE_WMEMCPY''@|$(HAVE_WMEMCPY)|g' \ | |
2900 | -e 's|@''HAVE_WMEMMOVE''@|$(HAVE_WMEMMOVE)|g' \ | |
2901 | -e 's|@''HAVE_WMEMSET''@|$(HAVE_WMEMSET)|g' \ | |
2902 | -e 's|@''HAVE_WCSLEN''@|$(HAVE_WCSLEN)|g' \ | |
2903 | -e 's|@''HAVE_WCSNLEN''@|$(HAVE_WCSNLEN)|g' \ | |
2904 | -e 's|@''HAVE_WCSCPY''@|$(HAVE_WCSCPY)|g' \ | |
2905 | -e 's|@''HAVE_WCPCPY''@|$(HAVE_WCPCPY)|g' \ | |
2906 | -e 's|@''HAVE_WCSNCPY''@|$(HAVE_WCSNCPY)|g' \ | |
2907 | -e 's|@''HAVE_WCPNCPY''@|$(HAVE_WCPNCPY)|g' \ | |
2908 | -e 's|@''HAVE_WCSCAT''@|$(HAVE_WCSCAT)|g' \ | |
2909 | -e 's|@''HAVE_WCSNCAT''@|$(HAVE_WCSNCAT)|g' \ | |
2910 | -e 's|@''HAVE_WCSCMP''@|$(HAVE_WCSCMP)|g' \ | |
2911 | -e 's|@''HAVE_WCSNCMP''@|$(HAVE_WCSNCMP)|g' \ | |
2912 | -e 's|@''HAVE_WCSCASECMP''@|$(HAVE_WCSCASECMP)|g' \ | |
2913 | -e 's|@''HAVE_WCSNCASECMP''@|$(HAVE_WCSNCASECMP)|g' \ | |
2914 | -e 's|@''HAVE_WCSCOLL''@|$(HAVE_WCSCOLL)|g' \ | |
2915 | -e 's|@''HAVE_WCSXFRM''@|$(HAVE_WCSXFRM)|g' \ | |
2916 | -e 's|@''HAVE_WCSDUP''@|$(HAVE_WCSDUP)|g' \ | |
2917 | -e 's|@''HAVE_WCSCHR''@|$(HAVE_WCSCHR)|g' \ | |
2918 | -e 's|@''HAVE_WCSRCHR''@|$(HAVE_WCSRCHR)|g' \ | |
2919 | -e 's|@''HAVE_WCSCSPN''@|$(HAVE_WCSCSPN)|g' \ | |
2920 | -e 's|@''HAVE_WCSSPN''@|$(HAVE_WCSSPN)|g' \ | |
2921 | -e 's|@''HAVE_WCSPBRK''@|$(HAVE_WCSPBRK)|g' \ | |
2922 | -e 's|@''HAVE_WCSSTR''@|$(HAVE_WCSSTR)|g' \ | |
2923 | -e 's|@''HAVE_WCSTOK''@|$(HAVE_WCSTOK)|g' \ | |
2924 | -e 's|@''HAVE_WCSWIDTH''@|$(HAVE_WCSWIDTH)|g' \ | |
4a462e35 | 2925 | -e 's|@''HAVE_DECL_WCTOB''@|$(HAVE_DECL_WCTOB)|g' \ |
e65fc94b | 2926 | -e 's|@''HAVE_DECL_WCWIDTH''@|$(HAVE_DECL_WCWIDTH)|g' \ |
49114fd4 LC |
2927 | | \ |
2928 | sed -e 's|@''REPLACE_MBSTATE_T''@|$(REPLACE_MBSTATE_T)|g' \ | |
4a462e35 NJ |
2929 | -e 's|@''REPLACE_BTOWC''@|$(REPLACE_BTOWC)|g' \ |
2930 | -e 's|@''REPLACE_WCTOB''@|$(REPLACE_WCTOB)|g' \ | |
2931 | -e 's|@''REPLACE_MBSINIT''@|$(REPLACE_MBSINIT)|g' \ | |
2932 | -e 's|@''REPLACE_MBRTOWC''@|$(REPLACE_MBRTOWC)|g' \ | |
2933 | -e 's|@''REPLACE_MBRLEN''@|$(REPLACE_MBRLEN)|g' \ | |
2934 | -e 's|@''REPLACE_MBSRTOWCS''@|$(REPLACE_MBSRTOWCS)|g' \ | |
2935 | -e 's|@''REPLACE_MBSNRTOWCS''@|$(REPLACE_MBSNRTOWCS)|g' \ | |
2936 | -e 's|@''REPLACE_WCRTOMB''@|$(REPLACE_WCRTOMB)|g' \ | |
2937 | -e 's|@''REPLACE_WCSRTOMBS''@|$(REPLACE_WCSRTOMBS)|g' \ | |
f240aacb | 2938 | -e 's|@''REPLACE_WCSNRTOMBS''@|$(REPLACE_WCSNRTOMBS)|g' \ |
e65fc94b | 2939 | -e 's|@''REPLACE_WCWIDTH''@|$(REPLACE_WCWIDTH)|g' \ |
49114fd4 | 2940 | -e 's|@''REPLACE_WCSWIDTH''@|$(REPLACE_WCSWIDTH)|g' \ |
f4c79b3c | 2941 | -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \ |
1cd4fffc | 2942 | -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \ |
49114fd4 | 2943 | -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)'; \ |
8912421c | 2944 | } > $@-t && \ |
e65fc94b LC |
2945 | mv $@-t $@ |
2946 | MOSTLYCLEANFILES += wchar.h wchar.h-t | |
2947 | ||
2948 | EXTRA_DIST += wchar.in.h | |
2949 | ||
2950 | ## end gnulib module wchar | |
2951 | ||
eb4a14ed LC |
2952 | ## begin gnulib module wcrtomb |
2953 | ||
2954 | ||
2955 | EXTRA_DIST += wcrtomb.c | |
2956 | ||
2957 | EXTRA_libgnu_la_SOURCES += wcrtomb.c | |
2958 | ||
2959 | ## end gnulib module wcrtomb | |
2960 | ||
2961 | ## begin gnulib module wctype-h | |
2962 | ||
2963 | BUILT_SOURCES += wctype.h | |
2964 | ||
2965 | # We need the following in order to create <wctype.h> when the system | |
2966 | # doesn't have one that works with the given compiler. | |
2967 | wctype.h: wctype.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(WARN_ON_USE_H) | |
2968 | $(AM_V_GEN)rm -f $@-t $@ && \ | |
2969 | { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ | |
2970 | sed -e 's|@''GUARD_PREFIX''@|GL|g' \ | |
2971 | -e 's/@''HAVE_WCTYPE_H''@/$(HAVE_WCTYPE_H)/g' \ | |
2972 | -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ | |
2973 | -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ | |
2974 | -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ | |
2975 | -e 's|@''NEXT_WCTYPE_H''@|$(NEXT_WCTYPE_H)|g' \ | |
2976 | -e 's/@''GNULIB_ISWBLANK''@/$(GNULIB_ISWBLANK)/g' \ | |
2977 | -e 's/@''GNULIB_WCTYPE''@/$(GNULIB_WCTYPE)/g' \ | |
2978 | -e 's/@''GNULIB_ISWCTYPE''@/$(GNULIB_ISWCTYPE)/g' \ | |
2979 | -e 's/@''GNULIB_WCTRANS''@/$(GNULIB_WCTRANS)/g' \ | |
2980 | -e 's/@''GNULIB_TOWCTRANS''@/$(GNULIB_TOWCTRANS)/g' \ | |
2981 | -e 's/@''HAVE_ISWBLANK''@/$(HAVE_ISWBLANK)/g' \ | |
2982 | -e 's/@''HAVE_ISWCNTRL''@/$(HAVE_ISWCNTRL)/g' \ | |
2983 | -e 's/@''HAVE_WCTYPE_T''@/$(HAVE_WCTYPE_T)/g' \ | |
2984 | -e 's/@''HAVE_WCTRANS_T''@/$(HAVE_WCTRANS_T)/g' \ | |
2985 | -e 's/@''HAVE_WINT_T''@/$(HAVE_WINT_T)/g' \ | |
2986 | -e 's/@''REPLACE_ISWBLANK''@/$(REPLACE_ISWBLANK)/g' \ | |
2987 | -e 's/@''REPLACE_ISWCNTRL''@/$(REPLACE_ISWCNTRL)/g' \ | |
2988 | -e 's/@''REPLACE_TOWLOWER''@/$(REPLACE_TOWLOWER)/g' \ | |
2989 | -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \ | |
2990 | -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \ | |
2991 | < $(srcdir)/wctype.in.h; \ | |
2992 | } > $@-t && \ | |
2993 | mv $@-t $@ | |
2994 | MOSTLYCLEANFILES += wctype.h wctype.h-t | |
2995 | ||
2996 | EXTRA_DIST += wctype.in.h | |
2997 | ||
2998 | ## end gnulib module wctype-h | |
2999 | ||
9b36a80c LC |
3000 | ## begin gnulib module write |
3001 | ||
3002 | ||
3003 | EXTRA_DIST += write.c | |
103dc4d4 | 3004 | |
9b36a80c | 3005 | EXTRA_libgnu_la_SOURCES += write.c |
103dc4d4 | 3006 | |
9b36a80c | 3007 | ## end gnulib module write |
103dc4d4 | 3008 | |
c4b681fd LC |
3009 | ## begin gnulib module xsize |
3010 | ||
3011 | libgnu_la_SOURCES += xsize.h | |
3012 | ||
3013 | ## end gnulib module xsize | |
3014 | ||
103dc4d4 LC |
3015 | |
3016 | mostlyclean-local: mostlyclean-generic | |
3017 | @for dir in '' $(MOSTLYCLEANDIRS); do \ | |
3018 | if test -n "$$dir" && test -d $$dir; then \ | |
3019 | echo "rmdir $$dir"; rmdir $$dir; \ | |
3020 | fi; \ | |
3021 | done; \ | |
3022 | : |