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=libgnu --source-base=libgettextpo --m4-base=libgettextpo/gnulib-m4 --doc-base=doc --aux-dir=../build-aux --makefile_name=Makefile.gnulib --libtool --macro-prefix=gtpo basename c-ctype c-strcase c-strstr error error-progname exit fstrcmp fwriteerror gcd getline gettext-h gettext-tools-libgettextpo-misc hash iconv linebreak minmax pathname progname stdbool ucs4-utf8 unlocked-io utf16-ucs4 utf8-ucs4 vasprintf xalloc xallocsa xerror xstriconv xvasprintf
13
14
15noinst_LTLIBRARIES += libgnu.la
16
17libgnu_la_SOURCES =
18libgnu_la_LIBADD = $(gtpo_LTLIBOBJS)
19libgnu_la_DEPENDENCIES = $(gtpo_LTLIBOBJS)
20libgnu_la_LDFLAGS = $(AM_LDFLAGS)
21MOSTLYCLEANFILES += core *.stackdump
22
23## begin gnulib module alloca-opt
24
25BUILT_SOURCES += $(ALLOCA_H)
26
27# We need the following in order to create <alloca.h> when the system
28# doesn't have one that works with the given compiler.
29alloca.h: alloca_.h
30	{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
31	  cat $(srcdir)/alloca_.h; \
32	} > $@-t
33	mv -f $@-t $@
34MOSTLYCLEANFILES += alloca.h alloca.h-t
35
36EXTRA_DIST += alloca_.h
37
38## end   gnulib module alloca-opt
39
40## begin gnulib module allocsa
41
42libgnu_la_SOURCES += allocsa.h allocsa.c
43
44EXTRA_DIST += allocsa.valgrind
45
46## end   gnulib module allocsa
47
48## begin gnulib module basename
49
50libgnu_la_SOURCES += basename.h basename.c
51
52## end   gnulib module basename
53
54## begin gnulib module c-ctype
55
56libgnu_la_SOURCES += c-ctype.h c-ctype.c
57
58## end   gnulib module c-ctype
59
60## begin gnulib module c-strcase
61
62libgnu_la_SOURCES += c-strcase.h c-strcasecmp.c c-strncasecmp.c
63
64## end   gnulib module c-strcase
65
66## begin gnulib module c-strstr
67
68libgnu_la_SOURCES += c-strstr.h c-strstr.c
69
70## end   gnulib module c-strstr
71
72## begin gnulib module configmake
73
74# Retrieve values of the variables through 'configure' followed by
75# 'make', not directly through 'configure', so that a user who
76# sets some of these variables consistently on the 'make' command
77# line gets correct results.
78#
79# One advantage of this approach, compared to the classical
80# approach of adding -DLIBDIR=\"$(libdir)\" etc. to AM_CPPFLAGS,
81# is that it protects against the use of undefined variables.
82# If, say, $(libdir) is not set in the Makefile, LIBDIR is not
83# defined by this module, and code using LIBDIR gives a
84# compilation error.
85#
86# Another advantage is that 'make' output is shorter.
87#
88# Listed in the same order as the GNU makefile conventions.
89# The Automake-defined pkg* macros are appended, in the order
90# listed in the Automake 1.10a+ documentation.
91configmake.h: Makefile
92	rm -f $@-t $@
93	{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
94	  echo '#define PREFIX "$(prefix)"'; \
95	  echo '#define EXEC_PREFIX "$(exec_prefix)"'; \
96	  echo '#define BINDIR "$(bindir)"'; \
97	  echo '#define SBINDIR "$(sbindir)"'; \
98	  echo '#define LIBEXECDIR "$(libexecdir)"'; \
99	  echo '#define DATAROOTDIR "$(datarootdir)"'; \
100	  echo '#define DATADIR "$(datadir)"'; \
101	  echo '#define SYSCONFDIR "$(sysconfdir)"'; \
102	  echo '#define SHAREDSTATEDIR "$(sharedstatedir)"'; \
103	  echo '#define LOCALSTATEDIR "$(localstatedir)"'; \
104	  echo '#define INCLUDEDIR "$(includedir)"'; \
105	  echo '#define OLDINCLUDEDIR "$(oldincludedir)"'; \
106	  echo '#define DOCDIR "$(docdir)"'; \
107	  echo '#define INFODIR "$(infodir)"'; \
108	  echo '#define HTMLDIR "$(htmldir)"'; \
109	  echo '#define DVIDIR "$(dvidir)"'; \
110	  echo '#define PDFDIR "$(pdfdir)"'; \
111	  echo '#define PSDIR "$(psdir)"'; \
112	  echo '#define LIBDIR "$(libdir)"'; \
113	  echo '#define LISPDIR "$(lispdir)"'; \
114	  echo '#define LOCALEDIR "$(localedir)"'; \
115	  echo '#define MANDIR "$(mandir)"'; \
116	  echo '#define MANEXT "$(manext)"'; \
117	  echo '#define PKGDATADIR "$(pkgdatadir)"'; \
118	  echo '#define PKGINCLUDEDIR "$(pkgincludedir)"'; \
119	  echo '#define PKGLIBDIR "$(pkglibdir)"'; \
120	  echo '#define PKGLIBEXECDIR "$(pkglibexecdir)"'; \
121	} | sed '/""/d' > $@-t
122	mv $@-t $@
123BUILT_SOURCES += configmake.h
124CLEANFILES += configmake.h configmake.h-t
125
126## end   gnulib module configmake
127
128## begin gnulib module error
129
130
131EXTRA_DIST += error.c error.h
132
133## end   gnulib module error
134
135## begin gnulib module error-progname
136
137libgnu_la_SOURCES += error-progname.h error-progname.c
138
139## end   gnulib module error-progname
140
141## begin gnulib module exit
142
143libgnu_la_SOURCES += exit.h
144
145## end   gnulib module exit
146
147## begin gnulib module exitfail
148
149libgnu_la_SOURCES += exitfail.h exitfail.c
150
151## end   gnulib module exitfail
152
153## begin gnulib module fstrcmp
154
155libgnu_la_SOURCES += fstrcmp.h fstrcmp.c
156
157## end   gnulib module fstrcmp
158
159## begin gnulib module fwriteerror
160
161libgnu_la_SOURCES += fwriteerror.h fwriteerror.c
162
163## end   gnulib module fwriteerror
164
165## begin gnulib module gcd
166
167libgnu_la_SOURCES += gcd.h gcd.c
168
169## end   gnulib module gcd
170
171## begin gnulib module getdelim
172
173
174EXTRA_DIST += getdelim.c getdelim.h
175
176## end   gnulib module getdelim
177
178## begin gnulib module getline
179
180
181EXTRA_DIST += getline.c getline.h
182
183## end   gnulib module getline
184
185## begin gnulib module gettext-h
186
187libgnu_la_SOURCES += gettext.h
188
189## end   gnulib module gettext-h
190
191## begin gnulib module hash
192
193libgnu_la_SOURCES += hash.h hash.c
194
195## end   gnulib module hash
196
197## begin gnulib module linebreak
198
199libgnu_la_SOURCES += linebreak.h linebreak.c lbrkprop.h
200
201## end   gnulib module linebreak
202
203## begin gnulib module localcharset
204
205libgnu_la_SOURCES += localcharset.h localcharset.c
206
207# We need the following in order to install a simple file in $(libdir)
208# which is shared with other installed packages. We use a list of referencing
209# packages so that "make uninstall" will remove the file if and only if it
210# is not used by another installed package.
211# On systems with glibc-2.1 or newer, the file is redundant, therefore we
212# avoid installing it.
213
214all-local: charset.alias ref-add.sed ref-del.sed
215
216charset_alias = $(DESTDIR)$(libdir)/charset.alias
217charset_tmp = $(DESTDIR)$(libdir)/charset.tmp
218install-exec-local: all-local
219	test $(GLIBC21) != no || $(mkinstalldirs) $(DESTDIR)$(libdir)
220	if test -f $(charset_alias); then \
221	  sed -f ref-add.sed $(charset_alias) > $(charset_tmp) ; \
222	  $(INSTALL_DATA) $(charset_tmp) $(charset_alias) ; \
223	  rm -f $(charset_tmp) ; \
224	else \
225	  if test $(GLIBC21) = no; then \
226	    sed -f ref-add.sed charset.alias > $(charset_tmp) ; \
227	    $(INSTALL_DATA) $(charset_tmp) $(charset_alias) ; \
228	    rm -f $(charset_tmp) ; \
229	  fi ; \
230	fi
231
232uninstall-local: all-local
233	if test -f $(charset_alias); then \
234	  sed -f ref-del.sed $(charset_alias) > $(charset_tmp); \
235	  if grep '^# Packages using this file: $$' $(charset_tmp) \
236	      > /dev/null; then \
237	    rm -f $(charset_alias); \
238	  else \
239	    $(INSTALL_DATA) $(charset_tmp) $(charset_alias); \
240	  fi; \
241	  rm -f $(charset_tmp); \
242	fi
243
244charset.alias: config.charset
245	rm -f t-$@ $@
246	$(SHELL) $(srcdir)/config.charset '$(host)' > t-$@
247	mv t-$@ $@
248
249SUFFIXES += .sed .sin
250.sin.sed:
251	rm -f t-$@ $@
252	sed -e '/^#/d' -e 's/@''PACKAGE''@/$(PACKAGE)/g' $< > t-$@
253	mv t-$@ $@
254
255CLEANFILES += charset.alias ref-add.sed ref-del.sed
256
257EXTRA_DIST += config.charset ref-add.sin ref-del.sin
258
259## end   gnulib module localcharset
260
261## begin gnulib module lock
262
263libgnu_la_SOURCES += lock.h lock.c
264
265## end   gnulib module lock
266
267## begin gnulib module mbswidth
268
269libgnu_la_SOURCES += mbswidth.h mbswidth.c
270
271## end   gnulib module mbswidth
272
273## begin gnulib module minmax
274
275libgnu_la_SOURCES += minmax.h
276
277## end   gnulib module minmax
278
279## begin gnulib module obstack
280
281
282EXTRA_DIST += obstack.c obstack.h
283
284## end   gnulib module obstack
285
286## begin gnulib module pathname
287
288libgnu_la_SOURCES += pathname.h concatpath.c
289
290## end   gnulib module pathname
291
292## begin gnulib module progname
293
294libgnu_la_SOURCES += progname.h progname.c
295
296## end   gnulib module progname
297
298## begin gnulib module relocatable
299
300
301EXTRA_DIST += relocatable.c relocatable.h
302
303## end   gnulib module relocatable
304
305## begin gnulib module size_max
306
307libgnu_la_SOURCES += size_max.h
308
309## end   gnulib module size_max
310
311## begin gnulib module stdbool
312
313BUILT_SOURCES += $(STDBOOL_H)
314
315# We need the following in order to create <stdbool.h> when the system
316# doesn't have one that works.
317stdbool.h: stdbool_.h
318	rm -f $@-t $@
319	{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
320	  sed -e 's/@''HAVE__BOOL''@/$(HAVE__BOOL)/g' < $(srcdir)/stdbool_.h; \
321	} > $@-t
322	mv $@-t $@
323MOSTLYCLEANFILES += stdbool.h stdbool.h-t
324
325EXTRA_DIST += stdbool_.h
326
327## end   gnulib module stdbool
328
329## begin gnulib module stdint
330
331BUILT_SOURCES += $(STDINT_H)
332
333# We need the following in order to create <stdint.h> when the system
334# doesn't have one that works with the given compiler.
335stdint.h: stdint_.h
336	rm -f $@-t $@
337	{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
338	  sed -e 's/@''HAVE_WCHAR_H''@/$(HAVE_WCHAR_H)/g' \
339	      -e 's/@''HAVE_STDINT_H''@/$(HAVE_STDINT_H)/g' \
340	      -e 's|@''ABSOLUTE_STDINT_H''@|$(ABSOLUTE_STDINT_H)|g' \
341	      -e 's/@''HAVE_SYS_TYPES_H''@/$(HAVE_SYS_TYPES_H)/g' \
342	      -e 's/@''HAVE_INTTYPES_H''@/$(HAVE_INTTYPES_H)/g' \
343	      -e 's/@''HAVE_SYS_INTTYPES_H''@/$(HAVE_SYS_INTTYPES_H)/g' \
344	      -e 's/@''HAVE_SYS_BITYPES_H''@/$(HAVE_SYS_BITYPES_H)/g' \
345	      -e 's/@''HAVE_LONG_LONG_INT''@/$(HAVE_LONG_LONG_INT)/g' \
346	      -e 's/@''HAVE_UNSIGNED_LONG_LONG_INT''@/$(HAVE_UNSIGNED_LONG_LONG_INT)/g' \
347	      -e 's/@''BITSIZEOF_PTRDIFF_T''@/$(BITSIZEOF_PTRDIFF_T)/g' \
348	      -e 's/@''PTRDIFF_T_SUFFIX''@/$(PTRDIFF_T_SUFFIX)/g' \
349	      -e 's/@''BITSIZEOF_SIG_ATOMIC_T''@/$(BITSIZEOF_SIG_ATOMIC_T)/g' \
350	      -e 's/@''HAVE_SIGNED_SIG_ATOMIC_T''@/$(HAVE_SIGNED_SIG_ATOMIC_T)/g' \
351	      -e 's/@''SIG_ATOMIC_T_SUFFIX''@/$(SIG_ATOMIC_T_SUFFIX)/g' \
352	      -e 's/@''BITSIZEOF_SIZE_T''@/$(BITSIZEOF_SIZE_T)/g' \
353	      -e 's/@''SIZE_T_SUFFIX''@/$(SIZE_T_SUFFIX)/g' \
354	      -e 's/@''BITSIZEOF_WCHAR_T''@/$(BITSIZEOF_WCHAR_T)/g' \
355	      -e 's/@''HAVE_SIGNED_WCHAR_T''@/$(HAVE_SIGNED_WCHAR_T)/g' \
356	      -e 's/@''WCHAR_T_SUFFIX''@/$(WCHAR_T_SUFFIX)/g' \
357	      -e 's/@''BITSIZEOF_WINT_T''@/$(BITSIZEOF_WINT_T)/g' \
358	      -e 's/@''HAVE_SIGNED_WINT_T''@/$(HAVE_SIGNED_WINT_T)/g' \
359	      -e 's/@''WINT_T_SUFFIX''@/$(WINT_T_SUFFIX)/g' \
360	      < $(srcdir)/stdint_.h; \
361	} > $@-t
362	mv $@-t $@
363MOSTLYCLEANFILES += stdint.h stdint.h-t
364
365EXTRA_DIST += stdint_.h
366
367## end   gnulib module stdint
368
369## begin gnulib module stpcpy
370
371
372EXTRA_DIST += stpcpy.c stpcpy.h
373
374## end   gnulib module stpcpy
375
376## begin gnulib module strdup
377
378
379EXTRA_DIST += strdup.c strdup.h
380
381## end   gnulib module strdup
382
383## begin gnulib module striconv
384
385libgnu_la_SOURCES += striconv.h striconv.c
386if GL_COND_LIBTOOL
387libgnu_la_LDFLAGS += $(LTLIBICONV)
388endif
389
390## end   gnulib module striconv
391
392## begin gnulib module tls
393
394libgnu_la_SOURCES += tls.h tls.c
395
396## end   gnulib module tls
397
398## begin gnulib module ucs4-utf8
399
400libgnu_la_SOURCES += ucs4-utf8.h
401
402## end   gnulib module ucs4-utf8
403
404## begin gnulib module unlocked-io
405
406
407EXTRA_DIST += unlocked-io.h
408
409## end   gnulib module unlocked-io
410
411## begin gnulib module utf16-ucs4
412
413libgnu_la_SOURCES += utf16-ucs4.h
414
415## end   gnulib module utf16-ucs4
416
417## begin gnulib module utf8-ucs4
418
419libgnu_la_SOURCES += utf8-ucs4.h
420
421## end   gnulib module utf8-ucs4
422
423## begin gnulib module vasprintf
424
425
426EXTRA_DIST += vasprintf.c vasprintf.h
427
428## end   gnulib module vasprintf
429
430## begin gnulib module wcwidth
431
432libgnu_la_SOURCES += wcwidth.h
433
434## end   gnulib module wcwidth
435
436## begin gnulib module xalloc
437
438libgnu_la_SOURCES += xalloc.h xmalloc.c xstrdup.c
439
440## end   gnulib module xalloc
441
442## begin gnulib module xallocsa
443
444libgnu_la_SOURCES += xallocsa.h xallocsa.c
445
446## end   gnulib module xallocsa
447
448## begin gnulib module xerror
449
450libgnu_la_SOURCES += xerror.h xerror.c
451
452## end   gnulib module xerror
453
454## begin gnulib module xsize
455
456libgnu_la_SOURCES += xsize.h
457
458## end   gnulib module xsize
459
460## begin gnulib module xstriconv
461
462libgnu_la_SOURCES += xstriconv.h xstriconv.c
463
464## end   gnulib module xstriconv
465
466## begin gnulib module xvasprintf
467
468libgnu_la_SOURCES += xvasprintf.h xvasprintf.c xasprintf.c
469
470EXTRA_DIST += xalloc.h
471
472## end   gnulib module xvasprintf
473
474
475mostlyclean-local: mostlyclean-generic
476	@for dir in '' $(MOSTLYCLEANDIRS); do \
477	  if test -n "$$dir" && test -d $$dir; then \
478	    echo "rmdir $$dir"; rmdir $$dir; \
479	  fi; \
480	done
481