Update `NEWS'.
[bpt/guile.git] / lib / Makefile.am
CommitLineData
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.
9ffef3c6 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 count-one-bits extensions full-read full-write strcase strftime
103dc4d4
LC
13
14AUTOMAKE_OPTIONS = 1.5 gnits
15
aa7a939c 16SUBDIRS =
103dc4d4
LC
17noinst_HEADERS =
18noinst_LIBRARIES =
19noinst_LTLIBRARIES =
20EXTRA_DIST =
21BUILT_SOURCES =
22SUFFIXES =
23MOSTLYCLEANFILES = core *.stackdump
24MOSTLYCLEANDIRS =
25CLEANFILES =
26DISTCLEANFILES =
27MAINTAINERCLEANFILES =
28
29AM_CPPFLAGS =
30
31noinst_LTLIBRARIES += libgnu.la
32
33libgnu_la_SOURCES =
34libgnu_la_LIBADD = $(gl_LTLIBOBJS)
35libgnu_la_DEPENDENCIES = $(gl_LTLIBOBJS)
36EXTRA_libgnu_la_SOURCES =
37libgnu_la_LDFLAGS = $(AM_LDFLAGS)
38
103dc4d4
LC
39## begin gnulib module alloca-opt
40
41BUILT_SOURCES += $(ALLOCA_H)
42
43# We need the following in order to create <alloca.h> when the system
44# doesn't have one that works with the given compiler.
45alloca.h: alloca.in.h
46 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
47 cat $(srcdir)/alloca.in.h; \
48 } > $@-t
49 mv -f $@-t $@
50MOSTLYCLEANFILES += alloca.h alloca.h-t
51
52EXTRA_DIST += alloca.in.h
53
54## end gnulib module alloca-opt
55
4a462e35
NJ
56## begin gnulib module configmake
57
58# Retrieve values of the variables through 'configure' followed by
59# 'make', not directly through 'configure', so that a user who
60# sets some of these variables consistently on the 'make' command
61# line gets correct results.
62#
63# One advantage of this approach, compared to the classical
64# approach of adding -DLIBDIR=\"$(libdir)\" etc. to AM_CPPFLAGS,
65# is that it protects against the use of undefined variables.
66# If, say, $(libdir) is not set in the Makefile, LIBDIR is not
67# defined by this module, and code using LIBDIR gives a
68# compilation error.
69#
70# Another advantage is that 'make' output is shorter.
71#
72# Listed in the same order as the GNU makefile conventions.
73# The Automake-defined pkg* macros are appended, in the order
74# listed in the Automake 1.10a+ documentation.
75configmake.h: Makefile
76 rm -f $@-t $@
77 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
78 echo '#define PREFIX "$(prefix)"'; \
79 echo '#define EXEC_PREFIX "$(exec_prefix)"'; \
80 echo '#define BINDIR "$(bindir)"'; \
81 echo '#define SBINDIR "$(sbindir)"'; \
82 echo '#define LIBEXECDIR "$(libexecdir)"'; \
83 echo '#define DATAROOTDIR "$(datarootdir)"'; \
84 echo '#define DATADIR "$(datadir)"'; \
85 echo '#define SYSCONFDIR "$(sysconfdir)"'; \
86 echo '#define SHAREDSTATEDIR "$(sharedstatedir)"'; \
87 echo '#define LOCALSTATEDIR "$(localstatedir)"'; \
88 echo '#define INCLUDEDIR "$(includedir)"'; \
89 echo '#define OLDINCLUDEDIR "$(oldincludedir)"'; \
90 echo '#define DOCDIR "$(docdir)"'; \
91 echo '#define INFODIR "$(infodir)"'; \
92 echo '#define HTMLDIR "$(htmldir)"'; \
93 echo '#define DVIDIR "$(dvidir)"'; \
94 echo '#define PDFDIR "$(pdfdir)"'; \
95 echo '#define PSDIR "$(psdir)"'; \
96 echo '#define LIBDIR "$(libdir)"'; \
97 echo '#define LISPDIR "$(lispdir)"'; \
98 echo '#define LOCALEDIR "$(localedir)"'; \
99 echo '#define MANDIR "$(mandir)"'; \
100 echo '#define MANEXT "$(manext)"'; \
101 echo '#define PKGDATADIR "$(pkgdatadir)"'; \
102 echo '#define PKGINCLUDEDIR "$(pkgincludedir)"'; \
103 echo '#define PKGLIBDIR "$(pkglibdir)"'; \
104 echo '#define PKGLIBEXECDIR "$(pkglibexecdir)"'; \
105 } | sed '/""/d' > $@-t
106 mv $@-t $@
107BUILT_SOURCES += configmake.h
108CLEANFILES += configmake.h configmake.h-t
109
110## end gnulib module configmake
111
d7014610
LC
112## begin gnulib module count-one-bits
113
114
115EXTRA_DIST += count-one-bits.h
116
117## end gnulib module count-one-bits
118
9b36a80c
LC
119## begin gnulib module full-read
120
121libgnu_la_SOURCES += full-read.h full-read.c
122
123## end gnulib module full-read
124
125## begin gnulib module full-write
126
127libgnu_la_SOURCES += full-write.h full-write.c
128
129## end gnulib module full-write
130
103dc4d4
LC
131## begin gnulib module link-warning
132
133LINK_WARNING_H=$(top_srcdir)/build-aux/link-warning.h
134
135EXTRA_DIST += $(top_srcdir)/build-aux/link-warning.h
136
137## end gnulib module link-warning
138
4a462e35
NJ
139## begin gnulib module localcharset
140
141libgnu_la_SOURCES += localcharset.h localcharset.c
142
143# We need the following in order to install a simple file in $(libdir)
144# which is shared with other installed packages. We use a list of referencing
145# packages so that "make uninstall" will remove the file if and only if it
146# is not used by another installed package.
147# On systems with glibc-2.1 or newer, the file is redundant, therefore we
148# avoid installing it.
149
150all-local: charset.alias ref-add.sed ref-del.sed
151
152charset_alias = $(DESTDIR)$(libdir)/charset.alias
153charset_tmp = $(DESTDIR)$(libdir)/charset.tmp
154install-exec-local: all-local
155 test $(GLIBC21) != no || $(mkinstalldirs) $(DESTDIR)$(libdir)
156 if test -f $(charset_alias); then \
157 sed -f ref-add.sed $(charset_alias) > $(charset_tmp) ; \
158 $(INSTALL_DATA) $(charset_tmp) $(charset_alias) ; \
159 rm -f $(charset_tmp) ; \
160 else \
161 if test $(GLIBC21) = no; then \
162 sed -f ref-add.sed charset.alias > $(charset_tmp) ; \
163 $(INSTALL_DATA) $(charset_tmp) $(charset_alias) ; \
164 rm -f $(charset_tmp) ; \
165 fi ; \
166 fi
167
168uninstall-local: all-local
169 if test -f $(charset_alias); then \
170 sed -f ref-del.sed $(charset_alias) > $(charset_tmp); \
171 if grep '^# Packages using this file: $$' $(charset_tmp) \
172 > /dev/null; then \
173 rm -f $(charset_alias); \
174 else \
175 $(INSTALL_DATA) $(charset_tmp) $(charset_alias); \
176 fi; \
177 rm -f $(charset_tmp); \
178 fi
179
180charset.alias: config.charset
181 rm -f t-$@ $@
182 $(SHELL) $(srcdir)/config.charset '$(host)' > t-$@
183 mv t-$@ $@
184
185SUFFIXES += .sed .sin
186.sin.sed:
187 rm -f t-$@ $@
188 sed -e '/^#/d' -e 's/@''PACKAGE''@/$(PACKAGE)/g' $< > t-$@
189 mv t-$@ $@
190
191CLEANFILES += charset.alias ref-add.sed ref-del.sed
192
193EXTRA_DIST += config.charset ref-add.sin ref-del.sin
194
195## end gnulib module localcharset
196
197## begin gnulib module mbrlen
198
199
200EXTRA_DIST += mbrlen.c
201
202EXTRA_libgnu_la_SOURCES += mbrlen.c
203
204## end gnulib module mbrlen
205
206## begin gnulib module mbrtowc
207
208
209EXTRA_DIST += mbrtowc.c
210
211EXTRA_libgnu_la_SOURCES += mbrtowc.c
212
213## end gnulib module mbrtowc
214
215## begin gnulib module mbsinit
216
217
218EXTRA_DIST += mbsinit.c
219
220EXTRA_libgnu_la_SOURCES += mbsinit.c
221
222## end gnulib module mbsinit
223
9b36a80c
LC
224## begin gnulib module safe-read
225
226
227EXTRA_DIST += safe-read.c safe-read.h
228
229EXTRA_libgnu_la_SOURCES += safe-read.c
230
231## end gnulib module safe-read
232
233## begin gnulib module safe-write
234
235
236EXTRA_DIST += safe-write.c safe-write.h
237
238EXTRA_libgnu_la_SOURCES += safe-write.c
239
240## end gnulib module safe-write
241
e65fc94b
LC
242## begin gnulib module stdbool
243
244BUILT_SOURCES += $(STDBOOL_H)
245
246# We need the following in order to create <stdbool.h> when the system
247# doesn't have one that works.
248stdbool.h: stdbool.in.h
249 rm -f $@-t $@
250 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
251 sed -e 's/@''HAVE__BOOL''@/$(HAVE__BOOL)/g' < $(srcdir)/stdbool.in.h; \
252 } > $@-t
253 mv $@-t $@
254MOSTLYCLEANFILES += stdbool.h stdbool.h-t
255
256EXTRA_DIST += stdbool.in.h
257
258## end gnulib module stdbool
259
103dc4d4
LC
260## begin gnulib module strcase
261
262
263EXTRA_DIST += strcasecmp.c strncasecmp.c
264
265EXTRA_libgnu_la_SOURCES += strcasecmp.c strncasecmp.c
266
267## end gnulib module strcase
268
4a462e35
NJ
269## begin gnulib module streq
270
271
272EXTRA_DIST += streq.h
273
274## end gnulib module streq
275
e65fc94b
LC
276## begin gnulib module strftime
277
278
279EXTRA_DIST += strftime.c strftime.h
280
281EXTRA_libgnu_la_SOURCES += strftime.c
282
283## end gnulib module strftime
284
103dc4d4
LC
285## begin gnulib module strings
286
287BUILT_SOURCES += strings.h
288
289# We need the following in order to create <strings.h> when the system
290# doesn't have one that works with the given compiler.
291strings.h: strings.in.h
292 rm -f $@-t $@
293 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
e65fc94b
LC
294 sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
295 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
103dc4d4
LC
296 -e 's|@''NEXT_STRINGS_H''@|$(NEXT_STRINGS_H)|g' \
297 -e 's|@''HAVE_STRCASECMP''@|$(HAVE_STRCASECMP)|g' \
298 -e 's|@''HAVE_DECL_STRNCASECMP''@|$(HAVE_DECL_STRNCASECMP)|g' \
299 -e '/definition of GL_LINK_WARNING/r $(LINK_WARNING_H)' \
300 < $(srcdir)/strings.in.h; \
301 } > $@-t
302 mv $@-t $@
303MOSTLYCLEANFILES += strings.h strings.h-t
304
305EXTRA_DIST += strings.in.h
306
307## end gnulib module strings
308
e65fc94b
LC
309## begin gnulib module time
310
311BUILT_SOURCES += time.h
312
313# We need the following in order to create <time.h> when the system
314# doesn't have one that works with the given compiler.
315time.h: time.in.h
316 rm -f $@-t $@
317 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
318 sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
319 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
320 -e 's|@NEXT_TIME_H''@|$(NEXT_TIME_H)|g' \
321 -e 's|@REPLACE_LOCALTIME_R''@|$(REPLACE_LOCALTIME_R)|g' \
322 -e 's|@REPLACE_NANOSLEEP''@|$(REPLACE_NANOSLEEP)|g' \
323 -e 's|@REPLACE_STRPTIME''@|$(REPLACE_STRPTIME)|g' \
324 -e 's|@REPLACE_TIMEGM''@|$(REPLACE_TIMEGM)|g' \
325 -e 's|@SYS_TIME_H_DEFINES_STRUCT_TIMESPEC''@|$(SYS_TIME_H_DEFINES_STRUCT_TIMESPEC)|g' \
326 -e 's|@TIME_H_DEFINES_STRUCT_TIMESPEC''@|$(TIME_H_DEFINES_STRUCT_TIMESPEC)|g' \
327 < $(srcdir)/time.in.h; \
328 } > $@-t
329 mv $@-t $@
330MOSTLYCLEANFILES += time.h time.h-t
331
332EXTRA_DIST += time.in.h
333
334## end gnulib module time
335
336## begin gnulib module time_r
337
338
339EXTRA_DIST += time_r.c
340
341EXTRA_libgnu_la_SOURCES += time_r.c
342
343## end gnulib module time_r
344
9b36a80c
LC
345## begin gnulib module unistd
346
347BUILT_SOURCES += unistd.h
348
349# We need the following in order to create an empty placeholder for
350# <unistd.h> when the system doesn't have one.
351unistd.h: unistd.in.h
352 rm -f $@-t $@
353 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
354 sed -e 's|@''HAVE_UNISTD_H''@|$(HAVE_UNISTD_H)|g' \
355 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
356 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
357 -e 's|@''NEXT_UNISTD_H''@|$(NEXT_UNISTD_H)|g' \
358 -e 's|@''GNULIB_CHOWN''@|$(GNULIB_CHOWN)|g' \
359 -e 's|@''GNULIB_CLOSE''@|$(GNULIB_CLOSE)|g' \
360 -e 's|@''GNULIB_DUP2''@|$(GNULIB_DUP2)|g' \
361 -e 's|@''GNULIB_ENVIRON''@|$(GNULIB_ENVIRON)|g' \
362 -e 's|@''GNULIB_EUIDACCESS''@|$(GNULIB_EUIDACCESS)|g' \
363 -e 's|@''GNULIB_FCHDIR''@|$(GNULIB_FCHDIR)|g' \
364 -e 's|@''GNULIB_FSYNC''@|$(GNULIB_FSYNC)|g' \
365 -e 's|@''GNULIB_FTRUNCATE''@|$(GNULIB_FTRUNCATE)|g' \
366 -e 's|@''GNULIB_GETCWD''@|$(GNULIB_GETCWD)|g' \
367 -e 's|@''GNULIB_GETDOMAINNAME''@|$(GNULIB_GETDOMAINNAME)|g' \
368 -e 's|@''GNULIB_GETDTABLESIZE''@|$(GNULIB_GETDTABLESIZE)|g' \
369 -e 's|@''GNULIB_GETHOSTNAME''@|$(GNULIB_GETHOSTNAME)|g' \
370 -e 's|@''GNULIB_GETLOGIN_R''@|$(GNULIB_GETLOGIN_R)|g' \
371 -e 's|@''GNULIB_GETPAGESIZE''@|$(GNULIB_GETPAGESIZE)|g' \
372 -e 's|@''GNULIB_GETUSERSHELL''@|$(GNULIB_GETUSERSHELL)|g' \
373 -e 's|@''GNULIB_LCHOWN''@|$(GNULIB_LCHOWN)|g' \
374 -e 's|@''GNULIB_LSEEK''@|$(GNULIB_LSEEK)|g' \
375 -e 's|@''GNULIB_READLINK''@|$(GNULIB_READLINK)|g' \
376 -e 's|@''GNULIB_SLEEP''@|$(GNULIB_SLEEP)|g' \
377 -e 's|@''GNULIB_UNISTD_H_SIGPIPE''@|$(GNULIB_UNISTD_H_SIGPIPE)|g' \
378 -e 's|@''GNULIB_WRITE''@|$(GNULIB_WRITE)|g' \
379 -e 's|@''HAVE_DUP2''@|$(HAVE_DUP2)|g' \
380 -e 's|@''HAVE_EUIDACCESS''@|$(HAVE_EUIDACCESS)|g' \
381 -e 's|@''HAVE_FSYNC''@|$(HAVE_FSYNC)|g' \
382 -e 's|@''HAVE_FTRUNCATE''@|$(HAVE_FTRUNCATE)|g' \
383 -e 's|@''HAVE_GETDOMAINNAME''@|$(HAVE_GETDOMAINNAME)|g' \
384 -e 's|@''HAVE_GETDTABLESIZE''@|$(HAVE_GETDTABLESIZE)|g' \
385 -e 's|@''HAVE_GETHOSTNAME''@|$(HAVE_GETHOSTNAME)|g' \
386 -e 's|@''HAVE_GETPAGESIZE''@|$(HAVE_GETPAGESIZE)|g' \
387 -e 's|@''HAVE_GETUSERSHELL''@|$(HAVE_GETUSERSHELL)|g' \
388 -e 's|@''HAVE_READLINK''@|$(HAVE_READLINK)|g' \
389 -e 's|@''HAVE_SLEEP''@|$(HAVE_SLEEP)|g' \
390 -e 's|@''HAVE_DECL_ENVIRON''@|$(HAVE_DECL_ENVIRON)|g' \
391 -e 's|@''HAVE_DECL_GETLOGIN_R''@|$(HAVE_DECL_GETLOGIN_R)|g' \
392 -e 's|@''HAVE_OS_H''@|$(HAVE_OS_H)|g' \
393 -e 's|@''HAVE_SYS_PARAM_H''@|$(HAVE_SYS_PARAM_H)|g' \
394 -e 's|@''REPLACE_CHOWN''@|$(REPLACE_CHOWN)|g' \
395 -e 's|@''REPLACE_CLOSE''@|$(REPLACE_CLOSE)|g' \
396 -e 's|@''REPLACE_FCHDIR''@|$(REPLACE_FCHDIR)|g' \
397 -e 's|@''REPLACE_GETCWD''@|$(REPLACE_GETCWD)|g' \
398 -e 's|@''REPLACE_GETPAGESIZE''@|$(REPLACE_GETPAGESIZE)|g' \
399 -e 's|@''REPLACE_LCHOWN''@|$(REPLACE_LCHOWN)|g' \
400 -e 's|@''REPLACE_LSEEK''@|$(REPLACE_LSEEK)|g' \
401 -e 's|@''REPLACE_WRITE''@|$(REPLACE_WRITE)|g' \
402 -e 's|@''UNISTD_H_HAVE_WINSOCK2_H''@|$(UNISTD_H_HAVE_WINSOCK2_H)|g' \
403 -e '/definition of GL_LINK_WARNING/r $(LINK_WARNING_H)' \
404 < $(srcdir)/unistd.in.h; \
405 } > $@-t
406 mv $@-t $@
407MOSTLYCLEANFILES += unistd.h unistd.h-t
408
409EXTRA_DIST += unistd.in.h
410
411## end gnulib module unistd
412
d7014610
LC
413## begin gnulib module verify
414
415libgnu_la_SOURCES += verify.h
416
417## end gnulib module verify
418
e65fc94b
LC
419## begin gnulib module wchar
420
421BUILT_SOURCES += $(WCHAR_H)
422
423# We need the following in order to create <wchar.h> when the system
424# version does not work standalone.
425wchar.h: wchar.in.h
426 rm -f $@-t $@
427 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
428 sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
429 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
430 -e 's|@''NEXT_WCHAR_H''@|$(NEXT_WCHAR_H)|g' \
4a462e35
NJ
431 -e 's|@''HAVE_WCHAR_H''@|$(HAVE_WCHAR_H)|g' \
432 -e 's|@''GNULIB_BTOWC''@|$(GNULIB_BTOWC)|g' \
433 -e 's|@''GNULIB_WCTOB''@|$(GNULIB_WCTOB)|g' \
434 -e 's|@''GNULIB_MBSINIT''@|$(GNULIB_MBSINIT)|g' \
435 -e 's|@''GNULIB_MBRTOWC''@|$(GNULIB_MBRTOWC)|g' \
436 -e 's|@''GNULIB_MBRLEN''@|$(GNULIB_MBRLEN)|g' \
437 -e 's|@''GNULIB_MBSRTOWCS''@|$(GNULIB_MBSRTOWCS)|g' \
438 -e 's|@''GNULIB_MBSNRTOWCS''@|$(GNULIB_MBSNRTOWCS)|g' \
439 -e 's|@''GNULIB_WCRTOMB''@|$(GNULIB_WCRTOMB)|g' \
440 -e 's|@''GNULIB_WCSRTOMBS''@|$(GNULIB_WCSRTOMBS)|g' \
441 -e 's|@''GNULIB_WCSNRTOMBS''@|$(GNULIB_WCSNRTOMBS)|g' \
e65fc94b 442 -e 's|@''GNULIB_WCWIDTH''@|$(GNULIB_WCWIDTH)|g' \
4a462e35
NJ
443 -e 's|@''HAVE_WINT_T''@|$(HAVE_WINT_T)|g' \
444 -e 's|@''HAVE_BTOWC''@|$(HAVE_BTOWC)|g' \
445 -e 's|@''HAVE_MBSINIT''@|$(HAVE_MBSINIT)|g' \
446 -e 's|@''HAVE_MBRTOWC''@|$(HAVE_MBRTOWC)|g' \
447 -e 's|@''HAVE_MBRLEN''@|$(HAVE_MBRLEN)|g' \
448 -e 's|@''HAVE_MBSRTOWCS''@|$(HAVE_MBSRTOWCS)|g' \
449 -e 's|@''HAVE_MBSNRTOWCS''@|$(HAVE_MBSNRTOWCS)|g' \
450 -e 's|@''HAVE_WCRTOMB''@|$(HAVE_WCRTOMB)|g' \
451 -e 's|@''HAVE_WCSRTOMBS''@|$(HAVE_WCSRTOMBS)|g' \
452 -e 's|@''HAVE_WCSNRTOMBS''@|$(HAVE_WCSNRTOMBS)|g' \
453 -e 's|@''HAVE_DECL_WCTOB''@|$(HAVE_DECL_WCTOB)|g' \
e65fc94b 454 -e 's|@''HAVE_DECL_WCWIDTH''@|$(HAVE_DECL_WCWIDTH)|g' \
4a462e35
NJ
455 -e 's|@''REPLACE_MBSTATE_T''@|$(REPLACE_MBSTATE_T)|g' \
456 -e 's|@''REPLACE_BTOWC''@|$(REPLACE_BTOWC)|g' \
457 -e 's|@''REPLACE_WCTOB''@|$(REPLACE_WCTOB)|g' \
458 -e 's|@''REPLACE_MBSINIT''@|$(REPLACE_MBSINIT)|g' \
459 -e 's|@''REPLACE_MBRTOWC''@|$(REPLACE_MBRTOWC)|g' \
460 -e 's|@''REPLACE_MBRLEN''@|$(REPLACE_MBRLEN)|g' \
461 -e 's|@''REPLACE_MBSRTOWCS''@|$(REPLACE_MBSRTOWCS)|g' \
462 -e 's|@''REPLACE_MBSNRTOWCS''@|$(REPLACE_MBSNRTOWCS)|g' \
463 -e 's|@''REPLACE_WCRTOMB''@|$(REPLACE_WCRTOMB)|g' \
464 -e 's|@''REPLACE_WCSRTOMBS''@|$(REPLACE_WCSRTOMBS)|g' \
e65fc94b
LC
465 -e 's|@''REPLACE_WCWIDTH''@|$(REPLACE_WCWIDTH)|g' \
466 -e '/definition of GL_LINK_WARNING/r $(LINK_WARNING_H)' \
467 < $(srcdir)/wchar.in.h; \
468 } > $@-t
469 mv $@-t $@
470MOSTLYCLEANFILES += wchar.h wchar.h-t
471
472EXTRA_DIST += wchar.in.h
473
474## end gnulib module wchar
475
9b36a80c
LC
476## begin gnulib module write
477
478
479EXTRA_DIST += write.c
103dc4d4 480
9b36a80c 481EXTRA_libgnu_la_SOURCES += write.c
103dc4d4 482
9b36a80c 483## end gnulib module write
103dc4d4
LC
484
485
486mostlyclean-local: mostlyclean-generic
487 @for dir in '' $(MOSTLYCLEANDIRS); do \
488 if test -n "$$dir" && test -d $$dir; then \
489 echo "rmdir $$dir"; rmdir $$dir; \
490 fi; \
491 done; \
492 :