1 ## DO NOT EDIT! GENERATED AUTOMATICALLY!
2 ## Process this file with automake to produce Makefile.in.
3 # Copyright (C) 2002-2008 Free Software Foundation, Inc.
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.
11 # Generated by gnulib-tool.
12 # Reproduce by: gnulib-tool --import --dir=. --lib=libgnu --source-base=lib --m4-base=m4 --doc-base=doc --aux-dir=. --no-libtool --macro-prefix=gl c-ctype getopt maintainer-makefile quote
14 AUTOMAKE_OPTIONS = 1.5 gnits
22 MOSTLYCLEANFILES = core *.stackdump
26 MAINTAINERCLEANFILES =
30 noinst_LIBRARIES += libgnu.a
33 libgnu_a_LIBADD = $(gl_LIBOBJS)
34 libgnu_a_DEPENDENCIES = $(gl_LIBOBJS)
35 EXTRA_libgnu_a_SOURCES =
37 ## begin gnulib module c-ctype
39 libgnu_a_SOURCES += c-ctype.h c-ctype.c
41 ## end gnulib module c-ctype
43 ## begin gnulib module error
46 EXTRA_DIST += error.c error.h
48 EXTRA_libgnu_a_SOURCES += error.c
50 ## end gnulib module error
52 ## begin gnulib module exitfail
55 EXTRA_DIST += exitfail.c exitfail.h
57 EXTRA_libgnu_a_SOURCES += exitfail.c
59 ## end gnulib module exitfail
61 ## begin gnulib module getopt
63 BUILT_SOURCES += $(GETOPT_H)
65 # We need the following in order to create <getopt.h> when the system
66 # doesn't have one that works with the given compiler.
68 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
69 cat $(srcdir)/getopt.in.h; \
72 MOSTLYCLEANFILES += getopt.h getopt.h-t
74 EXTRA_DIST += getopt.c getopt.in.h getopt1.c getopt_int.h
76 EXTRA_libgnu_a_SOURCES += getopt.c getopt1.c
78 ## end gnulib module getopt
80 ## begin gnulib module gettext-h
82 libgnu_a_SOURCES += gettext.h
84 ## end gnulib module gettext-h
86 ## begin gnulib module gnumakefile
88 distclean-local: clean-GNUmakefile
90 test x'$(VPATH)' != x && rm -f $(top_builddir)/GNUmakefile || :
92 EXTRA_DIST += $(top_srcdir)/GNUmakefile
94 ## end gnulib module gnumakefile
96 ## begin gnulib module intprops
99 EXTRA_DIST += intprops.h
101 ## end gnulib module intprops
103 ## begin gnulib module link-warning
105 LINK_WARNING_H=$(top_srcdir)/./link-warning.h
107 EXTRA_DIST += $(top_srcdir)/./link-warning.h
109 ## end gnulib module link-warning
111 ## begin gnulib module maintainer-makefile
113 EXTRA_DIST += $(top_srcdir)/maint.mk
115 ## end gnulib module maintainer-makefile
117 ## begin gnulib module quote
120 EXTRA_DIST += quote.c quote.h
122 EXTRA_libgnu_a_SOURCES += quote.c
124 ## end gnulib module quote
126 ## begin gnulib module quotearg
129 EXTRA_DIST += quotearg.c quotearg.h
131 EXTRA_libgnu_a_SOURCES += quotearg.c
133 ## end gnulib module quotearg
135 ## begin gnulib module stdbool
137 BUILT_SOURCES += $(STDBOOL_H)
139 # We need the following in order to create <stdbool.h> when the system
140 # doesn't have one that works.
141 stdbool.h: stdbool.in.h
143 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
144 sed -e 's/@''HAVE__BOOL''@/$(HAVE__BOOL)/g' < $(srcdir)/stdbool.in.h; \
147 MOSTLYCLEANFILES += stdbool.h stdbool.h-t
149 EXTRA_DIST += stdbool.in.h
151 ## end gnulib module stdbool
153 ## begin gnulib module stdlib
155 BUILT_SOURCES += stdlib.h
157 # We need the following in order to create <stdlib.h> when the system
158 # doesn't have one that works with the given compiler.
159 stdlib.h: stdlib.in.h
161 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
162 sed -e 's/@''INCLUDE_NEXT''@/$(INCLUDE_NEXT)/g' \
163 -e 's|@''NEXT_STDLIB_H''@|$(NEXT_STDLIB_H)|g' \
164 -e 's|@''GNULIB_MALLOC_POSIX''@|$(GNULIB_MALLOC_POSIX)|g' \
165 -e 's|@''GNULIB_REALLOC_POSIX''@|$(GNULIB_REALLOC_POSIX)|g' \
166 -e 's|@''GNULIB_CALLOC_POSIX''@|$(GNULIB_CALLOC_POSIX)|g' \
167 -e 's|@''GNULIB_GETSUBOPT''@|$(GNULIB_GETSUBOPT)|g' \
168 -e 's|@''GNULIB_MKDTEMP''@|$(GNULIB_MKDTEMP)|g' \
169 -e 's|@''GNULIB_MKSTEMP''@|$(GNULIB_MKSTEMP)|g' \
170 -e 's|@''GNULIB_PUTENV''@|$(GNULIB_PUTENV)|g' \
171 -e 's|@''GNULIB_SETENV''@|$(GNULIB_SETENV)|g' \
172 -e 's|@''GNULIB_STRTOD''@|$(GNULIB_STRTOD)|g' \
173 -e 's|@''GNULIB_UNSETENV''@|$(GNULIB_UNSETENV)|g' \
174 -e 's|@''HAVE_CALLOC_POSIX''@|$(HAVE_CALLOC_POSIX)|g' \
175 -e 's|@''HAVE_GETSUBOPT''@|$(HAVE_GETSUBOPT)|g' \
176 -e 's|@''HAVE_MALLOC_POSIX''@|$(HAVE_MALLOC_POSIX)|g' \
177 -e 's|@''HAVE_MKDTEMP''@|$(HAVE_MKDTEMP)|g' \
178 -e 's|@''HAVE_REALLOC_POSIX''@|$(HAVE_REALLOC_POSIX)|g' \
179 -e 's|@''HAVE_SETENV''@|$(HAVE_SETENV)|g' \
180 -e 's|@''HAVE_STRTOD''@|$(HAVE_STRTOD)|g' \
181 -e 's|@''HAVE_UNSETENV''@|$(HAVE_UNSETENV)|g' \
182 -e 's|@''REPLACE_MKSTEMP''@|$(REPLACE_MKSTEMP)|g' \
183 -e 's|@''REPLACE_PUTENV''@|$(REPLACE_PUTENV)|g' \
184 -e 's|@''REPLACE_STRTOD''@|$(REPLACE_STRTOD)|g' \
185 -e 's|@''VOID_UNSETENV''@|$(VOID_UNSETENV)|g' \
186 -e '/definition of GL_LINK_WARNING/r $(LINK_WARNING_H)' \
187 < $(srcdir)/stdlib.in.h; \
190 MOSTLYCLEANFILES += stdlib.h stdlib.h-t
192 EXTRA_DIST += stdlib.in.h
194 ## end gnulib module stdlib
196 ## begin gnulib module strerror
199 EXTRA_DIST += strerror.c
201 EXTRA_libgnu_a_SOURCES += strerror.c
203 ## end gnulib module strerror
205 ## begin gnulib module string
207 BUILT_SOURCES += string.h
209 # We need the following in order to create <string.h> when the system
210 # doesn't have one that works with the given compiler.
211 string.h: string.in.h
213 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
214 sed -e 's/@''INCLUDE_NEXT''@/$(INCLUDE_NEXT)/g' \
215 -e 's|@''NEXT_STRING_H''@|$(NEXT_STRING_H)|g' \
216 -e 's|@''GNULIB_MBSLEN''@|$(GNULIB_MBSLEN)|g' \
217 -e 's|@''GNULIB_MBSNLEN''@|$(GNULIB_MBSNLEN)|g' \
218 -e 's|@''GNULIB_MBSCHR''@|$(GNULIB_MBSCHR)|g' \
219 -e 's|@''GNULIB_MBSRCHR''@|$(GNULIB_MBSRCHR)|g' \
220 -e 's|@''GNULIB_MBSSTR''@|$(GNULIB_MBSSTR)|g' \
221 -e 's|@''GNULIB_MBSCASECMP''@|$(GNULIB_MBSCASECMP)|g' \
222 -e 's|@''GNULIB_MBSNCASECMP''@|$(GNULIB_MBSNCASECMP)|g' \
223 -e 's|@''GNULIB_MBSPCASECMP''@|$(GNULIB_MBSPCASECMP)|g' \
224 -e 's|@''GNULIB_MBSCASESTR''@|$(GNULIB_MBSCASESTR)|g' \
225 -e 's|@''GNULIB_MBSCSPN''@|$(GNULIB_MBSCSPN)|g' \
226 -e 's|@''GNULIB_MBSPBRK''@|$(GNULIB_MBSPBRK)|g' \
227 -e 's|@''GNULIB_MBSSPN''@|$(GNULIB_MBSSPN)|g' \
228 -e 's|@''GNULIB_MBSSEP''@|$(GNULIB_MBSSEP)|g' \
229 -e 's|@''GNULIB_MBSTOK_R''@|$(GNULIB_MBSTOK_R)|g' \
230 -e 's|@''GNULIB_MEMMEM''@|$(GNULIB_MEMMEM)|g' \
231 -e 's|@''GNULIB_MEMPCPY''@|$(GNULIB_MEMPCPY)|g' \
232 -e 's|@''GNULIB_MEMRCHR''@|$(GNULIB_MEMRCHR)|g' \
233 -e 's|@''GNULIB_STPCPY''@|$(GNULIB_STPCPY)|g' \
234 -e 's|@''GNULIB_STPNCPY''@|$(GNULIB_STPNCPY)|g' \
235 -e 's|@''GNULIB_STRCHRNUL''@|$(GNULIB_STRCHRNUL)|g' \
236 -e 's|@''GNULIB_STRDUP''@|$(GNULIB_STRDUP)|g' \
237 -e 's|@''GNULIB_STRNDUP''@|$(GNULIB_STRNDUP)|g' \
238 -e 's|@''GNULIB_STRNLEN''@|$(GNULIB_STRNLEN)|g' \
239 -e 's|@''GNULIB_STRPBRK''@|$(GNULIB_STRPBRK)|g' \
240 -e 's|@''GNULIB_STRSEP''@|$(GNULIB_STRSEP)|g' \
241 -e 's|@''GNULIB_STRSTR''@|$(GNULIB_STRSTR)|g' \
242 -e 's|@''GNULIB_STRCASESTR''@|$(GNULIB_STRCASESTR)|g' \
243 -e 's|@''GNULIB_STRTOK_R''@|$(GNULIB_STRTOK_R)|g' \
244 -e 's|@''GNULIB_STRERROR''@|$(GNULIB_STRERROR)|g' \
245 -e 's|@''GNULIB_STRSIGNAL''@|$(GNULIB_STRSIGNAL)|g' \
246 -e 's|@''HAVE_DECL_MEMMEM''@|$(HAVE_DECL_MEMMEM)|g' \
247 -e 's|@''HAVE_MEMPCPY''@|$(HAVE_MEMPCPY)|g' \
248 -e 's|@''HAVE_DECL_MEMRCHR''@|$(HAVE_DECL_MEMRCHR)|g' \
249 -e 's|@''HAVE_STPCPY''@|$(HAVE_STPCPY)|g' \
250 -e 's|@''HAVE_STPNCPY''@|$(HAVE_STPNCPY)|g' \
251 -e 's|@''HAVE_STRCHRNUL''@|$(HAVE_STRCHRNUL)|g' \
252 -e 's|@''HAVE_DECL_STRDUP''@|$(HAVE_DECL_STRDUP)|g' \
253 -e 's|@''HAVE_STRNDUP''@|$(HAVE_STRNDUP)|g' \
254 -e 's|@''HAVE_DECL_STRNDUP''@|$(HAVE_DECL_STRNDUP)|g' \
255 -e 's|@''HAVE_DECL_STRNLEN''@|$(HAVE_DECL_STRNLEN)|g' \
256 -e 's|@''HAVE_STRPBRK''@|$(HAVE_STRPBRK)|g' \
257 -e 's|@''HAVE_STRSEP''@|$(HAVE_STRSEP)|g' \
258 -e 's|@''HAVE_STRCASESTR''@|$(HAVE_STRCASESTR)|g' \
259 -e 's|@''HAVE_DECL_STRTOK_R''@|$(HAVE_DECL_STRTOK_R)|g' \
260 -e 's|@''HAVE_DECL_STRERROR''@|$(HAVE_DECL_STRERROR)|g' \
261 -e 's|@''HAVE_DECL_STRSIGNAL''@|$(HAVE_DECL_STRSIGNAL)|g' \
262 -e 's|@''REPLACE_MEMMEM''@|$(REPLACE_MEMMEM)|g' \
263 -e 's|@''REPLACE_STRCASESTR''@|$(REPLACE_STRCASESTR)|g' \
264 -e 's|@''REPLACE_STRSTR''@|$(REPLACE_STRSTR)|g' \
265 -e 's|@''REPLACE_STRERROR''@|$(REPLACE_STRERROR)|g' \
266 -e 's|@''REPLACE_STRSIGNAL''@|$(REPLACE_STRSIGNAL)|g' \
267 -e '/definition of GL_LINK_WARNING/r $(LINK_WARNING_H)' \
268 < $(srcdir)/string.in.h; \
271 MOSTLYCLEANFILES += string.h string.h-t
273 EXTRA_DIST += string.in.h
275 ## end gnulib module string
277 ## begin gnulib module unistd
279 BUILT_SOURCES += unistd.h
281 # We need the following in order to create an empty placeholder for
282 # <unistd.h> when the system doesn't have one.
283 unistd.h: unistd.in.h
285 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
286 sed -e 's|@''HAVE_UNISTD_H''@|$(HAVE_UNISTD_H)|g' \
287 -e 's/@''INCLUDE_NEXT''@/$(INCLUDE_NEXT)/g' \
288 -e 's|@''NEXT_UNISTD_H''@|$(NEXT_UNISTD_H)|g' \
289 -e 's|@''GNULIB_CHOWN''@|$(GNULIB_CHOWN)|g' \
290 -e 's|@''GNULIB_DUP2''@|$(GNULIB_DUP2)|g' \
291 -e 's|@''GNULIB_ENVIRON''@|$(GNULIB_ENVIRON)|g' \
292 -e 's|@''GNULIB_FCHDIR''@|$(GNULIB_FCHDIR)|g' \
293 -e 's|@''GNULIB_FTRUNCATE''@|$(GNULIB_FTRUNCATE)|g' \
294 -e 's|@''GNULIB_GETCWD''@|$(GNULIB_GETCWD)|g' \
295 -e 's|@''GNULIB_GETLOGIN_R''@|$(GNULIB_GETLOGIN_R)|g' \
296 -e 's|@''GNULIB_GETPAGESIZE''@|$(GNULIB_GETPAGESIZE)|g' \
297 -e 's|@''GNULIB_LCHOWN''@|$(GNULIB_LCHOWN)|g' \
298 -e 's|@''GNULIB_LSEEK''@|$(GNULIB_LSEEK)|g' \
299 -e 's|@''GNULIB_READLINK''@|$(GNULIB_READLINK)|g' \
300 -e 's|@''GNULIB_SLEEP''@|$(GNULIB_SLEEP)|g' \
301 -e 's|@''HAVE_DUP2''@|$(HAVE_DUP2)|g' \
302 -e 's|@''HAVE_FTRUNCATE''@|$(HAVE_FTRUNCATE)|g' \
303 -e 's|@''HAVE_GETPAGESIZE''@|$(HAVE_GETPAGESIZE)|g' \
304 -e 's|@''HAVE_READLINK''@|$(HAVE_READLINK)|g' \
305 -e 's|@''HAVE_SLEEP''@|$(HAVE_SLEEP)|g' \
306 -e 's|@''HAVE_DECL_ENVIRON''@|$(HAVE_DECL_ENVIRON)|g' \
307 -e 's|@''HAVE_DECL_GETLOGIN_R''@|$(HAVE_DECL_GETLOGIN_R)|g' \
308 -e 's|@''HAVE_OS_H''@|$(HAVE_OS_H)|g' \
309 -e 's|@''HAVE_SYS_PARAM_H''@|$(HAVE_SYS_PARAM_H)|g' \
310 -e 's|@''REPLACE_CHOWN''@|$(REPLACE_CHOWN)|g' \
311 -e 's|@''REPLACE_FCHDIR''@|$(REPLACE_FCHDIR)|g' \
312 -e 's|@''REPLACE_GETCWD''@|$(REPLACE_GETCWD)|g' \
313 -e 's|@''REPLACE_GETPAGESIZE''@|$(REPLACE_GETPAGESIZE)|g' \
314 -e 's|@''REPLACE_LCHOWN''@|$(REPLACE_LCHOWN)|g' \
315 -e 's|@''REPLACE_LSEEK''@|$(REPLACE_LSEEK)|g' \
316 < $(srcdir)/unistd.in.h; \
319 MOSTLYCLEANFILES += unistd.h unistd.h-t
321 EXTRA_DIST += unistd.in.h
323 ## end gnulib module unistd
325 ## begin gnulib module wchar
327 BUILT_SOURCES += $(WCHAR_H)
329 # We need the following in order to create <wchar.h> when the system
330 # version does not work standalone.
333 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
334 sed -e 's/@''INCLUDE_NEXT''@/$(INCLUDE_NEXT)/g' \
335 -e 's|@''NEXT_WCHAR_H''@|$(NEXT_WCHAR_H)|g' \
336 -e 's/@''HAVE_WCHAR_H''@/$(HAVE_WCHAR_H)/g' \
337 -e 's|@''GNULIB_WCWIDTH''@|$(GNULIB_WCWIDTH)|g' \
338 -e 's|@''HAVE_DECL_WCWIDTH''@|$(HAVE_DECL_WCWIDTH)|g' \
339 -e 's|@''REPLACE_WCWIDTH''@|$(REPLACE_WCWIDTH)|g' \
340 -e '/definition of GL_LINK_WARNING/r $(LINK_WARNING_H)' \
341 < $(srcdir)/wchar.in.h; \
344 MOSTLYCLEANFILES += wchar.h wchar.h-t
346 EXTRA_DIST += wchar.in.h
348 ## end gnulib module wchar
350 ## begin gnulib module wctype
352 BUILT_SOURCES += $(WCTYPE_H)
354 # We need the following in order to create <wctype.h> when the system
355 # doesn't have one that works with the given compiler.
356 wctype.h: wctype.in.h
358 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
359 sed -e 's/@''HAVE_WCTYPE_H''@/$(HAVE_WCTYPE_H)/g' \
360 -e 's/@''INCLUDE_NEXT''@/$(INCLUDE_NEXT)/g' \
361 -e 's|@''NEXT_WCTYPE_H''@|$(NEXT_WCTYPE_H)|g' \
362 -e 's/@''HAVE_ISWCNTRL''@/$(HAVE_ISWCNTRL)/g' \
363 -e 's/@''HAVE_WINT_T''@/$(HAVE_WINT_T)/g' \
364 < $(srcdir)/wctype.in.h; \
367 MOSTLYCLEANFILES += wctype.h wctype.h-t
369 EXTRA_DIST += wctype.in.h
371 ## end gnulib module wctype
373 ## begin gnulib module xalloc
376 EXTRA_DIST += xalloc.h xmalloc.c
378 EXTRA_libgnu_a_SOURCES += xmalloc.c
380 ## end gnulib module xalloc
382 ## begin gnulib module xalloc-die
384 libgnu_a_SOURCES += xalloc-die.c
386 ## end gnulib module xalloc-die
389 mostlyclean-local: mostlyclean-generic
390 @for dir in '' $(MOSTLYCLEANDIRS); do \
391 if test -n "$$dir" && test -d $$dir; then \
392 echo "rmdir $$dir"; rmdir $$dir; \