1 ## DO NOT EDIT! GENERATED AUTOMATICALLY!
2 ## Process this file with automake to produce Makefile.in.
3 # Copyright (C) 2004-2007 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 fdl gendocs getopt gpl-3.0 lgpl-2.1 maintainer-makefile memmove progname read-file 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 absolute-header
40 # Use this preprocessor expression to decide whether #include_next works.
41 # Do not rely on a 'configure'-time test for this, since the expression
42 # might appear in an installed header, which is used by some other compiler.
43 HAVE_INCLUDE_NEXT = (__GNUC__ || 60000000 <= __DECC_VER)
45 ## end gnulib module absolute-header
47 ## begin gnulib module gendocs
50 EXTRA_DIST += $(top_srcdir)/build-aux/gendocs.sh
52 ## end gnulib module gendocs
54 ## begin gnulib module getopt
56 BUILT_SOURCES += $(GETOPT_H)
58 # We need the following in order to create <getopt.h> when the system
59 # doesn't have one that works with the given compiler.
61 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
62 cat $(srcdir)/getopt.in.h; \
65 MOSTLYCLEANFILES += getopt.h getopt.h-t
67 EXTRA_DIST += getopt.c getopt.in.h getopt1.c getopt_int.h
69 EXTRA_libgnu_la_SOURCES += getopt.c getopt1.c
71 ## end gnulib module getopt
73 ## begin gnulib module gettext-h
75 libgnu_la_SOURCES += gettext.h
77 ## end gnulib module gettext-h
79 ## begin gnulib module link-warning
81 LINK_WARNING_H=$(top_srcdir)/build-aux/link-warning.h
83 EXTRA_DIST += $(top_srcdir)/build-aux/link-warning.h
85 ## end gnulib module link-warning
87 ## begin gnulib module maintainer-makefile
89 EXTRA_DIST += $(top_srcdir)/build-aux/GNUmakefile $(top_srcdir)/build-aux/maint.mk
91 ## end gnulib module maintainer-makefile
93 ## begin gnulib module malloc-posix
96 EXTRA_DIST += malloc.c
98 EXTRA_libgnu_la_SOURCES += malloc.c
100 ## end gnulib module malloc-posix
102 ## begin gnulib module memmove
105 EXTRA_DIST += memmove.c
107 EXTRA_libgnu_la_SOURCES += memmove.c
109 ## end gnulib module memmove
111 ## begin gnulib module progname
113 libgnu_la_SOURCES += progname.h progname.c
115 ## end gnulib module progname
117 ## begin gnulib module read-file
120 EXTRA_DIST += read-file.c read-file.h
122 EXTRA_libgnu_la_SOURCES += read-file.c
124 ## end gnulib module read-file
126 ## begin gnulib module realloc-posix
129 EXTRA_DIST += realloc.c
131 EXTRA_libgnu_la_SOURCES += realloc.c
133 ## end gnulib module realloc-posix
135 ## begin gnulib module stdlib
137 BUILT_SOURCES += stdlib.h
139 # We need the following in order to create <stdlib.h> when the system
140 # doesn't have one that works with the given compiler.
141 stdlib.h: stdlib.in.h
143 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
144 sed -e 's/@''INCLUDE_NEXT''@/$(INCLUDE_NEXT)/g' \
145 -e 's|@''NEXT_STDLIB_H''@|$(NEXT_STDLIB_H)|g' \
146 -e 's|@''GNULIB_MALLOC_POSIX''@|$(GNULIB_MALLOC_POSIX)|g' \
147 -e 's|@''GNULIB_REALLOC_POSIX''@|$(GNULIB_REALLOC_POSIX)|g' \
148 -e 's|@''GNULIB_CALLOC_POSIX''@|$(GNULIB_CALLOC_POSIX)|g' \
149 -e 's|@''GNULIB_GETSUBOPT''@|$(GNULIB_GETSUBOPT)|g' \
150 -e 's|@''GNULIB_MKDTEMP''@|$(GNULIB_MKDTEMP)|g' \
151 -e 's|@''GNULIB_MKSTEMP''@|$(GNULIB_MKSTEMP)|g' \
152 -e 's|@''GNULIB_PUTENV''@|$(GNULIB_PUTENV)|g' \
153 -e 's|@''GNULIB_SETENV''@|$(GNULIB_SETENV)|g' \
154 -e 's|@''GNULIB_UNSETENV''@|$(GNULIB_UNSETENV)|g' \
155 -e 's|@''HAVE_CALLOC_POSIX''@|$(HAVE_CALLOC_POSIX)|g' \
156 -e 's|@''HAVE_GETSUBOPT''@|$(HAVE_GETSUBOPT)|g' \
157 -e 's|@''HAVE_MALLOC_POSIX''@|$(HAVE_MALLOC_POSIX)|g' \
158 -e 's|@''HAVE_MKDTEMP''@|$(HAVE_MKDTEMP)|g' \
159 -e 's|@''HAVE_REALLOC_POSIX''@|$(HAVE_REALLOC_POSIX)|g' \
160 -e 's|@''HAVE_SETENV''@|$(HAVE_SETENV)|g' \
161 -e 's|@''HAVE_UNSETENV''@|$(HAVE_UNSETENV)|g' \
162 -e 's|@''REPLACE_MKSTEMP''@|$(REPLACE_MKSTEMP)|g' \
163 -e 's|@''REPLACE_PUTENV''@|$(REPLACE_PUTENV)|g' \
164 -e 's|@''VOID_UNSETENV''@|$(VOID_UNSETENV)|g' \
165 -e '/definition of GL_LINK_WARNING/r $(LINK_WARNING_H)' \
166 < $(srcdir)/stdlib.in.h; \
169 MOSTLYCLEANFILES += stdlib.h stdlib.h-t
171 EXTRA_DIST += stdlib.in.h
173 ## end gnulib module stdlib
175 ## begin gnulib module strdup
178 EXTRA_DIST += strdup.c
180 EXTRA_libgnu_la_SOURCES += strdup.c
182 ## end gnulib module strdup
184 ## begin gnulib module string
186 BUILT_SOURCES += string.h
188 # We need the following in order to create <string.h> when the system
189 # doesn't have one that works with the given compiler.
190 string.h: string.in.h
192 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
193 sed -e 's/@''INCLUDE_NEXT''@/$(INCLUDE_NEXT)/g' \
194 -e 's|@''NEXT_STRING_H''@|$(NEXT_STRING_H)|g' \
195 -e 's|@''GNULIB_MBSLEN''@|$(GNULIB_MBSLEN)|g' \
196 -e 's|@''GNULIB_MBSNLEN''@|$(GNULIB_MBSNLEN)|g' \
197 -e 's|@''GNULIB_MBSCHR''@|$(GNULIB_MBSCHR)|g' \
198 -e 's|@''GNULIB_MBSRCHR''@|$(GNULIB_MBSRCHR)|g' \
199 -e 's|@''GNULIB_MBSSTR''@|$(GNULIB_MBSSTR)|g' \
200 -e 's|@''GNULIB_MBSCASECMP''@|$(GNULIB_MBSCASECMP)|g' \
201 -e 's|@''GNULIB_MBSNCASECMP''@|$(GNULIB_MBSNCASECMP)|g' \
202 -e 's|@''GNULIB_MBSPCASECMP''@|$(GNULIB_MBSPCASECMP)|g' \
203 -e 's|@''GNULIB_MBSCASESTR''@|$(GNULIB_MBSCASESTR)|g' \
204 -e 's|@''GNULIB_MBSCSPN''@|$(GNULIB_MBSCSPN)|g' \
205 -e 's|@''GNULIB_MBSPBRK''@|$(GNULIB_MBSPBRK)|g' \
206 -e 's|@''GNULIB_MBSSPN''@|$(GNULIB_MBSSPN)|g' \
207 -e 's|@''GNULIB_MBSSEP''@|$(GNULIB_MBSSEP)|g' \
208 -e 's|@''GNULIB_MBSTOK_R''@|$(GNULIB_MBSTOK_R)|g' \
209 -e 's|@''GNULIB_MEMMEM''@|$(GNULIB_MEMMEM)|g' \
210 -e 's|@''GNULIB_MEMPCPY''@|$(GNULIB_MEMPCPY)|g' \
211 -e 's|@''GNULIB_MEMRCHR''@|$(GNULIB_MEMRCHR)|g' \
212 -e 's|@''GNULIB_STPCPY''@|$(GNULIB_STPCPY)|g' \
213 -e 's|@''GNULIB_STPNCPY''@|$(GNULIB_STPNCPY)|g' \
214 -e 's|@''GNULIB_STRCHRNUL''@|$(GNULIB_STRCHRNUL)|g' \
215 -e 's|@''GNULIB_STRDUP''@|$(GNULIB_STRDUP)|g' \
216 -e 's|@''GNULIB_STRNDUP''@|$(GNULIB_STRNDUP)|g' \
217 -e 's|@''GNULIB_STRNLEN''@|$(GNULIB_STRNLEN)|g' \
218 -e 's|@''GNULIB_STRPBRK''@|$(GNULIB_STRPBRK)|g' \
219 -e 's|@''GNULIB_STRSEP''@|$(GNULIB_STRSEP)|g' \
220 -e 's|@''GNULIB_STRSTR''@|$(GNULIB_STRSTR)|g' \
221 -e 's|@''GNULIB_STRCASESTR''@|$(GNULIB_STRCASESTR)|g' \
222 -e 's|@''GNULIB_STRTOK_R''@|$(GNULIB_STRTOK_R)|g' \
223 -e 's|@''GNULIB_STRERROR''@|$(GNULIB_STRERROR)|g' \
224 -e 's|@''GNULIB_STRSIGNAL''@|$(GNULIB_STRSIGNAL)|g' \
225 -e 's|@''HAVE_DECL_MEMMEM''@|$(HAVE_DECL_MEMMEM)|g' \
226 -e 's|@''HAVE_MEMPCPY''@|$(HAVE_MEMPCPY)|g' \
227 -e 's|@''HAVE_DECL_MEMRCHR''@|$(HAVE_DECL_MEMRCHR)|g' \
228 -e 's|@''HAVE_STPCPY''@|$(HAVE_STPCPY)|g' \
229 -e 's|@''HAVE_STPNCPY''@|$(HAVE_STPNCPY)|g' \
230 -e 's|@''HAVE_STRCHRNUL''@|$(HAVE_STRCHRNUL)|g' \
231 -e 's|@''HAVE_DECL_STRDUP''@|$(HAVE_DECL_STRDUP)|g' \
232 -e 's|@''HAVE_STRNDUP''@|$(HAVE_STRNDUP)|g' \
233 -e 's|@''HAVE_DECL_STRNDUP''@|$(HAVE_DECL_STRNDUP)|g' \
234 -e 's|@''HAVE_DECL_STRNLEN''@|$(HAVE_DECL_STRNLEN)|g' \
235 -e 's|@''HAVE_STRPBRK''@|$(HAVE_STRPBRK)|g' \
236 -e 's|@''HAVE_STRSEP''@|$(HAVE_STRSEP)|g' \
237 -e 's|@''HAVE_STRCASESTR''@|$(HAVE_STRCASESTR)|g' \
238 -e 's|@''HAVE_DECL_STRTOK_R''@|$(HAVE_DECL_STRTOK_R)|g' \
239 -e 's|@''HAVE_DECL_STRERROR''@|$(HAVE_DECL_STRERROR)|g' \
240 -e 's|@''HAVE_DECL_STRSIGNAL''@|$(HAVE_DECL_STRSIGNAL)|g' \
241 -e 's|@''REPLACE_MEMMEM''@|$(REPLACE_MEMMEM)|g' \
242 -e 's|@''REPLACE_STRCASESTR''@|$(REPLACE_STRCASESTR)|g' \
243 -e 's|@''REPLACE_STRSTR''@|$(REPLACE_STRSTR)|g' \
244 -e 's|@''REPLACE_STRERROR''@|$(REPLACE_STRERROR)|g' \
245 -e 's|@''REPLACE_STRSIGNAL''@|$(REPLACE_STRSIGNAL)|g' \
246 -e '/definition of GL_LINK_WARNING/r $(LINK_WARNING_H)' \
247 < $(srcdir)/string.in.h; \
250 MOSTLYCLEANFILES += string.h string.h-t
252 EXTRA_DIST += string.in.h
254 ## end gnulib module string
256 ## begin gnulib module unistd
258 BUILT_SOURCES += unistd.h
260 # We need the following in order to create an empty placeholder for
261 # <unistd.h> when the system doesn't have one.
262 unistd.h: unistd.in.h
264 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
265 sed -e 's|@''HAVE_UNISTD_H''@|$(HAVE_UNISTD_H)|g' \
266 -e 's/@''INCLUDE_NEXT''@/$(INCLUDE_NEXT)/g' \
267 -e 's|@''NEXT_UNISTD_H''@|$(NEXT_UNISTD_H)|g' \
268 -e 's|@''GNULIB_CHOWN''@|$(GNULIB_CHOWN)|g' \
269 -e 's|@''GNULIB_DUP2''@|$(GNULIB_DUP2)|g' \
270 -e 's|@''GNULIB_FCHDIR''@|$(GNULIB_FCHDIR)|g' \
271 -e 's|@''GNULIB_FTRUNCATE''@|$(GNULIB_FTRUNCATE)|g' \
272 -e 's|@''GNULIB_GETCWD''@|$(GNULIB_GETCWD)|g' \
273 -e 's|@''GNULIB_GETHOSTNAME''@|$(GNULIB_GETHOSTNAME)|g' \
274 -e 's|@''GNULIB_GETLOGIN_R''@|$(GNULIB_GETLOGIN_R)|g' \
275 -e 's|@''GNULIB_GETPAGESIZE''@|$(GNULIB_GETPAGESIZE)|g' \
276 -e 's|@''GNULIB_LCHOWN''@|$(GNULIB_LCHOWN)|g' \
277 -e 's|@''GNULIB_LSEEK''@|$(GNULIB_LSEEK)|g' \
278 -e 's|@''GNULIB_READLINK''@|$(GNULIB_READLINK)|g' \
279 -e 's|@''GNULIB_SLEEP''@|$(GNULIB_SLEEP)|g' \
280 -e 's|@''HAVE_DUP2''@|$(HAVE_DUP2)|g' \
281 -e 's|@''HAVE_FTRUNCATE''@|$(HAVE_FTRUNCATE)|g' \
282 -e 's|@''HAVE_GETPAGESIZE''@|$(HAVE_GETPAGESIZE)|g' \
283 -e 's|@''HAVE_READLINK''@|$(HAVE_READLINK)|g' \
284 -e 's|@''HAVE_SLEEP''@|$(HAVE_SLEEP)|g' \
285 -e 's|@''HAVE_DECL_GETHOSTNAME''@|$(HAVE_DECL_GETHOSTNAME)|g' \
286 -e 's|@''HAVE_DECL_GETLOGIN_R''@|$(HAVE_DECL_GETLOGIN_R)|g' \
287 -e 's|@''HAVE_OS_H''@|$(HAVE_OS_H)|g' \
288 -e 's|@''HAVE_SYS_PARAM_H''@|$(HAVE_SYS_PARAM_H)|g' \
289 -e 's|@''REPLACE_CHOWN''@|$(REPLACE_CHOWN)|g' \
290 -e 's|@''REPLACE_FCHDIR''@|$(REPLACE_FCHDIR)|g' \
291 -e 's|@''REPLACE_GETCWD''@|$(REPLACE_GETCWD)|g' \
292 -e 's|@''REPLACE_GETPAGESIZE''@|$(REPLACE_GETPAGESIZE)|g' \
293 -e 's|@''REPLACE_LCHOWN''@|$(REPLACE_LCHOWN)|g' \
294 -e 's|@''REPLACE_LSEEK''@|$(REPLACE_LSEEK)|g' \
295 < $(srcdir)/unistd.in.h; \
298 MOSTLYCLEANFILES += unistd.h unistd.h-t
300 EXTRA_DIST += unistd.in.h
302 ## end gnulib module unistd
304 ## begin gnulib module version-etc
306 libgnu_la_SOURCES += version-etc.h version-etc.c
308 ## end gnulib module version-etc
310 ## begin gnulib module version-etc-fsf
312 libgnu_la_SOURCES += version-etc-fsf.c
314 ## end gnulib module version-etc-fsf
317 mostlyclean-local: mostlyclean-generic
318 @for dir in '' $(MOSTLYCLEANDIRS); do \
319 if test -n "$$dir" && test -d $$dir; then \
320 echo "rmdir $$dir"; rmdir $$dir; \