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