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. | |
ffca4c22 | 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 alloca-opt autobuild byteswap canonicalize-lgpl count-one-bits environ extensions flock fpieee full-read full-write havelib iconv_open-utf lib-symbol-visibility libunistring putenv stdlib strcase strftime striconveh string |
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 | ||
103dc4d4 LC |
40 | ## begin gnulib module alloca-opt |
41 | ||
42 | BUILT_SOURCES += $(ALLOCA_H) | |
43 | ||
44 | # We need the following in order to create <alloca.h> when the system | |
45 | # doesn't have one that works with the given compiler. | |
46 | alloca.h: alloca.in.h | |
47 | { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ | |
48 | cat $(srcdir)/alloca.in.h; \ | |
49 | } > $@-t | |
50 | mv -f $@-t $@ | |
51 | MOSTLYCLEANFILES += alloca.h alloca.h-t | |
52 | ||
53 | EXTRA_DIST += alloca.in.h | |
54 | ||
55 | ## end gnulib module alloca-opt | |
56 | ||
24d56127 LC |
57 | ## begin gnulib module byteswap |
58 | ||
59 | BUILT_SOURCES += $(BYTESWAP_H) | |
60 | ||
61 | # We need the following in order to create <byteswap.h> when the system | |
62 | # doesn't have one. | |
63 | byteswap.h: byteswap.in.h | |
64 | { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ | |
65 | cat $(srcdir)/byteswap.in.h; \ | |
66 | } > $@-t | |
67 | mv -f $@-t $@ | |
68 | MOSTLYCLEANFILES += byteswap.h byteswap.h-t | |
69 | ||
70 | EXTRA_DIST += byteswap.in.h | |
71 | ||
72 | ## end gnulib module byteswap | |
73 | ||
74 | ## begin gnulib module c-ctype | |
75 | ||
76 | libgnu_la_SOURCES += c-ctype.h c-ctype.c | |
77 | ||
78 | ## end gnulib module c-ctype | |
79 | ||
80 | ## begin gnulib module c-strcase | |
81 | ||
82 | libgnu_la_SOURCES += c-strcase.h c-strcasecmp.c c-strncasecmp.c | |
83 | ||
84 | ## end gnulib module c-strcase | |
85 | ||
86 | ## begin gnulib module c-strcaseeq | |
87 | ||
88 | ||
89 | EXTRA_DIST += c-strcaseeq.h | |
90 | ||
91 | ## end gnulib module c-strcaseeq | |
92 | ||
ffca4c22 AW |
93 | ## begin gnulib module canonicalize-lgpl |
94 | ||
95 | ||
96 | EXTRA_DIST += canonicalize-lgpl.c canonicalize.h | |
97 | ||
98 | EXTRA_libgnu_la_SOURCES += canonicalize-lgpl.c | |
99 | ||
100 | ## end gnulib module canonicalize-lgpl | |
101 | ||
4a462e35 NJ |
102 | ## begin gnulib module configmake |
103 | ||
104 | # Retrieve values of the variables through 'configure' followed by | |
105 | # 'make', not directly through 'configure', so that a user who | |
106 | # sets some of these variables consistently on the 'make' command | |
107 | # line gets correct results. | |
108 | # | |
109 | # One advantage of this approach, compared to the classical | |
110 | # approach of adding -DLIBDIR=\"$(libdir)\" etc. to AM_CPPFLAGS, | |
111 | # is that it protects against the use of undefined variables. | |
112 | # If, say, $(libdir) is not set in the Makefile, LIBDIR is not | |
113 | # defined by this module, and code using LIBDIR gives a | |
114 | # compilation error. | |
115 | # | |
116 | # Another advantage is that 'make' output is shorter. | |
117 | # | |
118 | # Listed in the same order as the GNU makefile conventions. | |
119 | # The Automake-defined pkg* macros are appended, in the order | |
120 | # listed in the Automake 1.10a+ documentation. | |
121 | configmake.h: Makefile | |
f240aacb | 122 | rm -f $@-t |
4a462e35 NJ |
123 | { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ |
124 | echo '#define PREFIX "$(prefix)"'; \ | |
125 | echo '#define EXEC_PREFIX "$(exec_prefix)"'; \ | |
126 | echo '#define BINDIR "$(bindir)"'; \ | |
127 | echo '#define SBINDIR "$(sbindir)"'; \ | |
128 | echo '#define LIBEXECDIR "$(libexecdir)"'; \ | |
129 | echo '#define DATAROOTDIR "$(datarootdir)"'; \ | |
130 | echo '#define DATADIR "$(datadir)"'; \ | |
131 | echo '#define SYSCONFDIR "$(sysconfdir)"'; \ | |
132 | echo '#define SHAREDSTATEDIR "$(sharedstatedir)"'; \ | |
133 | echo '#define LOCALSTATEDIR "$(localstatedir)"'; \ | |
134 | echo '#define INCLUDEDIR "$(includedir)"'; \ | |
135 | echo '#define OLDINCLUDEDIR "$(oldincludedir)"'; \ | |
136 | echo '#define DOCDIR "$(docdir)"'; \ | |
137 | echo '#define INFODIR "$(infodir)"'; \ | |
138 | echo '#define HTMLDIR "$(htmldir)"'; \ | |
139 | echo '#define DVIDIR "$(dvidir)"'; \ | |
140 | echo '#define PDFDIR "$(pdfdir)"'; \ | |
141 | echo '#define PSDIR "$(psdir)"'; \ | |
142 | echo '#define LIBDIR "$(libdir)"'; \ | |
143 | echo '#define LISPDIR "$(lispdir)"'; \ | |
144 | echo '#define LOCALEDIR "$(localedir)"'; \ | |
145 | echo '#define MANDIR "$(mandir)"'; \ | |
146 | echo '#define MANEXT "$(manext)"'; \ | |
147 | echo '#define PKGDATADIR "$(pkgdatadir)"'; \ | |
148 | echo '#define PKGINCLUDEDIR "$(pkgincludedir)"'; \ | |
149 | echo '#define PKGLIBDIR "$(pkglibdir)"'; \ | |
150 | echo '#define PKGLIBEXECDIR "$(pkglibexecdir)"'; \ | |
151 | } | sed '/""/d' > $@-t | |
f240aacb LC |
152 | if test -f $@ && cmp $@-t $@ > /dev/null; then \ |
153 | rm -f $@-t; \ | |
154 | else \ | |
155 | rm -f $@; mv $@-t $@; \ | |
156 | fi | |
157 | ||
4a462e35 NJ |
158 | BUILT_SOURCES += configmake.h |
159 | CLEANFILES += configmake.h configmake.h-t | |
160 | ||
161 | ## end gnulib module configmake | |
162 | ||
d7014610 LC |
163 | ## begin gnulib module count-one-bits |
164 | ||
165 | ||
166 | EXTRA_DIST += count-one-bits.h | |
167 | ||
168 | ## end gnulib module count-one-bits | |
169 | ||
f240aacb LC |
170 | ## begin gnulib module flock |
171 | ||
172 | ||
173 | EXTRA_DIST += flock.c | |
174 | ||
175 | EXTRA_libgnu_la_SOURCES += flock.c | |
176 | ||
177 | ## end gnulib module flock | |
178 | ||
9b36a80c LC |
179 | ## begin gnulib module full-read |
180 | ||
181 | libgnu_la_SOURCES += full-read.h full-read.c | |
182 | ||
183 | ## end gnulib module full-read | |
184 | ||
185 | ## begin gnulib module full-write | |
186 | ||
187 | libgnu_la_SOURCES += full-write.h full-write.c | |
188 | ||
189 | ## end gnulib module full-write | |
190 | ||
24d56127 LC |
191 | ## begin gnulib module gperf |
192 | ||
193 | GPERF = gperf | |
194 | ||
195 | ## end gnulib module gperf | |
196 | ||
197 | ## begin gnulib module havelib | |
198 | ||
199 | ||
200 | EXTRA_DIST += $(top_srcdir)/build-aux/config.rpath | |
201 | ||
202 | ## end gnulib module havelib | |
203 | ||
204 | ## begin gnulib module iconv_open | |
205 | ||
206 | BUILT_SOURCES += $(ICONV_H) | |
207 | ||
208 | # We need the following in order to create <iconv.h> when the system | |
209 | # doesn't have one that works with the given compiler. | |
210 | iconv.h: iconv.in.h | |
211 | rm -f $@-t $@ | |
212 | { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \ | |
213 | sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ | |
214 | -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ | |
215 | -e 's|@''NEXT_ICONV_H''@|$(NEXT_ICONV_H)|g' \ | |
216 | -e 's|@''ICONV_CONST''@|$(ICONV_CONST)|g' \ | |
217 | -e 's|@''REPLACE_ICONV''@|$(REPLACE_ICONV)|g' \ | |
218 | -e 's|@''REPLACE_ICONV_OPEN''@|$(REPLACE_ICONV_OPEN)|g' \ | |
219 | -e 's|@''REPLACE_ICONV_UTF''@|$(REPLACE_ICONV_UTF)|g' \ | |
220 | < $(srcdir)/iconv.in.h; \ | |
221 | } > $@-t | |
222 | mv $@-t $@ | |
223 | MOSTLYCLEANFILES += iconv.h iconv.h-t | |
224 | ||
225 | iconv_open-aix.h: iconv_open-aix.gperf | |
226 | $(GPERF) -m 10 $(srcdir)/iconv_open-aix.gperf > $(srcdir)/iconv_open-aix.h-t | |
227 | mv $(srcdir)/iconv_open-aix.h-t $(srcdir)/iconv_open-aix.h | |
228 | iconv_open-hpux.h: iconv_open-hpux.gperf | |
229 | $(GPERF) -m 10 $(srcdir)/iconv_open-hpux.gperf > $(srcdir)/iconv_open-hpux.h-t | |
230 | mv $(srcdir)/iconv_open-hpux.h-t $(srcdir)/iconv_open-hpux.h | |
231 | iconv_open-irix.h: iconv_open-irix.gperf | |
232 | $(GPERF) -m 10 $(srcdir)/iconv_open-irix.gperf > $(srcdir)/iconv_open-irix.h-t | |
233 | mv $(srcdir)/iconv_open-irix.h-t $(srcdir)/iconv_open-irix.h | |
234 | iconv_open-osf.h: iconv_open-osf.gperf | |
235 | $(GPERF) -m 10 $(srcdir)/iconv_open-osf.gperf > $(srcdir)/iconv_open-osf.h-t | |
236 | mv $(srcdir)/iconv_open-osf.h-t $(srcdir)/iconv_open-osf.h | |
237 | BUILT_SOURCES += iconv_open-aix.h iconv_open-hpux.h iconv_open-irix.h iconv_open-osf.h | |
238 | MOSTLYCLEANFILES += iconv_open-aix.h-t iconv_open-hpux.h-t iconv_open-irix.h-t iconv_open-osf.h-t | |
239 | MAINTAINERCLEANFILES += iconv_open-aix.h iconv_open-hpux.h iconv_open-irix.h iconv_open-osf.h | |
240 | EXTRA_DIST += iconv_open-aix.h iconv_open-hpux.h iconv_open-irix.h iconv_open-osf.h | |
241 | ||
242 | EXTRA_DIST += iconv.in.h iconv_open-aix.gperf iconv_open-hpux.gperf iconv_open-irix.gperf iconv_open-osf.gperf iconv_open.c | |
243 | ||
244 | EXTRA_libgnu_la_SOURCES += iconv_open.c | |
245 | ||
246 | ## end gnulib module iconv_open | |
247 | ||
248 | ## begin gnulib module iconv_open-utf | |
249 | ||
250 | ||
251 | EXTRA_DIST += iconv.c iconv_close.c | |
252 | ||
253 | EXTRA_libgnu_la_SOURCES += iconv.c iconv_close.c | |
254 | ||
255 | ## end gnulib module iconv_open-utf | |
256 | ||
d9a9e182 AW |
257 | ## begin gnulib module lib-symbol-visibility |
258 | ||
259 | # The value of $(CFLAG_VISIBILITY) needs to be added to the CFLAGS for the | |
260 | # compilation of all sources that make up the library. This line here does it | |
261 | # only for the gnulib part of it. The developer is responsible for adding | |
262 | # $(CFLAG_VISIBILITY) to the Makefile.ams of the other portions of the library. | |
263 | AM_CFLAGS += $(CFLAG_VISIBILITY) | |
264 | ||
265 | ## end gnulib module lib-symbol-visibility | |
266 | ||
103dc4d4 LC |
267 | ## begin gnulib module link-warning |
268 | ||
269 | LINK_WARNING_H=$(top_srcdir)/build-aux/link-warning.h | |
270 | ||
271 | EXTRA_DIST += $(top_srcdir)/build-aux/link-warning.h | |
272 | ||
273 | ## end gnulib module link-warning | |
274 | ||
4a462e35 NJ |
275 | ## begin gnulib module localcharset |
276 | ||
277 | libgnu_la_SOURCES += localcharset.h localcharset.c | |
278 | ||
279 | # We need the following in order to install a simple file in $(libdir) | |
280 | # which is shared with other installed packages. We use a list of referencing | |
281 | # packages so that "make uninstall" will remove the file if and only if it | |
282 | # is not used by another installed package. | |
283 | # On systems with glibc-2.1 or newer, the file is redundant, therefore we | |
284 | # avoid installing it. | |
285 | ||
286 | all-local: charset.alias ref-add.sed ref-del.sed | |
287 | ||
288 | charset_alias = $(DESTDIR)$(libdir)/charset.alias | |
289 | charset_tmp = $(DESTDIR)$(libdir)/charset.tmp | |
f240aacb LC |
290 | install-exec-local: install-exec-localcharset |
291 | install-exec-localcharset: all-local | |
292 | if test $(GLIBC21) = no; then \ | |
293 | case '$(host_os)' in \ | |
294 | darwin[56]*) \ | |
295 | need_charset_alias=true ;; \ | |
296 | darwin* | cygwin* | mingw* | pw32* | cegcc*) \ | |
297 | need_charset_alias=false ;; \ | |
298 | *) \ | |
299 | need_charset_alias=true ;; \ | |
300 | esac ; \ | |
301 | else \ | |
302 | need_charset_alias=false ; \ | |
303 | fi ; \ | |
304 | if $$need_charset_alias; then \ | |
305 | $(mkinstalldirs) $(DESTDIR)$(libdir) ; \ | |
306 | fi ; \ | |
4a462e35 NJ |
307 | if test -f $(charset_alias); then \ |
308 | sed -f ref-add.sed $(charset_alias) > $(charset_tmp) ; \ | |
309 | $(INSTALL_DATA) $(charset_tmp) $(charset_alias) ; \ | |
310 | rm -f $(charset_tmp) ; \ | |
311 | else \ | |
f240aacb | 312 | if $$need_charset_alias; then \ |
4a462e35 NJ |
313 | sed -f ref-add.sed charset.alias > $(charset_tmp) ; \ |
314 | $(INSTALL_DATA) $(charset_tmp) $(charset_alias) ; \ | |
315 | rm -f $(charset_tmp) ; \ | |
316 | fi ; \ | |
317 | fi | |
318 | ||
f240aacb LC |
319 | uninstall-local: uninstall-localcharset |
320 | uninstall-localcharset: all-local | |
4a462e35 NJ |
321 | if test -f $(charset_alias); then \ |
322 | sed -f ref-del.sed $(charset_alias) > $(charset_tmp); \ | |
323 | if grep '^# Packages using this file: $$' $(charset_tmp) \ | |
324 | > /dev/null; then \ | |
325 | rm -f $(charset_alias); \ | |
326 | else \ | |
327 | $(INSTALL_DATA) $(charset_tmp) $(charset_alias); \ | |
328 | fi; \ | |
329 | rm -f $(charset_tmp); \ | |
330 | fi | |
331 | ||
332 | charset.alias: config.charset | |
333 | rm -f t-$@ $@ | |
334 | $(SHELL) $(srcdir)/config.charset '$(host)' > t-$@ | |
335 | mv t-$@ $@ | |
336 | ||
337 | SUFFIXES += .sed .sin | |
338 | .sin.sed: | |
339 | rm -f t-$@ $@ | |
340 | sed -e '/^#/d' -e 's/@''PACKAGE''@/$(PACKAGE)/g' $< > t-$@ | |
341 | mv t-$@ $@ | |
342 | ||
343 | CLEANFILES += charset.alias ref-add.sed ref-del.sed | |
344 | ||
345 | EXTRA_DIST += config.charset ref-add.sin ref-del.sin | |
346 | ||
347 | ## end gnulib module localcharset | |
348 | ||
f240aacb LC |
349 | ## begin gnulib module malloc-posix |
350 | ||
351 | ||
352 | EXTRA_DIST += malloc.c | |
353 | ||
354 | EXTRA_libgnu_la_SOURCES += malloc.c | |
355 | ||
356 | ## end gnulib module malloc-posix | |
357 | ||
ffca4c22 AW |
358 | ## begin gnulib module malloca |
359 | ||
360 | libgnu_la_SOURCES += malloca.c | |
361 | ||
362 | EXTRA_DIST += malloca.h malloca.valgrind | |
363 | ||
364 | ## end gnulib module malloca | |
365 | ||
4a462e35 NJ |
366 | ## begin gnulib module mbrlen |
367 | ||
368 | ||
369 | EXTRA_DIST += mbrlen.c | |
370 | ||
371 | EXTRA_libgnu_la_SOURCES += mbrlen.c | |
372 | ||
373 | ## end gnulib module mbrlen | |
374 | ||
375 | ## begin gnulib module mbrtowc | |
376 | ||
377 | ||
378 | EXTRA_DIST += mbrtowc.c | |
379 | ||
380 | EXTRA_libgnu_la_SOURCES += mbrtowc.c | |
381 | ||
382 | ## end gnulib module mbrtowc | |
383 | ||
384 | ## begin gnulib module mbsinit | |
385 | ||
386 | ||
387 | EXTRA_DIST += mbsinit.c | |
388 | ||
389 | EXTRA_libgnu_la_SOURCES += mbsinit.c | |
390 | ||
391 | ## end gnulib module mbsinit | |
392 | ||
ffca4c22 AW |
393 | ## begin gnulib module pathmax |
394 | ||
395 | ||
396 | EXTRA_DIST += pathmax.h | |
397 | ||
398 | ## end gnulib module pathmax | |
399 | ||
f240aacb LC |
400 | ## begin gnulib module putenv |
401 | ||
402 | ||
403 | EXTRA_DIST += putenv.c | |
404 | ||
405 | EXTRA_libgnu_la_SOURCES += putenv.c | |
406 | ||
407 | ## end gnulib module putenv | |
408 | ||
ffca4c22 AW |
409 | ## begin gnulib module readlink |
410 | ||
411 | ||
412 | EXTRA_DIST += readlink.c | |
413 | ||
414 | EXTRA_libgnu_la_SOURCES += readlink.c | |
415 | ||
416 | ## end gnulib module readlink | |
417 | ||
9b36a80c LC |
418 | ## begin gnulib module safe-read |
419 | ||
420 | ||
421 | EXTRA_DIST += safe-read.c safe-read.h | |
422 | ||
423 | EXTRA_libgnu_la_SOURCES += safe-read.c | |
424 | ||
425 | ## end gnulib module safe-read | |
426 | ||
427 | ## begin gnulib module safe-write | |
428 | ||
429 | ||
430 | EXTRA_DIST += safe-write.c safe-write.h | |
431 | ||
432 | EXTRA_libgnu_la_SOURCES += safe-write.c | |
433 | ||
434 | ## end gnulib module safe-write | |
435 | ||
e65fc94b LC |
436 | ## begin gnulib module stdbool |
437 | ||
438 | BUILT_SOURCES += $(STDBOOL_H) | |
439 | ||
440 | # We need the following in order to create <stdbool.h> when the system | |
441 | # doesn't have one that works. | |
442 | stdbool.h: stdbool.in.h | |
443 | rm -f $@-t $@ | |
444 | { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ | |
445 | sed -e 's/@''HAVE__BOOL''@/$(HAVE__BOOL)/g' < $(srcdir)/stdbool.in.h; \ | |
446 | } > $@-t | |
447 | mv $@-t $@ | |
448 | MOSTLYCLEANFILES += stdbool.h stdbool.h-t | |
449 | ||
450 | EXTRA_DIST += stdbool.in.h | |
451 | ||
452 | ## end gnulib module stdbool | |
453 | ||
f240aacb LC |
454 | ## begin gnulib module stdint |
455 | ||
456 | BUILT_SOURCES += $(STDINT_H) | |
457 | ||
458 | # We need the following in order to create <stdint.h> when the system | |
459 | # doesn't have one that works with the given compiler. | |
460 | stdint.h: stdint.in.h | |
461 | rm -f $@-t $@ | |
462 | { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ | |
463 | sed -e 's/@''HAVE_STDINT_H''@/$(HAVE_STDINT_H)/g' \ | |
464 | -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ | |
465 | -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ | |
466 | -e 's|@''NEXT_STDINT_H''@|$(NEXT_STDINT_H)|g' \ | |
467 | -e 's/@''HAVE_SYS_TYPES_H''@/$(HAVE_SYS_TYPES_H)/g' \ | |
468 | -e 's/@''HAVE_INTTYPES_H''@/$(HAVE_INTTYPES_H)/g' \ | |
469 | -e 's/@''HAVE_SYS_INTTYPES_H''@/$(HAVE_SYS_INTTYPES_H)/g' \ | |
470 | -e 's/@''HAVE_SYS_BITYPES_H''@/$(HAVE_SYS_BITYPES_H)/g' \ | |
471 | -e 's/@''HAVE_LONG_LONG_INT''@/$(HAVE_LONG_LONG_INT)/g' \ | |
472 | -e 's/@''HAVE_UNSIGNED_LONG_LONG_INT''@/$(HAVE_UNSIGNED_LONG_LONG_INT)/g' \ | |
473 | -e 's/@''APPLE_UNIVERSAL_BUILD''@/$(APPLE_UNIVERSAL_BUILD)/g' \ | |
474 | -e 's/@''BITSIZEOF_PTRDIFF_T''@/$(BITSIZEOF_PTRDIFF_T)/g' \ | |
475 | -e 's/@''PTRDIFF_T_SUFFIX''@/$(PTRDIFF_T_SUFFIX)/g' \ | |
476 | -e 's/@''BITSIZEOF_SIG_ATOMIC_T''@/$(BITSIZEOF_SIG_ATOMIC_T)/g' \ | |
477 | -e 's/@''HAVE_SIGNED_SIG_ATOMIC_T''@/$(HAVE_SIGNED_SIG_ATOMIC_T)/g' \ | |
478 | -e 's/@''SIG_ATOMIC_T_SUFFIX''@/$(SIG_ATOMIC_T_SUFFIX)/g' \ | |
479 | -e 's/@''BITSIZEOF_SIZE_T''@/$(BITSIZEOF_SIZE_T)/g' \ | |
480 | -e 's/@''SIZE_T_SUFFIX''@/$(SIZE_T_SUFFIX)/g' \ | |
481 | -e 's/@''BITSIZEOF_WCHAR_T''@/$(BITSIZEOF_WCHAR_T)/g' \ | |
482 | -e 's/@''HAVE_SIGNED_WCHAR_T''@/$(HAVE_SIGNED_WCHAR_T)/g' \ | |
483 | -e 's/@''WCHAR_T_SUFFIX''@/$(WCHAR_T_SUFFIX)/g' \ | |
484 | -e 's/@''BITSIZEOF_WINT_T''@/$(BITSIZEOF_WINT_T)/g' \ | |
485 | -e 's/@''HAVE_SIGNED_WINT_T''@/$(HAVE_SIGNED_WINT_T)/g' \ | |
486 | -e 's/@''WINT_T_SUFFIX''@/$(WINT_T_SUFFIX)/g' \ | |
487 | < $(srcdir)/stdint.in.h; \ | |
488 | } > $@-t | |
489 | mv $@-t $@ | |
490 | MOSTLYCLEANFILES += stdint.h stdint.h-t | |
491 | ||
492 | EXTRA_DIST += stdint.in.h | |
493 | ||
494 | ## end gnulib module stdint | |
495 | ||
496 | ## begin gnulib module stdlib | |
497 | ||
498 | BUILT_SOURCES += stdlib.h | |
499 | ||
500 | # We need the following in order to create <stdlib.h> when the system | |
501 | # doesn't have one that works with the given compiler. | |
502 | stdlib.h: stdlib.in.h | |
503 | rm -f $@-t $@ | |
504 | { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \ | |
505 | sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ | |
506 | -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ | |
507 | -e 's|@''NEXT_STDLIB_H''@|$(NEXT_STDLIB_H)|g' \ | |
508 | -e 's|@''HAVE_RANDOM_H''@|$(HAVE_RANDOM_H)|g' \ | |
509 | -e 's|@''GNULIB_MALLOC_POSIX''@|$(GNULIB_MALLOC_POSIX)|g' \ | |
510 | -e 's|@''GNULIB_REALLOC_POSIX''@|$(GNULIB_REALLOC_POSIX)|g' \ | |
511 | -e 's|@''GNULIB_CALLOC_POSIX''@|$(GNULIB_CALLOC_POSIX)|g' \ | |
512 | -e 's|@''GNULIB_ATOLL''@|$(GNULIB_ATOLL)|g' \ | |
513 | -e 's|@''GNULIB_GETLOADAVG''@|$(GNULIB_GETLOADAVG)|g' \ | |
514 | -e 's|@''GNULIB_GETSUBOPT''@|$(GNULIB_GETSUBOPT)|g' \ | |
515 | -e 's|@''GNULIB_MKDTEMP''@|$(GNULIB_MKDTEMP)|g' \ | |
516 | -e 's|@''GNULIB_MKSTEMP''@|$(GNULIB_MKSTEMP)|g' \ | |
517 | -e 's|@''GNULIB_PUTENV''@|$(GNULIB_PUTENV)|g' \ | |
518 | -e 's|@''GNULIB_RANDOM_R''@|$(GNULIB_RANDOM_R)|g' \ | |
519 | -e 's|@''GNULIB_RPMATCH''@|$(GNULIB_RPMATCH)|g' \ | |
520 | -e 's|@''GNULIB_SETENV''@|$(GNULIB_SETENV)|g' \ | |
521 | -e 's|@''GNULIB_STRTOD''@|$(GNULIB_STRTOD)|g' \ | |
522 | -e 's|@''GNULIB_STRTOLL''@|$(GNULIB_STRTOLL)|g' \ | |
523 | -e 's|@''GNULIB_STRTOULL''@|$(GNULIB_STRTOULL)|g' \ | |
524 | -e 's|@''GNULIB_UNSETENV''@|$(GNULIB_UNSETENV)|g' \ | |
525 | -e 's|@''HAVE_ATOLL''@|$(HAVE_ATOLL)|g' \ | |
526 | -e 's|@''HAVE_CALLOC_POSIX''@|$(HAVE_CALLOC_POSIX)|g' \ | |
527 | -e 's|@''HAVE_GETSUBOPT''@|$(HAVE_GETSUBOPT)|g' \ | |
528 | -e 's|@''HAVE_MALLOC_POSIX''@|$(HAVE_MALLOC_POSIX)|g' \ | |
529 | -e 's|@''HAVE_MKDTEMP''@|$(HAVE_MKDTEMP)|g' \ | |
530 | -e 's|@''HAVE_REALLOC_POSIX''@|$(HAVE_REALLOC_POSIX)|g' \ | |
531 | -e 's|@''HAVE_RANDOM_R''@|$(HAVE_RANDOM_R)|g' \ | |
532 | -e 's|@''HAVE_RPMATCH''@|$(HAVE_RPMATCH)|g' \ | |
533 | -e 's|@''HAVE_SETENV''@|$(HAVE_SETENV)|g' \ | |
534 | -e 's|@''HAVE_STRTOD''@|$(HAVE_STRTOD)|g' \ | |
535 | -e 's|@''HAVE_STRTOLL''@|$(HAVE_STRTOLL)|g' \ | |
536 | -e 's|@''HAVE_STRTOULL''@|$(HAVE_STRTOULL)|g' \ | |
537 | -e 's|@''HAVE_STRUCT_RANDOM_DATA''@|$(HAVE_STRUCT_RANDOM_DATA)|g' \ | |
538 | -e 's|@''HAVE_SYS_LOADAVG_H''@|$(HAVE_SYS_LOADAVG_H)|g' \ | |
539 | -e 's|@''HAVE_UNSETENV''@|$(HAVE_UNSETENV)|g' \ | |
540 | -e 's|@''HAVE_DECL_GETLOADAVG''@|$(HAVE_DECL_GETLOADAVG)|g' \ | |
541 | -e 's|@''REPLACE_MKSTEMP''@|$(REPLACE_MKSTEMP)|g' \ | |
542 | -e 's|@''REPLACE_PUTENV''@|$(REPLACE_PUTENV)|g' \ | |
543 | -e 's|@''REPLACE_STRTOD''@|$(REPLACE_STRTOD)|g' \ | |
544 | -e 's|@''VOID_UNSETENV''@|$(VOID_UNSETENV)|g' \ | |
545 | -e '/definition of GL_LINK_WARNING/r $(LINK_WARNING_H)' \ | |
546 | < $(srcdir)/stdlib.in.h; \ | |
547 | } > $@-t | |
548 | mv $@-t $@ | |
549 | MOSTLYCLEANFILES += stdlib.h stdlib.h-t | |
550 | ||
551 | EXTRA_DIST += stdlib.in.h | |
552 | ||
553 | ## end gnulib module stdlib | |
554 | ||
103dc4d4 LC |
555 | ## begin gnulib module strcase |
556 | ||
557 | ||
558 | EXTRA_DIST += strcasecmp.c strncasecmp.c | |
559 | ||
560 | EXTRA_libgnu_la_SOURCES += strcasecmp.c strncasecmp.c | |
561 | ||
562 | ## end gnulib module strcase | |
563 | ||
4a462e35 NJ |
564 | ## begin gnulib module streq |
565 | ||
566 | ||
567 | EXTRA_DIST += streq.h | |
568 | ||
569 | ## end gnulib module streq | |
570 | ||
e65fc94b LC |
571 | ## begin gnulib module strftime |
572 | ||
573 | ||
574 | EXTRA_DIST += strftime.c strftime.h | |
575 | ||
576 | EXTRA_libgnu_la_SOURCES += strftime.c | |
577 | ||
578 | ## end gnulib module strftime | |
579 | ||
24d56127 LC |
580 | ## begin gnulib module striconveh |
581 | ||
582 | libgnu_la_SOURCES += striconveh.h striconveh.c | |
583 | if GL_COND_LIBTOOL | |
584 | libgnu_la_LDFLAGS += $(LTLIBICONV) | |
585 | endif | |
586 | ||
587 | EXTRA_DIST += iconveh.h | |
588 | ||
589 | ## end gnulib module striconveh | |
590 | ||
591 | ## begin gnulib module string | |
592 | ||
593 | BUILT_SOURCES += string.h | |
594 | ||
595 | # We need the following in order to create <string.h> when the system | |
596 | # doesn't have one that works with the given compiler. | |
597 | string.h: string.in.h | |
598 | rm -f $@-t $@ | |
599 | { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \ | |
600 | sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ | |
601 | -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ | |
602 | -e 's|@''NEXT_STRING_H''@|$(NEXT_STRING_H)|g' \ | |
603 | -e 's|@''GNULIB_MBSLEN''@|$(GNULIB_MBSLEN)|g' \ | |
604 | -e 's|@''GNULIB_MBSNLEN''@|$(GNULIB_MBSNLEN)|g' \ | |
605 | -e 's|@''GNULIB_MBSCHR''@|$(GNULIB_MBSCHR)|g' \ | |
606 | -e 's|@''GNULIB_MBSRCHR''@|$(GNULIB_MBSRCHR)|g' \ | |
607 | -e 's|@''GNULIB_MBSSTR''@|$(GNULIB_MBSSTR)|g' \ | |
608 | -e 's|@''GNULIB_MBSCASECMP''@|$(GNULIB_MBSCASECMP)|g' \ | |
609 | -e 's|@''GNULIB_MBSNCASECMP''@|$(GNULIB_MBSNCASECMP)|g' \ | |
610 | -e 's|@''GNULIB_MBSPCASECMP''@|$(GNULIB_MBSPCASECMP)|g' \ | |
611 | -e 's|@''GNULIB_MBSCASESTR''@|$(GNULIB_MBSCASESTR)|g' \ | |
612 | -e 's|@''GNULIB_MBSCSPN''@|$(GNULIB_MBSCSPN)|g' \ | |
613 | -e 's|@''GNULIB_MBSPBRK''@|$(GNULIB_MBSPBRK)|g' \ | |
614 | -e 's|@''GNULIB_MBSSPN''@|$(GNULIB_MBSSPN)|g' \ | |
615 | -e 's|@''GNULIB_MBSSEP''@|$(GNULIB_MBSSEP)|g' \ | |
616 | -e 's|@''GNULIB_MBSTOK_R''@|$(GNULIB_MBSTOK_R)|g' \ | |
ffca4c22 | 617 | -e 's|@''GNULIB_MEMCHR''@|$(GNULIB_MEMCHR)|g' \ |
24d56127 LC |
618 | -e 's|@''GNULIB_MEMMEM''@|$(GNULIB_MEMMEM)|g' \ |
619 | -e 's|@''GNULIB_MEMPCPY''@|$(GNULIB_MEMPCPY)|g' \ | |
620 | -e 's|@''GNULIB_MEMRCHR''@|$(GNULIB_MEMRCHR)|g' \ | |
621 | -e 's|@''GNULIB_RAWMEMCHR''@|$(GNULIB_RAWMEMCHR)|g' \ | |
622 | -e 's|@''GNULIB_STPCPY''@|$(GNULIB_STPCPY)|g' \ | |
623 | -e 's|@''GNULIB_STPNCPY''@|$(GNULIB_STPNCPY)|g' \ | |
624 | -e 's|@''GNULIB_STRCHRNUL''@|$(GNULIB_STRCHRNUL)|g' \ | |
625 | -e 's|@''GNULIB_STRDUP''@|$(GNULIB_STRDUP)|g' \ | |
626 | -e 's|@''GNULIB_STRNDUP''@|$(GNULIB_STRNDUP)|g' \ | |
627 | -e 's|@''GNULIB_STRNLEN''@|$(GNULIB_STRNLEN)|g' \ | |
628 | -e 's|@''GNULIB_STRPBRK''@|$(GNULIB_STRPBRK)|g' \ | |
629 | -e 's|@''GNULIB_STRSEP''@|$(GNULIB_STRSEP)|g' \ | |
630 | -e 's|@''GNULIB_STRSTR''@|$(GNULIB_STRSTR)|g' \ | |
631 | -e 's|@''GNULIB_STRCASESTR''@|$(GNULIB_STRCASESTR)|g' \ | |
632 | -e 's|@''GNULIB_STRTOK_R''@|$(GNULIB_STRTOK_R)|g' \ | |
633 | -e 's|@''GNULIB_STRERROR''@|$(GNULIB_STRERROR)|g' \ | |
634 | -e 's|@''GNULIB_STRSIGNAL''@|$(GNULIB_STRSIGNAL)|g' \ | |
635 | -e 's|@''GNULIB_STRVERSCMP''@|$(GNULIB_STRVERSCMP)|g' \ | |
636 | -e 's|@''HAVE_DECL_MEMMEM''@|$(HAVE_DECL_MEMMEM)|g' \ | |
637 | -e 's|@''HAVE_MEMPCPY''@|$(HAVE_MEMPCPY)|g' \ | |
638 | -e 's|@''HAVE_DECL_MEMRCHR''@|$(HAVE_DECL_MEMRCHR)|g' \ | |
639 | -e 's|@''HAVE_RAWMEMCHR''@|$(HAVE_RAWMEMCHR)|g' \ | |
640 | -e 's|@''HAVE_STPCPY''@|$(HAVE_STPCPY)|g' \ | |
641 | -e 's|@''HAVE_STPNCPY''@|$(HAVE_STPNCPY)|g' \ | |
642 | -e 's|@''HAVE_STRCHRNUL''@|$(HAVE_STRCHRNUL)|g' \ | |
643 | -e 's|@''HAVE_DECL_STRDUP''@|$(HAVE_DECL_STRDUP)|g' \ | |
644 | -e 's|@''HAVE_STRNDUP''@|$(HAVE_STRNDUP)|g' \ | |
645 | -e 's|@''HAVE_DECL_STRNDUP''@|$(HAVE_DECL_STRNDUP)|g' \ | |
646 | -e 's|@''HAVE_DECL_STRNLEN''@|$(HAVE_DECL_STRNLEN)|g' \ | |
647 | -e 's|@''HAVE_STRPBRK''@|$(HAVE_STRPBRK)|g' \ | |
648 | -e 's|@''HAVE_STRSEP''@|$(HAVE_STRSEP)|g' \ | |
649 | -e 's|@''HAVE_STRCASESTR''@|$(HAVE_STRCASESTR)|g' \ | |
650 | -e 's|@''HAVE_DECL_STRTOK_R''@|$(HAVE_DECL_STRTOK_R)|g' \ | |
651 | -e 's|@''HAVE_DECL_STRERROR''@|$(HAVE_DECL_STRERROR)|g' \ | |
652 | -e 's|@''HAVE_DECL_STRSIGNAL''@|$(HAVE_DECL_STRSIGNAL)|g' \ | |
653 | -e 's|@''HAVE_STRVERSCMP''@|$(HAVE_STRVERSCMP)|g' \ | |
ffca4c22 | 654 | -e 's|@''REPLACE_MEMCHR''@|$(REPLACE_MEMCHR)|g' \ |
24d56127 LC |
655 | -e 's|@''REPLACE_MEMMEM''@|$(REPLACE_MEMMEM)|g' \ |
656 | -e 's|@''REPLACE_STRCASESTR''@|$(REPLACE_STRCASESTR)|g' \ | |
657 | -e 's|@''REPLACE_STRDUP''@|$(REPLACE_STRDUP)|g' \ | |
658 | -e 's|@''REPLACE_STRSTR''@|$(REPLACE_STRSTR)|g' \ | |
659 | -e 's|@''REPLACE_STRERROR''@|$(REPLACE_STRERROR)|g' \ | |
660 | -e 's|@''REPLACE_STRSIGNAL''@|$(REPLACE_STRSIGNAL)|g' \ | |
661 | -e '/definition of GL_LINK_WARNING/r $(LINK_WARNING_H)' \ | |
662 | < $(srcdir)/string.in.h; \ | |
663 | } > $@-t | |
664 | mv $@-t $@ | |
665 | MOSTLYCLEANFILES += string.h string.h-t | |
666 | ||
667 | EXTRA_DIST += string.in.h | |
668 | ||
669 | ## end gnulib module string | |
670 | ||
103dc4d4 LC |
671 | ## begin gnulib module strings |
672 | ||
673 | BUILT_SOURCES += strings.h | |
674 | ||
675 | # We need the following in order to create <strings.h> when the system | |
676 | # doesn't have one that works with the given compiler. | |
677 | strings.h: strings.in.h | |
678 | rm -f $@-t $@ | |
679 | { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \ | |
e65fc94b LC |
680 | sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ |
681 | -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ | |
103dc4d4 LC |
682 | -e 's|@''NEXT_STRINGS_H''@|$(NEXT_STRINGS_H)|g' \ |
683 | -e 's|@''HAVE_STRCASECMP''@|$(HAVE_STRCASECMP)|g' \ | |
684 | -e 's|@''HAVE_DECL_STRNCASECMP''@|$(HAVE_DECL_STRNCASECMP)|g' \ | |
685 | -e '/definition of GL_LINK_WARNING/r $(LINK_WARNING_H)' \ | |
686 | < $(srcdir)/strings.in.h; \ | |
687 | } > $@-t | |
688 | mv $@-t $@ | |
689 | MOSTLYCLEANFILES += strings.h strings.h-t | |
690 | ||
691 | EXTRA_DIST += strings.in.h | |
692 | ||
693 | ## end gnulib module strings | |
694 | ||
f240aacb LC |
695 | ## begin gnulib module sys_file |
696 | ||
697 | BUILT_SOURCES += $(SYS_FILE_H) | |
698 | ||
699 | # We need the following in order to create <sys/file.h> when the system | |
700 | # has one that is incomplete. | |
701 | sys/file.h: sys_file.in.h | |
702 | @MKDIR_P@ sys | |
703 | rm -f $@-t $@ | |
704 | { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ | |
705 | sed -e 's/@''HAVE_SYS_FILE_H''@/$(HAVE_SYS_FILE_H)/g' \ | |
706 | -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ | |
707 | -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ | |
708 | -e 's|@''NEXT_SYS_FILE_H''@|$(NEXT_SYS_FILE_H)|g' \ | |
709 | -e 's/@''HAVE_FLOCK''@/$(HAVE_FLOCK)/g' \ | |
710 | -e 's/@''GNULIB_FLOCK''@/$(GNULIB_FLOCK)/g' \ | |
711 | < $(srcdir)/sys_file.in.h; \ | |
712 | } > $@-t | |
713 | mv $@-t $@ | |
714 | MOSTLYCLEANFILES += sys/file.h sys/file.h-t | |
715 | MOSTLYCLEANDIRS += sys | |
716 | ||
717 | EXTRA_DIST += sys_file.in.h | |
718 | ||
719 | ## end gnulib module sys_file | |
720 | ||
e65fc94b LC |
721 | ## begin gnulib module time |
722 | ||
723 | BUILT_SOURCES += time.h | |
724 | ||
725 | # We need the following in order to create <time.h> when the system | |
726 | # doesn't have one that works with the given compiler. | |
727 | time.h: time.in.h | |
728 | rm -f $@-t $@ | |
729 | { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \ | |
730 | sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ | |
731 | -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ | |
732 | -e 's|@NEXT_TIME_H''@|$(NEXT_TIME_H)|g' \ | |
733 | -e 's|@REPLACE_LOCALTIME_R''@|$(REPLACE_LOCALTIME_R)|g' \ | |
734 | -e 's|@REPLACE_NANOSLEEP''@|$(REPLACE_NANOSLEEP)|g' \ | |
735 | -e 's|@REPLACE_STRPTIME''@|$(REPLACE_STRPTIME)|g' \ | |
736 | -e 's|@REPLACE_TIMEGM''@|$(REPLACE_TIMEGM)|g' \ | |
737 | -e 's|@SYS_TIME_H_DEFINES_STRUCT_TIMESPEC''@|$(SYS_TIME_H_DEFINES_STRUCT_TIMESPEC)|g' \ | |
738 | -e 's|@TIME_H_DEFINES_STRUCT_TIMESPEC''@|$(TIME_H_DEFINES_STRUCT_TIMESPEC)|g' \ | |
739 | < $(srcdir)/time.in.h; \ | |
740 | } > $@-t | |
741 | mv $@-t $@ | |
742 | MOSTLYCLEANFILES += time.h time.h-t | |
743 | ||
744 | EXTRA_DIST += time.in.h | |
745 | ||
746 | ## end gnulib module time | |
747 | ||
748 | ## begin gnulib module time_r | |
749 | ||
750 | ||
751 | EXTRA_DIST += time_r.c | |
752 | ||
753 | EXTRA_libgnu_la_SOURCES += time_r.c | |
754 | ||
755 | ## end gnulib module time_r | |
756 | ||
9b36a80c LC |
757 | ## begin gnulib module unistd |
758 | ||
759 | BUILT_SOURCES += unistd.h | |
760 | ||
761 | # We need the following in order to create an empty placeholder for | |
762 | # <unistd.h> when the system doesn't have one. | |
763 | unistd.h: unistd.in.h | |
764 | rm -f $@-t $@ | |
765 | { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ | |
766 | sed -e 's|@''HAVE_UNISTD_H''@|$(HAVE_UNISTD_H)|g' \ | |
767 | -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ | |
768 | -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ | |
769 | -e 's|@''NEXT_UNISTD_H''@|$(NEXT_UNISTD_H)|g' \ | |
770 | -e 's|@''GNULIB_CHOWN''@|$(GNULIB_CHOWN)|g' \ | |
771 | -e 's|@''GNULIB_CLOSE''@|$(GNULIB_CLOSE)|g' \ | |
772 | -e 's|@''GNULIB_DUP2''@|$(GNULIB_DUP2)|g' \ | |
773 | -e 's|@''GNULIB_ENVIRON''@|$(GNULIB_ENVIRON)|g' \ | |
774 | -e 's|@''GNULIB_EUIDACCESS''@|$(GNULIB_EUIDACCESS)|g' \ | |
775 | -e 's|@''GNULIB_FCHDIR''@|$(GNULIB_FCHDIR)|g' \ | |
776 | -e 's|@''GNULIB_FSYNC''@|$(GNULIB_FSYNC)|g' \ | |
777 | -e 's|@''GNULIB_FTRUNCATE''@|$(GNULIB_FTRUNCATE)|g' \ | |
778 | -e 's|@''GNULIB_GETCWD''@|$(GNULIB_GETCWD)|g' \ | |
779 | -e 's|@''GNULIB_GETDOMAINNAME''@|$(GNULIB_GETDOMAINNAME)|g' \ | |
780 | -e 's|@''GNULIB_GETDTABLESIZE''@|$(GNULIB_GETDTABLESIZE)|g' \ | |
781 | -e 's|@''GNULIB_GETHOSTNAME''@|$(GNULIB_GETHOSTNAME)|g' \ | |
782 | -e 's|@''GNULIB_GETLOGIN_R''@|$(GNULIB_GETLOGIN_R)|g' \ | |
783 | -e 's|@''GNULIB_GETPAGESIZE''@|$(GNULIB_GETPAGESIZE)|g' \ | |
784 | -e 's|@''GNULIB_GETUSERSHELL''@|$(GNULIB_GETUSERSHELL)|g' \ | |
785 | -e 's|@''GNULIB_LCHOWN''@|$(GNULIB_LCHOWN)|g' \ | |
f240aacb | 786 | -e 's|@''GNULIB_LINK''@|$(GNULIB_LINK)|g' \ |
9b36a80c LC |
787 | -e 's|@''GNULIB_LSEEK''@|$(GNULIB_LSEEK)|g' \ |
788 | -e 's|@''GNULIB_READLINK''@|$(GNULIB_READLINK)|g' \ | |
789 | -e 's|@''GNULIB_SLEEP''@|$(GNULIB_SLEEP)|g' \ | |
790 | -e 's|@''GNULIB_UNISTD_H_SIGPIPE''@|$(GNULIB_UNISTD_H_SIGPIPE)|g' \ | |
791 | -e 's|@''GNULIB_WRITE''@|$(GNULIB_WRITE)|g' \ | |
792 | -e 's|@''HAVE_DUP2''@|$(HAVE_DUP2)|g' \ | |
793 | -e 's|@''HAVE_EUIDACCESS''@|$(HAVE_EUIDACCESS)|g' \ | |
794 | -e 's|@''HAVE_FSYNC''@|$(HAVE_FSYNC)|g' \ | |
795 | -e 's|@''HAVE_FTRUNCATE''@|$(HAVE_FTRUNCATE)|g' \ | |
796 | -e 's|@''HAVE_GETDOMAINNAME''@|$(HAVE_GETDOMAINNAME)|g' \ | |
797 | -e 's|@''HAVE_GETDTABLESIZE''@|$(HAVE_GETDTABLESIZE)|g' \ | |
798 | -e 's|@''HAVE_GETHOSTNAME''@|$(HAVE_GETHOSTNAME)|g' \ | |
799 | -e 's|@''HAVE_GETPAGESIZE''@|$(HAVE_GETPAGESIZE)|g' \ | |
800 | -e 's|@''HAVE_GETUSERSHELL''@|$(HAVE_GETUSERSHELL)|g' \ | |
f240aacb | 801 | -e 's|@''HAVE_LINK''@|$(HAVE_LINK)|g' \ |
9b36a80c LC |
802 | -e 's|@''HAVE_READLINK''@|$(HAVE_READLINK)|g' \ |
803 | -e 's|@''HAVE_SLEEP''@|$(HAVE_SLEEP)|g' \ | |
804 | -e 's|@''HAVE_DECL_ENVIRON''@|$(HAVE_DECL_ENVIRON)|g' \ | |
805 | -e 's|@''HAVE_DECL_GETLOGIN_R''@|$(HAVE_DECL_GETLOGIN_R)|g' \ | |
806 | -e 's|@''HAVE_OS_H''@|$(HAVE_OS_H)|g' \ | |
807 | -e 's|@''HAVE_SYS_PARAM_H''@|$(HAVE_SYS_PARAM_H)|g' \ | |
808 | -e 's|@''REPLACE_CHOWN''@|$(REPLACE_CHOWN)|g' \ | |
809 | -e 's|@''REPLACE_CLOSE''@|$(REPLACE_CLOSE)|g' \ | |
810 | -e 's|@''REPLACE_FCHDIR''@|$(REPLACE_FCHDIR)|g' \ | |
811 | -e 's|@''REPLACE_GETCWD''@|$(REPLACE_GETCWD)|g' \ | |
812 | -e 's|@''REPLACE_GETPAGESIZE''@|$(REPLACE_GETPAGESIZE)|g' \ | |
813 | -e 's|@''REPLACE_LCHOWN''@|$(REPLACE_LCHOWN)|g' \ | |
814 | -e 's|@''REPLACE_LSEEK''@|$(REPLACE_LSEEK)|g' \ | |
815 | -e 's|@''REPLACE_WRITE''@|$(REPLACE_WRITE)|g' \ | |
816 | -e 's|@''UNISTD_H_HAVE_WINSOCK2_H''@|$(UNISTD_H_HAVE_WINSOCK2_H)|g' \ | |
817 | -e '/definition of GL_LINK_WARNING/r $(LINK_WARNING_H)' \ | |
818 | < $(srcdir)/unistd.in.h; \ | |
819 | } > $@-t | |
820 | mv $@-t $@ | |
821 | MOSTLYCLEANFILES += unistd.h unistd.h-t | |
822 | ||
823 | EXTRA_DIST += unistd.in.h | |
824 | ||
825 | ## end gnulib module unistd | |
826 | ||
24d56127 LC |
827 | ## begin gnulib module unistr/base |
828 | ||
829 | ||
830 | EXTRA_DIST += unistr.h | |
831 | ||
832 | ## end gnulib module unistr/base | |
833 | ||
834 | ## begin gnulib module unistr/u8-mbtouc | |
835 | ||
836 | libgnu_la_SOURCES += unistr/u8-mbtouc.c unistr/u8-mbtouc-aux.c | |
837 | ||
838 | ## end gnulib module unistr/u8-mbtouc | |
839 | ||
840 | ## begin gnulib module unistr/u8-mbtouc-unsafe | |
841 | ||
842 | libgnu_la_SOURCES += unistr/u8-mbtouc-unsafe.c unistr/u8-mbtouc-unsafe-aux.c | |
843 | ||
844 | ## end gnulib module unistr/u8-mbtouc-unsafe | |
845 | ||
846 | ## begin gnulib module unistr/u8-mbtoucr | |
847 | ||
848 | libgnu_la_SOURCES += unistr/u8-mbtoucr.c | |
849 | ||
850 | ## end gnulib module unistr/u8-mbtoucr | |
851 | ||
852 | ## begin gnulib module unistr/u8-prev | |
853 | ||
854 | libgnu_la_SOURCES += unistr/u8-prev.c | |
855 | ||
856 | ## end gnulib module unistr/u8-prev | |
857 | ||
858 | ## begin gnulib module unistr/u8-uctomb | |
859 | ||
860 | libgnu_la_SOURCES += unistr/u8-uctomb.c unistr/u8-uctomb-aux.c | |
861 | ||
862 | ## end gnulib module unistr/u8-uctomb | |
863 | ||
864 | ## begin gnulib module unitypes | |
865 | ||
866 | ||
867 | EXTRA_DIST += unitypes.h | |
868 | ||
869 | ## end gnulib module unitypes | |
870 | ||
d7014610 LC |
871 | ## begin gnulib module verify |
872 | ||
873 | libgnu_la_SOURCES += verify.h | |
874 | ||
875 | ## end gnulib module verify | |
876 | ||
e65fc94b LC |
877 | ## begin gnulib module wchar |
878 | ||
879 | BUILT_SOURCES += $(WCHAR_H) | |
880 | ||
881 | # We need the following in order to create <wchar.h> when the system | |
882 | # version does not work standalone. | |
883 | wchar.h: wchar.in.h | |
884 | rm -f $@-t $@ | |
885 | { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ | |
886 | sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ | |
887 | -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ | |
888 | -e 's|@''NEXT_WCHAR_H''@|$(NEXT_WCHAR_H)|g' \ | |
4a462e35 NJ |
889 | -e 's|@''HAVE_WCHAR_H''@|$(HAVE_WCHAR_H)|g' \ |
890 | -e 's|@''GNULIB_BTOWC''@|$(GNULIB_BTOWC)|g' \ | |
891 | -e 's|@''GNULIB_WCTOB''@|$(GNULIB_WCTOB)|g' \ | |
892 | -e 's|@''GNULIB_MBSINIT''@|$(GNULIB_MBSINIT)|g' \ | |
893 | -e 's|@''GNULIB_MBRTOWC''@|$(GNULIB_MBRTOWC)|g' \ | |
894 | -e 's|@''GNULIB_MBRLEN''@|$(GNULIB_MBRLEN)|g' \ | |
895 | -e 's|@''GNULIB_MBSRTOWCS''@|$(GNULIB_MBSRTOWCS)|g' \ | |
896 | -e 's|@''GNULIB_MBSNRTOWCS''@|$(GNULIB_MBSNRTOWCS)|g' \ | |
897 | -e 's|@''GNULIB_WCRTOMB''@|$(GNULIB_WCRTOMB)|g' \ | |
898 | -e 's|@''GNULIB_WCSRTOMBS''@|$(GNULIB_WCSRTOMBS)|g' \ | |
899 | -e 's|@''GNULIB_WCSNRTOMBS''@|$(GNULIB_WCSNRTOMBS)|g' \ | |
e65fc94b | 900 | -e 's|@''GNULIB_WCWIDTH''@|$(GNULIB_WCWIDTH)|g' \ |
4a462e35 NJ |
901 | -e 's|@''HAVE_WINT_T''@|$(HAVE_WINT_T)|g' \ |
902 | -e 's|@''HAVE_BTOWC''@|$(HAVE_BTOWC)|g' \ | |
903 | -e 's|@''HAVE_MBSINIT''@|$(HAVE_MBSINIT)|g' \ | |
904 | -e 's|@''HAVE_MBRTOWC''@|$(HAVE_MBRTOWC)|g' \ | |
905 | -e 's|@''HAVE_MBRLEN''@|$(HAVE_MBRLEN)|g' \ | |
906 | -e 's|@''HAVE_MBSRTOWCS''@|$(HAVE_MBSRTOWCS)|g' \ | |
907 | -e 's|@''HAVE_MBSNRTOWCS''@|$(HAVE_MBSNRTOWCS)|g' \ | |
908 | -e 's|@''HAVE_WCRTOMB''@|$(HAVE_WCRTOMB)|g' \ | |
909 | -e 's|@''HAVE_WCSRTOMBS''@|$(HAVE_WCSRTOMBS)|g' \ | |
910 | -e 's|@''HAVE_WCSNRTOMBS''@|$(HAVE_WCSNRTOMBS)|g' \ | |
911 | -e 's|@''HAVE_DECL_WCTOB''@|$(HAVE_DECL_WCTOB)|g' \ | |
e65fc94b | 912 | -e 's|@''HAVE_DECL_WCWIDTH''@|$(HAVE_DECL_WCWIDTH)|g' \ |
4a462e35 NJ |
913 | -e 's|@''REPLACE_MBSTATE_T''@|$(REPLACE_MBSTATE_T)|g' \ |
914 | -e 's|@''REPLACE_BTOWC''@|$(REPLACE_BTOWC)|g' \ | |
915 | -e 's|@''REPLACE_WCTOB''@|$(REPLACE_WCTOB)|g' \ | |
916 | -e 's|@''REPLACE_MBSINIT''@|$(REPLACE_MBSINIT)|g' \ | |
917 | -e 's|@''REPLACE_MBRTOWC''@|$(REPLACE_MBRTOWC)|g' \ | |
918 | -e 's|@''REPLACE_MBRLEN''@|$(REPLACE_MBRLEN)|g' \ | |
919 | -e 's|@''REPLACE_MBSRTOWCS''@|$(REPLACE_MBSRTOWCS)|g' \ | |
920 | -e 's|@''REPLACE_MBSNRTOWCS''@|$(REPLACE_MBSNRTOWCS)|g' \ | |
921 | -e 's|@''REPLACE_WCRTOMB''@|$(REPLACE_WCRTOMB)|g' \ | |
922 | -e 's|@''REPLACE_WCSRTOMBS''@|$(REPLACE_WCSRTOMBS)|g' \ | |
f240aacb | 923 | -e 's|@''REPLACE_WCSNRTOMBS''@|$(REPLACE_WCSNRTOMBS)|g' \ |
e65fc94b LC |
924 | -e 's|@''REPLACE_WCWIDTH''@|$(REPLACE_WCWIDTH)|g' \ |
925 | -e '/definition of GL_LINK_WARNING/r $(LINK_WARNING_H)' \ | |
926 | < $(srcdir)/wchar.in.h; \ | |
927 | } > $@-t | |
928 | mv $@-t $@ | |
929 | MOSTLYCLEANFILES += wchar.h wchar.h-t | |
930 | ||
931 | EXTRA_DIST += wchar.in.h | |
932 | ||
933 | ## end gnulib module wchar | |
934 | ||
9b36a80c LC |
935 | ## begin gnulib module write |
936 | ||
937 | ||
938 | EXTRA_DIST += write.c | |
103dc4d4 | 939 | |
9b36a80c | 940 | EXTRA_libgnu_la_SOURCES += write.c |
103dc4d4 | 941 | |
9b36a80c | 942 | ## end gnulib module write |
103dc4d4 LC |
943 | |
944 | ||
945 | mostlyclean-local: mostlyclean-generic | |
946 | @for dir in '' $(MOSTLYCLEANDIRS); do \ | |
947 | if test -n "$$dir" && test -d $$dir; then \ | |
948 | echo "rmdir $$dir"; rmdir $$dir; \ | |
949 | fi; \ | |
950 | done; \ | |
951 | : |