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 alloca 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 alloca
40 EXTRA_DIST += alloca.c
42 EXTRA_libgnu_a_SOURCES += alloca.c
44 libgnu_a_LIBADD += @ALLOCA@
45 libgnu_a_DEPENDENCIES += @ALLOCA@
46 ## end gnulib module alloca
48 ## begin gnulib module alloca-opt
50 BUILT_SOURCES += $(ALLOCA_H)
52 # We need the following in order to create <alloca.h> when the system
53 # doesn't have one that works with the given compiler.
55 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
56 cat $(srcdir)/alloca.in.h; \
59 MOSTLYCLEANFILES += alloca.h alloca.h-t
61 EXTRA_DIST += alloca.in.h
63 ## end gnulib module alloca-opt
65 ## begin gnulib module c-ctype
67 libgnu_a_SOURCES += c-ctype.h c-ctype.c
69 ## end gnulib module c-ctype
71 ## begin gnulib module error
74 EXTRA_DIST += error.c error.h
76 EXTRA_libgnu_a_SOURCES += error.c
78 ## end gnulib module error
80 ## begin gnulib module exitfail
83 EXTRA_DIST += exitfail.c exitfail.h
85 EXTRA_libgnu_a_SOURCES += exitfail.c
87 ## end gnulib module exitfail
89 ## begin gnulib module getopt
91 BUILT_SOURCES += $(GETOPT_H)
93 # We need the following in order to create <getopt.h> when the system
94 # doesn't have one that works with the given compiler.
96 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
97 cat $(srcdir)/getopt.in.h; \
100 MOSTLYCLEANFILES += getopt.h getopt.h-t
102 EXTRA_DIST += getopt.c getopt.in.h getopt1.c getopt_int.h
104 EXTRA_libgnu_a_SOURCES += getopt.c getopt1.c
106 ## end gnulib module getopt
108 ## begin gnulib module gettext-h
110 libgnu_a_SOURCES += gettext.h
112 ## end gnulib module gettext-h
114 ## begin gnulib module gnumakefile
116 distclean-local: clean-GNUmakefile
118 test x'$(VPATH)' != x && rm -f $(top_builddir)/GNUmakefile || :
120 EXTRA_DIST += $(top_srcdir)/GNUmakefile
122 ## end gnulib module gnumakefile
124 ## begin gnulib module intprops
127 EXTRA_DIST += intprops.h
129 ## end gnulib module intprops
131 ## begin gnulib module link-warning
133 LINK_WARNING_H=$(top_srcdir)/./link-warning.h
135 EXTRA_DIST += $(top_srcdir)/./link-warning.h
137 ## end gnulib module link-warning
139 ## begin gnulib module maintainer-makefile
141 EXTRA_DIST += $(top_srcdir)/maint.mk
143 ## end gnulib module maintainer-makefile
145 ## begin gnulib module quote
148 EXTRA_DIST += quote.c quote.h
150 EXTRA_libgnu_a_SOURCES += quote.c
152 ## end gnulib module quote
154 ## begin gnulib module quotearg
157 EXTRA_DIST += quotearg.c quotearg.h
159 EXTRA_libgnu_a_SOURCES += quotearg.c
161 ## end gnulib module quotearg
163 ## begin gnulib module stdbool
165 BUILT_SOURCES += $(STDBOOL_H)
167 # We need the following in order to create <stdbool.h> when the system
168 # doesn't have one that works.
169 stdbool.h: stdbool.in.h
171 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
172 sed -e 's/@''HAVE__BOOL''@/$(HAVE__BOOL)/g' < $(srcdir)/stdbool.in.h; \
175 MOSTLYCLEANFILES += stdbool.h stdbool.h-t
177 EXTRA_DIST += stdbool.in.h
179 ## end gnulib module stdbool
181 ## begin gnulib module stdlib
183 BUILT_SOURCES += stdlib.h
185 # We need the following in order to create <stdlib.h> when the system
186 # doesn't have one that works with the given compiler.
187 stdlib.h: stdlib.in.h
189 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
190 sed -e 's/@''INCLUDE_NEXT''@/$(INCLUDE_NEXT)/g' \
191 -e 's|@''NEXT_STDLIB_H''@|$(NEXT_STDLIB_H)|g' \
192 -e 's|@''GNULIB_MALLOC_POSIX''@|$(GNULIB_MALLOC_POSIX)|g' \
193 -e 's|@''GNULIB_REALLOC_POSIX''@|$(GNULIB_REALLOC_POSIX)|g' \
194 -e 's|@''GNULIB_CALLOC_POSIX''@|$(GNULIB_CALLOC_POSIX)|g' \
195 -e 's|@''GNULIB_GETSUBOPT''@|$(GNULIB_GETSUBOPT)|g' \
196 -e 's|@''GNULIB_MKDTEMP''@|$(GNULIB_MKDTEMP)|g' \
197 -e 's|@''GNULIB_MKSTEMP''@|$(GNULIB_MKSTEMP)|g' \
198 -e 's|@''GNULIB_PUTENV''@|$(GNULIB_PUTENV)|g' \
199 -e 's|@''GNULIB_SETENV''@|$(GNULIB_SETENV)|g' \
200 -e 's|@''GNULIB_STRTOD''@|$(GNULIB_STRTOD)|g' \
201 -e 's|@''GNULIB_UNSETENV''@|$(GNULIB_UNSETENV)|g' \
202 -e 's|@''HAVE_CALLOC_POSIX''@|$(HAVE_CALLOC_POSIX)|g' \
203 -e 's|@''HAVE_GETSUBOPT''@|$(HAVE_GETSUBOPT)|g' \
204 -e 's|@''HAVE_MALLOC_POSIX''@|$(HAVE_MALLOC_POSIX)|g' \
205 -e 's|@''HAVE_MKDTEMP''@|$(HAVE_MKDTEMP)|g' \
206 -e 's|@''HAVE_REALLOC_POSIX''@|$(HAVE_REALLOC_POSIX)|g' \
207 -e 's|@''HAVE_SETENV''@|$(HAVE_SETENV)|g' \
208 -e 's|@''HAVE_STRTOD''@|$(HAVE_STRTOD)|g' \
209 -e 's|@''HAVE_UNSETENV''@|$(HAVE_UNSETENV)|g' \
210 -e 's|@''REPLACE_MKSTEMP''@|$(REPLACE_MKSTEMP)|g' \
211 -e 's|@''REPLACE_PUTENV''@|$(REPLACE_PUTENV)|g' \
212 -e 's|@''REPLACE_STRTOD''@|$(REPLACE_STRTOD)|g' \
213 -e 's|@''VOID_UNSETENV''@|$(VOID_UNSETENV)|g' \
214 -e '/definition of GL_LINK_WARNING/r $(LINK_WARNING_H)' \
215 < $(srcdir)/stdlib.in.h; \
218 MOSTLYCLEANFILES += stdlib.h stdlib.h-t
220 EXTRA_DIST += stdlib.in.h
222 ## end gnulib module stdlib
224 ## begin gnulib module strerror
227 EXTRA_DIST += strerror.c
229 EXTRA_libgnu_a_SOURCES += strerror.c
231 ## end gnulib module strerror
233 ## begin gnulib module string
235 BUILT_SOURCES += string.h
237 # We need the following in order to create <string.h> when the system
238 # doesn't have one that works with the given compiler.
239 string.h: string.in.h
241 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
242 sed -e 's/@''INCLUDE_NEXT''@/$(INCLUDE_NEXT)/g' \
243 -e 's|@''NEXT_STRING_H''@|$(NEXT_STRING_H)|g' \
244 -e 's|@''GNULIB_MBSLEN''@|$(GNULIB_MBSLEN)|g' \
245 -e 's|@''GNULIB_MBSNLEN''@|$(GNULIB_MBSNLEN)|g' \
246 -e 's|@''GNULIB_MBSCHR''@|$(GNULIB_MBSCHR)|g' \
247 -e 's|@''GNULIB_MBSRCHR''@|$(GNULIB_MBSRCHR)|g' \
248 -e 's|@''GNULIB_MBSSTR''@|$(GNULIB_MBSSTR)|g' \
249 -e 's|@''GNULIB_MBSCASECMP''@|$(GNULIB_MBSCASECMP)|g' \
250 -e 's|@''GNULIB_MBSNCASECMP''@|$(GNULIB_MBSNCASECMP)|g' \
251 -e 's|@''GNULIB_MBSPCASECMP''@|$(GNULIB_MBSPCASECMP)|g' \
252 -e 's|@''GNULIB_MBSCASESTR''@|$(GNULIB_MBSCASESTR)|g' \
253 -e 's|@''GNULIB_MBSCSPN''@|$(GNULIB_MBSCSPN)|g' \
254 -e 's|@''GNULIB_MBSPBRK''@|$(GNULIB_MBSPBRK)|g' \
255 -e 's|@''GNULIB_MBSSPN''@|$(GNULIB_MBSSPN)|g' \
256 -e 's|@''GNULIB_MBSSEP''@|$(GNULIB_MBSSEP)|g' \
257 -e 's|@''GNULIB_MBSTOK_R''@|$(GNULIB_MBSTOK_R)|g' \
258 -e 's|@''GNULIB_MEMMEM''@|$(GNULIB_MEMMEM)|g' \
259 -e 's|@''GNULIB_MEMPCPY''@|$(GNULIB_MEMPCPY)|g' \
260 -e 's|@''GNULIB_MEMRCHR''@|$(GNULIB_MEMRCHR)|g' \
261 -e 's|@''GNULIB_STPCPY''@|$(GNULIB_STPCPY)|g' \
262 -e 's|@''GNULIB_STPNCPY''@|$(GNULIB_STPNCPY)|g' \
263 -e 's|@''GNULIB_STRCHRNUL''@|$(GNULIB_STRCHRNUL)|g' \
264 -e 's|@''GNULIB_STRDUP''@|$(GNULIB_STRDUP)|g' \
265 -e 's|@''GNULIB_STRNDUP''@|$(GNULIB_STRNDUP)|g' \
266 -e 's|@''GNULIB_STRNLEN''@|$(GNULIB_STRNLEN)|g' \
267 -e 's|@''GNULIB_STRPBRK''@|$(GNULIB_STRPBRK)|g' \
268 -e 's|@''GNULIB_STRSEP''@|$(GNULIB_STRSEP)|g' \
269 -e 's|@''GNULIB_STRSTR''@|$(GNULIB_STRSTR)|g' \
270 -e 's|@''GNULIB_STRCASESTR''@|$(GNULIB_STRCASESTR)|g' \
271 -e 's|@''GNULIB_STRTOK_R''@|$(GNULIB_STRTOK_R)|g' \
272 -e 's|@''GNULIB_STRERROR''@|$(GNULIB_STRERROR)|g' \
273 -e 's|@''GNULIB_STRSIGNAL''@|$(GNULIB_STRSIGNAL)|g' \
274 -e 's|@''HAVE_DECL_MEMMEM''@|$(HAVE_DECL_MEMMEM)|g' \
275 -e 's|@''HAVE_MEMPCPY''@|$(HAVE_MEMPCPY)|g' \
276 -e 's|@''HAVE_DECL_MEMRCHR''@|$(HAVE_DECL_MEMRCHR)|g' \
277 -e 's|@''HAVE_STPCPY''@|$(HAVE_STPCPY)|g' \
278 -e 's|@''HAVE_STPNCPY''@|$(HAVE_STPNCPY)|g' \
279 -e 's|@''HAVE_STRCHRNUL''@|$(HAVE_STRCHRNUL)|g' \
280 -e 's|@''HAVE_DECL_STRDUP''@|$(HAVE_DECL_STRDUP)|g' \
281 -e 's|@''HAVE_STRNDUP''@|$(HAVE_STRNDUP)|g' \
282 -e 's|@''HAVE_DECL_STRNDUP''@|$(HAVE_DECL_STRNDUP)|g' \
283 -e 's|@''HAVE_DECL_STRNLEN''@|$(HAVE_DECL_STRNLEN)|g' \
284 -e 's|@''HAVE_STRPBRK''@|$(HAVE_STRPBRK)|g' \
285 -e 's|@''HAVE_STRSEP''@|$(HAVE_STRSEP)|g' \
286 -e 's|@''HAVE_STRCASESTR''@|$(HAVE_STRCASESTR)|g' \
287 -e 's|@''HAVE_DECL_STRTOK_R''@|$(HAVE_DECL_STRTOK_R)|g' \
288 -e 's|@''HAVE_DECL_STRERROR''@|$(HAVE_DECL_STRERROR)|g' \
289 -e 's|@''HAVE_DECL_STRSIGNAL''@|$(HAVE_DECL_STRSIGNAL)|g' \
290 -e 's|@''REPLACE_MEMMEM''@|$(REPLACE_MEMMEM)|g' \
291 -e 's|@''REPLACE_STRCASESTR''@|$(REPLACE_STRCASESTR)|g' \
292 -e 's|@''REPLACE_STRSTR''@|$(REPLACE_STRSTR)|g' \
293 -e 's|@''REPLACE_STRERROR''@|$(REPLACE_STRERROR)|g' \
294 -e 's|@''REPLACE_STRSIGNAL''@|$(REPLACE_STRSIGNAL)|g' \
295 -e '/definition of GL_LINK_WARNING/r $(LINK_WARNING_H)' \
296 < $(srcdir)/string.in.h; \
299 MOSTLYCLEANFILES += string.h string.h-t
301 EXTRA_DIST += string.in.h
303 ## end gnulib module string
305 ## begin gnulib module unistd
307 BUILT_SOURCES += unistd.h
309 # We need the following in order to create an empty placeholder for
310 # <unistd.h> when the system doesn't have one.
311 unistd.h: unistd.in.h
313 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
314 sed -e 's|@''HAVE_UNISTD_H''@|$(HAVE_UNISTD_H)|g' \
315 -e 's/@''INCLUDE_NEXT''@/$(INCLUDE_NEXT)/g' \
316 -e 's|@''NEXT_UNISTD_H''@|$(NEXT_UNISTD_H)|g' \
317 -e 's|@''GNULIB_CHOWN''@|$(GNULIB_CHOWN)|g' \
318 -e 's|@''GNULIB_DUP2''@|$(GNULIB_DUP2)|g' \
319 -e 's|@''GNULIB_ENVIRON''@|$(GNULIB_ENVIRON)|g' \
320 -e 's|@''GNULIB_FCHDIR''@|$(GNULIB_FCHDIR)|g' \
321 -e 's|@''GNULIB_FTRUNCATE''@|$(GNULIB_FTRUNCATE)|g' \
322 -e 's|@''GNULIB_GETCWD''@|$(GNULIB_GETCWD)|g' \
323 -e 's|@''GNULIB_GETLOGIN_R''@|$(GNULIB_GETLOGIN_R)|g' \
324 -e 's|@''GNULIB_GETPAGESIZE''@|$(GNULIB_GETPAGESIZE)|g' \
325 -e 's|@''GNULIB_LCHOWN''@|$(GNULIB_LCHOWN)|g' \
326 -e 's|@''GNULIB_LSEEK''@|$(GNULIB_LSEEK)|g' \
327 -e 's|@''GNULIB_READLINK''@|$(GNULIB_READLINK)|g' \
328 -e 's|@''GNULIB_SLEEP''@|$(GNULIB_SLEEP)|g' \
329 -e 's|@''HAVE_DUP2''@|$(HAVE_DUP2)|g' \
330 -e 's|@''HAVE_FTRUNCATE''@|$(HAVE_FTRUNCATE)|g' \
331 -e 's|@''HAVE_GETPAGESIZE''@|$(HAVE_GETPAGESIZE)|g' \
332 -e 's|@''HAVE_READLINK''@|$(HAVE_READLINK)|g' \
333 -e 's|@''HAVE_SLEEP''@|$(HAVE_SLEEP)|g' \
334 -e 's|@''HAVE_DECL_ENVIRON''@|$(HAVE_DECL_ENVIRON)|g' \
335 -e 's|@''HAVE_DECL_GETLOGIN_R''@|$(HAVE_DECL_GETLOGIN_R)|g' \
336 -e 's|@''HAVE_OS_H''@|$(HAVE_OS_H)|g' \
337 -e 's|@''HAVE_SYS_PARAM_H''@|$(HAVE_SYS_PARAM_H)|g' \
338 -e 's|@''REPLACE_CHOWN''@|$(REPLACE_CHOWN)|g' \
339 -e 's|@''REPLACE_FCHDIR''@|$(REPLACE_FCHDIR)|g' \
340 -e 's|@''REPLACE_GETCWD''@|$(REPLACE_GETCWD)|g' \
341 -e 's|@''REPLACE_GETPAGESIZE''@|$(REPLACE_GETPAGESIZE)|g' \
342 -e 's|@''REPLACE_LCHOWN''@|$(REPLACE_LCHOWN)|g' \
343 -e 's|@''REPLACE_LSEEK''@|$(REPLACE_LSEEK)|g' \
344 < $(srcdir)/unistd.in.h; \
347 MOSTLYCLEANFILES += unistd.h unistd.h-t
349 EXTRA_DIST += unistd.in.h
351 ## end gnulib module unistd
353 ## begin gnulib module wchar
355 BUILT_SOURCES += $(WCHAR_H)
357 # We need the following in order to create <wchar.h> when the system
358 # version does not work standalone.
361 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
362 sed -e 's/@''INCLUDE_NEXT''@/$(INCLUDE_NEXT)/g' \
363 -e 's|@''NEXT_WCHAR_H''@|$(NEXT_WCHAR_H)|g' \
364 -e 's/@''HAVE_WCHAR_H''@/$(HAVE_WCHAR_H)/g' \
365 -e 's|@''GNULIB_WCWIDTH''@|$(GNULIB_WCWIDTH)|g' \
366 -e 's|@''HAVE_DECL_WCWIDTH''@|$(HAVE_DECL_WCWIDTH)|g' \
367 -e 's|@''REPLACE_WCWIDTH''@|$(REPLACE_WCWIDTH)|g' \
368 -e '/definition of GL_LINK_WARNING/r $(LINK_WARNING_H)' \
369 < $(srcdir)/wchar.in.h; \
372 MOSTLYCLEANFILES += wchar.h wchar.h-t
374 EXTRA_DIST += wchar.in.h
376 ## end gnulib module wchar
378 ## begin gnulib module wctype
380 BUILT_SOURCES += $(WCTYPE_H)
382 # We need the following in order to create <wctype.h> when the system
383 # doesn't have one that works with the given compiler.
384 wctype.h: wctype.in.h
386 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
387 sed -e 's/@''HAVE_WCTYPE_H''@/$(HAVE_WCTYPE_H)/g' \
388 -e 's/@''INCLUDE_NEXT''@/$(INCLUDE_NEXT)/g' \
389 -e 's|@''NEXT_WCTYPE_H''@|$(NEXT_WCTYPE_H)|g' \
390 -e 's/@''HAVE_ISWCNTRL''@/$(HAVE_ISWCNTRL)/g' \
391 -e 's/@''HAVE_WINT_T''@/$(HAVE_WINT_T)/g' \
392 < $(srcdir)/wctype.in.h; \
395 MOSTLYCLEANFILES += wctype.h wctype.h-t
397 EXTRA_DIST += wctype.in.h
399 ## end gnulib module wctype
401 ## begin gnulib module xalloc
404 EXTRA_DIST += xalloc.h xmalloc.c
406 EXTRA_libgnu_a_SOURCES += xmalloc.c
408 ## end gnulib module xalloc
410 ## begin gnulib module xalloc-die
412 libgnu_a_SOURCES += xalloc-die.c
414 ## end gnulib module xalloc-die
417 mostlyclean-local: mostlyclean-generic
418 @for dir in '' $(MOSTLYCLEANDIRS); do \
419 if test -n "$$dir" && test -d $$dir; then \
420 echo "rmdir $$dir"; rmdir $$dir; \