Merge branch 'master' into boehm-demers-weiser-gc
[bpt/guile.git] / lib / Makefile.am
1 ## DO NOT EDIT! GENERATED AUTOMATICALLY!
2 ## Process this file with automake to produce Makefile.in.
3 # Copyright (C) 2002-2009 Free Software Foundation, Inc.
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.
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 extensions full-read full-write strcase strftime
13
14 AUTOMAKE_OPTIONS = 1.5 gnits
15
16 SUBDIRS =
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 =
30
31 noinst_LTLIBRARIES += libgnu.la
32
33 libgnu_la_SOURCES =
34 libgnu_la_LIBADD = $(gl_LTLIBOBJS)
35 libgnu_la_DEPENDENCIES = $(gl_LTLIBOBJS)
36 EXTRA_libgnu_la_SOURCES =
37 libgnu_la_LDFLAGS = $(AM_LDFLAGS)
38
39 ## begin gnulib module alloca-opt
40
41 BUILT_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.
45 alloca.h: alloca.in.h
46 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
47 cat $(srcdir)/alloca.in.h; \
48 } > $@-t
49 mv -f $@-t $@
50 MOSTLYCLEANFILES += alloca.h alloca.h-t
51
52 EXTRA_DIST += alloca.in.h
53
54 ## end gnulib module alloca-opt
55
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.
75 configmake.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 $@
107 BUILT_SOURCES += configmake.h
108 CLEANFILES += configmake.h configmake.h-t
109
110 ## end gnulib module configmake
111
112 ## begin gnulib module full-read
113
114 libgnu_la_SOURCES += full-read.h full-read.c
115
116 ## end gnulib module full-read
117
118 ## begin gnulib module full-write
119
120 libgnu_la_SOURCES += full-write.h full-write.c
121
122 ## end gnulib module full-write
123
124 ## begin gnulib module link-warning
125
126 LINK_WARNING_H=$(top_srcdir)/build-aux/link-warning.h
127
128 EXTRA_DIST += $(top_srcdir)/build-aux/link-warning.h
129
130 ## end gnulib module link-warning
131
132 ## begin gnulib module localcharset
133
134 libgnu_la_SOURCES += localcharset.h localcharset.c
135
136 # We need the following in order to install a simple file in $(libdir)
137 # which is shared with other installed packages. We use a list of referencing
138 # packages so that "make uninstall" will remove the file if and only if it
139 # is not used by another installed package.
140 # On systems with glibc-2.1 or newer, the file is redundant, therefore we
141 # avoid installing it.
142
143 all-local: charset.alias ref-add.sed ref-del.sed
144
145 charset_alias = $(DESTDIR)$(libdir)/charset.alias
146 charset_tmp = $(DESTDIR)$(libdir)/charset.tmp
147 install-exec-local: all-local
148 test $(GLIBC21) != no || $(mkinstalldirs) $(DESTDIR)$(libdir)
149 if test -f $(charset_alias); then \
150 sed -f ref-add.sed $(charset_alias) > $(charset_tmp) ; \
151 $(INSTALL_DATA) $(charset_tmp) $(charset_alias) ; \
152 rm -f $(charset_tmp) ; \
153 else \
154 if test $(GLIBC21) = no; then \
155 sed -f ref-add.sed charset.alias > $(charset_tmp) ; \
156 $(INSTALL_DATA) $(charset_tmp) $(charset_alias) ; \
157 rm -f $(charset_tmp) ; \
158 fi ; \
159 fi
160
161 uninstall-local: all-local
162 if test -f $(charset_alias); then \
163 sed -f ref-del.sed $(charset_alias) > $(charset_tmp); \
164 if grep '^# Packages using this file: $$' $(charset_tmp) \
165 > /dev/null; then \
166 rm -f $(charset_alias); \
167 else \
168 $(INSTALL_DATA) $(charset_tmp) $(charset_alias); \
169 fi; \
170 rm -f $(charset_tmp); \
171 fi
172
173 charset.alias: config.charset
174 rm -f t-$@ $@
175 $(SHELL) $(srcdir)/config.charset '$(host)' > t-$@
176 mv t-$@ $@
177
178 SUFFIXES += .sed .sin
179 .sin.sed:
180 rm -f t-$@ $@
181 sed -e '/^#/d' -e 's/@''PACKAGE''@/$(PACKAGE)/g' $< > t-$@
182 mv t-$@ $@
183
184 CLEANFILES += charset.alias ref-add.sed ref-del.sed
185
186 EXTRA_DIST += config.charset ref-add.sin ref-del.sin
187
188 ## end gnulib module localcharset
189
190 ## begin gnulib module mbrlen
191
192
193 EXTRA_DIST += mbrlen.c
194
195 EXTRA_libgnu_la_SOURCES += mbrlen.c
196
197 ## end gnulib module mbrlen
198
199 ## begin gnulib module mbrtowc
200
201
202 EXTRA_DIST += mbrtowc.c
203
204 EXTRA_libgnu_la_SOURCES += mbrtowc.c
205
206 ## end gnulib module mbrtowc
207
208 ## begin gnulib module mbsinit
209
210
211 EXTRA_DIST += mbsinit.c
212
213 EXTRA_libgnu_la_SOURCES += mbsinit.c
214
215 ## end gnulib module mbsinit
216
217 ## begin gnulib module safe-read
218
219
220 EXTRA_DIST += safe-read.c safe-read.h
221
222 EXTRA_libgnu_la_SOURCES += safe-read.c
223
224 ## end gnulib module safe-read
225
226 ## begin gnulib module safe-write
227
228
229 EXTRA_DIST += safe-write.c safe-write.h
230
231 EXTRA_libgnu_la_SOURCES += safe-write.c
232
233 ## end gnulib module safe-write
234
235 ## begin gnulib module stdbool
236
237 BUILT_SOURCES += $(STDBOOL_H)
238
239 # We need the following in order to create <stdbool.h> when the system
240 # doesn't have one that works.
241 stdbool.h: stdbool.in.h
242 rm -f $@-t $@
243 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
244 sed -e 's/@''HAVE__BOOL''@/$(HAVE__BOOL)/g' < $(srcdir)/stdbool.in.h; \
245 } > $@-t
246 mv $@-t $@
247 MOSTLYCLEANFILES += stdbool.h stdbool.h-t
248
249 EXTRA_DIST += stdbool.in.h
250
251 ## end gnulib module stdbool
252
253 ## begin gnulib module strcase
254
255
256 EXTRA_DIST += strcasecmp.c strncasecmp.c
257
258 EXTRA_libgnu_la_SOURCES += strcasecmp.c strncasecmp.c
259
260 ## end gnulib module strcase
261
262 ## begin gnulib module streq
263
264
265 EXTRA_DIST += streq.h
266
267 ## end gnulib module streq
268
269 ## begin gnulib module strftime
270
271
272 EXTRA_DIST += strftime.c strftime.h
273
274 EXTRA_libgnu_la_SOURCES += strftime.c
275
276 ## end gnulib module strftime
277
278 ## begin gnulib module strings
279
280 BUILT_SOURCES += strings.h
281
282 # We need the following in order to create <strings.h> when the system
283 # doesn't have one that works with the given compiler.
284 strings.h: strings.in.h
285 rm -f $@-t $@
286 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
287 sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
288 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
289 -e 's|@''NEXT_STRINGS_H''@|$(NEXT_STRINGS_H)|g' \
290 -e 's|@''HAVE_STRCASECMP''@|$(HAVE_STRCASECMP)|g' \
291 -e 's|@''HAVE_DECL_STRNCASECMP''@|$(HAVE_DECL_STRNCASECMP)|g' \
292 -e '/definition of GL_LINK_WARNING/r $(LINK_WARNING_H)' \
293 < $(srcdir)/strings.in.h; \
294 } > $@-t
295 mv $@-t $@
296 MOSTLYCLEANFILES += strings.h strings.h-t
297
298 EXTRA_DIST += strings.in.h
299
300 ## end gnulib module strings
301
302 ## begin gnulib module time
303
304 BUILT_SOURCES += time.h
305
306 # We need the following in order to create <time.h> when the system
307 # doesn't have one that works with the given compiler.
308 time.h: time.in.h
309 rm -f $@-t $@
310 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
311 sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
312 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
313 -e 's|@NEXT_TIME_H''@|$(NEXT_TIME_H)|g' \
314 -e 's|@REPLACE_LOCALTIME_R''@|$(REPLACE_LOCALTIME_R)|g' \
315 -e 's|@REPLACE_NANOSLEEP''@|$(REPLACE_NANOSLEEP)|g' \
316 -e 's|@REPLACE_STRPTIME''@|$(REPLACE_STRPTIME)|g' \
317 -e 's|@REPLACE_TIMEGM''@|$(REPLACE_TIMEGM)|g' \
318 -e 's|@SYS_TIME_H_DEFINES_STRUCT_TIMESPEC''@|$(SYS_TIME_H_DEFINES_STRUCT_TIMESPEC)|g' \
319 -e 's|@TIME_H_DEFINES_STRUCT_TIMESPEC''@|$(TIME_H_DEFINES_STRUCT_TIMESPEC)|g' \
320 < $(srcdir)/time.in.h; \
321 } > $@-t
322 mv $@-t $@
323 MOSTLYCLEANFILES += time.h time.h-t
324
325 EXTRA_DIST += time.in.h
326
327 ## end gnulib module time
328
329 ## begin gnulib module time_r
330
331
332 EXTRA_DIST += time_r.c
333
334 EXTRA_libgnu_la_SOURCES += time_r.c
335
336 ## end gnulib module time_r
337
338 ## begin gnulib module unistd
339
340 BUILT_SOURCES += unistd.h
341
342 # We need the following in order to create an empty placeholder for
343 # <unistd.h> when the system doesn't have one.
344 unistd.h: unistd.in.h
345 rm -f $@-t $@
346 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
347 sed -e 's|@''HAVE_UNISTD_H''@|$(HAVE_UNISTD_H)|g' \
348 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
349 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
350 -e 's|@''NEXT_UNISTD_H''@|$(NEXT_UNISTD_H)|g' \
351 -e 's|@''GNULIB_CHOWN''@|$(GNULIB_CHOWN)|g' \
352 -e 's|@''GNULIB_CLOSE''@|$(GNULIB_CLOSE)|g' \
353 -e 's|@''GNULIB_DUP2''@|$(GNULIB_DUP2)|g' \
354 -e 's|@''GNULIB_ENVIRON''@|$(GNULIB_ENVIRON)|g' \
355 -e 's|@''GNULIB_EUIDACCESS''@|$(GNULIB_EUIDACCESS)|g' \
356 -e 's|@''GNULIB_FCHDIR''@|$(GNULIB_FCHDIR)|g' \
357 -e 's|@''GNULIB_FSYNC''@|$(GNULIB_FSYNC)|g' \
358 -e 's|@''GNULIB_FTRUNCATE''@|$(GNULIB_FTRUNCATE)|g' \
359 -e 's|@''GNULIB_GETCWD''@|$(GNULIB_GETCWD)|g' \
360 -e 's|@''GNULIB_GETDOMAINNAME''@|$(GNULIB_GETDOMAINNAME)|g' \
361 -e 's|@''GNULIB_GETDTABLESIZE''@|$(GNULIB_GETDTABLESIZE)|g' \
362 -e 's|@''GNULIB_GETHOSTNAME''@|$(GNULIB_GETHOSTNAME)|g' \
363 -e 's|@''GNULIB_GETLOGIN_R''@|$(GNULIB_GETLOGIN_R)|g' \
364 -e 's|@''GNULIB_GETPAGESIZE''@|$(GNULIB_GETPAGESIZE)|g' \
365 -e 's|@''GNULIB_GETUSERSHELL''@|$(GNULIB_GETUSERSHELL)|g' \
366 -e 's|@''GNULIB_LCHOWN''@|$(GNULIB_LCHOWN)|g' \
367 -e 's|@''GNULIB_LSEEK''@|$(GNULIB_LSEEK)|g' \
368 -e 's|@''GNULIB_READLINK''@|$(GNULIB_READLINK)|g' \
369 -e 's|@''GNULIB_SLEEP''@|$(GNULIB_SLEEP)|g' \
370 -e 's|@''GNULIB_UNISTD_H_SIGPIPE''@|$(GNULIB_UNISTD_H_SIGPIPE)|g' \
371 -e 's|@''GNULIB_WRITE''@|$(GNULIB_WRITE)|g' \
372 -e 's|@''HAVE_DUP2''@|$(HAVE_DUP2)|g' \
373 -e 's|@''HAVE_EUIDACCESS''@|$(HAVE_EUIDACCESS)|g' \
374 -e 's|@''HAVE_FSYNC''@|$(HAVE_FSYNC)|g' \
375 -e 's|@''HAVE_FTRUNCATE''@|$(HAVE_FTRUNCATE)|g' \
376 -e 's|@''HAVE_GETDOMAINNAME''@|$(HAVE_GETDOMAINNAME)|g' \
377 -e 's|@''HAVE_GETDTABLESIZE''@|$(HAVE_GETDTABLESIZE)|g' \
378 -e 's|@''HAVE_GETHOSTNAME''@|$(HAVE_GETHOSTNAME)|g' \
379 -e 's|@''HAVE_GETPAGESIZE''@|$(HAVE_GETPAGESIZE)|g' \
380 -e 's|@''HAVE_GETUSERSHELL''@|$(HAVE_GETUSERSHELL)|g' \
381 -e 's|@''HAVE_READLINK''@|$(HAVE_READLINK)|g' \
382 -e 's|@''HAVE_SLEEP''@|$(HAVE_SLEEP)|g' \
383 -e 's|@''HAVE_DECL_ENVIRON''@|$(HAVE_DECL_ENVIRON)|g' \
384 -e 's|@''HAVE_DECL_GETLOGIN_R''@|$(HAVE_DECL_GETLOGIN_R)|g' \
385 -e 's|@''HAVE_OS_H''@|$(HAVE_OS_H)|g' \
386 -e 's|@''HAVE_SYS_PARAM_H''@|$(HAVE_SYS_PARAM_H)|g' \
387 -e 's|@''REPLACE_CHOWN''@|$(REPLACE_CHOWN)|g' \
388 -e 's|@''REPLACE_CLOSE''@|$(REPLACE_CLOSE)|g' \
389 -e 's|@''REPLACE_FCHDIR''@|$(REPLACE_FCHDIR)|g' \
390 -e 's|@''REPLACE_GETCWD''@|$(REPLACE_GETCWD)|g' \
391 -e 's|@''REPLACE_GETPAGESIZE''@|$(REPLACE_GETPAGESIZE)|g' \
392 -e 's|@''REPLACE_LCHOWN''@|$(REPLACE_LCHOWN)|g' \
393 -e 's|@''REPLACE_LSEEK''@|$(REPLACE_LSEEK)|g' \
394 -e 's|@''REPLACE_WRITE''@|$(REPLACE_WRITE)|g' \
395 -e 's|@''UNISTD_H_HAVE_WINSOCK2_H''@|$(UNISTD_H_HAVE_WINSOCK2_H)|g' \
396 -e '/definition of GL_LINK_WARNING/r $(LINK_WARNING_H)' \
397 < $(srcdir)/unistd.in.h; \
398 } > $@-t
399 mv $@-t $@
400 MOSTLYCLEANFILES += unistd.h unistd.h-t
401
402 EXTRA_DIST += unistd.in.h
403
404 ## end gnulib module unistd
405
406 ## begin gnulib module verify
407
408 libgnu_la_SOURCES += verify.h
409
410 ## end gnulib module verify
411
412 ## begin gnulib module wchar
413
414 BUILT_SOURCES += $(WCHAR_H)
415
416 # We need the following in order to create <wchar.h> when the system
417 # version does not work standalone.
418 wchar.h: wchar.in.h
419 rm -f $@-t $@
420 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
421 sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
422 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
423 -e 's|@''NEXT_WCHAR_H''@|$(NEXT_WCHAR_H)|g' \
424 -e 's|@''HAVE_WCHAR_H''@|$(HAVE_WCHAR_H)|g' \
425 -e 's|@''GNULIB_BTOWC''@|$(GNULIB_BTOWC)|g' \
426 -e 's|@''GNULIB_WCTOB''@|$(GNULIB_WCTOB)|g' \
427 -e 's|@''GNULIB_MBSINIT''@|$(GNULIB_MBSINIT)|g' \
428 -e 's|@''GNULIB_MBRTOWC''@|$(GNULIB_MBRTOWC)|g' \
429 -e 's|@''GNULIB_MBRLEN''@|$(GNULIB_MBRLEN)|g' \
430 -e 's|@''GNULIB_MBSRTOWCS''@|$(GNULIB_MBSRTOWCS)|g' \
431 -e 's|@''GNULIB_MBSNRTOWCS''@|$(GNULIB_MBSNRTOWCS)|g' \
432 -e 's|@''GNULIB_WCRTOMB''@|$(GNULIB_WCRTOMB)|g' \
433 -e 's|@''GNULIB_WCSRTOMBS''@|$(GNULIB_WCSRTOMBS)|g' \
434 -e 's|@''GNULIB_WCSNRTOMBS''@|$(GNULIB_WCSNRTOMBS)|g' \
435 -e 's|@''GNULIB_WCWIDTH''@|$(GNULIB_WCWIDTH)|g' \
436 -e 's|@''HAVE_WINT_T''@|$(HAVE_WINT_T)|g' \
437 -e 's|@''HAVE_BTOWC''@|$(HAVE_BTOWC)|g' \
438 -e 's|@''HAVE_MBSINIT''@|$(HAVE_MBSINIT)|g' \
439 -e 's|@''HAVE_MBRTOWC''@|$(HAVE_MBRTOWC)|g' \
440 -e 's|@''HAVE_MBRLEN''@|$(HAVE_MBRLEN)|g' \
441 -e 's|@''HAVE_MBSRTOWCS''@|$(HAVE_MBSRTOWCS)|g' \
442 -e 's|@''HAVE_MBSNRTOWCS''@|$(HAVE_MBSNRTOWCS)|g' \
443 -e 's|@''HAVE_WCRTOMB''@|$(HAVE_WCRTOMB)|g' \
444 -e 's|@''HAVE_WCSRTOMBS''@|$(HAVE_WCSRTOMBS)|g' \
445 -e 's|@''HAVE_WCSNRTOMBS''@|$(HAVE_WCSNRTOMBS)|g' \
446 -e 's|@''HAVE_DECL_WCTOB''@|$(HAVE_DECL_WCTOB)|g' \
447 -e 's|@''HAVE_DECL_WCWIDTH''@|$(HAVE_DECL_WCWIDTH)|g' \
448 -e 's|@''REPLACE_MBSTATE_T''@|$(REPLACE_MBSTATE_T)|g' \
449 -e 's|@''REPLACE_BTOWC''@|$(REPLACE_BTOWC)|g' \
450 -e 's|@''REPLACE_WCTOB''@|$(REPLACE_WCTOB)|g' \
451 -e 's|@''REPLACE_MBSINIT''@|$(REPLACE_MBSINIT)|g' \
452 -e 's|@''REPLACE_MBRTOWC''@|$(REPLACE_MBRTOWC)|g' \
453 -e 's|@''REPLACE_MBRLEN''@|$(REPLACE_MBRLEN)|g' \
454 -e 's|@''REPLACE_MBSRTOWCS''@|$(REPLACE_MBSRTOWCS)|g' \
455 -e 's|@''REPLACE_MBSNRTOWCS''@|$(REPLACE_MBSNRTOWCS)|g' \
456 -e 's|@''REPLACE_WCRTOMB''@|$(REPLACE_WCRTOMB)|g' \
457 -e 's|@''REPLACE_WCSRTOMBS''@|$(REPLACE_WCSRTOMBS)|g' \
458 -e 's|@''REPLACE_WCWIDTH''@|$(REPLACE_WCWIDTH)|g' \
459 -e '/definition of GL_LINK_WARNING/r $(LINK_WARNING_H)' \
460 < $(srcdir)/wchar.in.h; \
461 } > $@-t
462 mv $@-t $@
463 MOSTLYCLEANFILES += wchar.h wchar.h-t
464
465 EXTRA_DIST += wchar.in.h
466
467 ## end gnulib module wchar
468
469 ## begin gnulib module write
470
471
472 EXTRA_DIST += write.c
473
474 EXTRA_libgnu_la_SOURCES += write.c
475
476 ## end gnulib module write
477
478
479 mostlyclean-local: mostlyclean-generic
480 @for dir in '' $(MOSTLYCLEANDIRS); do \
481 if test -n "$$dir" && test -d $$dir; then \
482 echo "rmdir $$dir"; rmdir $$dir; \
483 fi; \
484 done; \
485 :