xref: /netbsd-src/external/gpl2/gettext/dist/gettext-tools/gnulib-lib/Makefile.am (revision 946379e7b37692fc43f68eb0d1c10daa0a7f3b6c)
1## DO NOT EDIT! GENERATED AUTOMATICALLY!
2## Process this file with automake to produce Makefile.in.
3# Copyright (C) 2004-2006 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-tools --local-dir=gnulib-local --lib=libgettextlib --source-base=gnulib-lib --m4-base=gnulib-m4 --doc-base=doc --aux-dir=../build-aux --libtool --macro-prefix=gl alloca-opt atexit backupfile basename binary-io bison-i18n byteswap c-ctype c-strcase c-strcasestr c-strstr clean-temp closeout copy-file csharpcomp csharpexec error error-progname execute exit findprog fnmatch-posix fstrcmp full-write fwriteerror gcd gcj getline getopt gettext-h gettext-tools-misc hash iconv java javacomp javaexec linebreak localcharset lock memmove memset minmax obstack pathname pipe progname propername relocatable relocwrapper sh-quote stdbool stpcpy stpncpy strcspn strpbrk strtol strtoul ucs4-utf8 unistd unlocked-io utf16-ucs4 utf8-ucs4 vasprintf wait-process xalloc xallocsa xerror xsetenv xstriconv xvasprintf
13
14AUTOMAKE_OPTIONS = 1.5 gnits
15
16
17libgettextlib_la_SOURCES =
18libgettextlib_la_LIBADD = $(gl_LTLIBOBJS)
19libgettextlib_la_DEPENDENCIES = $(gl_LTLIBOBJS)
20libgettextlib_la_LDFLAGS = $(AM_LDFLAGS)
21noinst_HEADERS =
22pkgdata_DATA =
23EXTRA_DIST =
24BUILT_SOURCES =
25SUFFIXES =
26MOSTLYCLEANFILES = core *.stackdump
27MOSTLYCLEANDIRS =
28CLEANFILES =
29DISTCLEANFILES =
30MAINTAINERCLEANFILES =
31
32AM_CPPFLAGS =
33
34## begin gnulib module alloca-opt
35
36BUILT_SOURCES += $(ALLOCA_H)
37
38# We need the following in order to create <alloca.h> when the system
39# doesn't have one that works with the given compiler.
40alloca.h: alloca_.h
41	{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
42	  cat $(srcdir)/alloca_.h; \
43	} > $@-t
44	mv -f $@-t $@
45MOSTLYCLEANFILES += alloca.h alloca.h-t
46
47EXTRA_DIST += alloca_.h
48
49## end   gnulib module alloca-opt
50
51## begin gnulib module allocsa
52
53libgettextlib_la_SOURCES += allocsa.h allocsa.c
54
55EXTRA_DIST += allocsa.valgrind
56
57## end   gnulib module allocsa
58
59## begin gnulib module argmatch
60
61
62EXTRA_DIST += argmatch.c argmatch.h
63
64## end   gnulib module argmatch
65
66## begin gnulib module atexit
67
68
69EXTRA_DIST += atexit.c
70
71## end   gnulib module atexit
72
73## begin gnulib module backupfile
74
75libgettextlib_la_SOURCES += backupfile.h backupfile.c addext.c
76
77## end   gnulib module backupfile
78
79## begin gnulib module basename
80
81libgettextlib_la_SOURCES += basename.h basename.c
82
83## end   gnulib module basename
84
85## begin gnulib module binary-io
86
87libgettextlib_la_SOURCES += binary-io.h
88
89## end   gnulib module binary-io
90
91## begin gnulib module byteswap
92
93BUILT_SOURCES += $(BYTESWAP_H)
94
95# We need the following in order to create <byteswap.h> when the system
96# doesn't have one.
97byteswap.h: byteswap_.h
98	{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
99	  cat $(srcdir)/byteswap_.h; \
100	} > $@-t
101	mv -f $@-t $@
102MOSTLYCLEANFILES += byteswap.h byteswap.h-t
103
104EXTRA_DIST += byteswap_.h
105
106## end   gnulib module byteswap
107
108## begin gnulib module c-ctype
109
110libgettextlib_la_SOURCES += c-ctype.h c-ctype.c
111
112## end   gnulib module c-ctype
113
114## begin gnulib module c-strcase
115
116libgettextlib_la_SOURCES += c-strcase.h c-strcasecmp.c c-strncasecmp.c
117
118## end   gnulib module c-strcase
119
120## begin gnulib module c-strcasestr
121
122libgettextlib_la_SOURCES += c-strcasestr.h c-strcasestr.c
123
124## end   gnulib module c-strcasestr
125
126## begin gnulib module c-strstr
127
128libgettextlib_la_SOURCES += c-strstr.h c-strstr.c
129
130## end   gnulib module c-strstr
131
132## begin gnulib module canonicalize
133
134
135EXTRA_DIST += canonicalize.c canonicalize.h
136
137## end   gnulib module canonicalize
138
139## begin gnulib module classpath
140
141libgettextlib_la_SOURCES += classpath.h classpath.c
142
143## end   gnulib module classpath
144
145## begin gnulib module clean-temp
146
147libgettextlib_la_SOURCES += clean-temp.h clean-temp.c
148
149## end   gnulib module clean-temp
150
151## begin gnulib module closeout
152
153libgettextlib_la_SOURCES += closeout.h closeout.c
154
155## end   gnulib module closeout
156
157## begin gnulib module configmake
158
159# Retrieve values of the variables through 'configure' followed by
160# 'make', not directly through 'configure', so that a user who
161# sets some of these variables consistently on the 'make' command
162# line gets correct results.
163#
164# One advantage of this approach, compared to the classical
165# approach of adding -DLIBDIR=\"$(libdir)\" etc. to AM_CPPFLAGS,
166# is that it protects against the use of undefined variables.
167# If, say, $(libdir) is not set in the Makefile, LIBDIR is not
168# defined by this module, and code using LIBDIR gives a
169# compilation error.
170#
171# Another advantage is that 'make' output is shorter.
172#
173# Listed in the same order as the GNU makefile conventions.
174# The Automake-defined pkg* macros are appended, in the order
175# listed in the Automake 1.10a+ documentation.
176configmake.h: Makefile
177	rm -f $@-t $@
178	{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
179	  echo '#define PREFIX "$(prefix)"'; \
180	  echo '#define EXEC_PREFIX "$(exec_prefix)"'; \
181	  echo '#define BINDIR "$(bindir)"'; \
182	  echo '#define SBINDIR "$(sbindir)"'; \
183	  echo '#define LIBEXECDIR "$(libexecdir)"'; \
184	  echo '#define DATAROOTDIR "$(datarootdir)"'; \
185	  echo '#define DATADIR "$(datadir)"'; \
186	  echo '#define SYSCONFDIR "$(sysconfdir)"'; \
187	  echo '#define SHAREDSTATEDIR "$(sharedstatedir)"'; \
188	  echo '#define LOCALSTATEDIR "$(localstatedir)"'; \
189	  echo '#define INCLUDEDIR "$(includedir)"'; \
190	  echo '#define OLDINCLUDEDIR "$(oldincludedir)"'; \
191	  echo '#define DOCDIR "$(docdir)"'; \
192	  echo '#define INFODIR "$(infodir)"'; \
193	  echo '#define HTMLDIR "$(htmldir)"'; \
194	  echo '#define DVIDIR "$(dvidir)"'; \
195	  echo '#define PDFDIR "$(pdfdir)"'; \
196	  echo '#define PSDIR "$(psdir)"'; \
197	  echo '#define LIBDIR "$(libdir)"'; \
198	  echo '#define LISPDIR "$(lispdir)"'; \
199	  echo '#define LOCALEDIR "$(localedir)"'; \
200	  echo '#define MANDIR "$(mandir)"'; \
201	  echo '#define MANEXT "$(manext)"'; \
202	  echo '#define PKGDATADIR "$(pkgdatadir)"'; \
203	  echo '#define PKGINCLUDEDIR "$(pkgincludedir)"'; \
204	  echo '#define PKGLIBDIR "$(pkglibdir)"'; \
205	  echo '#define PKGLIBEXECDIR "$(pkglibexecdir)"'; \
206	} | sed '/""/d' > $@-t
207	mv $@-t $@
208BUILT_SOURCES += configmake.h
209CLEANFILES += configmake.h configmake.h-t
210
211## end   gnulib module configmake
212
213## begin gnulib module copy-file
214
215libgettextlib_la_SOURCES += copy-file.h copy-file.c
216
217## end   gnulib module copy-file
218
219## begin gnulib module csharpcomp
220
221libgettextlib_la_SOURCES += csharpcomp.h csharpcomp.c
222
223## end   gnulib module csharpcomp
224
225## begin gnulib module csharpexec
226
227DEFS += -DEXEEXT=\"$(EXEEXT)\"
228libgettextlib_la_SOURCES += csharpexec.h csharpexec.c
229
230EXTRA_DIST += classpath.c classpath.h
231
232## end   gnulib module csharpexec
233
234## begin gnulib module error
235
236
237EXTRA_DIST += error.c error.h
238
239## end   gnulib module error
240
241## begin gnulib module error-progname
242
243libgettextlib_la_SOURCES += error-progname.h error-progname.c
244
245## end   gnulib module error-progname
246
247## begin gnulib module execute
248
249libgettextlib_la_SOURCES += execute.h execute.c w32spawn.h
250
251## end   gnulib module execute
252
253## begin gnulib module exit
254
255libgettextlib_la_SOURCES += exit.h
256
257## end   gnulib module exit
258
259## begin gnulib module exitfail
260
261libgettextlib_la_SOURCES += exitfail.h exitfail.c
262
263## end   gnulib module exitfail
264
265## begin gnulib module fatal-signal
266
267libgettextlib_la_SOURCES += fatal-signal.h fatal-signal.c
268
269## end   gnulib module fatal-signal
270
271## begin gnulib module findprog
272
273libgettextlib_la_SOURCES += findprog.h findprog.c
274
275## end   gnulib module findprog
276
277## begin gnulib module fnmatch
278
279BUILT_SOURCES += $(FNMATCH_H)
280
281# We need the following in order to create <fnmatch.h> when the system
282# doesn't have one that supports the required API.
283fnmatch.h: fnmatch_.h
284	{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
285	  cat $(srcdir)/fnmatch_.h; \
286	} > $@-t
287	mv -f $@-t $@
288MOSTLYCLEANFILES += fnmatch.h fnmatch.h-t
289
290EXTRA_DIST += fnmatch.c fnmatch_.h fnmatch_loop.c
291
292## end   gnulib module fnmatch
293
294## begin gnulib module fstrcmp
295
296libgettextlib_la_SOURCES += fstrcmp.h fstrcmp.c
297
298## end   gnulib module fstrcmp
299
300## begin gnulib module full-write
301
302libgettextlib_la_SOURCES += full-write.h full-write.c
303
304## end   gnulib module full-write
305
306## begin gnulib module fwriteerror
307
308libgettextlib_la_SOURCES += fwriteerror.h fwriteerror.c
309
310## end   gnulib module fwriteerror
311
312## begin gnulib module gcd
313
314libgettextlib_la_SOURCES += gcd.h gcd.c
315
316## end   gnulib module gcd
317
318## begin gnulib module getdelim
319
320
321EXTRA_DIST += getdelim.c getdelim.h
322
323## end   gnulib module getdelim
324
325## begin gnulib module getline
326
327
328EXTRA_DIST += getline.c getline.h
329
330## end   gnulib module getline
331
332## begin gnulib module getopt
333
334BUILT_SOURCES += $(GETOPT_H)
335
336# We need the following in order to create <getopt.h> when the system
337# doesn't have one that works with the given compiler.
338getopt.h: getopt_.h
339	{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
340	  cat $(srcdir)/getopt_.h; \
341	} > $@-t
342	mv -f $@-t $@
343MOSTLYCLEANFILES += getopt.h getopt.h-t
344
345EXTRA_DIST += getopt.c getopt1.c getopt_.h getopt_int.h
346
347## end   gnulib module getopt
348
349## begin gnulib module gettext
350
351# This is for those projects which use "gettextize --intl" to put a source-code
352# copy of libintl into their package. In such projects, every Makefile.am needs
353# -I$(top_builddir)/intl, so that <libintl.h> can be found in this directory.
354# For the Makefile.ams in other directories it is the maintainer's
355# responsibility; for the one from gnulib we do it here.
356# This option has no effect when the user disables NLS (because then the intl
357# directory contains no libintl.h file) or when the project does not use
358# "gettextize --intl".
359AM_CPPFLAGS += -I$(top_builddir)/intl
360
361## end   gnulib module gettext
362
363## begin gnulib module gettext-h
364
365libgettextlib_la_SOURCES += gettext.h
366
367## end   gnulib module gettext-h
368
369## begin gnulib module gettext-tools-misc
370
371AUTOMAKE_OPTIONS += no-dependencies
372
373# Hmm... is this still necessary?
374AM_CPPFLAGS += -I$(top_builddir)/intl -I$(top_srcdir)/intl
375# Needed so that config.h and woe32dll/export.h are found.
376AM_CPPFLAGS += -I$(top_builddir) -I$(top_srcdir)
377
378# Parametrization of the 'relocatable' module.
379AM_CPPFLAGS += -DDEPENDS_ON_LIBICONV=1 -DDEPENDS_ON_LIBINTL=1
380
381# Specify that libgettextlib should installed in $(libdir).
382lib_LTLIBRARIES = libgettextlib.la
383
384# Need @LTLIBINTL@ because many source files use gettext().
385# Need @LTLIBICONV@ because linebreak.c and striconv.c use iconv().
386libgettextlib_la_LDFLAGS += \
387  -release @VERSION@ \
388  @LTLIBINTL@ @LTLIBICONV@ -lc @LTNOUNDEF@
389
390# Tell the mingw or Cygwin linker which symbols to export.
391if WOE32DLL
392libgettextlib_la_SOURCES += ../woe32dll/gettextlib-exports.c
393libgettextlib_la_LDFLAGS += -Wl,--export-all-symbols
394endif
395
396# No need to install libgettextlib.a, except on AIX.
397install-exec-local: install-libLTLIBRARIES install-exec-clean
398install-exec-clean:
399	case "@host_os@" in \
400	  aix*) ;; \
401	  *) rm -f $(DESTDIR)$(libdir)/libgettextlib.a ;; \
402	esac
403
404# Extra files to be installed.
405
406gettextsrcdir = $(datadir)/gettext
407gettextsrc_DATA = gettext.h
408
409# Where to install javaversion.class.
410pkgdatadir = $(datadir)/gettext
411
412## end   gnulib module gettext-tools-misc
413
414## begin gnulib module hash
415
416libgettextlib_la_SOURCES += hash.h hash.c
417
418## end   gnulib module hash
419
420## begin gnulib module javacomp
421
422libgettextlib_la_SOURCES += javacomp.h javacomp.c
423
424## end   gnulib module javacomp
425
426## begin gnulib module javaexec
427
428DEFS += -DEXEEXT=\"$(EXEEXT)\"
429libgettextlib_la_SOURCES += javaexec.h javaexec.c
430
431## end   gnulib module javaexec
432
433## begin gnulib module javaversion
434
435libgettextlib_la_SOURCES += javaversion.h javaversion.c
436pkgdata_DATA += javaversion.class
437
438EXTRA_DIST += javaversion.class javaversion.java
439
440## end   gnulib module javaversion
441
442## begin gnulib module linebreak
443
444libgettextlib_la_SOURCES += linebreak.h linebreak.c lbrkprop.h
445
446## end   gnulib module linebreak
447
448## begin gnulib module linkedhash-list
449
450libgettextlib_la_SOURCES += gl_linkedhash_list.h gl_linkedhash_list.c gl_anyhash_list1.h gl_anyhash_list2.h gl_anylinked_list1.h gl_anylinked_list2.h
451
452## end   gnulib module linkedhash-list
453
454## begin gnulib module list
455
456libgettextlib_la_SOURCES += gl_list.h gl_list.c
457
458## end   gnulib module list
459
460## begin gnulib module localcharset
461
462libgettextlib_la_SOURCES += localcharset.h localcharset.c
463
464# We need the following in order to install a simple file in $(libdir)
465# which is shared with other installed packages. We use a list of referencing
466# packages so that "make uninstall" will remove the file if and only if it
467# is not used by another installed package.
468# On systems with glibc-2.1 or newer, the file is redundant, therefore we
469# avoid installing it.
470
471all-local: charset.alias ref-add.sed ref-del.sed
472
473charset_alias = $(DESTDIR)$(libdir)/charset.alias
474charset_tmp = $(DESTDIR)$(libdir)/charset.tmp
475install-exec-local: all-local
476	test $(GLIBC21) != no || $(mkinstalldirs) $(DESTDIR)$(libdir)
477	if test -f $(charset_alias); then \
478	  sed -f ref-add.sed $(charset_alias) > $(charset_tmp) ; \
479	  $(INSTALL_DATA) $(charset_tmp) $(charset_alias) ; \
480	  rm -f $(charset_tmp) ; \
481	else \
482	  if test $(GLIBC21) = no; then \
483	    sed -f ref-add.sed charset.alias > $(charset_tmp) ; \
484	    $(INSTALL_DATA) $(charset_tmp) $(charset_alias) ; \
485	    rm -f $(charset_tmp) ; \
486	  fi ; \
487	fi
488
489uninstall-local: all-local
490	if test -f $(charset_alias); then \
491	  sed -f ref-del.sed $(charset_alias) > $(charset_tmp); \
492	  if grep '^# Packages using this file: $$' $(charset_tmp) \
493	      > /dev/null; then \
494	    rm -f $(charset_alias); \
495	  else \
496	    $(INSTALL_DATA) $(charset_tmp) $(charset_alias); \
497	  fi; \
498	  rm -f $(charset_tmp); \
499	fi
500
501charset.alias: config.charset
502	rm -f t-$@ $@
503	$(SHELL) $(srcdir)/config.charset '$(host)' > t-$@
504	mv t-$@ $@
505
506SUFFIXES += .sed .sin
507.sin.sed:
508	rm -f t-$@ $@
509	sed -e '/^#/d' -e 's/@''PACKAGE''@/$(PACKAGE)/g' $< > t-$@
510	mv t-$@ $@
511
512CLEANFILES += charset.alias ref-add.sed ref-del.sed
513
514EXTRA_DIST += config.charset ref-add.sin ref-del.sin
515
516## end   gnulib module localcharset
517
518## begin gnulib module lock
519
520libgettextlib_la_SOURCES += lock.h lock.c
521
522## end   gnulib module lock
523
524## begin gnulib module mbchar
525
526
527EXTRA_DIST += mbchar.c mbchar.h
528
529## end   gnulib module mbchar
530
531## begin gnulib module mbswidth
532
533libgettextlib_la_SOURCES += mbswidth.h mbswidth.c
534
535## end   gnulib module mbswidth
536
537## begin gnulib module mbuiter
538
539libgettextlib_la_SOURCES += mbuiter.h
540
541## end   gnulib module mbuiter
542
543## begin gnulib module memchr
544
545
546EXTRA_DIST += memchr.c
547
548## end   gnulib module memchr
549
550## begin gnulib module memmove
551
552
553EXTRA_DIST += memmove.c
554
555## end   gnulib module memmove
556
557## begin gnulib module memset
558
559
560EXTRA_DIST += memset.c
561
562## end   gnulib module memset
563
564## begin gnulib module minmax
565
566libgettextlib_la_SOURCES += minmax.h
567
568## end   gnulib module minmax
569
570## begin gnulib module mkdtemp
571
572
573EXTRA_DIST += mkdtemp.c mkdtemp.h
574
575## end   gnulib module mkdtemp
576
577## begin gnulib module obstack
578
579
580EXTRA_DIST += obstack.c obstack.h
581
582## end   gnulib module obstack
583
584## begin gnulib module pathmax
585
586
587EXTRA_DIST += pathmax.h
588
589## end   gnulib module pathmax
590
591## begin gnulib module pathname
592
593libgettextlib_la_SOURCES += pathname.h concatpath.c
594
595## end   gnulib module pathname
596
597## begin gnulib module pipe
598
599libgettextlib_la_SOURCES += pipe.h pipe.c w32spawn.h
600
601## end   gnulib module pipe
602
603## begin gnulib module progname
604
605libgettextlib_la_SOURCES += progname.h progname.c
606
607## end   gnulib module progname
608
609## begin gnulib module progreloc
610
611AM_CPPFLAGS += -DEXEEXT=\"$(EXEEXT)\"
612libgettextlib_la_SOURCES += progreloc.c
613
614## end   gnulib module progreloc
615
616## begin gnulib module propername
617
618libgettextlib_la_SOURCES += propername.h propername.c
619
620## end   gnulib module propername
621
622## begin gnulib module quote
623
624libgettextlib_la_SOURCES += quote.h quote.c
625
626## end   gnulib module quote
627
628## begin gnulib module quotearg
629
630libgettextlib_la_SOURCES += quotearg.h quotearg.c
631
632## end   gnulib module quotearg
633
634## begin gnulib module readlink
635
636
637EXTRA_DIST += readlink.c
638
639## end   gnulib module readlink
640
641## begin gnulib module relocatable
642
643
644EXTRA_DIST += relocatable.c relocatable.h
645
646## end   gnulib module relocatable
647
648## begin gnulib module relocwrapper
649
650
651EXTRA_DIST += relocwrapper.c
652
653## end   gnulib module relocwrapper
654
655## begin gnulib module safe-read
656
657
658EXTRA_DIST += safe-read.c safe-read.h
659
660## end   gnulib module safe-read
661
662## begin gnulib module safe-write
663
664
665EXTRA_DIST += safe-write.c safe-write.h
666
667## end   gnulib module safe-write
668
669## begin gnulib module setenv
670
671
672EXTRA_DIST += setenv.c setenv.h unsetenv.c
673
674## end   gnulib module setenv
675
676## begin gnulib module sh-quote
677
678libgettextlib_la_SOURCES += sh-quote.h sh-quote.c
679
680## end   gnulib module sh-quote
681
682## begin gnulib module sigprocmask
683
684
685EXTRA_DIST += sigprocmask.c sigprocmask.h
686
687## end   gnulib module sigprocmask
688
689## begin gnulib module size_max
690
691libgettextlib_la_SOURCES += size_max.h
692
693## end   gnulib module size_max
694
695## begin gnulib module stdbool
696
697BUILT_SOURCES += $(STDBOOL_H)
698
699# We need the following in order to create <stdbool.h> when the system
700# doesn't have one that works.
701stdbool.h: stdbool_.h
702	rm -f $@-t $@
703	{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
704	  sed -e 's/@''HAVE__BOOL''@/$(HAVE__BOOL)/g' < $(srcdir)/stdbool_.h; \
705	} > $@-t
706	mv $@-t $@
707MOSTLYCLEANFILES += stdbool.h stdbool.h-t
708
709EXTRA_DIST += stdbool_.h
710
711## end   gnulib module stdbool
712
713## begin gnulib module stdint
714
715BUILT_SOURCES += $(STDINT_H)
716
717# We need the following in order to create <stdint.h> when the system
718# doesn't have one that works with the given compiler.
719stdint.h: stdint_.h
720	rm -f $@-t $@
721	{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
722	  sed -e 's/@''HAVE_WCHAR_H''@/$(HAVE_WCHAR_H)/g' \
723	      -e 's/@''HAVE_STDINT_H''@/$(HAVE_STDINT_H)/g' \
724	      -e 's|@''ABSOLUTE_STDINT_H''@|$(ABSOLUTE_STDINT_H)|g' \
725	      -e 's/@''HAVE_SYS_TYPES_H''@/$(HAVE_SYS_TYPES_H)/g' \
726	      -e 's/@''HAVE_INTTYPES_H''@/$(HAVE_INTTYPES_H)/g' \
727	      -e 's/@''HAVE_SYS_INTTYPES_H''@/$(HAVE_SYS_INTTYPES_H)/g' \
728	      -e 's/@''HAVE_SYS_BITYPES_H''@/$(HAVE_SYS_BITYPES_H)/g' \
729	      -e 's/@''HAVE_LONG_LONG_INT''@/$(HAVE_LONG_LONG_INT)/g' \
730	      -e 's/@''HAVE_UNSIGNED_LONG_LONG_INT''@/$(HAVE_UNSIGNED_LONG_LONG_INT)/g' \
731	      -e 's/@''BITSIZEOF_PTRDIFF_T''@/$(BITSIZEOF_PTRDIFF_T)/g' \
732	      -e 's/@''PTRDIFF_T_SUFFIX''@/$(PTRDIFF_T_SUFFIX)/g' \
733	      -e 's/@''BITSIZEOF_SIG_ATOMIC_T''@/$(BITSIZEOF_SIG_ATOMIC_T)/g' \
734	      -e 's/@''HAVE_SIGNED_SIG_ATOMIC_T''@/$(HAVE_SIGNED_SIG_ATOMIC_T)/g' \
735	      -e 's/@''SIG_ATOMIC_T_SUFFIX''@/$(SIG_ATOMIC_T_SUFFIX)/g' \
736	      -e 's/@''BITSIZEOF_SIZE_T''@/$(BITSIZEOF_SIZE_T)/g' \
737	      -e 's/@''SIZE_T_SUFFIX''@/$(SIZE_T_SUFFIX)/g' \
738	      -e 's/@''BITSIZEOF_WCHAR_T''@/$(BITSIZEOF_WCHAR_T)/g' \
739	      -e 's/@''HAVE_SIGNED_WCHAR_T''@/$(HAVE_SIGNED_WCHAR_T)/g' \
740	      -e 's/@''WCHAR_T_SUFFIX''@/$(WCHAR_T_SUFFIX)/g' \
741	      -e 's/@''BITSIZEOF_WINT_T''@/$(BITSIZEOF_WINT_T)/g' \
742	      -e 's/@''HAVE_SIGNED_WINT_T''@/$(HAVE_SIGNED_WINT_T)/g' \
743	      -e 's/@''WINT_T_SUFFIX''@/$(WINT_T_SUFFIX)/g' \
744	      < $(srcdir)/stdint_.h; \
745	} > $@-t
746	mv $@-t $@
747MOSTLYCLEANFILES += stdint.h stdint.h-t
748
749EXTRA_DIST += stdint_.h
750
751## end   gnulib module stdint
752
753## begin gnulib module stpcpy
754
755
756EXTRA_DIST += stpcpy.c stpcpy.h
757
758## end   gnulib module stpcpy
759
760## begin gnulib module stpncpy
761
762
763EXTRA_DIST += stpncpy.c stpncpy.h
764
765## end   gnulib module stpncpy
766
767## begin gnulib module strcspn
768
769
770EXTRA_DIST += strcspn.c
771
772## end   gnulib module strcspn
773
774## begin gnulib module strdup
775
776
777EXTRA_DIST += strdup.c strdup.h
778
779## end   gnulib module strdup
780
781## begin gnulib module strerror
782
783
784EXTRA_DIST += strerror.c
785
786## end   gnulib module strerror
787
788## begin gnulib module striconv
789
790libgettextlib_la_SOURCES += striconv.h striconv.c
791if GL_COND_LIBTOOL
792libgettextlib_la_LDFLAGS += $(LTLIBICONV)
793endif
794
795## end   gnulib module striconv
796
797## begin gnulib module strnlen1
798
799libgettextlib_la_SOURCES += strnlen1.h strnlen1.c
800
801## end   gnulib module strnlen1
802
803## begin gnulib module strpbrk
804
805
806EXTRA_DIST += strpbrk.c strpbrk.h
807
808## end   gnulib module strpbrk
809
810## begin gnulib module strstr
811
812
813EXTRA_DIST += strstr.c strstr.h
814
815## end   gnulib module strstr
816
817## begin gnulib module strtol
818
819
820EXTRA_DIST += strtol.c
821
822## end   gnulib module strtol
823
824## begin gnulib module strtoul
825
826
827EXTRA_DIST += strtoul.c
828
829## end   gnulib module strtoul
830
831## begin gnulib module tls
832
833libgettextlib_la_SOURCES += tls.h tls.c
834
835## end   gnulib module tls
836
837## begin gnulib module tmpdir
838
839libgettextlib_la_SOURCES += tmpdir.h tmpdir.c
840
841## end   gnulib module tmpdir
842
843## begin gnulib module ucs4-utf8
844
845libgettextlib_la_SOURCES += ucs4-utf8.h
846
847## end   gnulib module ucs4-utf8
848
849## begin gnulib module unistd
850
851BUILT_SOURCES += $(UNISTD_H)
852
853# We need the following in order to create an empty placeholder for
854# <unistd.h> when the system doesn't have one.
855unistd.h:
856	{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
857	  echo '/* Empty placeholder for $@.  */'; \
858	} > $@
859MOSTLYCLEANFILES += unistd.h
860
861## end   gnulib module unistd
862
863## begin gnulib module unlocked-io
864
865
866EXTRA_DIST += unlocked-io.h
867
868## end   gnulib module unlocked-io
869
870## begin gnulib module utf16-ucs4
871
872libgettextlib_la_SOURCES += utf16-ucs4.h
873
874## end   gnulib module utf16-ucs4
875
876## begin gnulib module utf8-ucs4
877
878libgettextlib_la_SOURCES += utf8-ucs4.h
879
880## end   gnulib module utf8-ucs4
881
882## begin gnulib module vasprintf
883
884
885EXTRA_DIST += vasprintf.c vasprintf.h
886
887## end   gnulib module vasprintf
888
889## begin gnulib module verify
890
891libgettextlib_la_SOURCES += verify.h
892
893## end   gnulib module verify
894
895## begin gnulib module wait-process
896
897libgettextlib_la_SOURCES += wait-process.h wait-process.c
898
899## end   gnulib module wait-process
900
901## begin gnulib module wcwidth
902
903libgettextlib_la_SOURCES += wcwidth.h
904
905## end   gnulib module wcwidth
906
907## begin gnulib module xalloc
908
909libgettextlib_la_SOURCES += xalloc.h xmalloc.c xstrdup.c
910
911## end   gnulib module xalloc
912
913## begin gnulib module xallocsa
914
915libgettextlib_la_SOURCES += xallocsa.h xallocsa.c
916
917## end   gnulib module xallocsa
918
919## begin gnulib module xerror
920
921libgettextlib_la_SOURCES += xerror.h xerror.c
922
923## end   gnulib module xerror
924
925## begin gnulib module xreadlink
926
927libgettextlib_la_SOURCES += xreadlink.h xreadlink.c
928
929## end   gnulib module xreadlink
930
931## begin gnulib module xsetenv
932
933libgettextlib_la_SOURCES += xsetenv.h xsetenv.c
934
935## end   gnulib module xsetenv
936
937## begin gnulib module xsize
938
939libgettextlib_la_SOURCES += xsize.h
940
941## end   gnulib module xsize
942
943## begin gnulib module xstriconv
944
945libgettextlib_la_SOURCES += xstriconv.h xstriconv.c
946
947## end   gnulib module xstriconv
948
949## begin gnulib module xvasprintf
950
951libgettextlib_la_SOURCES += xvasprintf.h xvasprintf.c xasprintf.c
952
953EXTRA_DIST += xalloc.h
954
955## end   gnulib module xvasprintf
956
957
958mostlyclean-local: mostlyclean-generic
959	@for dir in '' $(MOSTLYCLEANDIRS); do \
960	  if test -n "$$dir" && test -d $$dir; then \
961	    echo "rmdir $$dir"; rmdir $$dir; \
962	  fi; \
963	done
964