• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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=. --local-dir=gl --lib=libsed --source-base=lib --m4-base=m4 --doc-base=doc --tests-base=tests --aux-dir=build-aux --no-libtool --macro-prefix=gl acl alloca btowc c-ctype extensions getline getopt gettext localcharset mbrlen mbrtowc mbsinit memchr mkstemp obstack pathmax regex rename selinux-h stat-macros stdbool strerror strverscmp unlocked-io verify wcrtomb wctob
13
14AUTOMAKE_OPTIONS = 1.5 gnits
15
16SUBDIRS =
17noinst_HEADERS =
18noinst_LIBRARIES =
19noinst_LTLIBRARIES =
20EXTRA_DIST =
21BUILT_SOURCES =
22SUFFIXES =
23MOSTLYCLEANFILES = core *.stackdump
24MOSTLYCLEANDIRS =
25CLEANFILES =
26DISTCLEANFILES =
27MAINTAINERCLEANFILES =
28
29AM_CPPFLAGS =
30AM_CFLAGS =
31
32noinst_LIBRARIES += libsed.a
33
34libsed_a_SOURCES =
35libsed_a_LIBADD = $(gl_LIBOBJS)
36libsed_a_DEPENDENCIES = $(gl_LIBOBJS)
37EXTRA_libsed_a_SOURCES =
38
39## begin gnulib module acl
40
41libsed_a_SOURCES += set-mode-acl.c copy-acl.c file-has-acl.c
42
43EXTRA_DIST += acl-internal.h acl.h acl_entries.c
44
45EXTRA_libsed_a_SOURCES += acl_entries.c
46
47## end   gnulib module acl
48
49## begin gnulib module alloca
50
51
52EXTRA_DIST += alloca.c
53
54EXTRA_libsed_a_SOURCES += alloca.c
55
56libsed_a_LIBADD += @ALLOCA@
57libsed_a_DEPENDENCIES += @ALLOCA@
58## end   gnulib module alloca
59
60## begin gnulib module alloca-opt
61
62BUILT_SOURCES += $(ALLOCA_H)
63
64# We need the following in order to create <alloca.h> when the system
65# doesn't have one that works with the given compiler.
66alloca.h: alloca.in.h
67	{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
68	  cat $(srcdir)/alloca.in.h; \
69	} > $@-t
70	mv -f $@-t $@
71MOSTLYCLEANFILES += alloca.h alloca.h-t
72
73EXTRA_DIST += alloca.in.h
74
75## end   gnulib module alloca-opt
76
77## begin gnulib module btowc
78
79
80EXTRA_DIST += btowc.c
81
82EXTRA_libsed_a_SOURCES += btowc.c
83
84## end   gnulib module btowc
85
86## begin gnulib module c-ctype
87
88libsed_a_SOURCES += c-ctype.h c-ctype.c
89
90## end   gnulib module c-ctype
91
92## begin gnulib module configmake
93
94# Retrieve values of the variables through 'configure' followed by
95# 'make', not directly through 'configure', so that a user who
96# sets some of these variables consistently on the 'make' command
97# line gets correct results.
98#
99# One advantage of this approach, compared to the classical
100# approach of adding -DLIBDIR=\"$(libdir)\" etc. to AM_CPPFLAGS,
101# is that it protects against the use of undefined variables.
102# If, say, $(libdir) is not set in the Makefile, LIBDIR is not
103# defined by this module, and code using LIBDIR gives a
104# compilation error.
105#
106# Another advantage is that 'make' output is shorter.
107#
108# Listed in the same order as the GNU makefile conventions.
109# The Automake-defined pkg* macros are appended, in the order
110# listed in the Automake 1.10a+ documentation.
111configmake.h: Makefile
112	rm -f $@-t
113	{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
114	  echo '#define PREFIX "$(prefix)"'; \
115	  echo '#define EXEC_PREFIX "$(exec_prefix)"'; \
116	  echo '#define BINDIR "$(bindir)"'; \
117	  echo '#define SBINDIR "$(sbindir)"'; \
118	  echo '#define LIBEXECDIR "$(libexecdir)"'; \
119	  echo '#define DATAROOTDIR "$(datarootdir)"'; \
120	  echo '#define DATADIR "$(datadir)"'; \
121	  echo '#define SYSCONFDIR "$(sysconfdir)"'; \
122	  echo '#define SHAREDSTATEDIR "$(sharedstatedir)"'; \
123	  echo '#define LOCALSTATEDIR "$(localstatedir)"'; \
124	  echo '#define INCLUDEDIR "$(includedir)"'; \
125	  echo '#define OLDINCLUDEDIR "$(oldincludedir)"'; \
126	  echo '#define DOCDIR "$(docdir)"'; \
127	  echo '#define INFODIR "$(infodir)"'; \
128	  echo '#define HTMLDIR "$(htmldir)"'; \
129	  echo '#define DVIDIR "$(dvidir)"'; \
130	  echo '#define PDFDIR "$(pdfdir)"'; \
131	  echo '#define PSDIR "$(psdir)"'; \
132	  echo '#define LIBDIR "$(libdir)"'; \
133	  echo '#define LISPDIR "$(lispdir)"'; \
134	  echo '#define LOCALEDIR "$(localedir)"'; \
135	  echo '#define MANDIR "$(mandir)"'; \
136	  echo '#define MANEXT "$(manext)"'; \
137	  echo '#define PKGDATADIR "$(pkgdatadir)"'; \
138	  echo '#define PKGINCLUDEDIR "$(pkgincludedir)"'; \
139	  echo '#define PKGLIBDIR "$(pkglibdir)"'; \
140	  echo '#define PKGLIBEXECDIR "$(pkglibexecdir)"'; \
141	} | sed '/""/d' > $@-t
142	if test -f $@ && cmp $@-t $@ > /dev/null; then \
143	  rm -f $@-t; \
144	else \
145	  rm -f $@; mv $@-t $@; \
146	fi
147
148BUILT_SOURCES += configmake.h
149CLEANFILES += configmake.h configmake.h-t
150
151## end   gnulib module configmake
152
153## begin gnulib module dirname
154
155
156EXTRA_DIST += basename.c dirname.c dirname.h stripslash.c
157
158EXTRA_libsed_a_SOURCES += basename.c dirname.c stripslash.c
159
160## end   gnulib module dirname
161
162## begin gnulib module errno
163
164BUILT_SOURCES += $(ERRNO_H)
165
166# We need the following in order to create <errno.h> when the system
167# doesn't have one that is POSIX compliant.
168errno.h: errno.in.h
169	rm -f $@-t $@
170	{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
171	  sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
172	      -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
173	      -e 's|@''NEXT_ERRNO_H''@|$(NEXT_ERRNO_H)|g' \
174	      -e 's|@''EMULTIHOP_HIDDEN''@|$(EMULTIHOP_HIDDEN)|g' \
175	      -e 's|@''EMULTIHOP_VALUE''@|$(EMULTIHOP_VALUE)|g' \
176	      -e 's|@''ENOLINK_HIDDEN''@|$(ENOLINK_HIDDEN)|g' \
177	      -e 's|@''ENOLINK_VALUE''@|$(ENOLINK_VALUE)|g' \
178	      -e 's|@''EOVERFLOW_HIDDEN''@|$(EOVERFLOW_HIDDEN)|g' \
179	      -e 's|@''EOVERFLOW_VALUE''@|$(EOVERFLOW_VALUE)|g' \
180	      < $(srcdir)/errno.in.h; \
181	} > $@-t
182	mv $@-t $@
183MOSTLYCLEANFILES += errno.h errno.h-t
184
185EXTRA_DIST += errno.in.h
186
187## end   gnulib module errno
188
189## begin gnulib module error
190
191
192EXTRA_DIST += error.c error.h
193
194EXTRA_libsed_a_SOURCES += error.c
195
196## end   gnulib module error
197
198## begin gnulib module exitfail
199
200
201EXTRA_DIST += exitfail.c exitfail.h
202
203EXTRA_libsed_a_SOURCES += exitfail.c
204
205## end   gnulib module exitfail
206
207## begin gnulib module getdelim
208
209
210EXTRA_DIST += getdelim.c
211
212EXTRA_libsed_a_SOURCES += getdelim.c
213
214## end   gnulib module getdelim
215
216## begin gnulib module getline
217
218
219EXTRA_DIST += getline.c
220
221EXTRA_libsed_a_SOURCES += getline.c
222
223## end   gnulib module getline
224
225## begin gnulib module getopt
226
227BUILT_SOURCES += $(GETOPT_H)
228
229# We need the following in order to create <getopt.h> when the system
230# doesn't have one that works with the given compiler.
231getopt.h: getopt.in.h
232	{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
233	  cat $(srcdir)/getopt.in.h; \
234	} > $@-t
235	mv -f $@-t $@
236MOSTLYCLEANFILES += getopt.h getopt.h-t
237
238EXTRA_DIST += getopt.c getopt.in.h getopt1.c getopt_int.h
239
240EXTRA_libsed_a_SOURCES += getopt.c getopt1.c
241
242## end   gnulib module getopt
243
244## begin gnulib module getpagesize
245
246
247EXTRA_DIST += getpagesize.c
248
249EXTRA_libsed_a_SOURCES += getpagesize.c
250
251## end   gnulib module getpagesize
252
253## begin gnulib module gettext
254
255# This is for those projects which use "gettextize --intl" to put a source-code
256# copy of libintl into their package. In such projects, every Makefile.am needs
257# -I$(top_builddir)/intl, so that <libintl.h> can be found in this directory.
258# For the Makefile.ams in other directories it is the maintainer's
259# responsibility; for the one from gnulib we do it here.
260# This option has no effect when the user disables NLS (because then the intl
261# directory contains no libintl.h file) or when the project does not use
262# "gettextize --intl".
263#AM_CPPFLAGS += -I$(top_builddir)/intl
264
265EXTRA_DIST += $(top_srcdir)/build-aux/config.rpath
266
267## end   gnulib module gettext
268
269## begin gnulib module gettext-h
270
271libsed_a_SOURCES += gettext.h
272
273## end   gnulib module gettext-h
274
275## begin gnulib module gettimeofday
276
277
278EXTRA_DIST += gettimeofday.c
279
280EXTRA_libsed_a_SOURCES += gettimeofday.c
281
282## end   gnulib module gettimeofday
283
284## begin gnulib module havelib
285
286
287EXTRA_DIST += $(top_srcdir)/build-aux/config.rpath
288
289## end   gnulib module havelib
290
291## begin gnulib module intprops
292
293
294EXTRA_DIST += intprops.h
295
296## end   gnulib module intprops
297
298## begin gnulib module link-warning
299
300LINK_WARNING_H=$(top_srcdir)/build-aux/link-warning.h
301
302EXTRA_DIST += $(top_srcdir)/build-aux/link-warning.h
303
304## end   gnulib module link-warning
305
306## begin gnulib module localcharset
307
308libsed_a_SOURCES += localcharset.h localcharset.c
309
310# We need the following in order to install a simple file in $(libdir)
311# which is shared with other installed packages. We use a list of referencing
312# packages so that "make uninstall" will remove the file if and only if it
313# is not used by another installed package.
314# On systems with glibc-2.1 or newer, the file is redundant, therefore we
315# avoid installing it.
316
317all-local: charset.alias ref-add.sed ref-del.sed
318
319charset_alias = $(DESTDIR)$(libdir)/charset.alias
320charset_tmp = $(DESTDIR)$(libdir)/charset.tmp
321install-exec-local: install-exec-localcharset
322install-exec-localcharset: all-local
323	if test $(GLIBC21) = no; then \
324	  case '$(host_os)' in \
325	    darwin[56]*) \
326	      need_charset_alias=true ;; \
327	    darwin* | cygwin* | mingw* | pw32* | cegcc*) \
328	      need_charset_alias=false ;; \
329	    *) \
330	      need_charset_alias=true ;; \
331	  esac ; \
332	else \
333	  need_charset_alias=false ; \
334	fi ; \
335	if $$need_charset_alias; then \
336	  $(mkinstalldirs) $(DESTDIR)$(libdir) ; \
337	fi ; \
338	if test -f $(charset_alias); then \
339	  sed -f ref-add.sed $(charset_alias) > $(charset_tmp) ; \
340	  $(INSTALL_DATA) $(charset_tmp) $(charset_alias) ; \
341	  rm -f $(charset_tmp) ; \
342	else \
343	  if $$need_charset_alias; then \
344	    sed -f ref-add.sed charset.alias > $(charset_tmp) ; \
345	    $(INSTALL_DATA) $(charset_tmp) $(charset_alias) ; \
346	    rm -f $(charset_tmp) ; \
347	  fi ; \
348	fi
349
350uninstall-local: uninstall-localcharset
351uninstall-localcharset: all-local
352	if test -f $(charset_alias); then \
353	  sed -f ref-del.sed $(charset_alias) > $(charset_tmp); \
354	  if grep '^# Packages using this file: $$' $(charset_tmp) \
355	      > /dev/null; then \
356	    rm -f $(charset_alias); \
357	  else \
358	    $(INSTALL_DATA) $(charset_tmp) $(charset_alias); \
359	  fi; \
360	  rm -f $(charset_tmp); \
361	fi
362
363charset.alias: config.charset
364	rm -f t-$@ $@
365	$(SHELL) $(srcdir)/config.charset '$(host)' > t-$@
366	mv t-$@ $@
367
368SUFFIXES += .sed .sin
369.sin.sed:
370	rm -f t-$@ $@
371	sed -e '/^#/d' -e 's/@''PACKAGE''@/$(PACKAGE)/g' $< > t-$@
372	mv t-$@ $@
373
374CLEANFILES += charset.alias ref-add.sed ref-del.sed
375
376EXTRA_DIST += config.charset ref-add.sin ref-del.sin
377
378## end   gnulib module localcharset
379
380## begin gnulib module lstat
381
382
383EXTRA_DIST += lstat.c
384
385EXTRA_libsed_a_SOURCES += lstat.c
386
387## end   gnulib module lstat
388
389## begin gnulib module malloc
390
391
392EXTRA_DIST += malloc.c
393
394EXTRA_libsed_a_SOURCES += malloc.c
395
396## end   gnulib module malloc
397
398## begin gnulib module malloc-posix
399
400
401EXTRA_DIST += malloc.c
402
403EXTRA_libsed_a_SOURCES += malloc.c
404
405## end   gnulib module malloc-posix
406
407## begin gnulib module mbrlen
408
409
410EXTRA_DIST += mbrlen.c
411
412EXTRA_libsed_a_SOURCES += mbrlen.c
413
414## end   gnulib module mbrlen
415
416## begin gnulib module mbrtowc
417
418
419EXTRA_DIST += mbrtowc.c
420
421EXTRA_libsed_a_SOURCES += mbrtowc.c
422
423## end   gnulib module mbrtowc
424
425## begin gnulib module mbsinit
426
427
428EXTRA_DIST += mbsinit.c
429
430EXTRA_libsed_a_SOURCES += mbsinit.c
431
432## end   gnulib module mbsinit
433
434## begin gnulib module memchr
435
436
437EXTRA_DIST += memchr.c memchr.valgrind
438
439EXTRA_libsed_a_SOURCES += memchr.c
440
441## end   gnulib module memchr
442
443## begin gnulib module mkstemp
444
445
446EXTRA_DIST += mkstemp.c
447
448EXTRA_libsed_a_SOURCES += mkstemp.c
449
450## end   gnulib module mkstemp
451
452## begin gnulib module obstack
453
454
455EXTRA_DIST += obstack.c obstack.h
456
457EXTRA_libsed_a_SOURCES += obstack.c
458
459## end   gnulib module obstack
460
461## begin gnulib module pathmax
462
463
464EXTRA_DIST += pathmax.h
465
466## end   gnulib module pathmax
467
468## begin gnulib module quote
469
470
471EXTRA_DIST += quote.c quote.h
472
473EXTRA_libsed_a_SOURCES += quote.c
474
475## end   gnulib module quote
476
477## begin gnulib module quotearg
478
479
480EXTRA_DIST += quotearg.c quotearg.h
481
482EXTRA_libsed_a_SOURCES += quotearg.c
483
484## end   gnulib module quotearg
485
486## begin gnulib module realloc-posix
487
488
489EXTRA_DIST += realloc.c
490
491EXTRA_libsed_a_SOURCES += realloc.c
492
493## end   gnulib module realloc-posix
494
495## begin gnulib module regex
496
497
498EXTRA_DIST += regcomp.c regex.c regex.h regex_internal.c regex_internal.h regexec.c
499
500EXTRA_libsed_a_SOURCES += regcomp.c regex.c regex_internal.c regexec.c
501
502## end   gnulib module regex
503
504## begin gnulib module rename
505
506
507EXTRA_DIST += rename.c
508
509EXTRA_libsed_a_SOURCES += rename.c
510
511## end   gnulib module rename
512
513## begin gnulib module selinux-h
514
515libsed_a_SOURCES += se-context.in.h se-selinux.in.h
516
517BUILT_SOURCES += $(SELINUX_SELINUX_H)
518selinux/selinux.h: se-selinux.in.h
519	rm -f $@-t $@
520	$(MKDIR_P) selinux
521	cp $(srcdir)/se-selinux.in.h $@-t
522	chmod a-x $@-t
523	mv $@-t $@
524MOSTLYCLEANFILES += selinux/selinux.h selinux/selinux.h-t
525
526BUILT_SOURCES += $(SELINUX_CONTEXT_H)
527selinux/context.h: se-context.in.h
528	rm -f $@-t $@
529	$(MKDIR_P) selinux
530	cp $(srcdir)/se-context.in.h $@-t
531	chmod a-x $@-t
532	mv $@-t $@
533MOSTLYCLEANFILES += selinux/context.h selinux/context.h-t
534MOSTLYCLEANDIRS += selinux
535
536## end   gnulib module selinux-h
537
538## begin gnulib module stat-macros
539
540
541EXTRA_DIST += stat-macros.h
542
543## end   gnulib module stat-macros
544
545## begin gnulib module stdbool
546
547BUILT_SOURCES += $(STDBOOL_H)
548
549# We need the following in order to create <stdbool.h> when the system
550# doesn't have one that works.
551stdbool.h: stdbool.in.h
552	rm -f $@-t $@
553	{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
554	  sed -e 's/@''HAVE__BOOL''@/$(HAVE__BOOL)/g' < $(srcdir)/stdbool.in.h; \
555	} > $@-t
556	mv $@-t $@
557MOSTLYCLEANFILES += stdbool.h stdbool.h-t
558
559EXTRA_DIST += stdbool.in.h
560
561## end   gnulib module stdbool
562
563## begin gnulib module stdint
564
565BUILT_SOURCES += $(STDINT_H)
566
567# We need the following in order to create <stdint.h> when the system
568# doesn't have one that works with the given compiler.
569stdint.h: stdint.in.h
570	rm -f $@-t $@
571	{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
572	  sed -e 's/@''HAVE_STDINT_H''@/$(HAVE_STDINT_H)/g' \
573	      -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
574	      -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
575	      -e 's|@''NEXT_STDINT_H''@|$(NEXT_STDINT_H)|g' \
576	      -e 's/@''HAVE_SYS_TYPES_H''@/$(HAVE_SYS_TYPES_H)/g' \
577	      -e 's/@''HAVE_INTTYPES_H''@/$(HAVE_INTTYPES_H)/g' \
578	      -e 's/@''HAVE_SYS_INTTYPES_H''@/$(HAVE_SYS_INTTYPES_H)/g' \
579	      -e 's/@''HAVE_SYS_BITYPES_H''@/$(HAVE_SYS_BITYPES_H)/g' \
580	      -e 's/@''HAVE_LONG_LONG_INT''@/$(HAVE_LONG_LONG_INT)/g' \
581	      -e 's/@''HAVE_UNSIGNED_LONG_LONG_INT''@/$(HAVE_UNSIGNED_LONG_LONG_INT)/g' \
582	      -e 's/@''APPLE_UNIVERSAL_BUILD''@/$(APPLE_UNIVERSAL_BUILD)/g' \
583	      -e 's/@''BITSIZEOF_PTRDIFF_T''@/$(BITSIZEOF_PTRDIFF_T)/g' \
584	      -e 's/@''PTRDIFF_T_SUFFIX''@/$(PTRDIFF_T_SUFFIX)/g' \
585	      -e 's/@''BITSIZEOF_SIG_ATOMIC_T''@/$(BITSIZEOF_SIG_ATOMIC_T)/g' \
586	      -e 's/@''HAVE_SIGNED_SIG_ATOMIC_T''@/$(HAVE_SIGNED_SIG_ATOMIC_T)/g' \
587	      -e 's/@''SIG_ATOMIC_T_SUFFIX''@/$(SIG_ATOMIC_T_SUFFIX)/g' \
588	      -e 's/@''BITSIZEOF_SIZE_T''@/$(BITSIZEOF_SIZE_T)/g' \
589	      -e 's/@''SIZE_T_SUFFIX''@/$(SIZE_T_SUFFIX)/g' \
590	      -e 's/@''BITSIZEOF_WCHAR_T''@/$(BITSIZEOF_WCHAR_T)/g' \
591	      -e 's/@''HAVE_SIGNED_WCHAR_T''@/$(HAVE_SIGNED_WCHAR_T)/g' \
592	      -e 's/@''WCHAR_T_SUFFIX''@/$(WCHAR_T_SUFFIX)/g' \
593	      -e 's/@''BITSIZEOF_WINT_T''@/$(BITSIZEOF_WINT_T)/g' \
594	      -e 's/@''HAVE_SIGNED_WINT_T''@/$(HAVE_SIGNED_WINT_T)/g' \
595	      -e 's/@''WINT_T_SUFFIX''@/$(WINT_T_SUFFIX)/g' \
596	      < $(srcdir)/stdint.in.h; \
597	} > $@-t
598	mv $@-t $@
599MOSTLYCLEANFILES += stdint.h stdint.h-t
600
601EXTRA_DIST += stdint.in.h
602
603## end   gnulib module stdint
604
605## begin gnulib module stdio
606
607BUILT_SOURCES += stdio.h
608
609# We need the following in order to create <stdio.h> when the system
610# doesn't have one that works with the given compiler.
611stdio.h: stdio.in.h
612	rm -f $@-t $@
613	{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
614	  sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
615	      -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
616	      -e 's|@''NEXT_STDIO_H''@|$(NEXT_STDIO_H)|g' \
617	      -e 's|@''GNULIB_FPRINTF''@|$(GNULIB_FPRINTF)|g' \
618	      -e 's|@''GNULIB_FPRINTF_POSIX''@|$(GNULIB_FPRINTF_POSIX)|g' \
619	      -e 's|@''GNULIB_PRINTF''@|$(GNULIB_PRINTF)|g' \
620	      -e 's|@''GNULIB_PRINTF_POSIX''@|$(GNULIB_PRINTF_POSIX)|g' \
621	      -e 's|@''GNULIB_SNPRINTF''@|$(GNULIB_SNPRINTF)|g' \
622	      -e 's|@''GNULIB_SPRINTF_POSIX''@|$(GNULIB_SPRINTF_POSIX)|g' \
623	      -e 's|@''GNULIB_VFPRINTF''@|$(GNULIB_VFPRINTF)|g' \
624	      -e 's|@''GNULIB_VFPRINTF_POSIX''@|$(GNULIB_VFPRINTF_POSIX)|g' \
625	      -e 's|@''GNULIB_VPRINTF''@|$(GNULIB_VPRINTF)|g' \
626	      -e 's|@''GNULIB_VPRINTF_POSIX''@|$(GNULIB_VPRINTF_POSIX)|g' \
627	      -e 's|@''GNULIB_VSNPRINTF''@|$(GNULIB_VSNPRINTF)|g' \
628	      -e 's|@''GNULIB_VSPRINTF_POSIX''@|$(GNULIB_VSPRINTF_POSIX)|g' \
629	      -e 's|@''GNULIB_DPRINTF''@|$(GNULIB_DPRINTF)|g' \
630	      -e 's|@''GNULIB_VDPRINTF''@|$(GNULIB_VDPRINTF)|g' \
631	      -e 's|@''GNULIB_VASPRINTF''@|$(GNULIB_VASPRINTF)|g' \
632	      -e 's|@''GNULIB_OBSTACK_PRINTF''@|$(GNULIB_OBSTACK_PRINTF)|g' \
633	      -e 's|@''GNULIB_OBSTACK_PRINTF_POSIX''@|$(GNULIB_OBSTACK_PRINTF_POSIX)|g' \
634	      -e 's|@''GNULIB_FOPEN''@|$(GNULIB_FOPEN)|g' \
635	      -e 's|@''GNULIB_FREOPEN''@|$(GNULIB_FREOPEN)|g' \
636	      -e 's|@''GNULIB_FSEEK''@|$(GNULIB_FSEEK)|g' \
637	      -e 's|@''GNULIB_FSEEKO''@|$(GNULIB_FSEEKO)|g' \
638	      -e 's|@''GNULIB_FTELL''@|$(GNULIB_FTELL)|g' \
639	      -e 's|@''GNULIB_FTELLO''@|$(GNULIB_FTELLO)|g' \
640	      -e 's|@''GNULIB_FFLUSH''@|$(GNULIB_FFLUSH)|g' \
641	      -e 's|@''GNULIB_FPURGE''@|$(GNULIB_FPURGE)|g' \
642	      -e 's|@''GNULIB_FCLOSE''@|$(GNULIB_FCLOSE)|g' \
643	      -e 's|@''GNULIB_FPUTC''@|$(GNULIB_FPUTC)|g' \
644	      -e 's|@''GNULIB_PUTC''@|$(GNULIB_PUTC)|g' \
645	      -e 's|@''GNULIB_PUTCHAR''@|$(GNULIB_PUTCHAR)|g' \
646	      -e 's|@''GNULIB_FPUTS''@|$(GNULIB_FPUTS)|g' \
647	      -e 's|@''GNULIB_PUTS''@|$(GNULIB_PUTS)|g' \
648	      -e 's|@''GNULIB_FWRITE''@|$(GNULIB_FWRITE)|g' \
649	      -e 's|@''GNULIB_GETDELIM''@|$(GNULIB_GETDELIM)|g' \
650	      -e 's|@''GNULIB_GETLINE''@|$(GNULIB_GETLINE)|g' \
651	      -e 's|@''GNULIB_PERROR''@|$(GNULIB_PERROR)|g' \
652	      -e 's|@''GNULIB_STDIO_H_SIGPIPE''@|$(GNULIB_STDIO_H_SIGPIPE)|g' \
653	      -e 's|@''REPLACE_STDIO_WRITE_FUNCS''@|$(REPLACE_STDIO_WRITE_FUNCS)|g' \
654	      -e 's|@''REPLACE_FPRINTF''@|$(REPLACE_FPRINTF)|g' \
655	      -e 's|@''REPLACE_VFPRINTF''@|$(REPLACE_VFPRINTF)|g' \
656	      -e 's|@''REPLACE_PRINTF''@|$(REPLACE_PRINTF)|g' \
657	      -e 's|@''REPLACE_VPRINTF''@|$(REPLACE_VPRINTF)|g' \
658	      -e 's|@''REPLACE_SNPRINTF''@|$(REPLACE_SNPRINTF)|g' \
659	      -e 's|@''HAVE_DECL_SNPRINTF''@|$(HAVE_DECL_SNPRINTF)|g' \
660	      -e 's|@''REPLACE_VSNPRINTF''@|$(REPLACE_VSNPRINTF)|g' \
661	      -e 's|@''HAVE_DECL_VSNPRINTF''@|$(HAVE_DECL_VSNPRINTF)|g' \
662	      -e 's|@''REPLACE_SPRINTF''@|$(REPLACE_SPRINTF)|g' \
663	      -e 's|@''REPLACE_VSPRINTF''@|$(REPLACE_VSPRINTF)|g' \
664	      -e 's|@''HAVE_DPRINTF''@|$(HAVE_DPRINTF)|g' \
665	      -e 's|@''REPLACE_DPRINTF''@|$(REPLACE_DPRINTF)|g' \
666	      -e 's|@''HAVE_VDPRINTF''@|$(HAVE_VDPRINTF)|g' \
667	      -e 's|@''REPLACE_VDPRINTF''@|$(REPLACE_VDPRINTF)|g' \
668	      -e 's|@''HAVE_VASPRINTF''@|$(HAVE_VASPRINTF)|g' \
669	      -e 's|@''REPLACE_VASPRINTF''@|$(REPLACE_VASPRINTF)|g' \
670	      -e 's|@''HAVE_DECL_OBSTACK_PRINTF''@|$(HAVE_DECL_OBSTACK_PRINTF)|g' \
671	      -e 's|@''REPLACE_OBSTACK_PRINTF''@|$(REPLACE_OBSTACK_PRINTF)|g' \
672	      -e 's|@''REPLACE_FOPEN''@|$(REPLACE_FOPEN)|g' \
673	      -e 's|@''REPLACE_FREOPEN''@|$(REPLACE_FREOPEN)|g' \
674	      -e 's|@''REPLACE_FSEEKO''@|$(REPLACE_FSEEKO)|g' \
675	      -e 's|@''REPLACE_FSEEK''@|$(REPLACE_FSEEK)|g' \
676	      -e 's|@''REPLACE_FTELLO''@|$(REPLACE_FTELLO)|g' \
677	      -e 's|@''REPLACE_FTELL''@|$(REPLACE_FTELL)|g' \
678	      -e 's|@''REPLACE_FFLUSH''@|$(REPLACE_FFLUSH)|g' \
679	      -e 's|@''REPLACE_FPURGE''@|$(REPLACE_FPURGE)|g' \
680	      -e 's|@''HAVE_DECL_FPURGE''@|$(HAVE_DECL_FPURGE)|g' \
681	      -e 's|@''REPLACE_FCLOSE''@|$(REPLACE_FCLOSE)|g' \
682	      -e 's|@''HAVE_DECL_GETDELIM''@|$(HAVE_DECL_GETDELIM)|g' \
683	      -e 's|@''HAVE_DECL_GETLINE''@|$(HAVE_DECL_GETLINE)|g' \
684	      -e 's|@''REPLACE_GETLINE''@|$(REPLACE_GETLINE)|g' \
685	      -e 's|@''REPLACE_PERROR''@|$(REPLACE_PERROR)|g' \
686	      -e '/definition of GL_LINK_WARNING/r $(LINK_WARNING_H)' \
687	      < $(srcdir)/stdio.in.h; \
688	} > $@-t
689	mv $@-t $@
690MOSTLYCLEANFILES += stdio.h stdio.h-t
691
692EXTRA_DIST += stdio-write.c stdio.in.h
693
694EXTRA_libsed_a_SOURCES += stdio-write.c
695
696## end   gnulib module stdio
697
698## begin gnulib module stdlib
699
700BUILT_SOURCES += stdlib.h
701
702# We need the following in order to create <stdlib.h> when the system
703# doesn't have one that works with the given compiler.
704stdlib.h: stdlib.in.h
705	rm -f $@-t $@
706	{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
707	  sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
708	      -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
709	      -e 's|@''NEXT_STDLIB_H''@|$(NEXT_STDLIB_H)|g' \
710	      -e 's|@''HAVE_RANDOM_H''@|$(HAVE_RANDOM_H)|g' \
711	      -e 's|@''GNULIB_MALLOC_POSIX''@|$(GNULIB_MALLOC_POSIX)|g' \
712	      -e 's|@''GNULIB_REALLOC_POSIX''@|$(GNULIB_REALLOC_POSIX)|g' \
713	      -e 's|@''GNULIB_CALLOC_POSIX''@|$(GNULIB_CALLOC_POSIX)|g' \
714	      -e 's|@''GNULIB_ATOLL''@|$(GNULIB_ATOLL)|g' \
715	      -e 's|@''GNULIB_GETLOADAVG''@|$(GNULIB_GETLOADAVG)|g' \
716	      -e 's|@''GNULIB_GETSUBOPT''@|$(GNULIB_GETSUBOPT)|g' \
717	      -e 's|@''GNULIB_MKDTEMP''@|$(GNULIB_MKDTEMP)|g' \
718	      -e 's|@''GNULIB_MKSTEMP''@|$(GNULIB_MKSTEMP)|g' \
719	      -e 's|@''GNULIB_PUTENV''@|$(GNULIB_PUTENV)|g' \
720	      -e 's|@''GNULIB_RANDOM_R''@|$(GNULIB_RANDOM_R)|g' \
721	      -e 's|@''GNULIB_RPMATCH''@|$(GNULIB_RPMATCH)|g' \
722	      -e 's|@''GNULIB_SETENV''@|$(GNULIB_SETENV)|g' \
723	      -e 's|@''GNULIB_STRTOD''@|$(GNULIB_STRTOD)|g' \
724	      -e 's|@''GNULIB_STRTOLL''@|$(GNULIB_STRTOLL)|g' \
725	      -e 's|@''GNULIB_STRTOULL''@|$(GNULIB_STRTOULL)|g' \
726	      -e 's|@''GNULIB_UNSETENV''@|$(GNULIB_UNSETENV)|g' \
727	      -e 's|@''HAVE_ATOLL''@|$(HAVE_ATOLL)|g' \
728	      -e 's|@''HAVE_CALLOC_POSIX''@|$(HAVE_CALLOC_POSIX)|g' \
729	      -e 's|@''HAVE_GETSUBOPT''@|$(HAVE_GETSUBOPT)|g' \
730	      -e 's|@''HAVE_MALLOC_POSIX''@|$(HAVE_MALLOC_POSIX)|g' \
731	      -e 's|@''HAVE_MKDTEMP''@|$(HAVE_MKDTEMP)|g' \
732	      -e 's|@''HAVE_REALLOC_POSIX''@|$(HAVE_REALLOC_POSIX)|g' \
733	      -e 's|@''HAVE_RANDOM_R''@|$(HAVE_RANDOM_R)|g' \
734	      -e 's|@''HAVE_RPMATCH''@|$(HAVE_RPMATCH)|g' \
735	      -e 's|@''HAVE_SETENV''@|$(HAVE_SETENV)|g' \
736	      -e 's|@''HAVE_STRTOD''@|$(HAVE_STRTOD)|g' \
737	      -e 's|@''HAVE_STRTOLL''@|$(HAVE_STRTOLL)|g' \
738	      -e 's|@''HAVE_STRTOULL''@|$(HAVE_STRTOULL)|g' \
739	      -e 's|@''HAVE_STRUCT_RANDOM_DATA''@|$(HAVE_STRUCT_RANDOM_DATA)|g' \
740	      -e 's|@''HAVE_SYS_LOADAVG_H''@|$(HAVE_SYS_LOADAVG_H)|g' \
741	      -e 's|@''HAVE_UNSETENV''@|$(HAVE_UNSETENV)|g' \
742	      -e 's|@''HAVE_DECL_GETLOADAVG''@|$(HAVE_DECL_GETLOADAVG)|g' \
743	      -e 's|@''REPLACE_MKSTEMP''@|$(REPLACE_MKSTEMP)|g' \
744	      -e 's|@''REPLACE_PUTENV''@|$(REPLACE_PUTENV)|g' \
745	      -e 's|@''REPLACE_STRTOD''@|$(REPLACE_STRTOD)|g' \
746	      -e 's|@''VOID_UNSETENV''@|$(VOID_UNSETENV)|g' \
747	      -e '/definition of GL_LINK_WARNING/r $(LINK_WARNING_H)' \
748	      < $(srcdir)/stdlib.in.h; \
749	} > $@-t
750	mv $@-t $@
751MOSTLYCLEANFILES += stdlib.h stdlib.h-t
752
753EXTRA_DIST += stdlib.in.h
754
755## end   gnulib module stdlib
756
757## begin gnulib module streq
758
759
760EXTRA_DIST += streq.h
761
762## end   gnulib module streq
763
764## begin gnulib module strerror
765
766
767EXTRA_DIST += strerror.c
768
769EXTRA_libsed_a_SOURCES += strerror.c
770
771## end   gnulib module strerror
772
773## begin gnulib module string
774
775BUILT_SOURCES += string.h
776
777# We need the following in order to create <string.h> when the system
778# doesn't have one that works with the given compiler.
779string.h: string.in.h
780	rm -f $@-t $@
781	{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
782	  sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
783	      -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
784	      -e 's|@''NEXT_STRING_H''@|$(NEXT_STRING_H)|g' \
785	      -e 's|@''GNULIB_MBSLEN''@|$(GNULIB_MBSLEN)|g' \
786	      -e 's|@''GNULIB_MBSNLEN''@|$(GNULIB_MBSNLEN)|g' \
787	      -e 's|@''GNULIB_MBSCHR''@|$(GNULIB_MBSCHR)|g' \
788	      -e 's|@''GNULIB_MBSRCHR''@|$(GNULIB_MBSRCHR)|g' \
789	      -e 's|@''GNULIB_MBSSTR''@|$(GNULIB_MBSSTR)|g' \
790	      -e 's|@''GNULIB_MBSCASECMP''@|$(GNULIB_MBSCASECMP)|g' \
791	      -e 's|@''GNULIB_MBSNCASECMP''@|$(GNULIB_MBSNCASECMP)|g' \
792	      -e 's|@''GNULIB_MBSPCASECMP''@|$(GNULIB_MBSPCASECMP)|g' \
793	      -e 's|@''GNULIB_MBSCASESTR''@|$(GNULIB_MBSCASESTR)|g' \
794	      -e 's|@''GNULIB_MBSCSPN''@|$(GNULIB_MBSCSPN)|g' \
795	      -e 's|@''GNULIB_MBSPBRK''@|$(GNULIB_MBSPBRK)|g' \
796	      -e 's|@''GNULIB_MBSSPN''@|$(GNULIB_MBSSPN)|g' \
797	      -e 's|@''GNULIB_MBSSEP''@|$(GNULIB_MBSSEP)|g' \
798	      -e 's|@''GNULIB_MBSTOK_R''@|$(GNULIB_MBSTOK_R)|g' \
799	      -e 's|@''GNULIB_MEMCHR''@|$(GNULIB_MEMCHR)|g' \
800	      -e 's|@''GNULIB_MEMMEM''@|$(GNULIB_MEMMEM)|g' \
801	      -e 's|@''GNULIB_MEMPCPY''@|$(GNULIB_MEMPCPY)|g' \
802	      -e 's|@''GNULIB_MEMRCHR''@|$(GNULIB_MEMRCHR)|g' \
803	      -e 's|@''GNULIB_RAWMEMCHR''@|$(GNULIB_RAWMEMCHR)|g' \
804	      -e 's|@''GNULIB_STPCPY''@|$(GNULIB_STPCPY)|g' \
805	      -e 's|@''GNULIB_STPNCPY''@|$(GNULIB_STPNCPY)|g' \
806	      -e 's|@''GNULIB_STRCHRNUL''@|$(GNULIB_STRCHRNUL)|g' \
807	      -e 's|@''GNULIB_STRDUP''@|$(GNULIB_STRDUP)|g' \
808	      -e 's|@''GNULIB_STRNDUP''@|$(GNULIB_STRNDUP)|g' \
809	      -e 's|@''GNULIB_STRNLEN''@|$(GNULIB_STRNLEN)|g' \
810	      -e 's|@''GNULIB_STRPBRK''@|$(GNULIB_STRPBRK)|g' \
811	      -e 's|@''GNULIB_STRSEP''@|$(GNULIB_STRSEP)|g' \
812	      -e 's|@''GNULIB_STRSTR''@|$(GNULIB_STRSTR)|g' \
813	      -e 's|@''GNULIB_STRCASESTR''@|$(GNULIB_STRCASESTR)|g' \
814	      -e 's|@''GNULIB_STRTOK_R''@|$(GNULIB_STRTOK_R)|g' \
815	      -e 's|@''GNULIB_STRERROR''@|$(GNULIB_STRERROR)|g' \
816	      -e 's|@''GNULIB_STRSIGNAL''@|$(GNULIB_STRSIGNAL)|g' \
817	      -e 's|@''GNULIB_STRVERSCMP''@|$(GNULIB_STRVERSCMP)|g' \
818	      -e 's|@''HAVE_DECL_MEMMEM''@|$(HAVE_DECL_MEMMEM)|g' \
819	      -e 's|@''HAVE_MEMPCPY''@|$(HAVE_MEMPCPY)|g' \
820	      -e 's|@''HAVE_DECL_MEMRCHR''@|$(HAVE_DECL_MEMRCHR)|g' \
821	      -e 's|@''HAVE_RAWMEMCHR''@|$(HAVE_RAWMEMCHR)|g' \
822	      -e 's|@''HAVE_STPCPY''@|$(HAVE_STPCPY)|g' \
823	      -e 's|@''HAVE_STPNCPY''@|$(HAVE_STPNCPY)|g' \
824	      -e 's|@''HAVE_STRCHRNUL''@|$(HAVE_STRCHRNUL)|g' \
825	      -e 's|@''HAVE_DECL_STRDUP''@|$(HAVE_DECL_STRDUP)|g' \
826	      -e 's|@''HAVE_STRNDUP''@|$(HAVE_STRNDUP)|g' \
827	      -e 's|@''HAVE_DECL_STRNDUP''@|$(HAVE_DECL_STRNDUP)|g' \
828	      -e 's|@''HAVE_DECL_STRNLEN''@|$(HAVE_DECL_STRNLEN)|g' \
829	      -e 's|@''HAVE_STRPBRK''@|$(HAVE_STRPBRK)|g' \
830	      -e 's|@''HAVE_STRSEP''@|$(HAVE_STRSEP)|g' \
831	      -e 's|@''HAVE_STRCASESTR''@|$(HAVE_STRCASESTR)|g' \
832	      -e 's|@''HAVE_DECL_STRTOK_R''@|$(HAVE_DECL_STRTOK_R)|g' \
833	      -e 's|@''HAVE_DECL_STRERROR''@|$(HAVE_DECL_STRERROR)|g' \
834	      -e 's|@''HAVE_DECL_STRSIGNAL''@|$(HAVE_DECL_STRSIGNAL)|g' \
835	      -e 's|@''HAVE_STRVERSCMP''@|$(HAVE_STRVERSCMP)|g' \
836	      -e 's|@''REPLACE_MEMCHR''@|$(REPLACE_MEMCHR)|g' \
837	      -e 's|@''REPLACE_MEMMEM''@|$(REPLACE_MEMMEM)|g' \
838	      -e 's|@''REPLACE_STRCASESTR''@|$(REPLACE_STRCASESTR)|g' \
839	      -e 's|@''REPLACE_STRDUP''@|$(REPLACE_STRDUP)|g' \
840	      -e 's|@''REPLACE_STRSTR''@|$(REPLACE_STRSTR)|g' \
841	      -e 's|@''REPLACE_STRERROR''@|$(REPLACE_STRERROR)|g' \
842	      -e 's|@''REPLACE_STRSIGNAL''@|$(REPLACE_STRSIGNAL)|g' \
843	      -e '/definition of GL_LINK_WARNING/r $(LINK_WARNING_H)' \
844	      < $(srcdir)/string.in.h; \
845	} > $@-t
846	mv $@-t $@
847MOSTLYCLEANFILES += string.h string.h-t
848
849EXTRA_DIST += string.in.h
850
851## end   gnulib module string
852
853## begin gnulib module strndup
854
855
856EXTRA_DIST += strndup.c
857
858EXTRA_libsed_a_SOURCES += strndup.c
859
860## end   gnulib module strndup
861
862## begin gnulib module strnlen
863
864
865EXTRA_DIST += strnlen.c
866
867EXTRA_libsed_a_SOURCES += strnlen.c
868
869## end   gnulib module strnlen
870
871## begin gnulib module strverscmp
872
873
874EXTRA_DIST += strverscmp.c
875
876EXTRA_libsed_a_SOURCES += strverscmp.c
877
878## end   gnulib module strverscmp
879
880## begin gnulib module sys_stat
881
882BUILT_SOURCES += $(SYS_STAT_H)
883
884# We need the following in order to create <sys/stat.h> when the system
885# has one that is incomplete.
886sys/stat.h: sys_stat.in.h
887	@MKDIR_P@ sys
888	rm -f $@-t $@
889	{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
890	  sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
891	      -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
892	      -e 's|@''NEXT_SYS_STAT_H''@|$(NEXT_SYS_STAT_H)|g' \
893	      -e 's|@''GNULIB_LCHMOD''@|$(GNULIB_LCHMOD)|g' \
894	      -e 's|@''GNULIB_LSTAT''@|$(GNULIB_LSTAT)|g' \
895	      -e 's|@''HAVE_LCHMOD''@|$(HAVE_LCHMOD)|g' \
896	      -e 's|@''HAVE_LSTAT''@|$(HAVE_LSTAT)|g' \
897	      -e 's|@''REPLACE_LSTAT''@|$(REPLACE_LSTAT)|g' \
898	      -e 's|@''REPLACE_MKDIR''@|$(REPLACE_MKDIR)|g' \
899	      -e '/definition of GL_LINK_WARNING/r $(LINK_WARNING_H)' \
900	      < $(srcdir)/sys_stat.in.h; \
901	} > $@-t
902	mv $@-t $@
903MOSTLYCLEANFILES += sys/stat.h sys/stat.h-t
904MOSTLYCLEANDIRS += sys
905
906EXTRA_DIST += sys_stat.in.h
907
908## end   gnulib module sys_stat
909
910## begin gnulib module sys_time
911
912BUILT_SOURCES += $(SYS_TIME_H)
913
914# We need the following in order to create <sys/time.h> when the system
915# doesn't have one that works with the given compiler.
916sys/time.h: sys_time.in.h
917	@MKDIR_P@ sys
918	rm -f $@-t $@
919	{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
920	  sed -e 's/@''HAVE_SYS_TIME_H''@/$(HAVE_SYS_TIME_H)/g' \
921	      -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
922	      -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
923	      -e 's|@''NEXT_SYS_TIME_H''@|$(NEXT_SYS_TIME_H)|g' \
924	      -e 's/@''REPLACE_GETTIMEOFDAY''@/$(REPLACE_GETTIMEOFDAY)/g' \
925	      -e 's/@''HAVE_STRUCT_TIMEVAL''@/$(HAVE_STRUCT_TIMEVAL)/g' \
926	      < $(srcdir)/sys_time.in.h; \
927	} > $@-t
928	mv $@-t $@
929MOSTLYCLEANFILES += sys/time.h sys/time.h-t
930
931EXTRA_DIST += sys_time.in.h
932
933## end   gnulib module sys_time
934
935## begin gnulib module tempname
936
937
938EXTRA_DIST += tempname.c tempname.h
939
940EXTRA_libsed_a_SOURCES += tempname.c
941
942## end   gnulib module tempname
943
944## begin gnulib module unistd
945
946BUILT_SOURCES += unistd.h
947
948# We need the following in order to create an empty placeholder for
949# <unistd.h> when the system doesn't have one.
950unistd.h: unistd.in.h
951	rm -f $@-t $@
952	{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
953	  sed -e 's|@''HAVE_UNISTD_H''@|$(HAVE_UNISTD_H)|g' \
954	      -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
955	      -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
956	      -e 's|@''NEXT_UNISTD_H''@|$(NEXT_UNISTD_H)|g' \
957	      -e 's|@''GNULIB_CHOWN''@|$(GNULIB_CHOWN)|g' \
958	      -e 's|@''GNULIB_CLOSE''@|$(GNULIB_CLOSE)|g' \
959	      -e 's|@''GNULIB_DUP2''@|$(GNULIB_DUP2)|g' \
960	      -e 's|@''GNULIB_ENVIRON''@|$(GNULIB_ENVIRON)|g' \
961	      -e 's|@''GNULIB_EUIDACCESS''@|$(GNULIB_EUIDACCESS)|g' \
962	      -e 's|@''GNULIB_FCHDIR''@|$(GNULIB_FCHDIR)|g' \
963	      -e 's|@''GNULIB_FSYNC''@|$(GNULIB_FSYNC)|g' \
964	      -e 's|@''GNULIB_FTRUNCATE''@|$(GNULIB_FTRUNCATE)|g' \
965	      -e 's|@''GNULIB_GETCWD''@|$(GNULIB_GETCWD)|g' \
966	      -e 's|@''GNULIB_GETDOMAINNAME''@|$(GNULIB_GETDOMAINNAME)|g' \
967	      -e 's|@''GNULIB_GETDTABLESIZE''@|$(GNULIB_GETDTABLESIZE)|g' \
968	      -e 's|@''GNULIB_GETHOSTNAME''@|$(GNULIB_GETHOSTNAME)|g' \
969	      -e 's|@''GNULIB_GETLOGIN_R''@|$(GNULIB_GETLOGIN_R)|g' \
970	      -e 's|@''GNULIB_GETPAGESIZE''@|$(GNULIB_GETPAGESIZE)|g' \
971	      -e 's|@''GNULIB_GETUSERSHELL''@|$(GNULIB_GETUSERSHELL)|g' \
972	      -e 's|@''GNULIB_LCHOWN''@|$(GNULIB_LCHOWN)|g' \
973	      -e 's|@''GNULIB_LINK''@|$(GNULIB_LINK)|g' \
974	      -e 's|@''GNULIB_LSEEK''@|$(GNULIB_LSEEK)|g' \
975	      -e 's|@''GNULIB_READLINK''@|$(GNULIB_READLINK)|g' \
976	      -e 's|@''GNULIB_SLEEP''@|$(GNULIB_SLEEP)|g' \
977	      -e 's|@''GNULIB_UNISTD_H_SIGPIPE''@|$(GNULIB_UNISTD_H_SIGPIPE)|g' \
978	      -e 's|@''GNULIB_WRITE''@|$(GNULIB_WRITE)|g' \
979	      -e 's|@''HAVE_DUP2''@|$(HAVE_DUP2)|g' \
980	      -e 's|@''HAVE_EUIDACCESS''@|$(HAVE_EUIDACCESS)|g' \
981	      -e 's|@''HAVE_FSYNC''@|$(HAVE_FSYNC)|g' \
982	      -e 's|@''HAVE_FTRUNCATE''@|$(HAVE_FTRUNCATE)|g' \
983	      -e 's|@''HAVE_GETDOMAINNAME''@|$(HAVE_GETDOMAINNAME)|g' \
984	      -e 's|@''HAVE_GETDTABLESIZE''@|$(HAVE_GETDTABLESIZE)|g' \
985	      -e 's|@''HAVE_GETHOSTNAME''@|$(HAVE_GETHOSTNAME)|g' \
986	      -e 's|@''HAVE_GETPAGESIZE''@|$(HAVE_GETPAGESIZE)|g' \
987	      -e 's|@''HAVE_GETUSERSHELL''@|$(HAVE_GETUSERSHELL)|g' \
988	      -e 's|@''HAVE_LINK''@|$(HAVE_LINK)|g' \
989	      -e 's|@''HAVE_READLINK''@|$(HAVE_READLINK)|g' \
990	      -e 's|@''HAVE_SLEEP''@|$(HAVE_SLEEP)|g' \
991	      -e 's|@''HAVE_DECL_ENVIRON''@|$(HAVE_DECL_ENVIRON)|g' \
992	      -e 's|@''HAVE_DECL_GETLOGIN_R''@|$(HAVE_DECL_GETLOGIN_R)|g' \
993	      -e 's|@''HAVE_OS_H''@|$(HAVE_OS_H)|g' \
994	      -e 's|@''HAVE_SYS_PARAM_H''@|$(HAVE_SYS_PARAM_H)|g' \
995	      -e 's|@''REPLACE_CHOWN''@|$(REPLACE_CHOWN)|g' \
996	      -e 's|@''REPLACE_CLOSE''@|$(REPLACE_CLOSE)|g' \
997	      -e 's|@''REPLACE_FCHDIR''@|$(REPLACE_FCHDIR)|g' \
998	      -e 's|@''REPLACE_GETCWD''@|$(REPLACE_GETCWD)|g' \
999	      -e 's|@''REPLACE_GETPAGESIZE''@|$(REPLACE_GETPAGESIZE)|g' \
1000	      -e 's|@''REPLACE_LCHOWN''@|$(REPLACE_LCHOWN)|g' \
1001	      -e 's|@''REPLACE_LSEEK''@|$(REPLACE_LSEEK)|g' \
1002	      -e 's|@''REPLACE_WRITE''@|$(REPLACE_WRITE)|g' \
1003	      -e 's|@''UNISTD_H_HAVE_WINSOCK2_H''@|$(UNISTD_H_HAVE_WINSOCK2_H)|g' \
1004	      -e '/definition of GL_LINK_WARNING/r $(LINK_WARNING_H)' \
1005	      < $(srcdir)/unistd.in.h; \
1006	} > $@-t
1007	mv $@-t $@
1008MOSTLYCLEANFILES += unistd.h unistd.h-t
1009
1010EXTRA_DIST += unistd.in.h
1011
1012## end   gnulib module unistd
1013
1014## begin gnulib module unlocked-io
1015
1016
1017EXTRA_DIST += unlocked-io.h
1018
1019## end   gnulib module unlocked-io
1020
1021## begin gnulib module verify
1022
1023libsed_a_SOURCES += verify.h
1024
1025## end   gnulib module verify
1026
1027## begin gnulib module wchar
1028
1029BUILT_SOURCES += $(WCHAR_H)
1030
1031# We need the following in order to create <wchar.h> when the system
1032# version does not work standalone.
1033wchar.h: wchar.in.h
1034	rm -f $@-t $@
1035	{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
1036	  sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1037	      -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1038	      -e 's|@''NEXT_WCHAR_H''@|$(NEXT_WCHAR_H)|g' \
1039	      -e 's|@''HAVE_WCHAR_H''@|$(HAVE_WCHAR_H)|g' \
1040	      -e 's|@''GNULIB_BTOWC''@|$(GNULIB_BTOWC)|g' \
1041	      -e 's|@''GNULIB_WCTOB''@|$(GNULIB_WCTOB)|g' \
1042	      -e 's|@''GNULIB_MBSINIT''@|$(GNULIB_MBSINIT)|g' \
1043	      -e 's|@''GNULIB_MBRTOWC''@|$(GNULIB_MBRTOWC)|g' \
1044	      -e 's|@''GNULIB_MBRLEN''@|$(GNULIB_MBRLEN)|g' \
1045	      -e 's|@''GNULIB_MBSRTOWCS''@|$(GNULIB_MBSRTOWCS)|g' \
1046	      -e 's|@''GNULIB_MBSNRTOWCS''@|$(GNULIB_MBSNRTOWCS)|g' \
1047	      -e 's|@''GNULIB_WCRTOMB''@|$(GNULIB_WCRTOMB)|g' \
1048	      -e 's|@''GNULIB_WCSRTOMBS''@|$(GNULIB_WCSRTOMBS)|g' \
1049	      -e 's|@''GNULIB_WCSNRTOMBS''@|$(GNULIB_WCSNRTOMBS)|g' \
1050	      -e 's|@''GNULIB_WCWIDTH''@|$(GNULIB_WCWIDTH)|g' \
1051	      -e 's|@''HAVE_WINT_T''@|$(HAVE_WINT_T)|g' \
1052	      -e 's|@''HAVE_BTOWC''@|$(HAVE_BTOWC)|g' \
1053	      -e 's|@''HAVE_MBSINIT''@|$(HAVE_MBSINIT)|g' \
1054	      -e 's|@''HAVE_MBRTOWC''@|$(HAVE_MBRTOWC)|g' \
1055	      -e 's|@''HAVE_MBRLEN''@|$(HAVE_MBRLEN)|g' \
1056	      -e 's|@''HAVE_MBSRTOWCS''@|$(HAVE_MBSRTOWCS)|g' \
1057	      -e 's|@''HAVE_MBSNRTOWCS''@|$(HAVE_MBSNRTOWCS)|g' \
1058	      -e 's|@''HAVE_WCRTOMB''@|$(HAVE_WCRTOMB)|g' \
1059	      -e 's|@''HAVE_WCSRTOMBS''@|$(HAVE_WCSRTOMBS)|g' \
1060	      -e 's|@''HAVE_WCSNRTOMBS''@|$(HAVE_WCSNRTOMBS)|g' \
1061	      -e 's|@''HAVE_DECL_WCTOB''@|$(HAVE_DECL_WCTOB)|g' \
1062	      -e 's|@''HAVE_DECL_WCWIDTH''@|$(HAVE_DECL_WCWIDTH)|g' \
1063	      -e 's|@''REPLACE_MBSTATE_T''@|$(REPLACE_MBSTATE_T)|g' \
1064	      -e 's|@''REPLACE_BTOWC''@|$(REPLACE_BTOWC)|g' \
1065	      -e 's|@''REPLACE_WCTOB''@|$(REPLACE_WCTOB)|g' \
1066	      -e 's|@''REPLACE_MBSINIT''@|$(REPLACE_MBSINIT)|g' \
1067	      -e 's|@''REPLACE_MBRTOWC''@|$(REPLACE_MBRTOWC)|g' \
1068	      -e 's|@''REPLACE_MBRLEN''@|$(REPLACE_MBRLEN)|g' \
1069	      -e 's|@''REPLACE_MBSRTOWCS''@|$(REPLACE_MBSRTOWCS)|g' \
1070	      -e 's|@''REPLACE_MBSNRTOWCS''@|$(REPLACE_MBSNRTOWCS)|g' \
1071	      -e 's|@''REPLACE_WCRTOMB''@|$(REPLACE_WCRTOMB)|g' \
1072	      -e 's|@''REPLACE_WCSRTOMBS''@|$(REPLACE_WCSRTOMBS)|g' \
1073	      -e 's|@''REPLACE_WCSNRTOMBS''@|$(REPLACE_WCSNRTOMBS)|g' \
1074	      -e 's|@''REPLACE_WCWIDTH''@|$(REPLACE_WCWIDTH)|g' \
1075	      -e '/definition of GL_LINK_WARNING/r $(LINK_WARNING_H)' \
1076	    < $(srcdir)/wchar.in.h; \
1077	} > $@-t
1078	mv $@-t $@
1079MOSTLYCLEANFILES += wchar.h wchar.h-t
1080
1081EXTRA_DIST += wchar.in.h
1082
1083## end   gnulib module wchar
1084
1085## begin gnulib module wcrtomb
1086
1087
1088EXTRA_DIST += wcrtomb.c
1089
1090EXTRA_libsed_a_SOURCES += wcrtomb.c
1091
1092## end   gnulib module wcrtomb
1093
1094## begin gnulib module wctob
1095
1096
1097EXTRA_DIST += wctob.c
1098
1099EXTRA_libsed_a_SOURCES += wctob.c
1100
1101## end   gnulib module wctob
1102
1103## begin gnulib module wctype
1104
1105BUILT_SOURCES += $(WCTYPE_H)
1106
1107# We need the following in order to create <wctype.h> when the system
1108# doesn't have one that works with the given compiler.
1109wctype.h: wctype.in.h
1110	rm -f $@-t $@
1111	{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
1112	  sed -e 's/@''HAVE_WCTYPE_H''@/$(HAVE_WCTYPE_H)/g' \
1113	      -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1114	      -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1115	      -e 's|@''NEXT_WCTYPE_H''@|$(NEXT_WCTYPE_H)|g' \
1116	      -e 's/@''HAVE_ISWCNTRL''@/$(HAVE_ISWCNTRL)/g' \
1117	      -e 's/@''HAVE_WINT_T''@/$(HAVE_WINT_T)/g' \
1118	      -e 's/@''REPLACE_ISWCNTRL''@/$(REPLACE_ISWCNTRL)/g' \
1119	      < $(srcdir)/wctype.in.h; \
1120	} > $@-t
1121	mv $@-t $@
1122MOSTLYCLEANFILES += wctype.h wctype.h-t
1123
1124EXTRA_DIST += wctype.in.h
1125
1126## end   gnulib module wctype
1127
1128## begin gnulib module xalloc
1129
1130
1131EXTRA_DIST += xalloc.h xmalloc.c
1132
1133EXTRA_libsed_a_SOURCES += xmalloc.c
1134
1135## end   gnulib module xalloc
1136
1137## begin gnulib module xalloc-die
1138
1139libsed_a_SOURCES += xalloc-die.c
1140
1141## end   gnulib module xalloc-die
1142
1143## begin gnulib module xstrndup
1144
1145libsed_a_SOURCES += xstrndup.h xstrndup.c
1146
1147## end   gnulib module xstrndup
1148
1149
1150mostlyclean-local: mostlyclean-generic
1151	@for dir in '' $(MOSTLYCLEANDIRS); do \
1152	  if test -n "$$dir" && test -d $$dir; then \
1153	    echo "rmdir $$dir"; rmdir $$dir; \
1154	  fi; \
1155	done; \
1156	:
1157