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=. --local-dir=gl/override --lib=libgnu --source-base=gl --m4-base=gl/m4 --doc-base=doc --aux-dir=build-aux --libtool --macro-prefix=gl --no-vc-files fdl gendocs getopt gpl-3.0 lgpl-2.1 maintainer-makefile progname read-file stdint strdup version-etc-fsf
14 AUTOMAKE_OPTIONS = 1.5 gnits
22 MOSTLYCLEANFILES = core *.stackdump
26 MAINTAINERCLEANFILES =
30 noinst_LTLIBRARIES += libgnu.la
33 libgnu_la_LIBADD = $(gl_LTLIBOBJS)
34 libgnu_la_DEPENDENCIES = $(gl_LTLIBOBJS)
35 EXTRA_libgnu_la_SOURCES =
36 libgnu_la_LDFLAGS = $(AM_LDFLAGS)
38 ## begin gnulib module gendocs
41 EXTRA_DIST += $(top_srcdir)/build-aux/gendocs.sh
43 ## end gnulib module gendocs
45 ## begin gnulib module getopt
47 BUILT_SOURCES += $(GETOPT_H)
49 # We need the following in order to create <getopt.h> when the system
50 # doesn't have one that works with the given compiler.
52 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
53 cat $(srcdir)/getopt.in.h; \
56 MOSTLYCLEANFILES += getopt.h getopt.h-t
58 EXTRA_DIST += getopt.c getopt.in.h getopt1.c getopt_int.h
60 EXTRA_libgnu_la_SOURCES += getopt.c getopt1.c
62 ## end gnulib module getopt
64 ## begin gnulib module gettext-h
66 libgnu_la_SOURCES += gettext.h
68 ## end gnulib module gettext-h
70 ## begin gnulib module gnumakefile
72 distclean-local: clean-GNUmakefile
74 if test x"$(VPATH)" != x ; then rm -f $(top_srcdir)/GNUmakefile ; fi
76 EXTRA_DIST += $(top_srcdir)/GNUmakefile
78 ## end gnulib module gnumakefile
80 ## begin gnulib module link-warning
82 LINK_WARNING_H=$(top_srcdir)/build-aux/link-warning.h
84 EXTRA_DIST += $(top_srcdir)/build-aux/link-warning.h
86 ## end gnulib module link-warning
88 ## begin gnulib module maintainer-makefile
90 EXTRA_DIST += $(top_srcdir)/maint.mk
92 ## end gnulib module maintainer-makefile
94 ## begin gnulib module malloc-posix
97 EXTRA_DIST += malloc.c
99 EXTRA_libgnu_la_SOURCES += malloc.c
101 ## end gnulib module malloc-posix
103 ## begin gnulib module progname
105 libgnu_la_SOURCES += progname.h progname.c
107 ## end gnulib module progname
109 ## begin gnulib module read-file
112 EXTRA_DIST += read-file.c read-file.h
114 EXTRA_libgnu_la_SOURCES += read-file.c
116 ## end gnulib module read-file
118 ## begin gnulib module realloc-posix
121 EXTRA_DIST += realloc.c
123 EXTRA_libgnu_la_SOURCES += realloc.c
125 ## end gnulib module realloc-posix
127 ## begin gnulib module stdarg
129 BUILT_SOURCES += $(STDARG_H)
131 # We need the following in order to create <stdarg.h> when the system
132 # doesn't have one that works with the given compiler.
133 stdarg.h: stdarg.in.h
135 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
136 sed -e 's/@''INCLUDE_NEXT''@/$(INCLUDE_NEXT)/g' \
137 -e 's|@''NEXT_STDARG_H''@|$(NEXT_STDARG_H)|g' \
138 < $(srcdir)/stdarg.in.h; \
141 MOSTLYCLEANFILES += stdarg.h stdarg.h-t
143 EXTRA_DIST += stdarg.in.h
145 ## end gnulib module stdarg
147 ## begin gnulib module stdint
149 BUILT_SOURCES += $(STDINT_H)
151 # We need the following in order to create <stdint.h> when the system
152 # doesn't have one that works with the given compiler.
153 stdint.h: stdint.in.h
155 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
156 sed -e 's/@''HAVE_STDINT_H''@/$(HAVE_STDINT_H)/g' \
157 -e 's/@''INCLUDE_NEXT''@/$(INCLUDE_NEXT)/g' \
158 -e 's|@''NEXT_STDINT_H''@|$(NEXT_STDINT_H)|g' \
159 -e 's/@''HAVE_SYS_TYPES_H''@/$(HAVE_SYS_TYPES_H)/g' \
160 -e 's/@''HAVE_INTTYPES_H''@/$(HAVE_INTTYPES_H)/g' \
161 -e 's/@''HAVE_SYS_INTTYPES_H''@/$(HAVE_SYS_INTTYPES_H)/g' \
162 -e 's/@''HAVE_SYS_BITYPES_H''@/$(HAVE_SYS_BITYPES_H)/g' \
163 -e 's/@''HAVE_LONG_LONG_INT''@/$(HAVE_LONG_LONG_INT)/g' \
164 -e 's/@''HAVE_UNSIGNED_LONG_LONG_INT''@/$(HAVE_UNSIGNED_LONG_LONG_INT)/g' \
165 -e 's/@''BITSIZEOF_PTRDIFF_T''@/$(BITSIZEOF_PTRDIFF_T)/g' \
166 -e 's/@''PTRDIFF_T_SUFFIX''@/$(PTRDIFF_T_SUFFIX)/g' \
167 -e 's/@''BITSIZEOF_SIG_ATOMIC_T''@/$(BITSIZEOF_SIG_ATOMIC_T)/g' \
168 -e 's/@''HAVE_SIGNED_SIG_ATOMIC_T''@/$(HAVE_SIGNED_SIG_ATOMIC_T)/g' \
169 -e 's/@''SIG_ATOMIC_T_SUFFIX''@/$(SIG_ATOMIC_T_SUFFIX)/g' \
170 -e 's/@''BITSIZEOF_SIZE_T''@/$(BITSIZEOF_SIZE_T)/g' \
171 -e 's/@''SIZE_T_SUFFIX''@/$(SIZE_T_SUFFIX)/g' \
172 -e 's/@''BITSIZEOF_WCHAR_T''@/$(BITSIZEOF_WCHAR_T)/g' \
173 -e 's/@''HAVE_SIGNED_WCHAR_T''@/$(HAVE_SIGNED_WCHAR_T)/g' \
174 -e 's/@''WCHAR_T_SUFFIX''@/$(WCHAR_T_SUFFIX)/g' \
175 -e 's/@''BITSIZEOF_WINT_T''@/$(BITSIZEOF_WINT_T)/g' \
176 -e 's/@''HAVE_SIGNED_WINT_T''@/$(HAVE_SIGNED_WINT_T)/g' \
177 -e 's/@''WINT_T_SUFFIX''@/$(WINT_T_SUFFIX)/g' \
178 < $(srcdir)/stdint.in.h; \
181 MOSTLYCLEANFILES += stdint.h stdint.h-t
183 EXTRA_DIST += stdint.in.h
185 ## end gnulib module stdint
187 ## begin gnulib module stdlib
189 BUILT_SOURCES += stdlib.h
191 # We need the following in order to create <stdlib.h> when the system
192 # doesn't have one that works with the given compiler.
193 stdlib.h: stdlib.in.h
195 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
196 sed -e 's/@''INCLUDE_NEXT''@/$(INCLUDE_NEXT)/g' \
197 -e 's|@''NEXT_STDLIB_H''@|$(NEXT_STDLIB_H)|g' \
198 -e 's|@''GNULIB_MALLOC_POSIX''@|$(GNULIB_MALLOC_POSIX)|g' \
199 -e 's|@''GNULIB_REALLOC_POSIX''@|$(GNULIB_REALLOC_POSIX)|g' \
200 -e 's|@''GNULIB_CALLOC_POSIX''@|$(GNULIB_CALLOC_POSIX)|g' \
201 -e 's|@''GNULIB_GETSUBOPT''@|$(GNULIB_GETSUBOPT)|g' \
202 -e 's|@''GNULIB_MKDTEMP''@|$(GNULIB_MKDTEMP)|g' \
203 -e 's|@''GNULIB_MKSTEMP''@|$(GNULIB_MKSTEMP)|g' \
204 -e 's|@''GNULIB_PUTENV''@|$(GNULIB_PUTENV)|g' \
205 -e 's|@''GNULIB_SETENV''@|$(GNULIB_SETENV)|g' \
206 -e 's|@''GNULIB_UNSETENV''@|$(GNULIB_UNSETENV)|g' \
207 -e 's|@''HAVE_CALLOC_POSIX''@|$(HAVE_CALLOC_POSIX)|g' \
208 -e 's|@''HAVE_GETSUBOPT''@|$(HAVE_GETSUBOPT)|g' \
209 -e 's|@''HAVE_MALLOC_POSIX''@|$(HAVE_MALLOC_POSIX)|g' \
210 -e 's|@''HAVE_MKDTEMP''@|$(HAVE_MKDTEMP)|g' \
211 -e 's|@''HAVE_REALLOC_POSIX''@|$(HAVE_REALLOC_POSIX)|g' \
212 -e 's|@''HAVE_SETENV''@|$(HAVE_SETENV)|g' \
213 -e 's|@''HAVE_UNSETENV''@|$(HAVE_UNSETENV)|g' \
214 -e 's|@''REPLACE_MKSTEMP''@|$(REPLACE_MKSTEMP)|g' \
215 -e 's|@''REPLACE_PUTENV''@|$(REPLACE_PUTENV)|g' \
216 -e 's|@''VOID_UNSETENV''@|$(VOID_UNSETENV)|g' \
217 -e '/definition of GL_LINK_WARNING/r $(LINK_WARNING_H)' \
218 < $(srcdir)/stdlib.in.h; \
221 MOSTLYCLEANFILES += stdlib.h stdlib.h-t
223 EXTRA_DIST += stdlib.in.h
225 ## end gnulib module stdlib
227 ## begin gnulib module strdup
230 EXTRA_DIST += strdup.c
232 EXTRA_libgnu_la_SOURCES += strdup.c
234 ## end gnulib module strdup
236 ## begin gnulib module string
238 BUILT_SOURCES += string.h
240 # We need the following in order to create <string.h> when the system
241 # doesn't have one that works with the given compiler.
242 string.h: string.in.h
244 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
245 sed -e 's/@''INCLUDE_NEXT''@/$(INCLUDE_NEXT)/g' \
246 -e 's|@''NEXT_STRING_H''@|$(NEXT_STRING_H)|g' \
247 -e 's|@''GNULIB_MBSLEN''@|$(GNULIB_MBSLEN)|g' \
248 -e 's|@''GNULIB_MBSNLEN''@|$(GNULIB_MBSNLEN)|g' \
249 -e 's|@''GNULIB_MBSCHR''@|$(GNULIB_MBSCHR)|g' \
250 -e 's|@''GNULIB_MBSRCHR''@|$(GNULIB_MBSRCHR)|g' \
251 -e 's|@''GNULIB_MBSSTR''@|$(GNULIB_MBSSTR)|g' \
252 -e 's|@''GNULIB_MBSCASECMP''@|$(GNULIB_MBSCASECMP)|g' \
253 -e 's|@''GNULIB_MBSNCASECMP''@|$(GNULIB_MBSNCASECMP)|g' \
254 -e 's|@''GNULIB_MBSPCASECMP''@|$(GNULIB_MBSPCASECMP)|g' \
255 -e 's|@''GNULIB_MBSCASESTR''@|$(GNULIB_MBSCASESTR)|g' \
256 -e 's|@''GNULIB_MBSCSPN''@|$(GNULIB_MBSCSPN)|g' \
257 -e 's|@''GNULIB_MBSPBRK''@|$(GNULIB_MBSPBRK)|g' \
258 -e 's|@''GNULIB_MBSSPN''@|$(GNULIB_MBSSPN)|g' \
259 -e 's|@''GNULIB_MBSSEP''@|$(GNULIB_MBSSEP)|g' \
260 -e 's|@''GNULIB_MBSTOK_R''@|$(GNULIB_MBSTOK_R)|g' \
261 -e 's|@''GNULIB_MEMMEM''@|$(GNULIB_MEMMEM)|g' \
262 -e 's|@''GNULIB_MEMPCPY''@|$(GNULIB_MEMPCPY)|g' \
263 -e 's|@''GNULIB_MEMRCHR''@|$(GNULIB_MEMRCHR)|g' \
264 -e 's|@''GNULIB_STPCPY''@|$(GNULIB_STPCPY)|g' \
265 -e 's|@''GNULIB_STPNCPY''@|$(GNULIB_STPNCPY)|g' \
266 -e 's|@''GNULIB_STRCHRNUL''@|$(GNULIB_STRCHRNUL)|g' \
267 -e 's|@''GNULIB_STRDUP''@|$(GNULIB_STRDUP)|g' \
268 -e 's|@''GNULIB_STRNDUP''@|$(GNULIB_STRNDUP)|g' \
269 -e 's|@''GNULIB_STRNLEN''@|$(GNULIB_STRNLEN)|g' \
270 -e 's|@''GNULIB_STRPBRK''@|$(GNULIB_STRPBRK)|g' \
271 -e 's|@''GNULIB_STRSEP''@|$(GNULIB_STRSEP)|g' \
272 -e 's|@''GNULIB_STRSTR''@|$(GNULIB_STRSTR)|g' \
273 -e 's|@''GNULIB_STRCASESTR''@|$(GNULIB_STRCASESTR)|g' \
274 -e 's|@''GNULIB_STRTOK_R''@|$(GNULIB_STRTOK_R)|g' \
275 -e 's|@''GNULIB_STRERROR''@|$(GNULIB_STRERROR)|g' \
276 -e 's|@''GNULIB_STRSIGNAL''@|$(GNULIB_STRSIGNAL)|g' \
277 -e 's|@''HAVE_DECL_MEMMEM''@|$(HAVE_DECL_MEMMEM)|g' \
278 -e 's|@''HAVE_MEMPCPY''@|$(HAVE_MEMPCPY)|g' \
279 -e 's|@''HAVE_DECL_MEMRCHR''@|$(HAVE_DECL_MEMRCHR)|g' \
280 -e 's|@''HAVE_STPCPY''@|$(HAVE_STPCPY)|g' \
281 -e 's|@''HAVE_STPNCPY''@|$(HAVE_STPNCPY)|g' \
282 -e 's|@''HAVE_STRCHRNUL''@|$(HAVE_STRCHRNUL)|g' \
283 -e 's|@''HAVE_DECL_STRDUP''@|$(HAVE_DECL_STRDUP)|g' \
284 -e 's|@''HAVE_STRNDUP''@|$(HAVE_STRNDUP)|g' \
285 -e 's|@''HAVE_DECL_STRNDUP''@|$(HAVE_DECL_STRNDUP)|g' \
286 -e 's|@''HAVE_DECL_STRNLEN''@|$(HAVE_DECL_STRNLEN)|g' \
287 -e 's|@''HAVE_STRPBRK''@|$(HAVE_STRPBRK)|g' \
288 -e 's|@''HAVE_STRSEP''@|$(HAVE_STRSEP)|g' \
289 -e 's|@''HAVE_STRCASESTR''@|$(HAVE_STRCASESTR)|g' \
290 -e 's|@''HAVE_DECL_STRTOK_R''@|$(HAVE_DECL_STRTOK_R)|g' \
291 -e 's|@''HAVE_DECL_STRERROR''@|$(HAVE_DECL_STRERROR)|g' \
292 -e 's|@''HAVE_DECL_STRSIGNAL''@|$(HAVE_DECL_STRSIGNAL)|g' \
293 -e 's|@''REPLACE_MEMMEM''@|$(REPLACE_MEMMEM)|g' \
294 -e 's|@''REPLACE_STRCASESTR''@|$(REPLACE_STRCASESTR)|g' \
295 -e 's|@''REPLACE_STRSTR''@|$(REPLACE_STRSTR)|g' \
296 -e 's|@''REPLACE_STRERROR''@|$(REPLACE_STRERROR)|g' \
297 -e 's|@''REPLACE_STRSIGNAL''@|$(REPLACE_STRSIGNAL)|g' \
298 -e '/definition of GL_LINK_WARNING/r $(LINK_WARNING_H)' \
299 < $(srcdir)/string.in.h; \
302 MOSTLYCLEANFILES += string.h string.h-t
304 EXTRA_DIST += string.in.h
306 ## end gnulib module string
308 ## begin gnulib module unistd
310 BUILT_SOURCES += unistd.h
312 # We need the following in order to create an empty placeholder for
313 # <unistd.h> when the system doesn't have one.
314 unistd.h: unistd.in.h
316 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
317 sed -e 's|@''HAVE_UNISTD_H''@|$(HAVE_UNISTD_H)|g' \
318 -e 's/@''INCLUDE_NEXT''@/$(INCLUDE_NEXT)/g' \
319 -e 's|@''NEXT_UNISTD_H''@|$(NEXT_UNISTD_H)|g' \
320 -e 's|@''GNULIB_CHOWN''@|$(GNULIB_CHOWN)|g' \
321 -e 's|@''GNULIB_DUP2''@|$(GNULIB_DUP2)|g' \
322 -e 's|@''GNULIB_ENVIRON''@|$(GNULIB_ENVIRON)|g' \
323 -e 's|@''GNULIB_FCHDIR''@|$(GNULIB_FCHDIR)|g' \
324 -e 's|@''GNULIB_FTRUNCATE''@|$(GNULIB_FTRUNCATE)|g' \
325 -e 's|@''GNULIB_GETCWD''@|$(GNULIB_GETCWD)|g' \
326 -e 's|@''GNULIB_GETLOGIN_R''@|$(GNULIB_GETLOGIN_R)|g' \
327 -e 's|@''GNULIB_GETPAGESIZE''@|$(GNULIB_GETPAGESIZE)|g' \
328 -e 's|@''GNULIB_LCHOWN''@|$(GNULIB_LCHOWN)|g' \
329 -e 's|@''GNULIB_LSEEK''@|$(GNULIB_LSEEK)|g' \
330 -e 's|@''GNULIB_READLINK''@|$(GNULIB_READLINK)|g' \
331 -e 's|@''GNULIB_SLEEP''@|$(GNULIB_SLEEP)|g' \
332 -e 's|@''HAVE_DUP2''@|$(HAVE_DUP2)|g' \
333 -e 's|@''HAVE_FTRUNCATE''@|$(HAVE_FTRUNCATE)|g' \
334 -e 's|@''HAVE_GETPAGESIZE''@|$(HAVE_GETPAGESIZE)|g' \
335 -e 's|@''HAVE_READLINK''@|$(HAVE_READLINK)|g' \
336 -e 's|@''HAVE_SLEEP''@|$(HAVE_SLEEP)|g' \
337 -e 's|@''HAVE_DECL_ENVIRON''@|$(HAVE_DECL_ENVIRON)|g' \
338 -e 's|@''HAVE_DECL_GETLOGIN_R''@|$(HAVE_DECL_GETLOGIN_R)|g' \
339 -e 's|@''HAVE_OS_H''@|$(HAVE_OS_H)|g' \
340 -e 's|@''HAVE_SYS_PARAM_H''@|$(HAVE_SYS_PARAM_H)|g' \
341 -e 's|@''REPLACE_CHOWN''@|$(REPLACE_CHOWN)|g' \
342 -e 's|@''REPLACE_FCHDIR''@|$(REPLACE_FCHDIR)|g' \
343 -e 's|@''REPLACE_GETCWD''@|$(REPLACE_GETCWD)|g' \
344 -e 's|@''REPLACE_GETPAGESIZE''@|$(REPLACE_GETPAGESIZE)|g' \
345 -e 's|@''REPLACE_LCHOWN''@|$(REPLACE_LCHOWN)|g' \
346 -e 's|@''REPLACE_LSEEK''@|$(REPLACE_LSEEK)|g' \
347 < $(srcdir)/unistd.in.h; \
350 MOSTLYCLEANFILES += unistd.h unistd.h-t
352 EXTRA_DIST += unistd.in.h
354 ## end gnulib module unistd
356 ## begin gnulib module version-etc
358 libgnu_la_SOURCES += version-etc.h version-etc.c
360 ## end gnulib module version-etc
362 ## begin gnulib module version-etc-fsf
364 libgnu_la_SOURCES += version-etc-fsf.c
366 ## end gnulib module version-etc-fsf
368 ## begin gnulib module wchar
370 BUILT_SOURCES += $(WCHAR_H)
372 # We need the following in order to create <wchar.h> when the system
373 # version does not work standalone.
376 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
377 sed -e 's/@''INCLUDE_NEXT''@/$(INCLUDE_NEXT)/g' \
378 -e 's|@''NEXT_WCHAR_H''@|$(NEXT_WCHAR_H)|g' \
379 -e 's/@''HAVE_WCHAR_H''@/$(HAVE_WCHAR_H)/g' \
380 -e 's|@''GNULIB_WCWIDTH''@|$(GNULIB_WCWIDTH)|g' \
381 -e 's|@''HAVE_DECL_WCWIDTH''@|$(HAVE_DECL_WCWIDTH)|g' \
382 -e 's|@''REPLACE_WCWIDTH''@|$(REPLACE_WCWIDTH)|g' \
383 -e '/definition of GL_LINK_WARNING/r $(LINK_WARNING_H)' \
384 < $(srcdir)/wchar.in.h; \
387 MOSTLYCLEANFILES += wchar.h wchar.h-t
389 EXTRA_DIST += wchar.in.h
391 ## end gnulib module wchar
394 mostlyclean-local: mostlyclean-generic
395 @for dir in '' $(MOSTLYCLEANDIRS); do \
396 if test -n "$$dir" && test -d $$dir; then \
397 echo "rmdir $$dir"; rmdir $$dir; \