• Home
  • History
  • Annotate
  • Line#
  • Navigate
  • Raw
  • Download
  • only in /netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/timemachine/gettext-0.17/gettext-runtime/gnulib-lib/
1## DO NOT EDIT! GENERATED AUTOMATICALLY!
2## Process this file with automake to produce Makefile.in.
3# Copyright (C) 2004-2007 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=gettext-runtime --local-dir=gnulib-local --lib=libgrt --source-base=gnulib-lib --m4-base=gnulib-m4 --doc-base=doc --aux-dir=../build-aux --no-libtool --macro-prefix=gl atexit basename closeout csharpcomp-script error exit getopt gettext-h gettext-runtime-misc java javacomp-script memmove progname propername relocatable-prog stdbool strtoul unlocked-io xalloc
13
14AUTOMAKE_OPTIONS = 1.5 gnits subdir-objects
15
16noinst_HEADERS =
17noinst_LIBRARIES =
18noinst_LTLIBRARIES =
19EXTRA_DIST =
20BUILT_SOURCES =
21SUFFIXES =
22MOSTLYCLEANFILES = core *.stackdump
23MOSTLYCLEANDIRS =
24CLEANFILES =
25DISTCLEANFILES =
26MAINTAINERCLEANFILES =
27
28AM_CPPFLAGS =
29
30noinst_LIBRARIES += libgrt.a
31
32libgrt_a_SOURCES =
33libgrt_a_LIBADD = $(gl_LIBOBJS)
34libgrt_a_DEPENDENCIES = $(gl_LIBOBJS)
35EXTRA_libgrt_a_SOURCES =
36
37## begin gnulib module absolute-header
38
39# Use this preprocessor expression to decide whether #include_next works.
40# Do not rely on a 'configure'-time test for this, since the expression
41# might appear in an installed header, which is used by some other compiler.
42HAVE_INCLUDE_NEXT = (__GNUC__ || 60000000 <= __DECC_VER)
43
44## end   gnulib module absolute-header
45
46## begin gnulib module alloca-opt
47
48BUILT_SOURCES += $(ALLOCA_H)
49
50# We need the following in order to create <alloca.h> when the system
51# doesn't have one that works with the given compiler.
52alloca.h: alloca.in.h
53	{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
54	  cat $(srcdir)/alloca.in.h; \
55	} > $@-t
56	mv -f $@-t $@
57MOSTLYCLEANFILES += alloca.h alloca.h-t
58
59EXTRA_DIST += alloca.in.h
60
61## end   gnulib module alloca-opt
62
63## begin gnulib module areadlink
64
65libgrt_a_SOURCES += areadlink.c
66
67EXTRA_DIST += areadlink.h
68
69## end   gnulib module areadlink
70
71## begin gnulib module atexit
72
73
74EXTRA_DIST += atexit.c
75
76EXTRA_libgrt_a_SOURCES += atexit.c
77
78## end   gnulib module atexit
79
80## begin gnulib module basename
81
82libgrt_a_SOURCES += basename.h basename.c
83
84## end   gnulib module basename
85
86## begin gnulib module c-ctype
87
88libgrt_a_SOURCES += c-ctype.h c-ctype.c
89
90## end   gnulib module c-ctype
91
92## begin gnulib module c-strcase
93
94libgrt_a_SOURCES += c-strcase.h c-strcasecmp.c c-strncasecmp.c
95
96## end   gnulib module c-strcase
97
98## begin gnulib module c-strstr
99
100libgrt_a_SOURCES += c-strstr.h c-strstr.c
101
102## end   gnulib module c-strstr
103
104## begin gnulib module canonicalize-lgpl
105
106
107EXTRA_DIST += canonicalize-lgpl.c canonicalize.h
108
109EXTRA_libgrt_a_SOURCES += canonicalize-lgpl.c
110
111## end   gnulib module canonicalize-lgpl
112
113## begin gnulib module closeout
114
115libgrt_a_SOURCES += closeout.h closeout.c
116
117## end   gnulib module closeout
118
119## begin gnulib module configmake
120
121# Retrieve values of the variables through 'configure' followed by
122# 'make', not directly through 'configure', so that a user who
123# sets some of these variables consistently on the 'make' command
124# line gets correct results.
125#
126# One advantage of this approach, compared to the classical
127# approach of adding -DLIBDIR=\"$(libdir)\" etc. to AM_CPPFLAGS,
128# is that it protects against the use of undefined variables.
129# If, say, $(libdir) is not set in the Makefile, LIBDIR is not
130# defined by this module, and code using LIBDIR gives a
131# compilation error.
132#
133# Another advantage is that 'make' output is shorter.
134#
135# Listed in the same order as the GNU makefile conventions.
136# The Automake-defined pkg* macros are appended, in the order
137# listed in the Automake 1.10a+ documentation.
138configmake.h: Makefile
139	rm -f $@-t $@
140	{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
141	  echo '#define PREFIX "$(prefix)"'; \
142	  echo '#define EXEC_PREFIX "$(exec_prefix)"'; \
143	  echo '#define BINDIR "$(bindir)"'; \
144	  echo '#define SBINDIR "$(sbindir)"'; \
145	  echo '#define LIBEXECDIR "$(libexecdir)"'; \
146	  echo '#define DATAROOTDIR "$(datarootdir)"'; \
147	  echo '#define DATADIR "$(datadir)"'; \
148	  echo '#define SYSCONFDIR "$(sysconfdir)"'; \
149	  echo '#define SHAREDSTATEDIR "$(sharedstatedir)"'; \
150	  echo '#define LOCALSTATEDIR "$(localstatedir)"'; \
151	  echo '#define INCLUDEDIR "$(includedir)"'; \
152	  echo '#define OLDINCLUDEDIR "$(oldincludedir)"'; \
153	  echo '#define DOCDIR "$(docdir)"'; \
154	  echo '#define INFODIR "$(infodir)"'; \
155	  echo '#define HTMLDIR "$(htmldir)"'; \
156	  echo '#define DVIDIR "$(dvidir)"'; \
157	  echo '#define PDFDIR "$(pdfdir)"'; \
158	  echo '#define PSDIR "$(psdir)"'; \
159	  echo '#define LIBDIR "$(libdir)"'; \
160	  echo '#define LISPDIR "$(lispdir)"'; \
161	  echo '#define LOCALEDIR "$(localedir)"'; \
162	  echo '#define MANDIR "$(mandir)"'; \
163	  echo '#define MANEXT "$(manext)"'; \
164	  echo '#define PKGDATADIR "$(pkgdatadir)"'; \
165	  echo '#define PKGINCLUDEDIR "$(pkgincludedir)"'; \
166	  echo '#define PKGLIBDIR "$(pkglibdir)"'; \
167	  echo '#define PKGLIBEXECDIR "$(pkglibexecdir)"'; \
168	} | sed '/""/d' > $@-t
169	mv $@-t $@
170BUILT_SOURCES += configmake.h
171CLEANFILES += configmake.h configmake.h-t
172
173## end   gnulib module configmake
174
175## begin gnulib module csharpcomp-script
176
177
178EXTRA_DIST += $(top_srcdir)/../build-aux/csharpcomp.sh.in
179
180## end   gnulib module csharpcomp-script
181
182## begin gnulib module error
183
184
185EXTRA_DIST += error.c error.h
186
187EXTRA_libgrt_a_SOURCES += error.c
188
189## end   gnulib module error
190
191## begin gnulib module fwriteerror
192
193libgrt_a_SOURCES += fwriteerror.h fwriteerror.c
194
195## end   gnulib module fwriteerror
196
197## begin gnulib module getopt
198
199BUILT_SOURCES += $(GETOPT_H)
200
201# We need the following in order to create <getopt.h> when the system
202# doesn't have one that works with the given compiler.
203getopt.h: getopt.in.h
204	{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
205	  cat $(srcdir)/getopt.in.h; \
206	} > $@-t
207	mv -f $@-t $@
208MOSTLYCLEANFILES += getopt.h getopt.h-t
209
210EXTRA_DIST += getopt.c getopt.in.h getopt1.c getopt_int.h
211
212EXTRA_libgrt_a_SOURCES += getopt.c getopt1.c
213
214## end   gnulib module getopt
215
216## begin gnulib module gettext-h
217
218libgrt_a_SOURCES += gettext.h
219
220## end   gnulib module gettext-h
221
222## begin gnulib module gettext-runtime-misc
223
224AUTOMAKE_OPTIONS += no-dependencies
225
226# Hmm... is this still necessary?
227AM_CPPFLAGS += -I$(top_builddir)/intl -I$(top_srcdir)/intl
228
229# Parametrization of the 'relocatable' module.
230AM_CPPFLAGS += -DDEPENDS_ON_LIBICONV=1 -DDEPENDS_ON_LIBINTL=1
231
232## end   gnulib module gettext-runtime-misc
233
234## begin gnulib module havelib
235
236
237EXTRA_DIST += $(top_srcdir)/../build-aux/config.rpath
238
239## end   gnulib module havelib
240
241## begin gnulib module iconv_open
242
243BUILT_SOURCES += $(ICONV_H)
244
245# We need the following in order to create <iconv.h> when the system
246# doesn't have one that works with the given compiler.
247iconv.h: iconv.in.h
248	rm -f $@-t $@
249	{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
250	  sed -e 's/@''INCLUDE_NEXT''@/$(INCLUDE_NEXT)/g' \
251	      -e 's|@''NEXT_ICONV_H''@|$(NEXT_ICONV_H)|g' \
252	      -e 's|@''ICONV_CONST''@|$(ICONV_CONST)|g' \
253	      -e 's|@''REPLACE_ICONV''@|$(REPLACE_ICONV)|g' \
254	      -e 's|@''REPLACE_ICONV_OPEN''@|$(REPLACE_ICONV_OPEN)|g' \
255	      -e 's|@''REPLACE_ICONV_UTF''@|$(REPLACE_ICONV_UTF)|g' \
256	      < $(srcdir)/iconv.in.h; \
257	} > $@-t
258	mv $@-t $@
259MOSTLYCLEANFILES += iconv.h iconv.h-t
260
261GPERF = gperf
262iconv_open-aix.h: iconv_open-aix.gperf
263	$(GPERF) -m 10 $(srcdir)/iconv_open-aix.gperf > $@-t
264	mv $@-t $@
265iconv_open-hpux.h: iconv_open-hpux.gperf
266	$(GPERF) -m 10 $(srcdir)/iconv_open-hpux.gperf > $@-t
267	mv $@-t $@
268iconv_open-irix.h: iconv_open-irix.gperf
269	$(GPERF) -m 10 $(srcdir)/iconv_open-irix.gperf > $@-t
270	mv $@-t $@
271iconv_open-osf.h: iconv_open-osf.gperf
272	$(GPERF) -m 10 $(srcdir)/iconv_open-osf.gperf > $@-t
273	mv $@-t $@
274BUILT_SOURCES        += iconv_open-aix.h iconv_open-hpux.h iconv_open-irix.h iconv_open-osf.h
275MOSTLYCLEANFILES     += iconv_open-aix.h-t iconv_open-hpux.h-t iconv_open-irix.h-t iconv_open-osf.h-t
276MAINTAINERCLEANFILES += iconv_open-aix.h iconv_open-hpux.h iconv_open-irix.h iconv_open-osf.h
277EXTRA_DIST           += iconv_open-aix.h iconv_open-hpux.h iconv_open-irix.h iconv_open-osf.h
278
279EXTRA_DIST += iconv.in.h iconv_open-aix.gperf iconv_open-hpux.gperf iconv_open-irix.gperf iconv_open-osf.gperf iconv_open.c
280
281EXTRA_libgrt_a_SOURCES += iconv_open.c
282
283## end   gnulib module iconv_open
284
285## begin gnulib module intprops
286
287
288EXTRA_DIST += intprops.h
289
290## end   gnulib module intprops
291
292## begin gnulib module javacomp-script
293
294
295EXTRA_DIST += $(top_srcdir)/../build-aux/javacomp.sh.in
296
297## end   gnulib module javacomp-script
298
299## begin gnulib module link-warning
300
301LINK_WARNING_H=$(top_srcdir)/../build-aux/link-warning.h
302
303EXTRA_DIST += $(top_srcdir)/../build-aux/link-warning.h
304
305## end   gnulib module link-warning
306
307## begin gnulib module localcharset
308
309libgrt_a_SOURCES += localcharset.h localcharset.c
310
311# We need the following in order to install a simple file in $(libdir)
312# which is shared with other installed packages. We use a list of referencing
313# packages so that "make uninstall" will remove the file if and only if it
314# is not used by another installed package.
315# On systems with glibc-2.1 or newer, the file is redundant, therefore we
316# avoid installing it.
317
318all-local: charset.alias ref-add.sed ref-del.sed
319
320charset_alias = $(DESTDIR)$(libdir)/charset.alias
321charset_tmp = $(DESTDIR)$(libdir)/charset.tmp
322install-exec-local: all-local
323	test $(GLIBC21) != no || $(mkinstalldirs) $(DESTDIR)$(libdir)
324	if test -f $(charset_alias); then \
325	  sed -f ref-add.sed $(charset_alias) > $(charset_tmp) ; \
326	  $(INSTALL_DATA) $(charset_tmp) $(charset_alias) ; \
327	  rm -f $(charset_tmp) ; \
328	else \
329	  if test $(GLIBC21) = no; then \
330	    sed -f ref-add.sed charset.alias > $(charset_tmp) ; \
331	    $(INSTALL_DATA) $(charset_tmp) $(charset_alias) ; \
332	    rm -f $(charset_tmp) ; \
333	  fi ; \
334	fi
335
336uninstall-local: all-local
337	if test -f $(charset_alias); then \
338	  sed -f ref-del.sed $(charset_alias) > $(charset_tmp); \
339	  if grep '^# Packages using this file: $$' $(charset_tmp) \
340	      > /dev/null; then \
341	    rm -f $(charset_alias); \
342	  else \
343	    $(INSTALL_DATA) $(charset_tmp) $(charset_alias); \
344	  fi; \
345	  rm -f $(charset_tmp); \
346	fi
347
348charset.alias: config.charset
349	rm -f t-$@ $@
350	$(SHELL) $(srcdir)/config.charset '$(host)' > t-$@
351	mv t-$@ $@
352
353SUFFIXES += .sed .sin
354.sin.sed:
355	rm -f t-$@ $@
356	sed -e '/^#/d' -e 's/@''PACKAGE''@/$(PACKAGE)/g' $< > t-$@
357	mv t-$@ $@
358
359CLEANFILES += charset.alias ref-add.sed ref-del.sed
360
361EXTRA_DIST += config.charset ref-add.sin ref-del.sin
362
363## end   gnulib module localcharset
364
365## begin gnulib module malloc-posix
366
367
368EXTRA_DIST += malloc.c
369
370EXTRA_libgrt_a_SOURCES += malloc.c
371
372## end   gnulib module malloc-posix
373
374## begin gnulib module malloca
375
376libgrt_a_SOURCES += malloca.c
377
378EXTRA_DIST += malloca.h malloca.valgrind
379
380## end   gnulib module malloca
381
382## begin gnulib module mbchar
383
384libgrt_a_SOURCES += mbchar.c
385
386EXTRA_DIST += mbchar.h
387
388## end   gnulib module mbchar
389
390## begin gnulib module mbslen
391
392libgrt_a_SOURCES += mbslen.c
393
394## end   gnulib module mbslen
395
396## begin gnulib module mbsstr
397
398libgrt_a_SOURCES += mbsstr.c
399
400## end   gnulib module mbsstr
401
402## begin gnulib module mbuiter
403
404libgrt_a_SOURCES += mbuiter.h
405
406## end   gnulib module mbuiter
407
408## begin gnulib module memchr
409
410
411EXTRA_DIST += memchr.c
412
413EXTRA_libgrt_a_SOURCES += memchr.c
414
415## end   gnulib module memchr
416
417## begin gnulib module memmove
418
419
420EXTRA_DIST += memmove.c
421
422EXTRA_libgrt_a_SOURCES += memmove.c
423
424## end   gnulib module memmove
425
426## begin gnulib module pathmax
427
428
429EXTRA_DIST += pathmax.h
430
431## end   gnulib module pathmax
432
433## begin gnulib module progname
434
435libgrt_a_SOURCES += progname.h progname.c
436
437## end   gnulib module progname
438
439## begin gnulib module propername
440
441libgrt_a_SOURCES += propername.h propername.c
442
443## end   gnulib module propername
444
445## begin gnulib module readlink
446
447
448EXTRA_DIST += readlink.c
449
450EXTRA_libgrt_a_SOURCES += readlink.c
451
452## end   gnulib module readlink
453
454## begin gnulib module relocatable-prog
455
456DEFS += -DEXEEXT=\"@EXEEXT@\"
457
458EXTRA_DIST += progreloc.c relocatable.c relocatable.h
459
460EXTRA_libgrt_a_SOURCES += progreloc.c relocatable.c
461
462EXTRA_DIST += $(top_srcdir)/../build-aux/config.libpath $(top_srcdir)/../build-aux/reloc-ldflags
463
464## end   gnulib module relocatable-prog
465
466## begin gnulib module relocatable-prog-wrapper
467
468
469EXTRA_DIST += areadlink.c areadlink.h c-ctype.c c-ctype.h canonicalize-lgpl.c canonicalize.h malloca.c malloca.h progname.c progname.h progreloc.c readlink.c relocatable.c relocatable.h relocwrapper.c setenv.c setenv.h strerror.c xreadlink.c xreadlink.h
470
471EXTRA_DIST += $(top_srcdir)/../build-aux/install-reloc
472
473## end   gnulib module relocatable-prog-wrapper
474
475## begin gnulib module stdbool
476
477BUILT_SOURCES += $(STDBOOL_H)
478
479# We need the following in order to create <stdbool.h> when the system
480# doesn't have one that works.
481stdbool.h: stdbool.in.h
482	rm -f $@-t $@
483	{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
484	  sed -e 's/@''HAVE__BOOL''@/$(HAVE__BOOL)/g' < $(srcdir)/stdbool.in.h; \
485	} > $@-t
486	mv $@-t $@
487MOSTLYCLEANFILES += stdbool.h stdbool.h-t
488
489EXTRA_DIST += stdbool.in.h
490
491## end   gnulib module stdbool
492
493## begin gnulib module stdint
494
495BUILT_SOURCES += $(STDINT_H)
496
497# We need the following in order to create <stdint.h> when the system
498# doesn't have one that works with the given compiler.
499stdint.h: stdint.in.h
500	rm -f $@-t $@
501	{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
502	  sed -e 's/@''HAVE_STDINT_H''@/$(HAVE_STDINT_H)/g' \
503	      -e 's/@''INCLUDE_NEXT''@/$(INCLUDE_NEXT)/g' \
504	      -e 's|@''NEXT_STDINT_H''@|$(NEXT_STDINT_H)|g' \
505	      -e 's/@''HAVE_SYS_TYPES_H''@/$(HAVE_SYS_TYPES_H)/g' \
506	      -e 's/@''HAVE_INTTYPES_H''@/$(HAVE_INTTYPES_H)/g' \
507	      -e 's/@''HAVE_SYS_INTTYPES_H''@/$(HAVE_SYS_INTTYPES_H)/g' \
508	      -e 's/@''HAVE_SYS_BITYPES_H''@/$(HAVE_SYS_BITYPES_H)/g' \
509	      -e 's/@''HAVE_LONG_LONG_INT''@/$(HAVE_LONG_LONG_INT)/g' \
510	      -e 's/@''HAVE_UNSIGNED_LONG_LONG_INT''@/$(HAVE_UNSIGNED_LONG_LONG_INT)/g' \
511	      -e 's/@''BITSIZEOF_PTRDIFF_T''@/$(BITSIZEOF_PTRDIFF_T)/g' \
512	      -e 's/@''PTRDIFF_T_SUFFIX''@/$(PTRDIFF_T_SUFFIX)/g' \
513	      -e 's/@''BITSIZEOF_SIG_ATOMIC_T''@/$(BITSIZEOF_SIG_ATOMIC_T)/g' \
514	      -e 's/@''HAVE_SIGNED_SIG_ATOMIC_T''@/$(HAVE_SIGNED_SIG_ATOMIC_T)/g' \
515	      -e 's/@''SIG_ATOMIC_T_SUFFIX''@/$(SIG_ATOMIC_T_SUFFIX)/g' \
516	      -e 's/@''BITSIZEOF_SIZE_T''@/$(BITSIZEOF_SIZE_T)/g' \
517	      -e 's/@''SIZE_T_SUFFIX''@/$(SIZE_T_SUFFIX)/g' \
518	      -e 's/@''BITSIZEOF_WCHAR_T''@/$(BITSIZEOF_WCHAR_T)/g' \
519	      -e 's/@''HAVE_SIGNED_WCHAR_T''@/$(HAVE_SIGNED_WCHAR_T)/g' \
520	      -e 's/@''WCHAR_T_SUFFIX''@/$(WCHAR_T_SUFFIX)/g' \
521	      -e 's/@''BITSIZEOF_WINT_T''@/$(BITSIZEOF_WINT_T)/g' \
522	      -e 's/@''HAVE_SIGNED_WINT_T''@/$(HAVE_SIGNED_WINT_T)/g' \
523	      -e 's/@''WINT_T_SUFFIX''@/$(WINT_T_SUFFIX)/g' \
524	      < $(srcdir)/stdint.in.h; \
525	} > $@-t
526	mv $@-t $@
527MOSTLYCLEANFILES += stdint.h stdint.h-t
528
529EXTRA_DIST += stdint.in.h
530
531## end   gnulib module stdint
532
533## begin gnulib module stdlib
534
535BUILT_SOURCES += stdlib.h
536
537# We need the following in order to create <stdlib.h> when the system
538# doesn't have one that works with the given compiler.
539stdlib.h: stdlib.in.h
540	rm -f $@-t $@
541	{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
542	  sed -e 's/@''INCLUDE_NEXT''@/$(INCLUDE_NEXT)/g' \
543	      -e 's|@''NEXT_STDLIB_H''@|$(NEXT_STDLIB_H)|g' \
544	      -e 's|@''GNULIB_MALLOC_POSIX''@|$(GNULIB_MALLOC_POSIX)|g' \
545	      -e 's|@''GNULIB_REALLOC_POSIX''@|$(GNULIB_REALLOC_POSIX)|g' \
546	      -e 's|@''GNULIB_CALLOC_POSIX''@|$(GNULIB_CALLOC_POSIX)|g' \
547	      -e 's|@''GNULIB_GETSUBOPT''@|$(GNULIB_GETSUBOPT)|g' \
548	      -e 's|@''GNULIB_MKDTEMP''@|$(GNULIB_MKDTEMP)|g' \
549	      -e 's|@''GNULIB_MKSTEMP''@|$(GNULIB_MKSTEMP)|g' \
550	      -e 's|@''GNULIB_PUTENV''@|$(GNULIB_PUTENV)|g' \
551	      -e 's|@''HAVE_CALLOC_POSIX''@|$(HAVE_CALLOC_POSIX)|g' \
552	      -e 's|@''HAVE_GETSUBOPT''@|$(HAVE_GETSUBOPT)|g' \
553	      -e 's|@''HAVE_MALLOC_POSIX''@|$(HAVE_MALLOC_POSIX)|g' \
554	      -e 's|@''HAVE_MKDTEMP''@|$(HAVE_MKDTEMP)|g' \
555	      -e 's|@''HAVE_REALLOC_POSIX''@|$(HAVE_REALLOC_POSIX)|g' \
556	      -e 's|@''REPLACE_MKSTEMP''@|$(REPLACE_MKSTEMP)|g' \
557	      -e 's|@''REPLACE_PUTENV''@|$(REPLACE_PUTENV)|g' \
558	      -e '/definition of GL_LINK_WARNING/r $(LINK_WARNING_H)' \
559	      < $(srcdir)/stdlib.in.h; \
560	} > $@-t
561	mv $@-t $@
562MOSTLYCLEANFILES += stdlib.h stdlib.h-t
563
564EXTRA_DIST += stdlib.in.h
565
566## end   gnulib module stdlib
567
568## begin gnulib module strdup
569
570
571EXTRA_DIST += strdup.c
572
573EXTRA_libgrt_a_SOURCES += strdup.c
574
575## end   gnulib module strdup
576
577## begin gnulib module streq
578
579
580EXTRA_DIST += streq.h
581
582## end   gnulib module streq
583
584## begin gnulib module strerror
585
586
587EXTRA_DIST += strerror.c
588
589EXTRA_libgrt_a_SOURCES += strerror.c
590
591## end   gnulib module strerror
592
593## begin gnulib module striconv
594
595libgrt_a_SOURCES += striconv.h striconv.c
596if GL_COND_LIBTOOL
597endif
598
599## end   gnulib module striconv
600
601## begin gnulib module string
602
603BUILT_SOURCES += string.h
604
605# We need the following in order to create <string.h> when the system
606# doesn't have one that works with the given compiler.
607string.h: string.in.h
608	rm -f $@-t $@
609	{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
610	  sed -e 's/@''INCLUDE_NEXT''@/$(INCLUDE_NEXT)/g' \
611	      -e 's|@''NEXT_STRING_H''@|$(NEXT_STRING_H)|g' \
612	      -e 's|@''GNULIB_MBSLEN''@|$(GNULIB_MBSLEN)|g' \
613	      -e 's|@''GNULIB_MBSNLEN''@|$(GNULIB_MBSNLEN)|g' \
614	      -e 's|@''GNULIB_MBSCHR''@|$(GNULIB_MBSCHR)|g' \
615	      -e 's|@''GNULIB_MBSRCHR''@|$(GNULIB_MBSRCHR)|g' \
616	      -e 's|@''GNULIB_MBSSTR''@|$(GNULIB_MBSSTR)|g' \
617	      -e 's|@''GNULIB_MBSCASECMP''@|$(GNULIB_MBSCASECMP)|g' \
618	      -e 's|@''GNULIB_MBSNCASECMP''@|$(GNULIB_MBSNCASECMP)|g' \
619	      -e 's|@''GNULIB_MBSPCASECMP''@|$(GNULIB_MBSPCASECMP)|g' \
620	      -e 's|@''GNULIB_MBSCASESTR''@|$(GNULIB_MBSCASESTR)|g' \
621	      -e 's|@''GNULIB_MBSCSPN''@|$(GNULIB_MBSCSPN)|g' \
622	      -e 's|@''GNULIB_MBSPBRK''@|$(GNULIB_MBSPBRK)|g' \
623	      -e 's|@''GNULIB_MBSSPN''@|$(GNULIB_MBSSPN)|g' \
624	      -e 's|@''GNULIB_MBSSEP''@|$(GNULIB_MBSSEP)|g' \
625	      -e 's|@''GNULIB_MBSTOK_R''@|$(GNULIB_MBSTOK_R)|g' \
626	      -e 's|@''GNULIB_MEMMEM''@|$(GNULIB_MEMMEM)|g' \
627	      -e 's|@''GNULIB_MEMPCPY''@|$(GNULIB_MEMPCPY)|g' \
628	      -e 's|@''GNULIB_MEMRCHR''@|$(GNULIB_MEMRCHR)|g' \
629	      -e 's|@''GNULIB_STPCPY''@|$(GNULIB_STPCPY)|g' \
630	      -e 's|@''GNULIB_STPNCPY''@|$(GNULIB_STPNCPY)|g' \
631	      -e 's|@''GNULIB_STRCHRNUL''@|$(GNULIB_STRCHRNUL)|g' \
632	      -e 's|@''GNULIB_STRDUP''@|$(GNULIB_STRDUP)|g' \
633	      -e 's|@''GNULIB_STRNDUP''@|$(GNULIB_STRNDUP)|g' \
634	      -e 's|@''GNULIB_STRNLEN''@|$(GNULIB_STRNLEN)|g' \
635	      -e 's|@''GNULIB_STRPBRK''@|$(GNULIB_STRPBRK)|g' \
636	      -e 's|@''GNULIB_STRSEP''@|$(GNULIB_STRSEP)|g' \
637	      -e 's|@''GNULIB_STRCASESTR''@|$(GNULIB_STRCASESTR)|g' \
638	      -e 's|@''GNULIB_STRTOK_R''@|$(GNULIB_STRTOK_R)|g' \
639	      -e 's|@''GNULIB_STRERROR''@|$(GNULIB_STRERROR)|g' \
640	      -e 's|@''HAVE_DECL_MEMMEM''@|$(HAVE_DECL_MEMMEM)|g' \
641	      -e 's|@''HAVE_MEMPCPY''@|$(HAVE_MEMPCPY)|g' \
642	      -e 's|@''HAVE_DECL_MEMRCHR''@|$(HAVE_DECL_MEMRCHR)|g' \
643	      -e 's|@''HAVE_STPCPY''@|$(HAVE_STPCPY)|g' \
644	      -e 's|@''HAVE_STPNCPY''@|$(HAVE_STPNCPY)|g' \
645	      -e 's|@''HAVE_STRCASECMP''@|$(HAVE_STRCASECMP)|g' \
646	      -e 's|@''HAVE_DECL_STRNCASECMP''@|$(HAVE_DECL_STRNCASECMP)|g' \
647	      -e 's|@''HAVE_STRCHRNUL''@|$(HAVE_STRCHRNUL)|g' \
648	      -e 's|@''HAVE_DECL_STRDUP''@|$(HAVE_DECL_STRDUP)|g' \
649	      -e 's|@''HAVE_STRNDUP''@|$(HAVE_STRNDUP)|g' \
650	      -e 's|@''HAVE_DECL_STRNDUP''@|$(HAVE_DECL_STRNDUP)|g' \
651	      -e 's|@''HAVE_DECL_STRNLEN''@|$(HAVE_DECL_STRNLEN)|g' \
652	      -e 's|@''HAVE_STRPBRK''@|$(HAVE_STRPBRK)|g' \
653	      -e 's|@''HAVE_STRSEP''@|$(HAVE_STRSEP)|g' \
654	      -e 's|@''HAVE_STRCASESTR''@|$(HAVE_STRCASESTR)|g' \
655	      -e 's|@''HAVE_DECL_STRTOK_R''@|$(HAVE_DECL_STRTOK_R)|g' \
656	      -e 's|@''HAVE_DECL_STRERROR''@|$(HAVE_DECL_STRERROR)|g' \
657	      -e 's|@''REPLACE_STRERROR''@|$(REPLACE_STRERROR)|g' \
658	      -e '/definition of GL_LINK_WARNING/r $(LINK_WARNING_H)' \
659	      < $(srcdir)/string.in.h; \
660	} > $@-t
661	mv $@-t $@
662MOSTLYCLEANFILES += string.h string.h-t
663
664EXTRA_DIST += string.in.h
665
666## end   gnulib module string
667
668## begin gnulib module strnlen
669
670
671EXTRA_DIST += strnlen.c
672
673EXTRA_libgrt_a_SOURCES += strnlen.c
674
675## end   gnulib module strnlen
676
677## begin gnulib module strnlen1
678
679libgrt_a_SOURCES += strnlen1.h strnlen1.c
680
681## end   gnulib module strnlen1
682
683## begin gnulib module strtol
684
685
686EXTRA_DIST += strtol.c
687
688EXTRA_libgrt_a_SOURCES += strtol.c
689
690## end   gnulib module strtol
691
692## begin gnulib module strtoul
693
694
695EXTRA_DIST += strtoul.c
696
697EXTRA_libgrt_a_SOURCES += strtoul.c
698
699## end   gnulib module strtoul
700
701## begin gnulib module unistd
702
703BUILT_SOURCES += unistd.h
704
705# We need the following in order to create an empty placeholder for
706# <unistd.h> when the system doesn't have one.
707unistd.h: unistd.in.h
708	rm -f $@-t $@
709	{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
710	  sed -e 's|@''HAVE_UNISTD_H''@|$(HAVE_UNISTD_H)|g' \
711	      -e 's/@''INCLUDE_NEXT''@/$(INCLUDE_NEXT)/g' \
712	      -e 's|@''NEXT_UNISTD_H''@|$(NEXT_UNISTD_H)|g' \
713	      -e 's|@''GNULIB_CHOWN''@|$(GNULIB_CHOWN)|g' \
714	      -e 's|@''GNULIB_DUP2''@|$(GNULIB_DUP2)|g' \
715	      -e 's|@''GNULIB_FCHDIR''@|$(GNULIB_FCHDIR)|g' \
716	      -e 's|@''GNULIB_FTRUNCATE''@|$(GNULIB_FTRUNCATE)|g' \
717	      -e 's|@''GNULIB_GETCWD''@|$(GNULIB_GETCWD)|g' \
718	      -e 's|@''GNULIB_GETLOGIN_R''@|$(GNULIB_GETLOGIN_R)|g' \
719	      -e 's|@''GNULIB_LCHOWN''@|$(GNULIB_LCHOWN)|g' \
720	      -e 's|@''GNULIB_LSEEK''@|$(GNULIB_LSEEK)|g' \
721	      -e 's|@''GNULIB_READLINK''@|$(GNULIB_READLINK)|g' \
722	      -e 's|@''GNULIB_SLEEP''@|$(GNULIB_SLEEP)|g' \
723	      -e 's|@''HAVE_DUP2''@|$(HAVE_DUP2)|g' \
724	      -e 's|@''HAVE_FTRUNCATE''@|$(HAVE_FTRUNCATE)|g' \
725	      -e 's|@''HAVE_READLINK''@|$(HAVE_READLINK)|g' \
726	      -e 's|@''HAVE_SLEEP''@|$(HAVE_SLEEP)|g' \
727	      -e 's|@''HAVE_DECL_GETLOGIN_R''@|$(HAVE_DECL_GETLOGIN_R)|g' \
728	      -e 's|@''REPLACE_CHOWN''@|$(REPLACE_CHOWN)|g' \
729	      -e 's|@''REPLACE_FCHDIR''@|$(REPLACE_FCHDIR)|g' \
730	      -e 's|@''REPLACE_GETCWD''@|$(REPLACE_GETCWD)|g' \
731	      -e 's|@''REPLACE_LCHOWN''@|$(REPLACE_LCHOWN)|g' \
732	      -e 's|@''REPLACE_LSEEK''@|$(REPLACE_LSEEK)|g' \
733	      < $(srcdir)/unistd.in.h; \
734	} > $@-t
735	mv $@-t $@
736MOSTLYCLEANFILES += unistd.h unistd.h-t
737
738EXTRA_DIST += unistd.in.h
739
740## end   gnulib module unistd
741
742## begin gnulib module unitypes
743
744
745EXTRA_DIST += unitypes.h
746
747## end   gnulib module unitypes
748
749## begin gnulib module uniwidth/base
750
751
752EXTRA_DIST += localcharset.h uniwidth.h
753
754## end   gnulib module uniwidth/base
755
756## begin gnulib module uniwidth/width
757
758libgrt_a_SOURCES += uniwidth/width.c
759
760EXTRA_DIST += uniwidth/cjk.h
761
762## end   gnulib module uniwidth/width
763
764## begin gnulib module unlocked-io
765
766
767EXTRA_DIST += unlocked-io.h
768
769## end   gnulib module unlocked-io
770
771## begin gnulib module wchar
772
773BUILT_SOURCES += $(WCHAR_H)
774
775# We need the following in order to create <wchar.h> when the system
776# version does not work standalone.
777wchar.h: wchar.in.h
778	rm -f $@-t $@
779	{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
780	  sed -e 's/@''INCLUDE_NEXT''@/$(INCLUDE_NEXT)/g' \
781	      -e 's|@''NEXT_WCHAR_H''@|$(NEXT_WCHAR_H)|g' \
782	      -e 's/@''HAVE_WCHAR_H''@/$(HAVE_WCHAR_H)/g' \
783	      -e 's|@''GNULIB_WCWIDTH''@|$(GNULIB_WCWIDTH)|g' \
784	      -e 's|@''HAVE_DECL_WCWIDTH''@|$(HAVE_DECL_WCWIDTH)|g' \
785	      -e 's|@''REPLACE_WCWIDTH''@|$(REPLACE_WCWIDTH)|g' \
786	      -e '/definition of GL_LINK_WARNING/r $(LINK_WARNING_H)' \
787	    < $(srcdir)/wchar.in.h; \
788	} > $@-t
789	mv $@-t $@
790MOSTLYCLEANFILES += wchar.h wchar.h-t
791
792EXTRA_DIST += wchar.in.h
793
794## end   gnulib module wchar
795
796## begin gnulib module wctype
797
798BUILT_SOURCES += $(WCTYPE_H)
799
800# We need the following in order to create <wctype.h> when the system
801# doesn't have one that works with the given compiler.
802wctype.h: wctype.in.h
803	rm -f $@-t $@
804	{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
805	  sed -e 's/@''HAVE_WCTYPE_H''@/$(HAVE_WCTYPE_H)/g' \
806	      -e 's/@''INCLUDE_NEXT''@/$(INCLUDE_NEXT)/g' \
807	      -e 's|@''NEXT_WCTYPE_H''@|$(NEXT_WCTYPE_H)|g' \
808	      -e 's/@''HAVE_ISWCNTRL''@/$(HAVE_ISWCNTRL)/g' \
809	      -e 's/@''HAVE_WINT_T''@/$(HAVE_WINT_T)/g' \
810	      < $(srcdir)/wctype.in.h; \
811	} > $@-t
812	mv $@-t $@
813MOSTLYCLEANFILES += wctype.h wctype.h-t
814
815EXTRA_DIST += wctype.in.h
816
817## end   gnulib module wctype
818
819## begin gnulib module wcwidth
820
821
822EXTRA_DIST += wcwidth.c
823
824EXTRA_libgrt_a_SOURCES += wcwidth.c
825
826## end   gnulib module wcwidth
827
828## begin gnulib module xalloc
829
830libgrt_a_SOURCES += xalloc.h xmalloc.c xstrdup.c
831
832## end   gnulib module xalloc
833
834## begin gnulib module xreadlink
835
836libgrt_a_SOURCES += xreadlink.c
837
838EXTRA_DIST += xreadlink.h
839
840## end   gnulib module xreadlink
841
842## begin gnulib module xstriconv
843
844libgrt_a_SOURCES += xstriconv.h xstriconv.c
845
846## end   gnulib module xstriconv
847
848
849mostlyclean-local: mostlyclean-generic
850	@for dir in '' $(MOSTLYCLEANDIRS); do \
851	  if test -n "$$dir" && test -d $$dir; then \
852	    echo "rmdir $$dir"; rmdir $$dir; \
853	  fi; \
854	done; \
855	:
856