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