Commit | Line | Data |
---|---|---|
103dc4d4 LC |
1 | ## DO NOT EDIT! GENERATED AUTOMATICALLY! |
2 | ## Process this file with automake to produce Makefile.in. | |
4a462e35 | 3 | # Copyright (C) 2002-2009 Free Software Foundation, Inc. |
103dc4d4 LC |
4 | # |
5 | # This file is free software, distributed under the terms of the GNU | |
6 | # General Public License. As a special exception to the GNU General | |
7 | # Public License, this file may be distributed as part of a program | |
8 | # that contains a configuration script generated by Autoconf, under | |
9 | # the same distribution terms as the rest of that program. | |
10 | # | |
11 | # Generated by gnulib-tool. | |
f29ded4b | 12 | # Reproduce by: gnulib-tool --import --dir=. --lib=libgnu --source-base=lib --m4-base=m4 --doc-base=doc --tests-base=tests --aux-dir=build-aux --lgpl --libtool --macro-prefix=gl --no-vc-files alignof alloca-opt autobuild byteswap canonicalize-lgpl environ extensions flock fpieee full-read full-write havelib iconv_open-utf inet_ntop inet_pton lib-symbol-versions lib-symbol-visibility libunistring putenv stdlib strcase strftime striconveh string verify vsnprintf warnings |
103dc4d4 | 13 | |
24d56127 | 14 | AUTOMAKE_OPTIONS = 1.5 gnits subdir-objects |
103dc4d4 | 15 | |
aa7a939c | 16 | SUBDIRS = |
103dc4d4 LC |
17 | noinst_HEADERS = |
18 | noinst_LIBRARIES = | |
19 | noinst_LTLIBRARIES = | |
20 | EXTRA_DIST = | |
21 | BUILT_SOURCES = | |
22 | SUFFIXES = | |
23 | MOSTLYCLEANFILES = core *.stackdump | |
24 | MOSTLYCLEANDIRS = | |
25 | CLEANFILES = | |
26 | DISTCLEANFILES = | |
27 | MAINTAINERCLEANFILES = | |
28 | ||
29 | AM_CPPFLAGS = | |
f240aacb | 30 | AM_CFLAGS = |
103dc4d4 LC |
31 | |
32 | noinst_LTLIBRARIES += libgnu.la | |
33 | ||
34 | libgnu_la_SOURCES = | |
35 | libgnu_la_LIBADD = $(gl_LTLIBOBJS) | |
36 | libgnu_la_DEPENDENCIES = $(gl_LTLIBOBJS) | |
37 | EXTRA_libgnu_la_SOURCES = | |
38 | libgnu_la_LDFLAGS = $(AM_LDFLAGS) | |
39 | ||
8912421c LC |
40 | ## begin gnulib module alignof |
41 | ||
42 | ||
43 | EXTRA_DIST += alignof.h | |
44 | ||
45 | ## end gnulib module alignof | |
46 | ||
103dc4d4 LC |
47 | ## begin gnulib module alloca-opt |
48 | ||
49 | BUILT_SOURCES += $(ALLOCA_H) | |
50 | ||
51 | # We need the following in order to create <alloca.h> when the system | |
52 | # doesn't have one that works with the given compiler. | |
53 | alloca.h: alloca.in.h | |
8912421c | 54 | $(AM_V_GEN)rm -f $@-t $@ && \ |
103dc4d4 LC |
55 | { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ |
56 | cat $(srcdir)/alloca.in.h; \ | |
8912421c | 57 | } > $@-t && \ |
103dc4d4 LC |
58 | mv -f $@-t $@ |
59 | MOSTLYCLEANFILES += alloca.h alloca.h-t | |
60 | ||
61 | EXTRA_DIST += alloca.in.h | |
62 | ||
63 | ## end gnulib module alloca-opt | |
64 | ||
8912421c LC |
65 | ## begin gnulib module arpa_inet |
66 | ||
67 | BUILT_SOURCES += $(ARPA_INET_H) | |
68 | ||
69 | # We need the following in order to create <arpa/inet.h> when the system | |
70 | # doesn't have one. | |
71 | arpa/inet.h: arpa_inet.in.h | |
72 | $(AM_V_at)$(MKDIR_P) arpa | |
73 | $(AM_V_GEN)rm -f $@-t $@ && \ | |
74 | { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ | |
75 | sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ | |
76 | -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ | |
77 | -e 's|@''NEXT_ARPA_INET_H''@|$(NEXT_ARPA_INET_H)|g' \ | |
78 | -e 's|@''HAVE_ARPA_INET_H''@|$(HAVE_ARPA_INET_H)|g' \ | |
79 | -e 's|@''GNULIB_INET_NTOP''@|$(GNULIB_INET_NTOP)|g' \ | |
80 | -e 's|@''GNULIB_INET_PTON''@|$(GNULIB_INET_PTON)|g' \ | |
81 | -e 's|@''HAVE_DECL_INET_NTOP''@|$(HAVE_DECL_INET_NTOP)|g' \ | |
82 | -e 's|@''HAVE_DECL_INET_PTON''@|$(HAVE_DECL_INET_PTON)|g' \ | |
83 | -e '/definition of GL_LINK_WARNING/r $(LINK_WARNING_H)' \ | |
84 | < $(srcdir)/arpa_inet.in.h; \ | |
85 | } > $@-t && \ | |
86 | mv $@-t $@ | |
87 | MOSTLYCLEANFILES += arpa/inet.h arpa/inet.h-t | |
88 | MOSTLYCLEANDIRS += arpa | |
89 | ||
90 | EXTRA_DIST += arpa_inet.in.h | |
91 | ||
92 | ## end gnulib module arpa_inet | |
93 | ||
24d56127 LC |
94 | ## begin gnulib module byteswap |
95 | ||
96 | BUILT_SOURCES += $(BYTESWAP_H) | |
97 | ||
98 | # We need the following in order to create <byteswap.h> when the system | |
99 | # doesn't have one. | |
100 | byteswap.h: byteswap.in.h | |
8912421c | 101 | $(AM_V_GEN)rm -f $@-t $@ && \ |
24d56127 LC |
102 | { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ |
103 | cat $(srcdir)/byteswap.in.h; \ | |
8912421c | 104 | } > $@-t && \ |
24d56127 LC |
105 | mv -f $@-t $@ |
106 | MOSTLYCLEANFILES += byteswap.h byteswap.h-t | |
107 | ||
108 | EXTRA_DIST += byteswap.in.h | |
109 | ||
110 | ## end gnulib module byteswap | |
111 | ||
112 | ## begin gnulib module c-ctype | |
113 | ||
114 | libgnu_la_SOURCES += c-ctype.h c-ctype.c | |
115 | ||
116 | ## end gnulib module c-ctype | |
117 | ||
118 | ## begin gnulib module c-strcase | |
119 | ||
120 | libgnu_la_SOURCES += c-strcase.h c-strcasecmp.c c-strncasecmp.c | |
121 | ||
122 | ## end gnulib module c-strcase | |
123 | ||
124 | ## begin gnulib module c-strcaseeq | |
125 | ||
126 | ||
127 | EXTRA_DIST += c-strcaseeq.h | |
128 | ||
129 | ## end gnulib module c-strcaseeq | |
130 | ||
ffca4c22 AW |
131 | ## begin gnulib module canonicalize-lgpl |
132 | ||
133 | ||
8912421c | 134 | EXTRA_DIST += canonicalize-lgpl.c |
ffca4c22 AW |
135 | |
136 | EXTRA_libgnu_la_SOURCES += canonicalize-lgpl.c | |
137 | ||
138 | ## end gnulib module canonicalize-lgpl | |
139 | ||
4a462e35 NJ |
140 | ## begin gnulib module configmake |
141 | ||
142 | # Retrieve values of the variables through 'configure' followed by | |
143 | # 'make', not directly through 'configure', so that a user who | |
144 | # sets some of these variables consistently on the 'make' command | |
145 | # line gets correct results. | |
146 | # | |
147 | # One advantage of this approach, compared to the classical | |
148 | # approach of adding -DLIBDIR=\"$(libdir)\" etc. to AM_CPPFLAGS, | |
149 | # is that it protects against the use of undefined variables. | |
150 | # If, say, $(libdir) is not set in the Makefile, LIBDIR is not | |
151 | # defined by this module, and code using LIBDIR gives a | |
152 | # compilation error. | |
153 | # | |
154 | # Another advantage is that 'make' output is shorter. | |
155 | # | |
156 | # Listed in the same order as the GNU makefile conventions. | |
157 | # The Automake-defined pkg* macros are appended, in the order | |
158 | # listed in the Automake 1.10a+ documentation. | |
159 | configmake.h: Makefile | |
8912421c | 160 | $(AM_V_GEN)rm -f $@-t && \ |
4a462e35 NJ |
161 | { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ |
162 | echo '#define PREFIX "$(prefix)"'; \ | |
163 | echo '#define EXEC_PREFIX "$(exec_prefix)"'; \ | |
164 | echo '#define BINDIR "$(bindir)"'; \ | |
165 | echo '#define SBINDIR "$(sbindir)"'; \ | |
166 | echo '#define LIBEXECDIR "$(libexecdir)"'; \ | |
167 | echo '#define DATAROOTDIR "$(datarootdir)"'; \ | |
168 | echo '#define DATADIR "$(datadir)"'; \ | |
169 | echo '#define SYSCONFDIR "$(sysconfdir)"'; \ | |
170 | echo '#define SHAREDSTATEDIR "$(sharedstatedir)"'; \ | |
171 | echo '#define LOCALSTATEDIR "$(localstatedir)"'; \ | |
172 | echo '#define INCLUDEDIR "$(includedir)"'; \ | |
173 | echo '#define OLDINCLUDEDIR "$(oldincludedir)"'; \ | |
174 | echo '#define DOCDIR "$(docdir)"'; \ | |
175 | echo '#define INFODIR "$(infodir)"'; \ | |
176 | echo '#define HTMLDIR "$(htmldir)"'; \ | |
177 | echo '#define DVIDIR "$(dvidir)"'; \ | |
178 | echo '#define PDFDIR "$(pdfdir)"'; \ | |
179 | echo '#define PSDIR "$(psdir)"'; \ | |
180 | echo '#define LIBDIR "$(libdir)"'; \ | |
181 | echo '#define LISPDIR "$(lispdir)"'; \ | |
182 | echo '#define LOCALEDIR "$(localedir)"'; \ | |
183 | echo '#define MANDIR "$(mandir)"'; \ | |
184 | echo '#define MANEXT "$(manext)"'; \ | |
185 | echo '#define PKGDATADIR "$(pkgdatadir)"'; \ | |
186 | echo '#define PKGINCLUDEDIR "$(pkgincludedir)"'; \ | |
187 | echo '#define PKGLIBDIR "$(pkglibdir)"'; \ | |
188 | echo '#define PKGLIBEXECDIR "$(pkglibexecdir)"'; \ | |
8912421c | 189 | } | sed '/""/d' > $@-t && \ |
f240aacb LC |
190 | if test -f $@ && cmp $@-t $@ > /dev/null; then \ |
191 | rm -f $@-t; \ | |
192 | else \ | |
193 | rm -f $@; mv $@-t $@; \ | |
194 | fi | |
195 | ||
4a462e35 NJ |
196 | BUILT_SOURCES += configmake.h |
197 | CLEANFILES += configmake.h configmake.h-t | |
198 | ||
199 | ## end gnulib module configmake | |
200 | ||
c4b681fd LC |
201 | ## begin gnulib module errno |
202 | ||
203 | BUILT_SOURCES += $(ERRNO_H) | |
204 | ||
205 | # We need the following in order to create <errno.h> when the system | |
206 | # doesn't have one that is POSIX compliant. | |
207 | errno.h: errno.in.h | |
8912421c | 208 | $(AM_V_GEN)rm -f $@-t $@ && \ |
c4b681fd LC |
209 | { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \ |
210 | sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ | |
211 | -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ | |
212 | -e 's|@''NEXT_ERRNO_H''@|$(NEXT_ERRNO_H)|g' \ | |
213 | -e 's|@''EMULTIHOP_HIDDEN''@|$(EMULTIHOP_HIDDEN)|g' \ | |
214 | -e 's|@''EMULTIHOP_VALUE''@|$(EMULTIHOP_VALUE)|g' \ | |
215 | -e 's|@''ENOLINK_HIDDEN''@|$(ENOLINK_HIDDEN)|g' \ | |
216 | -e 's|@''ENOLINK_VALUE''@|$(ENOLINK_VALUE)|g' \ | |
217 | -e 's|@''EOVERFLOW_HIDDEN''@|$(EOVERFLOW_HIDDEN)|g' \ | |
218 | -e 's|@''EOVERFLOW_VALUE''@|$(EOVERFLOW_VALUE)|g' \ | |
219 | < $(srcdir)/errno.in.h; \ | |
8912421c | 220 | } > $@-t && \ |
c4b681fd LC |
221 | mv $@-t $@ |
222 | MOSTLYCLEANFILES += errno.h errno.h-t | |
223 | ||
224 | EXTRA_DIST += errno.in.h | |
225 | ||
226 | ## end gnulib module errno | |
227 | ||
228 | ## begin gnulib module float | |
229 | ||
230 | BUILT_SOURCES += $(FLOAT_H) | |
231 | ||
232 | # We need the following in order to create <float.h> when the system | |
233 | # doesn't have one that works with the given compiler. | |
234 | float.h: float.in.h | |
8912421c | 235 | $(AM_V_GEN)rm -f $@-t $@ && \ |
c4b681fd LC |
236 | { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \ |
237 | sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ | |
238 | -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ | |
239 | -e 's|@''NEXT_FLOAT_H''@|$(NEXT_FLOAT_H)|g' \ | |
240 | < $(srcdir)/float.in.h; \ | |
8912421c | 241 | } > $@-t && \ |
c4b681fd LC |
242 | mv $@-t $@ |
243 | MOSTLYCLEANFILES += float.h float.h-t | |
244 | ||
245 | EXTRA_DIST += float.in.h | |
246 | ||
247 | ## end gnulib module float | |
248 | ||
f240aacb LC |
249 | ## begin gnulib module flock |
250 | ||
251 | ||
252 | EXTRA_DIST += flock.c | |
253 | ||
254 | EXTRA_libgnu_la_SOURCES += flock.c | |
255 | ||
256 | ## end gnulib module flock | |
257 | ||
9b36a80c LC |
258 | ## begin gnulib module full-read |
259 | ||
260 | libgnu_la_SOURCES += full-read.h full-read.c | |
261 | ||
262 | ## end gnulib module full-read | |
263 | ||
264 | ## begin gnulib module full-write | |
265 | ||
266 | libgnu_la_SOURCES += full-write.h full-write.c | |
267 | ||
268 | ## end gnulib module full-write | |
269 | ||
24d56127 LC |
270 | ## begin gnulib module gperf |
271 | ||
272 | GPERF = gperf | |
273 | ||
274 | ## end gnulib module gperf | |
275 | ||
276 | ## begin gnulib module havelib | |
277 | ||
278 | ||
279 | EXTRA_DIST += $(top_srcdir)/build-aux/config.rpath | |
280 | ||
281 | ## end gnulib module havelib | |
282 | ||
283 | ## begin gnulib module iconv_open | |
284 | ||
285 | BUILT_SOURCES += $(ICONV_H) | |
286 | ||
287 | # We need the following in order to create <iconv.h> when the system | |
288 | # doesn't have one that works with the given compiler. | |
289 | iconv.h: iconv.in.h | |
8912421c | 290 | $(AM_V_GEN)rm -f $@-t $@ && \ |
24d56127 LC |
291 | { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \ |
292 | sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ | |
293 | -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ | |
294 | -e 's|@''NEXT_ICONV_H''@|$(NEXT_ICONV_H)|g' \ | |
295 | -e 's|@''ICONV_CONST''@|$(ICONV_CONST)|g' \ | |
296 | -e 's|@''REPLACE_ICONV''@|$(REPLACE_ICONV)|g' \ | |
297 | -e 's|@''REPLACE_ICONV_OPEN''@|$(REPLACE_ICONV_OPEN)|g' \ | |
298 | -e 's|@''REPLACE_ICONV_UTF''@|$(REPLACE_ICONV_UTF)|g' \ | |
299 | < $(srcdir)/iconv.in.h; \ | |
8912421c | 300 | } > $@-t && \ |
24d56127 LC |
301 | mv $@-t $@ |
302 | MOSTLYCLEANFILES += iconv.h iconv.h-t | |
303 | ||
304 | iconv_open-aix.h: iconv_open-aix.gperf | |
305 | $(GPERF) -m 10 $(srcdir)/iconv_open-aix.gperf > $(srcdir)/iconv_open-aix.h-t | |
306 | mv $(srcdir)/iconv_open-aix.h-t $(srcdir)/iconv_open-aix.h | |
307 | iconv_open-hpux.h: iconv_open-hpux.gperf | |
308 | $(GPERF) -m 10 $(srcdir)/iconv_open-hpux.gperf > $(srcdir)/iconv_open-hpux.h-t | |
309 | mv $(srcdir)/iconv_open-hpux.h-t $(srcdir)/iconv_open-hpux.h | |
310 | iconv_open-irix.h: iconv_open-irix.gperf | |
311 | $(GPERF) -m 10 $(srcdir)/iconv_open-irix.gperf > $(srcdir)/iconv_open-irix.h-t | |
312 | mv $(srcdir)/iconv_open-irix.h-t $(srcdir)/iconv_open-irix.h | |
313 | iconv_open-osf.h: iconv_open-osf.gperf | |
314 | $(GPERF) -m 10 $(srcdir)/iconv_open-osf.gperf > $(srcdir)/iconv_open-osf.h-t | |
315 | mv $(srcdir)/iconv_open-osf.h-t $(srcdir)/iconv_open-osf.h | |
8912421c LC |
316 | iconv_open-solaris.h: iconv_open-solaris.gperf |
317 | $(GPERF) -m 10 $(srcdir)/iconv_open-solaris.gperf > $(srcdir)/iconv_open-solaris.h-t | |
318 | mv $(srcdir)/iconv_open-solaris.h-t $(srcdir)/iconv_open-solaris.h | |
319 | BUILT_SOURCES += iconv_open-aix.h iconv_open-hpux.h iconv_open-irix.h iconv_open-osf.h iconv_open-solaris.h | |
320 | 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 | |
321 | MAINTAINERCLEANFILES += iconv_open-aix.h iconv_open-hpux.h iconv_open-irix.h iconv_open-osf.h iconv_open-solaris.h | |
322 | EXTRA_DIST += iconv_open-aix.h iconv_open-hpux.h iconv_open-irix.h iconv_open-osf.h iconv_open-solaris.h | |
24d56127 | 323 | |
8912421c | 324 | EXTRA_DIST += iconv.in.h iconv_open-aix.gperf iconv_open-hpux.gperf iconv_open-irix.gperf iconv_open-osf.gperf iconv_open-solaris.gperf iconv_open.c |
24d56127 LC |
325 | |
326 | EXTRA_libgnu_la_SOURCES += iconv_open.c | |
327 | ||
328 | ## end gnulib module iconv_open | |
329 | ||
330 | ## begin gnulib module iconv_open-utf | |
331 | ||
332 | ||
333 | EXTRA_DIST += iconv.c iconv_close.c | |
334 | ||
335 | EXTRA_libgnu_la_SOURCES += iconv.c iconv_close.c | |
336 | ||
337 | ## end gnulib module iconv_open-utf | |
338 | ||
8912421c LC |
339 | ## begin gnulib module inet_ntop |
340 | ||
341 | ||
342 | EXTRA_DIST += inet_ntop.c | |
343 | ||
344 | EXTRA_libgnu_la_SOURCES += inet_ntop.c | |
345 | ||
346 | ## end gnulib module inet_ntop | |
347 | ||
348 | ## begin gnulib module inet_pton | |
349 | ||
350 | ||
351 | EXTRA_DIST += inet_pton.c | |
352 | ||
353 | EXTRA_libgnu_la_SOURCES += inet_pton.c | |
354 | ||
355 | ## end gnulib module inet_pton | |
356 | ||
d9a9e182 AW |
357 | ## begin gnulib module lib-symbol-visibility |
358 | ||
359 | # The value of $(CFLAG_VISIBILITY) needs to be added to the CFLAGS for the | |
360 | # compilation of all sources that make up the library. This line here does it | |
361 | # only for the gnulib part of it. The developer is responsible for adding | |
362 | # $(CFLAG_VISIBILITY) to the Makefile.ams of the other portions of the library. | |
363 | AM_CFLAGS += $(CFLAG_VISIBILITY) | |
364 | ||
365 | ## end gnulib module lib-symbol-visibility | |
366 | ||
103dc4d4 LC |
367 | ## begin gnulib module link-warning |
368 | ||
369 | LINK_WARNING_H=$(top_srcdir)/build-aux/link-warning.h | |
370 | ||
371 | EXTRA_DIST += $(top_srcdir)/build-aux/link-warning.h | |
372 | ||
373 | ## end gnulib module link-warning | |
374 | ||
4a462e35 NJ |
375 | ## begin gnulib module localcharset |
376 | ||
377 | libgnu_la_SOURCES += localcharset.h localcharset.c | |
378 | ||
379 | # We need the following in order to install a simple file in $(libdir) | |
380 | # which is shared with other installed packages. We use a list of referencing | |
381 | # packages so that "make uninstall" will remove the file if and only if it | |
382 | # is not used by another installed package. | |
383 | # On systems with glibc-2.1 or newer, the file is redundant, therefore we | |
384 | # avoid installing it. | |
385 | ||
386 | all-local: charset.alias ref-add.sed ref-del.sed | |
387 | ||
388 | charset_alias = $(DESTDIR)$(libdir)/charset.alias | |
389 | charset_tmp = $(DESTDIR)$(libdir)/charset.tmp | |
f240aacb LC |
390 | install-exec-local: install-exec-localcharset |
391 | install-exec-localcharset: all-local | |
392 | if test $(GLIBC21) = no; then \ | |
393 | case '$(host_os)' in \ | |
394 | darwin[56]*) \ | |
395 | need_charset_alias=true ;; \ | |
396 | darwin* | cygwin* | mingw* | pw32* | cegcc*) \ | |
397 | need_charset_alias=false ;; \ | |
398 | *) \ | |
399 | need_charset_alias=true ;; \ | |
400 | esac ; \ | |
401 | else \ | |
402 | need_charset_alias=false ; \ | |
403 | fi ; \ | |
404 | if $$need_charset_alias; then \ | |
405 | $(mkinstalldirs) $(DESTDIR)$(libdir) ; \ | |
406 | fi ; \ | |
4a462e35 NJ |
407 | if test -f $(charset_alias); then \ |
408 | sed -f ref-add.sed $(charset_alias) > $(charset_tmp) ; \ | |
409 | $(INSTALL_DATA) $(charset_tmp) $(charset_alias) ; \ | |
410 | rm -f $(charset_tmp) ; \ | |
411 | else \ | |
f240aacb | 412 | if $$need_charset_alias; then \ |
4a462e35 NJ |
413 | sed -f ref-add.sed charset.alias > $(charset_tmp) ; \ |
414 | $(INSTALL_DATA) $(charset_tmp) $(charset_alias) ; \ | |
415 | rm -f $(charset_tmp) ; \ | |
416 | fi ; \ | |
417 | fi | |
418 | ||
f240aacb LC |
419 | uninstall-local: uninstall-localcharset |
420 | uninstall-localcharset: all-local | |
4a462e35 NJ |
421 | if test -f $(charset_alias); then \ |
422 | sed -f ref-del.sed $(charset_alias) > $(charset_tmp); \ | |
423 | if grep '^# Packages using this file: $$' $(charset_tmp) \ | |
424 | > /dev/null; then \ | |
425 | rm -f $(charset_alias); \ | |
426 | else \ | |
427 | $(INSTALL_DATA) $(charset_tmp) $(charset_alias); \ | |
428 | fi; \ | |
429 | rm -f $(charset_tmp); \ | |
430 | fi | |
431 | ||
432 | charset.alias: config.charset | |
8912421c LC |
433 | $(AM_V_GEN)rm -f t-$@ $@ && \ |
434 | $(SHELL) $(srcdir)/config.charset '$(host)' > t-$@ && \ | |
4a462e35 NJ |
435 | mv t-$@ $@ |
436 | ||
437 | SUFFIXES += .sed .sin | |
438 | .sin.sed: | |
8912421c LC |
439 | $(AM_V_GEN)rm -f t-$@ $@ && \ |
440 | sed -e '/^#/d' -e 's/@''PACKAGE''@/$(PACKAGE)/g' $< > t-$@ && \ | |
4a462e35 NJ |
441 | mv t-$@ $@ |
442 | ||
443 | CLEANFILES += charset.alias ref-add.sed ref-del.sed | |
444 | ||
445 | EXTRA_DIST += config.charset ref-add.sin ref-del.sin | |
446 | ||
447 | ## end gnulib module localcharset | |
448 | ||
8912421c LC |
449 | ## begin gnulib module lstat |
450 | ||
451 | ||
452 | EXTRA_DIST += lstat.c | |
453 | ||
454 | EXTRA_libgnu_la_SOURCES += lstat.c | |
455 | ||
456 | ## end gnulib module lstat | |
457 | ||
f240aacb LC |
458 | ## begin gnulib module malloc-posix |
459 | ||
460 | ||
461 | EXTRA_DIST += malloc.c | |
462 | ||
463 | EXTRA_libgnu_la_SOURCES += malloc.c | |
464 | ||
465 | ## end gnulib module malloc-posix | |
466 | ||
ffca4c22 AW |
467 | ## begin gnulib module malloca |
468 | ||
469 | libgnu_la_SOURCES += malloca.c | |
470 | ||
471 | EXTRA_DIST += malloca.h malloca.valgrind | |
472 | ||
473 | ## end gnulib module malloca | |
474 | ||
4a462e35 NJ |
475 | ## begin gnulib module mbrlen |
476 | ||
477 | ||
478 | EXTRA_DIST += mbrlen.c | |
479 | ||
480 | EXTRA_libgnu_la_SOURCES += mbrlen.c | |
481 | ||
482 | ## end gnulib module mbrlen | |
483 | ||
484 | ## begin gnulib module mbrtowc | |
485 | ||
486 | ||
487 | EXTRA_DIST += mbrtowc.c | |
488 | ||
489 | EXTRA_libgnu_la_SOURCES += mbrtowc.c | |
490 | ||
491 | ## end gnulib module mbrtowc | |
492 | ||
493 | ## begin gnulib module mbsinit | |
494 | ||
495 | ||
496 | EXTRA_DIST += mbsinit.c | |
497 | ||
498 | EXTRA_libgnu_la_SOURCES += mbsinit.c | |
499 | ||
500 | ## end gnulib module mbsinit | |
501 | ||
c4b681fd LC |
502 | ## begin gnulib module memchr |
503 | ||
504 | ||
505 | EXTRA_DIST += memchr.c memchr.valgrind | |
506 | ||
507 | EXTRA_libgnu_la_SOURCES += memchr.c | |
508 | ||
509 | ## end gnulib module memchr | |
510 | ||
8912421c LC |
511 | ## begin gnulib module netinet_in |
512 | ||
513 | BUILT_SOURCES += $(NETINET_IN_H) | |
514 | ||
515 | # We need the following in order to create <netinet/in.h> when the system | |
516 | # doesn't have one. | |
517 | netinet/in.h: netinet_in.in.h | |
518 | $(AM_V_at)$(MKDIR_P) netinet | |
519 | $(AM_V_GEN)rm -f $@-t $@ && \ | |
520 | { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ | |
521 | sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ | |
522 | -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ | |
523 | -e 's|@''NEXT_NETINET_IN_H''@|$(NEXT_NETINET_IN_H)|g' \ | |
524 | -e 's|@''HAVE_NETINET_IN_H''@|$(HAVE_NETINET_IN_H)|g' \ | |
525 | < $(srcdir)/netinet_in.in.h; \ | |
526 | } > $@-t && \ | |
527 | mv $@-t $@ | |
528 | MOSTLYCLEANFILES += netinet/in.h netinet/in.h-t | |
529 | MOSTLYCLEANDIRS += netinet | |
530 | ||
531 | EXTRA_DIST += netinet_in.in.h | |
532 | ||
533 | ## end gnulib module netinet_in | |
534 | ||
ffca4c22 AW |
535 | ## begin gnulib module pathmax |
536 | ||
537 | ||
538 | EXTRA_DIST += pathmax.h | |
539 | ||
540 | ## end gnulib module pathmax | |
541 | ||
f240aacb LC |
542 | ## begin gnulib module putenv |
543 | ||
544 | ||
545 | EXTRA_DIST += putenv.c | |
546 | ||
547 | EXTRA_libgnu_la_SOURCES += putenv.c | |
548 | ||
549 | ## end gnulib module putenv | |
550 | ||
ffca4c22 AW |
551 | ## begin gnulib module readlink |
552 | ||
553 | ||
554 | EXTRA_DIST += readlink.c | |
555 | ||
556 | EXTRA_libgnu_la_SOURCES += readlink.c | |
557 | ||
558 | ## end gnulib module readlink | |
559 | ||
9b36a80c LC |
560 | ## begin gnulib module safe-read |
561 | ||
562 | ||
563 | EXTRA_DIST += safe-read.c safe-read.h | |
564 | ||
565 | EXTRA_libgnu_la_SOURCES += safe-read.c | |
566 | ||
567 | ## end gnulib module safe-read | |
568 | ||
569 | ## begin gnulib module safe-write | |
570 | ||
571 | ||
572 | EXTRA_DIST += safe-write.c safe-write.h | |
573 | ||
574 | EXTRA_libgnu_la_SOURCES += safe-write.c | |
575 | ||
576 | ## end gnulib module safe-write | |
577 | ||
c4b681fd LC |
578 | ## begin gnulib module size_max |
579 | ||
580 | libgnu_la_SOURCES += size_max.h | |
581 | ||
582 | ## end gnulib module size_max | |
583 | ||
8912421c LC |
584 | ## begin gnulib module stat |
585 | ||
586 | ||
587 | EXTRA_DIST += stat.c | |
588 | ||
589 | EXTRA_libgnu_la_SOURCES += stat.c | |
590 | ||
591 | ## end gnulib module stat | |
592 | ||
e65fc94b LC |
593 | ## begin gnulib module stdbool |
594 | ||
595 | BUILT_SOURCES += $(STDBOOL_H) | |
596 | ||
597 | # We need the following in order to create <stdbool.h> when the system | |
598 | # doesn't have one that works. | |
599 | stdbool.h: stdbool.in.h | |
8912421c | 600 | $(AM_V_GEN)rm -f $@-t $@ && \ |
e65fc94b LC |
601 | { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ |
602 | sed -e 's/@''HAVE__BOOL''@/$(HAVE__BOOL)/g' < $(srcdir)/stdbool.in.h; \ | |
8912421c | 603 | } > $@-t && \ |
e65fc94b LC |
604 | mv $@-t $@ |
605 | MOSTLYCLEANFILES += stdbool.h stdbool.h-t | |
606 | ||
607 | EXTRA_DIST += stdbool.in.h | |
608 | ||
609 | ## end gnulib module stdbool | |
610 | ||
8912421c LC |
611 | ## begin gnulib module stddef |
612 | ||
613 | BUILT_SOURCES += $(STDDEF_H) | |
614 | ||
615 | # We need the following in order to create <stddef.h> when the system | |
616 | # doesn't have one that works with the given compiler. | |
617 | stddef.h: stddef.in.h | |
618 | $(AM_V_GEN)rm -f $@-t $@ && \ | |
619 | { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \ | |
620 | sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ | |
621 | -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ | |
622 | -e 's|@''NEXT_STDDEF_H''@|$(NEXT_STDDEF_H)|g' \ | |
623 | -e 's|@''HAVE_WCHAR_T''@|$(HAVE_WCHAR_T)|g' \ | |
624 | -e 's|@''REPLACE_NULL''@|$(REPLACE_NULL)|g' \ | |
625 | < $(srcdir)/stddef.in.h; \ | |
626 | } > $@-t && \ | |
627 | mv $@-t $@ | |
628 | MOSTLYCLEANFILES += stddef.h stddef.h-t | |
629 | ||
630 | EXTRA_DIST += stddef.in.h | |
631 | ||
632 | ## end gnulib module stddef | |
633 | ||
f240aacb LC |
634 | ## begin gnulib module stdint |
635 | ||
636 | BUILT_SOURCES += $(STDINT_H) | |
637 | ||
638 | # We need the following in order to create <stdint.h> when the system | |
639 | # doesn't have one that works with the given compiler. | |
640 | stdint.h: stdint.in.h | |
8912421c | 641 | $(AM_V_GEN)rm -f $@-t $@ && \ |
f240aacb LC |
642 | { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ |
643 | sed -e 's/@''HAVE_STDINT_H''@/$(HAVE_STDINT_H)/g' \ | |
644 | -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ | |
645 | -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ | |
646 | -e 's|@''NEXT_STDINT_H''@|$(NEXT_STDINT_H)|g' \ | |
647 | -e 's/@''HAVE_SYS_TYPES_H''@/$(HAVE_SYS_TYPES_H)/g' \ | |
648 | -e 's/@''HAVE_INTTYPES_H''@/$(HAVE_INTTYPES_H)/g' \ | |
649 | -e 's/@''HAVE_SYS_INTTYPES_H''@/$(HAVE_SYS_INTTYPES_H)/g' \ | |
650 | -e 's/@''HAVE_SYS_BITYPES_H''@/$(HAVE_SYS_BITYPES_H)/g' \ | |
651 | -e 's/@''HAVE_LONG_LONG_INT''@/$(HAVE_LONG_LONG_INT)/g' \ | |
652 | -e 's/@''HAVE_UNSIGNED_LONG_LONG_INT''@/$(HAVE_UNSIGNED_LONG_LONG_INT)/g' \ | |
653 | -e 's/@''APPLE_UNIVERSAL_BUILD''@/$(APPLE_UNIVERSAL_BUILD)/g' \ | |
654 | -e 's/@''BITSIZEOF_PTRDIFF_T''@/$(BITSIZEOF_PTRDIFF_T)/g' \ | |
655 | -e 's/@''PTRDIFF_T_SUFFIX''@/$(PTRDIFF_T_SUFFIX)/g' \ | |
656 | -e 's/@''BITSIZEOF_SIG_ATOMIC_T''@/$(BITSIZEOF_SIG_ATOMIC_T)/g' \ | |
657 | -e 's/@''HAVE_SIGNED_SIG_ATOMIC_T''@/$(HAVE_SIGNED_SIG_ATOMIC_T)/g' \ | |
658 | -e 's/@''SIG_ATOMIC_T_SUFFIX''@/$(SIG_ATOMIC_T_SUFFIX)/g' \ | |
659 | -e 's/@''BITSIZEOF_SIZE_T''@/$(BITSIZEOF_SIZE_T)/g' \ | |
660 | -e 's/@''SIZE_T_SUFFIX''@/$(SIZE_T_SUFFIX)/g' \ | |
661 | -e 's/@''BITSIZEOF_WCHAR_T''@/$(BITSIZEOF_WCHAR_T)/g' \ | |
662 | -e 's/@''HAVE_SIGNED_WCHAR_T''@/$(HAVE_SIGNED_WCHAR_T)/g' \ | |
663 | -e 's/@''WCHAR_T_SUFFIX''@/$(WCHAR_T_SUFFIX)/g' \ | |
664 | -e 's/@''BITSIZEOF_WINT_T''@/$(BITSIZEOF_WINT_T)/g' \ | |
665 | -e 's/@''HAVE_SIGNED_WINT_T''@/$(HAVE_SIGNED_WINT_T)/g' \ | |
666 | -e 's/@''WINT_T_SUFFIX''@/$(WINT_T_SUFFIX)/g' \ | |
667 | < $(srcdir)/stdint.in.h; \ | |
8912421c | 668 | } > $@-t && \ |
f240aacb LC |
669 | mv $@-t $@ |
670 | MOSTLYCLEANFILES += stdint.h stdint.h-t | |
671 | ||
672 | EXTRA_DIST += stdint.in.h | |
673 | ||
674 | ## end gnulib module stdint | |
675 | ||
c4b681fd LC |
676 | ## begin gnulib module stdio |
677 | ||
678 | BUILT_SOURCES += stdio.h | |
679 | ||
680 | # We need the following in order to create <stdio.h> when the system | |
681 | # doesn't have one that works with the given compiler. | |
682 | stdio.h: stdio.in.h | |
8912421c | 683 | $(AM_V_GEN)rm -f $@-t $@ && \ |
c4b681fd LC |
684 | { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \ |
685 | sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ | |
686 | -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ | |
687 | -e 's|@''NEXT_STDIO_H''@|$(NEXT_STDIO_H)|g' \ | |
c4b681fd | 688 | -e 's|@''GNULIB_DPRINTF''@|$(GNULIB_DPRINTF)|g' \ |
8912421c LC |
689 | -e 's|@''GNULIB_FCLOSE''@|$(GNULIB_FCLOSE)|g' \ |
690 | -e 's|@''GNULIB_FFLUSH''@|$(GNULIB_FFLUSH)|g' \ | |
c4b681fd | 691 | -e 's|@''GNULIB_FOPEN''@|$(GNULIB_FOPEN)|g' \ |
8912421c LC |
692 | -e 's|@''GNULIB_FPRINTF''@|$(GNULIB_FPRINTF)|g' \ |
693 | -e 's|@''GNULIB_FPRINTF_POSIX''@|$(GNULIB_FPRINTF_POSIX)|g' \ | |
694 | -e 's|@''GNULIB_FPURGE''@|$(GNULIB_FPURGE)|g' \ | |
695 | -e 's|@''GNULIB_FPUTC''@|$(GNULIB_FPUTC)|g' \ | |
696 | -e 's|@''GNULIB_FPUTS''@|$(GNULIB_FPUTS)|g' \ | |
c4b681fd LC |
697 | -e 's|@''GNULIB_FREOPEN''@|$(GNULIB_FREOPEN)|g' \ |
698 | -e 's|@''GNULIB_FSEEK''@|$(GNULIB_FSEEK)|g' \ | |
699 | -e 's|@''GNULIB_FSEEKO''@|$(GNULIB_FSEEKO)|g' \ | |
700 | -e 's|@''GNULIB_FTELL''@|$(GNULIB_FTELL)|g' \ | |
701 | -e 's|@''GNULIB_FTELLO''@|$(GNULIB_FTELLO)|g' \ | |
c4b681fd LC |
702 | -e 's|@''GNULIB_FWRITE''@|$(GNULIB_FWRITE)|g' \ |
703 | -e 's|@''GNULIB_GETDELIM''@|$(GNULIB_GETDELIM)|g' \ | |
704 | -e 's|@''GNULIB_GETLINE''@|$(GNULIB_GETLINE)|g' \ | |
8912421c LC |
705 | -e 's|@''GNULIB_OBSTACK_PRINTF''@|$(GNULIB_OBSTACK_PRINTF)|g' \ |
706 | -e 's|@''GNULIB_OBSTACK_PRINTF_POSIX''@|$(GNULIB_OBSTACK_PRINTF_POSIX)|g' \ | |
c4b681fd | 707 | -e 's|@''GNULIB_PERROR''@|$(GNULIB_PERROR)|g' \ |
8912421c LC |
708 | -e 's|@''GNULIB_POPEN''@|$(GNULIB_POPEN)|g' \ |
709 | -e 's|@''GNULIB_PRINTF''@|$(GNULIB_PRINTF)|g' \ | |
710 | -e 's|@''GNULIB_PRINTF_POSIX''@|$(GNULIB_PRINTF_POSIX)|g' \ | |
711 | -e 's|@''GNULIB_PUTC''@|$(GNULIB_PUTC)|g' \ | |
712 | -e 's|@''GNULIB_PUTCHAR''@|$(GNULIB_PUTCHAR)|g' \ | |
713 | -e 's|@''GNULIB_PUTS''@|$(GNULIB_PUTS)|g' \ | |
714 | -e 's|@''GNULIB_REMOVE''@|$(GNULIB_REMOVE)|g' \ | |
715 | -e 's|@''GNULIB_RENAME''@|$(GNULIB_RENAME)|g' \ | |
716 | -e 's|@''GNULIB_RENAMEAT''@|$(GNULIB_RENAMEAT)|g' \ | |
717 | -e 's|@''GNULIB_SNPRINTF''@|$(GNULIB_SNPRINTF)|g' \ | |
718 | -e 's|@''GNULIB_SPRINTF_POSIX''@|$(GNULIB_SPRINTF_POSIX)|g' \ | |
c4b681fd | 719 | -e 's|@''GNULIB_STDIO_H_SIGPIPE''@|$(GNULIB_STDIO_H_SIGPIPE)|g' \ |
8912421c LC |
720 | -e 's|@''GNULIB_VASPRINTF''@|$(GNULIB_VASPRINTF)|g' \ |
721 | -e 's|@''GNULIB_VDPRINTF''@|$(GNULIB_VDPRINTF)|g' \ | |
722 | -e 's|@''GNULIB_VFPRINTF''@|$(GNULIB_VFPRINTF)|g' \ | |
723 | -e 's|@''GNULIB_VFPRINTF_POSIX''@|$(GNULIB_VFPRINTF_POSIX)|g' \ | |
724 | -e 's|@''GNULIB_VPRINTF''@|$(GNULIB_VPRINTF)|g' \ | |
725 | -e 's|@''GNULIB_VPRINTF_POSIX''@|$(GNULIB_VPRINTF_POSIX)|g' \ | |
726 | -e 's|@''GNULIB_VSNPRINTF''@|$(GNULIB_VSNPRINTF)|g' \ | |
727 | -e 's|@''GNULIB_VSPRINTF_POSIX''@|$(GNULIB_VSPRINTF_POSIX)|g' \ | |
728 | -e 's|@''HAVE_DECL_FPURGE''@|$(HAVE_DECL_FPURGE)|g' \ | |
729 | -e 's|@''HAVE_DECL_GETDELIM''@|$(HAVE_DECL_GETDELIM)|g' \ | |
730 | -e 's|@''HAVE_DECL_GETLINE''@|$(HAVE_DECL_GETLINE)|g' \ | |
731 | -e 's|@''HAVE_DECL_OBSTACK_PRINTF''@|$(HAVE_DECL_OBSTACK_PRINTF)|g' \ | |
c4b681fd | 732 | -e 's|@''HAVE_DECL_SNPRINTF''@|$(HAVE_DECL_SNPRINTF)|g' \ |
c4b681fd | 733 | -e 's|@''HAVE_DECL_VSNPRINTF''@|$(HAVE_DECL_VSNPRINTF)|g' \ |
c4b681fd | 734 | -e 's|@''HAVE_DPRINTF''@|$(HAVE_DPRINTF)|g' \ |
8912421c | 735 | -e 's|@''HAVE_RENAMEAT''@|$(HAVE_RENAMEAT)|g' \ |
c4b681fd | 736 | -e 's|@''HAVE_VASPRINTF''@|$(HAVE_VASPRINTF)|g' \ |
8912421c LC |
737 | -e 's|@''HAVE_VDPRINTF''@|$(HAVE_VDPRINTF)|g' \ |
738 | -e 's|@''REPLACE_DPRINTF''@|$(REPLACE_DPRINTF)|g' \ | |
739 | -e 's|@''REPLACE_FCLOSE''@|$(REPLACE_FCLOSE)|g' \ | |
740 | -e 's|@''REPLACE_FFLUSH''@|$(REPLACE_FFLUSH)|g' \ | |
c4b681fd | 741 | -e 's|@''REPLACE_FOPEN''@|$(REPLACE_FOPEN)|g' \ |
8912421c LC |
742 | -e 's|@''REPLACE_FPRINTF''@|$(REPLACE_FPRINTF)|g' \ |
743 | -e 's|@''REPLACE_FPURGE''@|$(REPLACE_FPURGE)|g' \ | |
c4b681fd | 744 | -e 's|@''REPLACE_FREOPEN''@|$(REPLACE_FREOPEN)|g' \ |
c4b681fd | 745 | -e 's|@''REPLACE_FSEEK''@|$(REPLACE_FSEEK)|g' \ |
8912421c | 746 | -e 's|@''REPLACE_FSEEKO''@|$(REPLACE_FSEEKO)|g' \ |
c4b681fd | 747 | -e 's|@''REPLACE_FTELL''@|$(REPLACE_FTELL)|g' \ |
8912421c | 748 | -e 's|@''REPLACE_FTELLO''@|$(REPLACE_FTELLO)|g' \ |
c4b681fd | 749 | -e 's|@''REPLACE_GETLINE''@|$(REPLACE_GETLINE)|g' \ |
8912421c | 750 | -e 's|@''REPLACE_OBSTACK_PRINTF''@|$(REPLACE_OBSTACK_PRINTF)|g' \ |
c4b681fd | 751 | -e 's|@''REPLACE_PERROR''@|$(REPLACE_PERROR)|g' \ |
8912421c LC |
752 | -e 's|@''REPLACE_POPEN''@|$(REPLACE_POPEN)|g' \ |
753 | -e 's|@''REPLACE_PRINTF''@|$(REPLACE_PRINTF)|g' \ | |
754 | -e 's|@''REPLACE_REMOVE''@|$(REPLACE_REMOVE)|g' \ | |
755 | -e 's|@''REPLACE_RENAME''@|$(REPLACE_RENAME)|g' \ | |
756 | -e 's|@''REPLACE_RENAMEAT''@|$(REPLACE_RENAMEAT)|g' \ | |
757 | -e 's|@''REPLACE_SNPRINTF''@|$(REPLACE_SNPRINTF)|g' \ | |
758 | -e 's|@''REPLACE_SPRINTF''@|$(REPLACE_SPRINTF)|g' \ | |
759 | -e 's|@''REPLACE_STDIO_WRITE_FUNCS''@|$(REPLACE_STDIO_WRITE_FUNCS)|g' \ | |
760 | -e 's|@''REPLACE_VASPRINTF''@|$(REPLACE_VASPRINTF)|g' \ | |
761 | -e 's|@''REPLACE_VDPRINTF''@|$(REPLACE_VDPRINTF)|g' \ | |
762 | -e 's|@''REPLACE_VFPRINTF''@|$(REPLACE_VFPRINTF)|g' \ | |
763 | -e 's|@''REPLACE_VPRINTF''@|$(REPLACE_VPRINTF)|g' \ | |
764 | -e 's|@''REPLACE_VSNPRINTF''@|$(REPLACE_VSNPRINTF)|g' \ | |
765 | -e 's|@''REPLACE_VSPRINTF''@|$(REPLACE_VSPRINTF)|g' \ | |
c4b681fd LC |
766 | -e '/definition of GL_LINK_WARNING/r $(LINK_WARNING_H)' \ |
767 | < $(srcdir)/stdio.in.h; \ | |
8912421c | 768 | } > $@-t && \ |
c4b681fd LC |
769 | mv $@-t $@ |
770 | MOSTLYCLEANFILES += stdio.h stdio.h-t | |
771 | ||
772 | EXTRA_DIST += stdio-write.c stdio.in.h | |
773 | ||
774 | EXTRA_libgnu_la_SOURCES += stdio-write.c | |
775 | ||
776 | ## end gnulib module stdio | |
777 | ||
f240aacb LC |
778 | ## begin gnulib module stdlib |
779 | ||
780 | BUILT_SOURCES += stdlib.h | |
781 | ||
782 | # We need the following in order to create <stdlib.h> when the system | |
783 | # doesn't have one that works with the given compiler. | |
784 | stdlib.h: stdlib.in.h | |
8912421c | 785 | $(AM_V_GEN)rm -f $@-t $@ && \ |
f240aacb LC |
786 | { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \ |
787 | sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ | |
788 | -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ | |
789 | -e 's|@''NEXT_STDLIB_H''@|$(NEXT_STDLIB_H)|g' \ | |
f240aacb | 790 | -e 's|@''GNULIB_ATOLL''@|$(GNULIB_ATOLL)|g' \ |
8912421c LC |
791 | -e 's|@''GNULIB_CALLOC_POSIX''@|$(GNULIB_CALLOC_POSIX)|g' \ |
792 | -e 's|@''GNULIB_CANONICALIZE_FILE_NAME''@|$(GNULIB_CANONICALIZE_FILE_NAME)|g' \ | |
f240aacb LC |
793 | -e 's|@''GNULIB_GETLOADAVG''@|$(GNULIB_GETLOADAVG)|g' \ |
794 | -e 's|@''GNULIB_GETSUBOPT''@|$(GNULIB_GETSUBOPT)|g' \ | |
8912421c | 795 | -e 's|@''GNULIB_MALLOC_POSIX''@|$(GNULIB_MALLOC_POSIX)|g' \ |
f240aacb | 796 | -e 's|@''GNULIB_MKDTEMP''@|$(GNULIB_MKDTEMP)|g' \ |
8912421c | 797 | -e 's|@''GNULIB_MKOSTEMP''@|$(GNULIB_MKOSTEMP)|g' \ |
f29ded4b | 798 | -e 's|@''GNULIB_MKOSTEMPS''@|$(GNULIB_MKOSTEMPS)|g' \ |
f240aacb | 799 | -e 's|@''GNULIB_MKSTEMP''@|$(GNULIB_MKSTEMP)|g' \ |
f29ded4b | 800 | -e 's|@''GNULIB_MKSTEMPS''@|$(GNULIB_MKSTEMPS)|g' \ |
f240aacb LC |
801 | -e 's|@''GNULIB_PUTENV''@|$(GNULIB_PUTENV)|g' \ |
802 | -e 's|@''GNULIB_RANDOM_R''@|$(GNULIB_RANDOM_R)|g' \ | |
8912421c LC |
803 | -e 's|@''GNULIB_REALLOC_POSIX''@|$(GNULIB_REALLOC_POSIX)|g' \ |
804 | -e 's|@''GNULIB_REALPATH''@|$(GNULIB_REALPATH)|g' \ | |
f240aacb LC |
805 | -e 's|@''GNULIB_RPMATCH''@|$(GNULIB_RPMATCH)|g' \ |
806 | -e 's|@''GNULIB_SETENV''@|$(GNULIB_SETENV)|g' \ | |
807 | -e 's|@''GNULIB_STRTOD''@|$(GNULIB_STRTOD)|g' \ | |
808 | -e 's|@''GNULIB_STRTOLL''@|$(GNULIB_STRTOLL)|g' \ | |
809 | -e 's|@''GNULIB_STRTOULL''@|$(GNULIB_STRTOULL)|g' \ | |
810 | -e 's|@''GNULIB_UNSETENV''@|$(GNULIB_UNSETENV)|g' \ | |
811 | -e 's|@''HAVE_ATOLL''@|$(HAVE_ATOLL)|g' \ | |
812 | -e 's|@''HAVE_CALLOC_POSIX''@|$(HAVE_CALLOC_POSIX)|g' \ | |
8912421c LC |
813 | -e 's|@''HAVE_CANONICALIZE_FILE_NAME''@|$(HAVE_CANONICALIZE_FILE_NAME)|g' \ |
814 | -e 's|@''HAVE_DECL_GETLOADAVG''@|$(HAVE_DECL_GETLOADAVG)|g' \ | |
f240aacb LC |
815 | -e 's|@''HAVE_GETSUBOPT''@|$(HAVE_GETSUBOPT)|g' \ |
816 | -e 's|@''HAVE_MALLOC_POSIX''@|$(HAVE_MALLOC_POSIX)|g' \ | |
817 | -e 's|@''HAVE_MKDTEMP''@|$(HAVE_MKDTEMP)|g' \ | |
8912421c | 818 | -e 's|@''HAVE_MKOSTEMP''@|$(HAVE_MKOSTEMP)|g' \ |
f29ded4b LC |
819 | -e 's|@''HAVE_MKOSTEMPS''@|$(HAVE_MKOSTEMPS)|g' \ |
820 | -e 's|@''HAVE_MKSTEMPS''@|$(HAVE_MKSTEMPS)|g' \ | |
8912421c | 821 | -e 's|@''HAVE_RANDOM_H''@|$(HAVE_RANDOM_H)|g' \ |
f240aacb | 822 | -e 's|@''HAVE_RANDOM_R''@|$(HAVE_RANDOM_R)|g' \ |
8912421c LC |
823 | -e 's|@''HAVE_REALLOC_POSIX''@|$(HAVE_REALLOC_POSIX)|g' \ |
824 | -e 's|@''HAVE_REALPATH''@|$(HAVE_REALPATH)|g' \ | |
f240aacb LC |
825 | -e 's|@''HAVE_RPMATCH''@|$(HAVE_RPMATCH)|g' \ |
826 | -e 's|@''HAVE_SETENV''@|$(HAVE_SETENV)|g' \ | |
827 | -e 's|@''HAVE_STRTOD''@|$(HAVE_STRTOD)|g' \ | |
828 | -e 's|@''HAVE_STRTOLL''@|$(HAVE_STRTOLL)|g' \ | |
829 | -e 's|@''HAVE_STRTOULL''@|$(HAVE_STRTOULL)|g' \ | |
830 | -e 's|@''HAVE_STRUCT_RANDOM_DATA''@|$(HAVE_STRUCT_RANDOM_DATA)|g' \ | |
831 | -e 's|@''HAVE_SYS_LOADAVG_H''@|$(HAVE_SYS_LOADAVG_H)|g' \ | |
832 | -e 's|@''HAVE_UNSETENV''@|$(HAVE_UNSETENV)|g' \ | |
8912421c | 833 | -e 's|@''REPLACE_CANONICALIZE_FILE_NAME''@|$(REPLACE_CANONICALIZE_FILE_NAME)|g' \ |
f240aacb LC |
834 | -e 's|@''REPLACE_MKSTEMP''@|$(REPLACE_MKSTEMP)|g' \ |
835 | -e 's|@''REPLACE_PUTENV''@|$(REPLACE_PUTENV)|g' \ | |
8912421c | 836 | -e 's|@''REPLACE_REALPATH''@|$(REPLACE_REALPATH)|g' \ |
f240aacb LC |
837 | -e 's|@''REPLACE_STRTOD''@|$(REPLACE_STRTOD)|g' \ |
838 | -e 's|@''VOID_UNSETENV''@|$(VOID_UNSETENV)|g' \ | |
839 | -e '/definition of GL_LINK_WARNING/r $(LINK_WARNING_H)' \ | |
840 | < $(srcdir)/stdlib.in.h; \ | |
8912421c | 841 | } > $@-t && \ |
f240aacb LC |
842 | mv $@-t $@ |
843 | MOSTLYCLEANFILES += stdlib.h stdlib.h-t | |
844 | ||
845 | EXTRA_DIST += stdlib.in.h | |
846 | ||
847 | ## end gnulib module stdlib | |
848 | ||
103dc4d4 LC |
849 | ## begin gnulib module strcase |
850 | ||
851 | ||
852 | EXTRA_DIST += strcasecmp.c strncasecmp.c | |
853 | ||
854 | EXTRA_libgnu_la_SOURCES += strcasecmp.c strncasecmp.c | |
855 | ||
856 | ## end gnulib module strcase | |
857 | ||
4a462e35 NJ |
858 | ## begin gnulib module streq |
859 | ||
860 | ||
861 | EXTRA_DIST += streq.h | |
862 | ||
863 | ## end gnulib module streq | |
864 | ||
e65fc94b LC |
865 | ## begin gnulib module strftime |
866 | ||
867 | ||
868 | EXTRA_DIST += strftime.c strftime.h | |
869 | ||
870 | EXTRA_libgnu_la_SOURCES += strftime.c | |
871 | ||
872 | ## end gnulib module strftime | |
873 | ||
24d56127 LC |
874 | ## begin gnulib module striconveh |
875 | ||
876 | libgnu_la_SOURCES += striconveh.h striconveh.c | |
877 | if GL_COND_LIBTOOL | |
878 | libgnu_la_LDFLAGS += $(LTLIBICONV) | |
879 | endif | |
880 | ||
881 | EXTRA_DIST += iconveh.h | |
882 | ||
883 | ## end gnulib module striconveh | |
884 | ||
885 | ## begin gnulib module string | |
886 | ||
887 | BUILT_SOURCES += string.h | |
888 | ||
889 | # We need the following in order to create <string.h> when the system | |
890 | # doesn't have one that works with the given compiler. | |
891 | string.h: string.in.h | |
8912421c | 892 | $(AM_V_GEN)rm -f $@-t $@ && \ |
24d56127 LC |
893 | { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \ |
894 | sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ | |
895 | -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ | |
896 | -e 's|@''NEXT_STRING_H''@|$(NEXT_STRING_H)|g' \ | |
897 | -e 's|@''GNULIB_MBSLEN''@|$(GNULIB_MBSLEN)|g' \ | |
898 | -e 's|@''GNULIB_MBSNLEN''@|$(GNULIB_MBSNLEN)|g' \ | |
899 | -e 's|@''GNULIB_MBSCHR''@|$(GNULIB_MBSCHR)|g' \ | |
900 | -e 's|@''GNULIB_MBSRCHR''@|$(GNULIB_MBSRCHR)|g' \ | |
901 | -e 's|@''GNULIB_MBSSTR''@|$(GNULIB_MBSSTR)|g' \ | |
902 | -e 's|@''GNULIB_MBSCASECMP''@|$(GNULIB_MBSCASECMP)|g' \ | |
903 | -e 's|@''GNULIB_MBSNCASECMP''@|$(GNULIB_MBSNCASECMP)|g' \ | |
904 | -e 's|@''GNULIB_MBSPCASECMP''@|$(GNULIB_MBSPCASECMP)|g' \ | |
905 | -e 's|@''GNULIB_MBSCASESTR''@|$(GNULIB_MBSCASESTR)|g' \ | |
906 | -e 's|@''GNULIB_MBSCSPN''@|$(GNULIB_MBSCSPN)|g' \ | |
907 | -e 's|@''GNULIB_MBSPBRK''@|$(GNULIB_MBSPBRK)|g' \ | |
908 | -e 's|@''GNULIB_MBSSPN''@|$(GNULIB_MBSSPN)|g' \ | |
909 | -e 's|@''GNULIB_MBSSEP''@|$(GNULIB_MBSSEP)|g' \ | |
910 | -e 's|@''GNULIB_MBSTOK_R''@|$(GNULIB_MBSTOK_R)|g' \ | |
ffca4c22 | 911 | -e 's|@''GNULIB_MEMCHR''@|$(GNULIB_MEMCHR)|g' \ |
24d56127 LC |
912 | -e 's|@''GNULIB_MEMMEM''@|$(GNULIB_MEMMEM)|g' \ |
913 | -e 's|@''GNULIB_MEMPCPY''@|$(GNULIB_MEMPCPY)|g' \ | |
914 | -e 's|@''GNULIB_MEMRCHR''@|$(GNULIB_MEMRCHR)|g' \ | |
915 | -e 's|@''GNULIB_RAWMEMCHR''@|$(GNULIB_RAWMEMCHR)|g' \ | |
916 | -e 's|@''GNULIB_STPCPY''@|$(GNULIB_STPCPY)|g' \ | |
917 | -e 's|@''GNULIB_STPNCPY''@|$(GNULIB_STPNCPY)|g' \ | |
918 | -e 's|@''GNULIB_STRCHRNUL''@|$(GNULIB_STRCHRNUL)|g' \ | |
919 | -e 's|@''GNULIB_STRDUP''@|$(GNULIB_STRDUP)|g' \ | |
920 | -e 's|@''GNULIB_STRNDUP''@|$(GNULIB_STRNDUP)|g' \ | |
921 | -e 's|@''GNULIB_STRNLEN''@|$(GNULIB_STRNLEN)|g' \ | |
922 | -e 's|@''GNULIB_STRPBRK''@|$(GNULIB_STRPBRK)|g' \ | |
923 | -e 's|@''GNULIB_STRSEP''@|$(GNULIB_STRSEP)|g' \ | |
924 | -e 's|@''GNULIB_STRSTR''@|$(GNULIB_STRSTR)|g' \ | |
925 | -e 's|@''GNULIB_STRCASESTR''@|$(GNULIB_STRCASESTR)|g' \ | |
926 | -e 's|@''GNULIB_STRTOK_R''@|$(GNULIB_STRTOK_R)|g' \ | |
927 | -e 's|@''GNULIB_STRERROR''@|$(GNULIB_STRERROR)|g' \ | |
928 | -e 's|@''GNULIB_STRSIGNAL''@|$(GNULIB_STRSIGNAL)|g' \ | |
929 | -e 's|@''GNULIB_STRVERSCMP''@|$(GNULIB_STRVERSCMP)|g' \ | |
930 | -e 's|@''HAVE_DECL_MEMMEM''@|$(HAVE_DECL_MEMMEM)|g' \ | |
931 | -e 's|@''HAVE_MEMPCPY''@|$(HAVE_MEMPCPY)|g' \ | |
932 | -e 's|@''HAVE_DECL_MEMRCHR''@|$(HAVE_DECL_MEMRCHR)|g' \ | |
933 | -e 's|@''HAVE_RAWMEMCHR''@|$(HAVE_RAWMEMCHR)|g' \ | |
934 | -e 's|@''HAVE_STPCPY''@|$(HAVE_STPCPY)|g' \ | |
935 | -e 's|@''HAVE_STPNCPY''@|$(HAVE_STPNCPY)|g' \ | |
936 | -e 's|@''HAVE_STRCHRNUL''@|$(HAVE_STRCHRNUL)|g' \ | |
937 | -e 's|@''HAVE_DECL_STRDUP''@|$(HAVE_DECL_STRDUP)|g' \ | |
24d56127 LC |
938 | -e 's|@''HAVE_DECL_STRNDUP''@|$(HAVE_DECL_STRNDUP)|g' \ |
939 | -e 's|@''HAVE_DECL_STRNLEN''@|$(HAVE_DECL_STRNLEN)|g' \ | |
940 | -e 's|@''HAVE_STRPBRK''@|$(HAVE_STRPBRK)|g' \ | |
941 | -e 's|@''HAVE_STRSEP''@|$(HAVE_STRSEP)|g' \ | |
942 | -e 's|@''HAVE_STRCASESTR''@|$(HAVE_STRCASESTR)|g' \ | |
943 | -e 's|@''HAVE_DECL_STRTOK_R''@|$(HAVE_DECL_STRTOK_R)|g' \ | |
944 | -e 's|@''HAVE_DECL_STRERROR''@|$(HAVE_DECL_STRERROR)|g' \ | |
945 | -e 's|@''HAVE_DECL_STRSIGNAL''@|$(HAVE_DECL_STRSIGNAL)|g' \ | |
946 | -e 's|@''HAVE_STRVERSCMP''@|$(HAVE_STRVERSCMP)|g' \ | |
ffca4c22 | 947 | -e 's|@''REPLACE_MEMCHR''@|$(REPLACE_MEMCHR)|g' \ |
24d56127 LC |
948 | -e 's|@''REPLACE_MEMMEM''@|$(REPLACE_MEMMEM)|g' \ |
949 | -e 's|@''REPLACE_STRCASESTR''@|$(REPLACE_STRCASESTR)|g' \ | |
950 | -e 's|@''REPLACE_STRDUP''@|$(REPLACE_STRDUP)|g' \ | |
951 | -e 's|@''REPLACE_STRSTR''@|$(REPLACE_STRSTR)|g' \ | |
952 | -e 's|@''REPLACE_STRERROR''@|$(REPLACE_STRERROR)|g' \ | |
8912421c | 953 | -e 's|@''REPLACE_STRNDUP''@|$(REPLACE_STRNDUP)|g' \ |
24d56127 | 954 | -e 's|@''REPLACE_STRSIGNAL''@|$(REPLACE_STRSIGNAL)|g' \ |
8912421c LC |
955 | -e 's|@''REPLACE_STRTOK_R''@|$(REPLACE_STRTOK_R)|g' \ |
956 | -e 's|@''UNDEFINE_STRTOK_R''@|$(UNDEFINE_STRTOK_R)|g' \ | |
24d56127 LC |
957 | -e '/definition of GL_LINK_WARNING/r $(LINK_WARNING_H)' \ |
958 | < $(srcdir)/string.in.h; \ | |
8912421c | 959 | } > $@-t && \ |
24d56127 LC |
960 | mv $@-t $@ |
961 | MOSTLYCLEANFILES += string.h string.h-t | |
962 | ||
963 | EXTRA_DIST += string.in.h | |
964 | ||
965 | ## end gnulib module string | |
966 | ||
103dc4d4 LC |
967 | ## begin gnulib module strings |
968 | ||
969 | BUILT_SOURCES += strings.h | |
970 | ||
971 | # We need the following in order to create <strings.h> when the system | |
972 | # doesn't have one that works with the given compiler. | |
973 | strings.h: strings.in.h | |
8912421c | 974 | $(AM_V_GEN)rm -f $@-t $@ && \ |
103dc4d4 | 975 | { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \ |
e65fc94b LC |
976 | sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ |
977 | -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ | |
103dc4d4 LC |
978 | -e 's|@''NEXT_STRINGS_H''@|$(NEXT_STRINGS_H)|g' \ |
979 | -e 's|@''HAVE_STRCASECMP''@|$(HAVE_STRCASECMP)|g' \ | |
980 | -e 's|@''HAVE_DECL_STRNCASECMP''@|$(HAVE_DECL_STRNCASECMP)|g' \ | |
981 | -e '/definition of GL_LINK_WARNING/r $(LINK_WARNING_H)' \ | |
982 | < $(srcdir)/strings.in.h; \ | |
8912421c | 983 | } > $@-t && \ |
103dc4d4 LC |
984 | mv $@-t $@ |
985 | MOSTLYCLEANFILES += strings.h strings.h-t | |
986 | ||
987 | EXTRA_DIST += strings.in.h | |
988 | ||
989 | ## end gnulib module strings | |
990 | ||
f240aacb LC |
991 | ## begin gnulib module sys_file |
992 | ||
993 | BUILT_SOURCES += $(SYS_FILE_H) | |
994 | ||
995 | # We need the following in order to create <sys/file.h> when the system | |
996 | # has one that is incomplete. | |
997 | sys/file.h: sys_file.in.h | |
8912421c LC |
998 | $(AM_V_at)$(MKDIR_P) sys |
999 | $(AM_V_GEN)rm -f $@-t $@ && \ | |
f240aacb LC |
1000 | { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ |
1001 | sed -e 's/@''HAVE_SYS_FILE_H''@/$(HAVE_SYS_FILE_H)/g' \ | |
1002 | -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ | |
1003 | -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ | |
1004 | -e 's|@''NEXT_SYS_FILE_H''@|$(NEXT_SYS_FILE_H)|g' \ | |
1005 | -e 's/@''HAVE_FLOCK''@/$(HAVE_FLOCK)/g' \ | |
1006 | -e 's/@''GNULIB_FLOCK''@/$(GNULIB_FLOCK)/g' \ | |
1007 | < $(srcdir)/sys_file.in.h; \ | |
8912421c | 1008 | } > $@-t && \ |
f240aacb LC |
1009 | mv $@-t $@ |
1010 | MOSTLYCLEANFILES += sys/file.h sys/file.h-t | |
1011 | MOSTLYCLEANDIRS += sys | |
1012 | ||
1013 | EXTRA_DIST += sys_file.in.h | |
1014 | ||
1015 | ## end gnulib module sys_file | |
1016 | ||
8912421c LC |
1017 | ## begin gnulib module sys_socket |
1018 | ||
1019 | BUILT_SOURCES += $(SYS_SOCKET_H) | |
1020 | ||
1021 | # We need the following in order to create <sys/socket.h> when the system | |
1022 | # doesn't have one that works with the given compiler. | |
1023 | sys/socket.h: sys_socket.in.h | |
1024 | $(AM_V_at)$(MKDIR_P) sys | |
1025 | $(AM_V_GEN)rm -f $@-t $@ && \ | |
1026 | { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ | |
1027 | sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ | |
1028 | -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ | |
1029 | -e 's|@''NEXT_SYS_SOCKET_H''@|$(NEXT_SYS_SOCKET_H)|g' \ | |
1030 | -e 's|@''HAVE_SYS_SOCKET_H''@|$(HAVE_SYS_SOCKET_H)|g' \ | |
1031 | -e 's|@''GNULIB_CLOSE''@|$(GNULIB_CLOSE)|g' \ | |
1032 | -e 's|@''GNULIB_SOCKET''@|$(GNULIB_SOCKET)|g' \ | |
1033 | -e 's|@''GNULIB_CONNECT''@|$(GNULIB_CONNECT)|g' \ | |
1034 | -e 's|@''GNULIB_ACCEPT''@|$(GNULIB_ACCEPT)|g' \ | |
1035 | -e 's|@''GNULIB_BIND''@|$(GNULIB_BIND)|g' \ | |
1036 | -e 's|@''GNULIB_GETPEERNAME''@|$(GNULIB_GETPEERNAME)|g' \ | |
1037 | -e 's|@''GNULIB_GETSOCKNAME''@|$(GNULIB_GETSOCKNAME)|g' \ | |
1038 | -e 's|@''GNULIB_GETSOCKOPT''@|$(GNULIB_GETSOCKOPT)|g' \ | |
1039 | -e 's|@''GNULIB_LISTEN''@|$(GNULIB_LISTEN)|g' \ | |
1040 | -e 's|@''GNULIB_RECV''@|$(GNULIB_RECV)|g' \ | |
1041 | -e 's|@''GNULIB_SEND''@|$(GNULIB_SEND)|g' \ | |
1042 | -e 's|@''GNULIB_RECVFROM''@|$(GNULIB_RECVFROM)|g' \ | |
1043 | -e 's|@''GNULIB_SENDTO''@|$(GNULIB_SENDTO)|g' \ | |
1044 | -e 's|@''GNULIB_SETSOCKOPT''@|$(GNULIB_SETSOCKOPT)|g' \ | |
1045 | -e 's|@''GNULIB_SHUTDOWN''@|$(GNULIB_SHUTDOWN)|g' \ | |
1046 | -e 's|@''GNULIB_ACCEPT4''@|$(GNULIB_ACCEPT4)|g' \ | |
1047 | -e 's|@''HAVE_WINSOCK2_H''@|$(HAVE_WINSOCK2_H)|g' \ | |
1048 | -e 's|@''HAVE_WS2TCPIP_H''@|$(HAVE_WS2TCPIP_H)|g' \ | |
1049 | -e 's|@''HAVE_STRUCT_SOCKADDR_STORAGE''@|$(HAVE_STRUCT_SOCKADDR_STORAGE)|g' \ | |
1050 | -e 's|@''HAVE_SA_FAMILY_T''@|$(HAVE_SA_FAMILY_T)|g' \ | |
1051 | -e 's|@''HAVE_ACCEPT4''@|$(HAVE_ACCEPT4)|g' \ | |
1052 | -e '/definition of GL_LINK_WARNING/r $(LINK_WARNING_H)' \ | |
1053 | < $(srcdir)/sys_socket.in.h; \ | |
1054 | } > $@-t && \ | |
1055 | mv -f $@-t $@ | |
1056 | MOSTLYCLEANFILES += sys/socket.h sys/socket.h-t | |
1057 | MOSTLYCLEANDIRS += sys | |
1058 | ||
1059 | EXTRA_DIST += sys_socket.in.h | |
1060 | ||
1061 | ## end gnulib module sys_socket | |
1062 | ||
1063 | ## begin gnulib module sys_stat | |
1064 | ||
1065 | BUILT_SOURCES += sys/stat.h | |
1066 | ||
1067 | # We need the following in order to create <sys/stat.h> when the system | |
1068 | # has one that is incomplete. | |
1069 | sys/stat.h: sys_stat.in.h | |
1070 | $(AM_V_at)$(MKDIR_P) sys | |
1071 | $(AM_V_GEN)rm -f $@-t $@ && \ | |
1072 | { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ | |
1073 | sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ | |
1074 | -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ | |
1075 | -e 's|@''NEXT_SYS_STAT_H''@|$(NEXT_SYS_STAT_H)|g' \ | |
1076 | -e 's|@''GNULIB_FCHMODAT''@|$(GNULIB_FCHMODAT)|g' \ | |
1077 | -e 's|@''GNULIB_FSTATAT''@|$(GNULIB_FSTATAT)|g' \ | |
1078 | -e 's|@''GNULIB_FUTIMENS''@|$(GNULIB_FUTIMENS)|g' \ | |
1079 | -e 's|@''GNULIB_LCHMOD''@|$(GNULIB_LCHMOD)|g' \ | |
1080 | -e 's|@''GNULIB_LSTAT''@|$(GNULIB_LSTAT)|g' \ | |
1081 | -e 's|@''GNULIB_MKDIRAT''@|$(GNULIB_MKDIRAT)|g' \ | |
f29ded4b | 1082 | -e 's|@''GNULIB_MKFIFO''@|$(GNULIB_MKFIFO)|g' \ |
8912421c | 1083 | -e 's|@''GNULIB_MKFIFOAT''@|$(GNULIB_MKFIFOAT)|g' \ |
f29ded4b | 1084 | -e 's|@''GNULIB_MKNOD''@|$(GNULIB_MKNOD)|g' \ |
8912421c LC |
1085 | -e 's|@''GNULIB_MKNODAT''@|$(GNULIB_MKNODAT)|g' \ |
1086 | -e 's|@''GNULIB_STAT''@|$(GNULIB_STAT)|g' \ | |
1087 | -e 's|@''GNULIB_UTIMENSAT''@|$(GNULIB_UTIMENSAT)|g' \ | |
1088 | -e 's|@''HAVE_FCHMODAT''@|$(HAVE_FCHMODAT)|g' \ | |
1089 | -e 's|@''HAVE_FSTATAT''@|$(HAVE_FSTATAT)|g' \ | |
1090 | -e 's|@''HAVE_FUTIMENS''@|$(HAVE_FUTIMENS)|g' \ | |
1091 | -e 's|@''HAVE_LCHMOD''@|$(HAVE_LCHMOD)|g' \ | |
1092 | -e 's|@''HAVE_LSTAT''@|$(HAVE_LSTAT)|g' \ | |
1093 | -e 's|@''HAVE_MKDIRAT''@|$(HAVE_MKDIRAT)|g' \ | |
f29ded4b | 1094 | -e 's|@''HAVE_MKFIFO''@|$(HAVE_MKFIFO)|g' \ |
8912421c | 1095 | -e 's|@''HAVE_MKFIFOAT''@|$(HAVE_MKFIFOAT)|g' \ |
f29ded4b | 1096 | -e 's|@''HAVE_MKNOD''@|$(HAVE_MKNOD)|g' \ |
8912421c LC |
1097 | -e 's|@''HAVE_MKNODAT''@|$(HAVE_MKNODAT)|g' \ |
1098 | -e 's|@''HAVE_UTIMENSAT''@|$(HAVE_UTIMENSAT)|g' \ | |
1099 | -e 's|@''REPLACE_FSTAT''@|$(REPLACE_FSTAT)|g' \ | |
1100 | -e 's|@''REPLACE_FSTATAT''@|$(REPLACE_FSTATAT)|g' \ | |
1101 | -e 's|@''REPLACE_FUTIMENS''@|$(REPLACE_FUTIMENS)|g' \ | |
1102 | -e 's|@''REPLACE_LSTAT''@|$(REPLACE_LSTAT)|g' \ | |
1103 | -e 's|@''REPLACE_MKDIR''@|$(REPLACE_MKDIR)|g' \ | |
f29ded4b LC |
1104 | -e 's|@''REPLACE_MKFIFO''@|$(REPLACE_MKFIFO)|g' \ |
1105 | -e 's|@''REPLACE_MKNOD''@|$(REPLACE_MKNOD)|g' \ | |
8912421c LC |
1106 | -e 's|@''REPLACE_STAT''@|$(REPLACE_STAT)|g' \ |
1107 | -e 's|@''REPLACE_UTIMENSAT''@|$(REPLACE_UTIMENSAT)|g' \ | |
1108 | -e '/definition of GL_LINK_WARNING/r $(LINK_WARNING_H)' \ | |
1109 | < $(srcdir)/sys_stat.in.h; \ | |
1110 | } > $@-t && \ | |
1111 | mv $@-t $@ | |
1112 | MOSTLYCLEANFILES += sys/stat.h sys/stat.h-t | |
1113 | MOSTLYCLEANDIRS += sys | |
1114 | ||
1115 | EXTRA_DIST += sys_stat.in.h | |
1116 | ||
1117 | ## end gnulib module sys_stat | |
1118 | ||
e65fc94b LC |
1119 | ## begin gnulib module time |
1120 | ||
1121 | BUILT_SOURCES += time.h | |
1122 | ||
1123 | # We need the following in order to create <time.h> when the system | |
1124 | # doesn't have one that works with the given compiler. | |
1125 | time.h: time.in.h | |
8912421c | 1126 | $(AM_V_GEN)rm -f $@-t $@ && \ |
e65fc94b LC |
1127 | { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \ |
1128 | sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ | |
1129 | -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ | |
1130 | -e 's|@NEXT_TIME_H''@|$(NEXT_TIME_H)|g' \ | |
1131 | -e 's|@REPLACE_LOCALTIME_R''@|$(REPLACE_LOCALTIME_R)|g' \ | |
25361e4b | 1132 | -e 's|@REPLACE_MKTIME''@|$(REPLACE_MKTIME)|g' \ |
e65fc94b LC |
1133 | -e 's|@REPLACE_NANOSLEEP''@|$(REPLACE_NANOSLEEP)|g' \ |
1134 | -e 's|@REPLACE_STRPTIME''@|$(REPLACE_STRPTIME)|g' \ | |
1135 | -e 's|@REPLACE_TIMEGM''@|$(REPLACE_TIMEGM)|g' \ | |
1136 | -e 's|@SYS_TIME_H_DEFINES_STRUCT_TIMESPEC''@|$(SYS_TIME_H_DEFINES_STRUCT_TIMESPEC)|g' \ | |
1137 | -e 's|@TIME_H_DEFINES_STRUCT_TIMESPEC''@|$(TIME_H_DEFINES_STRUCT_TIMESPEC)|g' \ | |
1138 | < $(srcdir)/time.in.h; \ | |
8912421c | 1139 | } > $@-t && \ |
e65fc94b LC |
1140 | mv $@-t $@ |
1141 | MOSTLYCLEANFILES += time.h time.h-t | |
1142 | ||
1143 | EXTRA_DIST += time.in.h | |
1144 | ||
1145 | ## end gnulib module time | |
1146 | ||
1147 | ## begin gnulib module time_r | |
1148 | ||
1149 | ||
1150 | EXTRA_DIST += time_r.c | |
1151 | ||
1152 | EXTRA_libgnu_la_SOURCES += time_r.c | |
1153 | ||
1154 | ## end gnulib module time_r | |
1155 | ||
9b36a80c LC |
1156 | ## begin gnulib module unistd |
1157 | ||
1158 | BUILT_SOURCES += unistd.h | |
1159 | ||
1160 | # We need the following in order to create an empty placeholder for | |
1161 | # <unistd.h> when the system doesn't have one. | |
1162 | unistd.h: unistd.in.h | |
8912421c | 1163 | $(AM_V_GEN)rm -f $@-t $@ && \ |
9b36a80c LC |
1164 | { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ |
1165 | sed -e 's|@''HAVE_UNISTD_H''@|$(HAVE_UNISTD_H)|g' \ | |
1166 | -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ | |
1167 | -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ | |
1168 | -e 's|@''NEXT_UNISTD_H''@|$(NEXT_UNISTD_H)|g' \ | |
1169 | -e 's|@''GNULIB_CHOWN''@|$(GNULIB_CHOWN)|g' \ | |
1170 | -e 's|@''GNULIB_CLOSE''@|$(GNULIB_CLOSE)|g' \ | |
1171 | -e 's|@''GNULIB_DUP2''@|$(GNULIB_DUP2)|g' \ | |
8912421c | 1172 | -e 's|@''GNULIB_DUP3''@|$(GNULIB_DUP3)|g' \ |
9b36a80c LC |
1173 | -e 's|@''GNULIB_ENVIRON''@|$(GNULIB_ENVIRON)|g' \ |
1174 | -e 's|@''GNULIB_EUIDACCESS''@|$(GNULIB_EUIDACCESS)|g' \ | |
8912421c | 1175 | -e 's|@''GNULIB_FACCESSAT''@|$(GNULIB_FACCESSAT)|g' \ |
9b36a80c | 1176 | -e 's|@''GNULIB_FCHDIR''@|$(GNULIB_FCHDIR)|g' \ |
8912421c | 1177 | -e 's|@''GNULIB_FCHOWNAT''@|$(GNULIB_FCHOWNAT)|g' \ |
9b36a80c LC |
1178 | -e 's|@''GNULIB_FSYNC''@|$(GNULIB_FSYNC)|g' \ |
1179 | -e 's|@''GNULIB_FTRUNCATE''@|$(GNULIB_FTRUNCATE)|g' \ | |
1180 | -e 's|@''GNULIB_GETCWD''@|$(GNULIB_GETCWD)|g' \ | |
1181 | -e 's|@''GNULIB_GETDOMAINNAME''@|$(GNULIB_GETDOMAINNAME)|g' \ | |
1182 | -e 's|@''GNULIB_GETDTABLESIZE''@|$(GNULIB_GETDTABLESIZE)|g' \ | |
f29ded4b | 1183 | -e 's|@''GNULIB_GETGROUPS''@|$(GNULIB_GETGROUPS)|g' \ |
9b36a80c LC |
1184 | -e 's|@''GNULIB_GETHOSTNAME''@|$(GNULIB_GETHOSTNAME)|g' \ |
1185 | -e 's|@''GNULIB_GETLOGIN_R''@|$(GNULIB_GETLOGIN_R)|g' \ | |
1186 | -e 's|@''GNULIB_GETPAGESIZE''@|$(GNULIB_GETPAGESIZE)|g' \ | |
1187 | -e 's|@''GNULIB_GETUSERSHELL''@|$(GNULIB_GETUSERSHELL)|g' \ | |
1188 | -e 's|@''GNULIB_LCHOWN''@|$(GNULIB_LCHOWN)|g' \ | |
f240aacb | 1189 | -e 's|@''GNULIB_LINK''@|$(GNULIB_LINK)|g' \ |
8912421c | 1190 | -e 's|@''GNULIB_LINKAT''@|$(GNULIB_LINKAT)|g' \ |
9b36a80c | 1191 | -e 's|@''GNULIB_LSEEK''@|$(GNULIB_LSEEK)|g' \ |
8912421c | 1192 | -e 's|@''GNULIB_PIPE2''@|$(GNULIB_PIPE2)|g' \ |
9b36a80c | 1193 | -e 's|@''GNULIB_READLINK''@|$(GNULIB_READLINK)|g' \ |
8912421c LC |
1194 | -e 's|@''GNULIB_READLINKAT''@|$(GNULIB_READLINKAT)|g' \ |
1195 | -e 's|@''GNULIB_RMDIR''@|$(GNULIB_RMDIR)|g' \ | |
9b36a80c | 1196 | -e 's|@''GNULIB_SLEEP''@|$(GNULIB_SLEEP)|g' \ |
8912421c LC |
1197 | -e 's|@''GNULIB_SYMLINK''@|$(GNULIB_SYMLINK)|g' \ |
1198 | -e 's|@''GNULIB_SYMLINKAT''@|$(GNULIB_SYMLINKAT)|g' \ | |
1199 | -e 's|@''GNULIB_UNISTD_H_GETOPT''@|$(GNULIB_UNISTD_H_GETOPT)|g' \ | |
9b36a80c | 1200 | -e 's|@''GNULIB_UNISTD_H_SIGPIPE''@|$(GNULIB_UNISTD_H_SIGPIPE)|g' \ |
8912421c LC |
1201 | -e 's|@''GNULIB_UNLINK''@|$(GNULIB_UNLINK)|g' \ |
1202 | -e 's|@''GNULIB_UNLINKAT''@|$(GNULIB_UNLINKAT)|g' \ | |
9b36a80c | 1203 | -e 's|@''GNULIB_WRITE''@|$(GNULIB_WRITE)|g' \ |
f29ded4b | 1204 | -e 's|@''HAVE_CHOWN''@|$(HAVE_CHOWN)|g' \ |
9b36a80c | 1205 | -e 's|@''HAVE_DUP2''@|$(HAVE_DUP2)|g' \ |
8912421c | 1206 | -e 's|@''HAVE_DUP3''@|$(HAVE_DUP3)|g' \ |
9b36a80c | 1207 | -e 's|@''HAVE_EUIDACCESS''@|$(HAVE_EUIDACCESS)|g' \ |
8912421c LC |
1208 | -e 's|@''HAVE_FACCESSAT''@|$(HAVE_FACCESSAT)|g' \ |
1209 | -e 's|@''HAVE_FCHOWNAT''@|$(HAVE_FCHOWNAT)|g' \ | |
9b36a80c LC |
1210 | -e 's|@''HAVE_FSYNC''@|$(HAVE_FSYNC)|g' \ |
1211 | -e 's|@''HAVE_FTRUNCATE''@|$(HAVE_FTRUNCATE)|g' \ | |
1212 | -e 's|@''HAVE_GETDOMAINNAME''@|$(HAVE_GETDOMAINNAME)|g' \ | |
1213 | -e 's|@''HAVE_GETDTABLESIZE''@|$(HAVE_GETDTABLESIZE)|g' \ | |
f29ded4b | 1214 | -e 's|@''HAVE_GETGROUPS''@|$(HAVE_GETGROUPS)|g' \ |
9b36a80c LC |
1215 | -e 's|@''HAVE_GETHOSTNAME''@|$(HAVE_GETHOSTNAME)|g' \ |
1216 | -e 's|@''HAVE_GETPAGESIZE''@|$(HAVE_GETPAGESIZE)|g' \ | |
1217 | -e 's|@''HAVE_GETUSERSHELL''@|$(HAVE_GETUSERSHELL)|g' \ | |
f29ded4b | 1218 | -e 's|@''HAVE_LCHOWN''@|$(HAVE_LCHOWN)|g' \ |
f240aacb | 1219 | -e 's|@''HAVE_LINK''@|$(HAVE_LINK)|g' \ |
8912421c LC |
1220 | -e 's|@''HAVE_LINKAT''@|$(HAVE_LINKAT)|g' \ |
1221 | -e 's|@''HAVE_PIPE2''@|$(HAVE_PIPE2)|g' \ | |
9b36a80c | 1222 | -e 's|@''HAVE_READLINK''@|$(HAVE_READLINK)|g' \ |
8912421c | 1223 | -e 's|@''HAVE_READLINKAT''@|$(HAVE_READLINKAT)|g' \ |
9b36a80c | 1224 | -e 's|@''HAVE_SLEEP''@|$(HAVE_SLEEP)|g' \ |
8912421c LC |
1225 | -e 's|@''HAVE_SYMLINK''@|$(HAVE_SYMLINK)|g' \ |
1226 | -e 's|@''HAVE_SYMLINKAT''@|$(HAVE_SYMLINKAT)|g' \ | |
1227 | -e 's|@''HAVE_UNLINKAT''@|$(HAVE_UNLINKAT)|g' \ | |
9b36a80c LC |
1228 | -e 's|@''HAVE_DECL_ENVIRON''@|$(HAVE_DECL_ENVIRON)|g' \ |
1229 | -e 's|@''HAVE_DECL_GETLOGIN_R''@|$(HAVE_DECL_GETLOGIN_R)|g' \ | |
1230 | -e 's|@''HAVE_OS_H''@|$(HAVE_OS_H)|g' \ | |
1231 | -e 's|@''HAVE_SYS_PARAM_H''@|$(HAVE_SYS_PARAM_H)|g' \ | |
1232 | -e 's|@''REPLACE_CHOWN''@|$(REPLACE_CHOWN)|g' \ | |
1233 | -e 's|@''REPLACE_CLOSE''@|$(REPLACE_CLOSE)|g' \ | |
8912421c | 1234 | -e 's|@''REPLACE_DUP''@|$(REPLACE_DUP)|g' \ |
25361e4b | 1235 | -e 's|@''REPLACE_DUP2''@|$(REPLACE_DUP2)|g' \ |
9b36a80c | 1236 | -e 's|@''REPLACE_FCHDIR''@|$(REPLACE_FCHDIR)|g' \ |
8912421c | 1237 | -e 's|@''REPLACE_FCHOWNAT''@|$(REPLACE_FCHOWNAT)|g' \ |
9b36a80c | 1238 | -e 's|@''REPLACE_GETCWD''@|$(REPLACE_GETCWD)|g' \ |
f29ded4b | 1239 | -e 's|@''REPLACE_GETGROUPS''@|$(REPLACE_GETGROUPS)|g' \ |
9b36a80c LC |
1240 | -e 's|@''REPLACE_GETPAGESIZE''@|$(REPLACE_GETPAGESIZE)|g' \ |
1241 | -e 's|@''REPLACE_LCHOWN''@|$(REPLACE_LCHOWN)|g' \ | |
8912421c LC |
1242 | -e 's|@''REPLACE_LINK''@|$(REPLACE_LINK)|g' \ |
1243 | -e 's|@''REPLACE_LINKAT''@|$(REPLACE_LINKAT)|g' \ | |
9b36a80c | 1244 | -e 's|@''REPLACE_LSEEK''@|$(REPLACE_LSEEK)|g' \ |
8912421c LC |
1245 | -e 's|@''REPLACE_READLINK''@|$(REPLACE_READLINK)|g' \ |
1246 | -e 's|@''REPLACE_RMDIR''@|$(REPLACE_RMDIR)|g' \ | |
1247 | -e 's|@''REPLACE_SYMLINK''@|$(REPLACE_SYMLINK)|g' \ | |
1248 | -e 's|@''REPLACE_UNLINK''@|$(REPLACE_UNLINK)|g' \ | |
1249 | -e 's|@''REPLACE_UNLINKAT''@|$(REPLACE_UNLINKAT)|g' \ | |
9b36a80c LC |
1250 | -e 's|@''REPLACE_WRITE''@|$(REPLACE_WRITE)|g' \ |
1251 | -e 's|@''UNISTD_H_HAVE_WINSOCK2_H''@|$(UNISTD_H_HAVE_WINSOCK2_H)|g' \ | |
8912421c | 1252 | -e 's|@''UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS''@|$(UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS)|g' \ |
9b36a80c LC |
1253 | -e '/definition of GL_LINK_WARNING/r $(LINK_WARNING_H)' \ |
1254 | < $(srcdir)/unistd.in.h; \ | |
8912421c | 1255 | } > $@-t && \ |
9b36a80c LC |
1256 | mv $@-t $@ |
1257 | MOSTLYCLEANFILES += unistd.h unistd.h-t | |
1258 | ||
1259 | EXTRA_DIST += unistd.in.h | |
1260 | ||
1261 | ## end gnulib module unistd | |
1262 | ||
24d56127 LC |
1263 | ## begin gnulib module unistr/base |
1264 | ||
1265 | ||
1266 | EXTRA_DIST += unistr.h | |
1267 | ||
1268 | ## end gnulib module unistr/base | |
1269 | ||
1270 | ## begin gnulib module unistr/u8-mbtouc | |
1271 | ||
1272 | libgnu_la_SOURCES += unistr/u8-mbtouc.c unistr/u8-mbtouc-aux.c | |
1273 | ||
1274 | ## end gnulib module unistr/u8-mbtouc | |
1275 | ||
1276 | ## begin gnulib module unistr/u8-mbtouc-unsafe | |
1277 | ||
1278 | libgnu_la_SOURCES += unistr/u8-mbtouc-unsafe.c unistr/u8-mbtouc-unsafe-aux.c | |
1279 | ||
1280 | ## end gnulib module unistr/u8-mbtouc-unsafe | |
1281 | ||
1282 | ## begin gnulib module unistr/u8-mbtoucr | |
1283 | ||
1284 | libgnu_la_SOURCES += unistr/u8-mbtoucr.c | |
1285 | ||
1286 | ## end gnulib module unistr/u8-mbtoucr | |
1287 | ||
1288 | ## begin gnulib module unistr/u8-prev | |
1289 | ||
1290 | libgnu_la_SOURCES += unistr/u8-prev.c | |
1291 | ||
1292 | ## end gnulib module unistr/u8-prev | |
1293 | ||
1294 | ## begin gnulib module unistr/u8-uctomb | |
1295 | ||
1296 | libgnu_la_SOURCES += unistr/u8-uctomb.c unistr/u8-uctomb-aux.c | |
1297 | ||
1298 | ## end gnulib module unistr/u8-uctomb | |
1299 | ||
1300 | ## begin gnulib module unitypes | |
1301 | ||
1302 | ||
1303 | EXTRA_DIST += unitypes.h | |
1304 | ||
1305 | ## end gnulib module unitypes | |
1306 | ||
c4b681fd LC |
1307 | ## begin gnulib module vasnprintf |
1308 | ||
1309 | ||
1310 | EXTRA_DIST += asnprintf.c float+.h printf-args.c printf-args.h printf-parse.c printf-parse.h vasnprintf.c vasnprintf.h | |
1311 | ||
1312 | EXTRA_libgnu_la_SOURCES += asnprintf.c printf-args.c printf-parse.c vasnprintf.c | |
1313 | ||
1314 | ## end gnulib module vasnprintf | |
1315 | ||
d7014610 LC |
1316 | ## begin gnulib module verify |
1317 | ||
1318 | libgnu_la_SOURCES += verify.h | |
1319 | ||
1320 | ## end gnulib module verify | |
1321 | ||
c4b681fd LC |
1322 | ## begin gnulib module vsnprintf |
1323 | ||
1324 | ||
1325 | EXTRA_DIST += vsnprintf.c | |
1326 | ||
1327 | EXTRA_libgnu_la_SOURCES += vsnprintf.c | |
1328 | ||
1329 | ## end gnulib module vsnprintf | |
1330 | ||
e65fc94b LC |
1331 | ## begin gnulib module wchar |
1332 | ||
1333 | BUILT_SOURCES += $(WCHAR_H) | |
1334 | ||
1335 | # We need the following in order to create <wchar.h> when the system | |
1336 | # version does not work standalone. | |
1337 | wchar.h: wchar.in.h | |
8912421c | 1338 | $(AM_V_GEN)rm -f $@-t $@ && \ |
e65fc94b LC |
1339 | { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ |
1340 | sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ | |
1341 | -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ | |
1342 | -e 's|@''NEXT_WCHAR_H''@|$(NEXT_WCHAR_H)|g' \ | |
4a462e35 NJ |
1343 | -e 's|@''HAVE_WCHAR_H''@|$(HAVE_WCHAR_H)|g' \ |
1344 | -e 's|@''GNULIB_BTOWC''@|$(GNULIB_BTOWC)|g' \ | |
1345 | -e 's|@''GNULIB_WCTOB''@|$(GNULIB_WCTOB)|g' \ | |
1346 | -e 's|@''GNULIB_MBSINIT''@|$(GNULIB_MBSINIT)|g' \ | |
1347 | -e 's|@''GNULIB_MBRTOWC''@|$(GNULIB_MBRTOWC)|g' \ | |
1348 | -e 's|@''GNULIB_MBRLEN''@|$(GNULIB_MBRLEN)|g' \ | |
1349 | -e 's|@''GNULIB_MBSRTOWCS''@|$(GNULIB_MBSRTOWCS)|g' \ | |
1350 | -e 's|@''GNULIB_MBSNRTOWCS''@|$(GNULIB_MBSNRTOWCS)|g' \ | |
1351 | -e 's|@''GNULIB_WCRTOMB''@|$(GNULIB_WCRTOMB)|g' \ | |
1352 | -e 's|@''GNULIB_WCSRTOMBS''@|$(GNULIB_WCSRTOMBS)|g' \ | |
1353 | -e 's|@''GNULIB_WCSNRTOMBS''@|$(GNULIB_WCSNRTOMBS)|g' \ | |
e65fc94b | 1354 | -e 's|@''GNULIB_WCWIDTH''@|$(GNULIB_WCWIDTH)|g' \ |
4a462e35 NJ |
1355 | -e 's|@''HAVE_WINT_T''@|$(HAVE_WINT_T)|g' \ |
1356 | -e 's|@''HAVE_BTOWC''@|$(HAVE_BTOWC)|g' \ | |
1357 | -e 's|@''HAVE_MBSINIT''@|$(HAVE_MBSINIT)|g' \ | |
1358 | -e 's|@''HAVE_MBRTOWC''@|$(HAVE_MBRTOWC)|g' \ | |
1359 | -e 's|@''HAVE_MBRLEN''@|$(HAVE_MBRLEN)|g' \ | |
1360 | -e 's|@''HAVE_MBSRTOWCS''@|$(HAVE_MBSRTOWCS)|g' \ | |
1361 | -e 's|@''HAVE_MBSNRTOWCS''@|$(HAVE_MBSNRTOWCS)|g' \ | |
1362 | -e 's|@''HAVE_WCRTOMB''@|$(HAVE_WCRTOMB)|g' \ | |
1363 | -e 's|@''HAVE_WCSRTOMBS''@|$(HAVE_WCSRTOMBS)|g' \ | |
1364 | -e 's|@''HAVE_WCSNRTOMBS''@|$(HAVE_WCSNRTOMBS)|g' \ | |
1365 | -e 's|@''HAVE_DECL_WCTOB''@|$(HAVE_DECL_WCTOB)|g' \ | |
e65fc94b | 1366 | -e 's|@''HAVE_DECL_WCWIDTH''@|$(HAVE_DECL_WCWIDTH)|g' \ |
4a462e35 NJ |
1367 | -e 's|@''REPLACE_MBSTATE_T''@|$(REPLACE_MBSTATE_T)|g' \ |
1368 | -e 's|@''REPLACE_BTOWC''@|$(REPLACE_BTOWC)|g' \ | |
1369 | -e 's|@''REPLACE_WCTOB''@|$(REPLACE_WCTOB)|g' \ | |
1370 | -e 's|@''REPLACE_MBSINIT''@|$(REPLACE_MBSINIT)|g' \ | |
1371 | -e 's|@''REPLACE_MBRTOWC''@|$(REPLACE_MBRTOWC)|g' \ | |
1372 | -e 's|@''REPLACE_MBRLEN''@|$(REPLACE_MBRLEN)|g' \ | |
1373 | -e 's|@''REPLACE_MBSRTOWCS''@|$(REPLACE_MBSRTOWCS)|g' \ | |
1374 | -e 's|@''REPLACE_MBSNRTOWCS''@|$(REPLACE_MBSNRTOWCS)|g' \ | |
1375 | -e 's|@''REPLACE_WCRTOMB''@|$(REPLACE_WCRTOMB)|g' \ | |
1376 | -e 's|@''REPLACE_WCSRTOMBS''@|$(REPLACE_WCSRTOMBS)|g' \ | |
f240aacb | 1377 | -e 's|@''REPLACE_WCSNRTOMBS''@|$(REPLACE_WCSNRTOMBS)|g' \ |
e65fc94b LC |
1378 | -e 's|@''REPLACE_WCWIDTH''@|$(REPLACE_WCWIDTH)|g' \ |
1379 | -e '/definition of GL_LINK_WARNING/r $(LINK_WARNING_H)' \ | |
1380 | < $(srcdir)/wchar.in.h; \ | |
8912421c | 1381 | } > $@-t && \ |
e65fc94b LC |
1382 | mv $@-t $@ |
1383 | MOSTLYCLEANFILES += wchar.h wchar.h-t | |
1384 | ||
1385 | EXTRA_DIST += wchar.in.h | |
1386 | ||
1387 | ## end gnulib module wchar | |
1388 | ||
9b36a80c LC |
1389 | ## begin gnulib module write |
1390 | ||
1391 | ||
1392 | EXTRA_DIST += write.c | |
103dc4d4 | 1393 | |
9b36a80c | 1394 | EXTRA_libgnu_la_SOURCES += write.c |
103dc4d4 | 1395 | |
9b36a80c | 1396 | ## end gnulib module write |
103dc4d4 | 1397 | |
c4b681fd LC |
1398 | ## begin gnulib module xsize |
1399 | ||
1400 | libgnu_la_SOURCES += xsize.h | |
1401 | ||
1402 | ## end gnulib module xsize | |
1403 | ||
103dc4d4 LC |
1404 | |
1405 | mostlyclean-local: mostlyclean-generic | |
1406 | @for dir in '' $(MOSTLYCLEANDIRS); do \ | |
1407 | if test -n "$$dir" && test -d $$dir; then \ | |
1408 | echo "rmdir $$dir"; rmdir $$dir; \ | |
1409 | fi; \ | |
1410 | done; \ | |
1411 | : |