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 --tests-base=tests --aux-dir=build-aux --lgpl --libtool --macro-prefix=gl alloca autobuild count-one-bits extensions full-read full-write strcase strftime
14 AUTOMAKE_OPTIONS = 1.5 gnits
23 MOSTLYCLEANFILES = core *.stackdump
27 MAINTAINERCLEANFILES =
31 noinst_LTLIBRARIES += libgnu.la
34 libgnu_la_LIBADD = $(gl_LTLIBOBJS)
35 libgnu_la_DEPENDENCIES = $(gl_LTLIBOBJS)
36 EXTRA_libgnu_la_SOURCES =
37 libgnu_la_LDFLAGS = $(AM_LDFLAGS)
39 ## begin gnulib module alloca
42 EXTRA_DIST += alloca.c
44 EXTRA_libgnu_la_SOURCES += alloca.c
46 libgnu_la_LIBADD += @LTALLOCA@
47 libgnu_la_DEPENDENCIES += @LTALLOCA@
48 ## end gnulib module alloca
50 ## begin gnulib module alloca-opt
52 BUILT_SOURCES += $(ALLOCA_H)
54 # We need the following in order to create <alloca.h> when the system
55 # doesn't have one that works with the given compiler.
57 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
58 cat $(srcdir)/alloca.in.h; \
61 MOSTLYCLEANFILES += alloca.h alloca.h-t
63 EXTRA_DIST += alloca.in.h
65 ## end gnulib module alloca-opt
67 ## begin gnulib module count-one-bits
70 EXTRA_DIST += count-one-bits.h
72 ## end gnulib module count-one-bits
74 ## begin gnulib module full-read
76 libgnu_la_SOURCES += full-read.h full-read.c
78 ## end gnulib module full-read
80 ## begin gnulib module full-write
82 libgnu_la_SOURCES += full-write.h full-write.c
84 ## end gnulib module full-write
86 ## begin gnulib module link-warning
88 LINK_WARNING_H=$(top_srcdir)/build-aux/link-warning.h
90 EXTRA_DIST += $(top_srcdir)/build-aux/link-warning.h
92 ## end gnulib module link-warning
94 ## begin gnulib module safe-read
97 EXTRA_DIST += safe-read.c safe-read.h
99 EXTRA_libgnu_la_SOURCES += safe-read.c
101 ## end gnulib module safe-read
103 ## begin gnulib module safe-write
106 EXTRA_DIST += safe-write.c safe-write.h
108 EXTRA_libgnu_la_SOURCES += safe-write.c
110 ## end gnulib module safe-write
112 ## begin gnulib module stdbool
114 BUILT_SOURCES += $(STDBOOL_H)
116 # We need the following in order to create <stdbool.h> when the system
117 # doesn't have one that works.
118 stdbool.h: stdbool.in.h
120 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
121 sed -e 's/@''HAVE__BOOL''@/$(HAVE__BOOL)/g' < $(srcdir)/stdbool.in.h; \
124 MOSTLYCLEANFILES += stdbool.h stdbool.h-t
126 EXTRA_DIST += stdbool.in.h
128 ## end gnulib module stdbool
130 ## begin gnulib module strcase
133 EXTRA_DIST += strcasecmp.c strncasecmp.c
135 EXTRA_libgnu_la_SOURCES += strcasecmp.c strncasecmp.c
137 ## end gnulib module strcase
139 ## begin gnulib module strftime
142 EXTRA_DIST += strftime.c strftime.h
144 EXTRA_libgnu_la_SOURCES += strftime.c
146 ## end gnulib module strftime
148 ## begin gnulib module strings
150 BUILT_SOURCES += strings.h
152 # We need the following in order to create <strings.h> when the system
153 # doesn't have one that works with the given compiler.
154 strings.h: strings.in.h
156 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
157 sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
158 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
159 -e 's|@''NEXT_STRINGS_H''@|$(NEXT_STRINGS_H)|g' \
160 -e 's|@''HAVE_STRCASECMP''@|$(HAVE_STRCASECMP)|g' \
161 -e 's|@''HAVE_DECL_STRNCASECMP''@|$(HAVE_DECL_STRNCASECMP)|g' \
162 -e '/definition of GL_LINK_WARNING/r $(LINK_WARNING_H)' \
163 < $(srcdir)/strings.in.h; \
166 MOSTLYCLEANFILES += strings.h strings.h-t
168 EXTRA_DIST += strings.in.h
170 ## end gnulib module strings
172 ## begin gnulib module time
174 BUILT_SOURCES += time.h
176 # We need the following in order to create <time.h> when the system
177 # doesn't have one that works with the given compiler.
180 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
181 sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
182 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
183 -e 's|@NEXT_TIME_H''@|$(NEXT_TIME_H)|g' \
184 -e 's|@REPLACE_LOCALTIME_R''@|$(REPLACE_LOCALTIME_R)|g' \
185 -e 's|@REPLACE_NANOSLEEP''@|$(REPLACE_NANOSLEEP)|g' \
186 -e 's|@REPLACE_STRPTIME''@|$(REPLACE_STRPTIME)|g' \
187 -e 's|@REPLACE_TIMEGM''@|$(REPLACE_TIMEGM)|g' \
188 -e 's|@SYS_TIME_H_DEFINES_STRUCT_TIMESPEC''@|$(SYS_TIME_H_DEFINES_STRUCT_TIMESPEC)|g' \
189 -e 's|@TIME_H_DEFINES_STRUCT_TIMESPEC''@|$(TIME_H_DEFINES_STRUCT_TIMESPEC)|g' \
190 < $(srcdir)/time.in.h; \
193 MOSTLYCLEANFILES += time.h time.h-t
195 EXTRA_DIST += time.in.h
197 ## end gnulib module time
199 ## begin gnulib module time_r
202 EXTRA_DIST += time_r.c
204 EXTRA_libgnu_la_SOURCES += time_r.c
206 ## end gnulib module time_r
208 ## begin gnulib module unistd
210 BUILT_SOURCES += unistd.h
212 # We need the following in order to create an empty placeholder for
213 # <unistd.h> when the system doesn't have one.
214 unistd.h: unistd.in.h
216 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
217 sed -e 's|@''HAVE_UNISTD_H''@|$(HAVE_UNISTD_H)|g' \
218 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
219 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
220 -e 's|@''NEXT_UNISTD_H''@|$(NEXT_UNISTD_H)|g' \
221 -e 's|@''GNULIB_CHOWN''@|$(GNULIB_CHOWN)|g' \
222 -e 's|@''GNULIB_CLOSE''@|$(GNULIB_CLOSE)|g' \
223 -e 's|@''GNULIB_DUP2''@|$(GNULIB_DUP2)|g' \
224 -e 's|@''GNULIB_ENVIRON''@|$(GNULIB_ENVIRON)|g' \
225 -e 's|@''GNULIB_EUIDACCESS''@|$(GNULIB_EUIDACCESS)|g' \
226 -e 's|@''GNULIB_FCHDIR''@|$(GNULIB_FCHDIR)|g' \
227 -e 's|@''GNULIB_FSYNC''@|$(GNULIB_FSYNC)|g' \
228 -e 's|@''GNULIB_FTRUNCATE''@|$(GNULIB_FTRUNCATE)|g' \
229 -e 's|@''GNULIB_GETCWD''@|$(GNULIB_GETCWD)|g' \
230 -e 's|@''GNULIB_GETDOMAINNAME''@|$(GNULIB_GETDOMAINNAME)|g' \
231 -e 's|@''GNULIB_GETDTABLESIZE''@|$(GNULIB_GETDTABLESIZE)|g' \
232 -e 's|@''GNULIB_GETHOSTNAME''@|$(GNULIB_GETHOSTNAME)|g' \
233 -e 's|@''GNULIB_GETLOGIN_R''@|$(GNULIB_GETLOGIN_R)|g' \
234 -e 's|@''GNULIB_GETPAGESIZE''@|$(GNULIB_GETPAGESIZE)|g' \
235 -e 's|@''GNULIB_GETUSERSHELL''@|$(GNULIB_GETUSERSHELL)|g' \
236 -e 's|@''GNULIB_LCHOWN''@|$(GNULIB_LCHOWN)|g' \
237 -e 's|@''GNULIB_LSEEK''@|$(GNULIB_LSEEK)|g' \
238 -e 's|@''GNULIB_READLINK''@|$(GNULIB_READLINK)|g' \
239 -e 's|@''GNULIB_SLEEP''@|$(GNULIB_SLEEP)|g' \
240 -e 's|@''GNULIB_UNISTD_H_SIGPIPE''@|$(GNULIB_UNISTD_H_SIGPIPE)|g' \
241 -e 's|@''GNULIB_WRITE''@|$(GNULIB_WRITE)|g' \
242 -e 's|@''HAVE_DUP2''@|$(HAVE_DUP2)|g' \
243 -e 's|@''HAVE_EUIDACCESS''@|$(HAVE_EUIDACCESS)|g' \
244 -e 's|@''HAVE_FSYNC''@|$(HAVE_FSYNC)|g' \
245 -e 's|@''HAVE_FTRUNCATE''@|$(HAVE_FTRUNCATE)|g' \
246 -e 's|@''HAVE_GETDOMAINNAME''@|$(HAVE_GETDOMAINNAME)|g' \
247 -e 's|@''HAVE_GETDTABLESIZE''@|$(HAVE_GETDTABLESIZE)|g' \
248 -e 's|@''HAVE_GETHOSTNAME''@|$(HAVE_GETHOSTNAME)|g' \
249 -e 's|@''HAVE_GETPAGESIZE''@|$(HAVE_GETPAGESIZE)|g' \
250 -e 's|@''HAVE_GETUSERSHELL''@|$(HAVE_GETUSERSHELL)|g' \
251 -e 's|@''HAVE_READLINK''@|$(HAVE_READLINK)|g' \
252 -e 's|@''HAVE_SLEEP''@|$(HAVE_SLEEP)|g' \
253 -e 's|@''HAVE_DECL_ENVIRON''@|$(HAVE_DECL_ENVIRON)|g' \
254 -e 's|@''HAVE_DECL_GETLOGIN_R''@|$(HAVE_DECL_GETLOGIN_R)|g' \
255 -e 's|@''HAVE_OS_H''@|$(HAVE_OS_H)|g' \
256 -e 's|@''HAVE_SYS_PARAM_H''@|$(HAVE_SYS_PARAM_H)|g' \
257 -e 's|@''REPLACE_CHOWN''@|$(REPLACE_CHOWN)|g' \
258 -e 's|@''REPLACE_CLOSE''@|$(REPLACE_CLOSE)|g' \
259 -e 's|@''REPLACE_FCHDIR''@|$(REPLACE_FCHDIR)|g' \
260 -e 's|@''REPLACE_GETCWD''@|$(REPLACE_GETCWD)|g' \
261 -e 's|@''REPLACE_GETPAGESIZE''@|$(REPLACE_GETPAGESIZE)|g' \
262 -e 's|@''REPLACE_LCHOWN''@|$(REPLACE_LCHOWN)|g' \
263 -e 's|@''REPLACE_LSEEK''@|$(REPLACE_LSEEK)|g' \
264 -e 's|@''REPLACE_WRITE''@|$(REPLACE_WRITE)|g' \
265 -e 's|@''UNISTD_H_HAVE_WINSOCK2_H''@|$(UNISTD_H_HAVE_WINSOCK2_H)|g' \
266 -e '/definition of GL_LINK_WARNING/r $(LINK_WARNING_H)' \
267 < $(srcdir)/unistd.in.h; \
270 MOSTLYCLEANFILES += unistd.h unistd.h-t
272 EXTRA_DIST += unistd.in.h
274 ## end gnulib module unistd
276 ## begin gnulib module verify
278 libgnu_la_SOURCES += verify.h
280 ## end gnulib module verify
282 ## begin gnulib module wchar
284 BUILT_SOURCES += $(WCHAR_H)
286 # We need the following in order to create <wchar.h> when the system
287 # version does not work standalone.
290 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
291 sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
292 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
293 -e 's|@''NEXT_WCHAR_H''@|$(NEXT_WCHAR_H)|g' \
294 -e 's/@''HAVE_WCHAR_H''@/$(HAVE_WCHAR_H)/g' \
295 -e 's|@''GNULIB_WCWIDTH''@|$(GNULIB_WCWIDTH)|g' \
296 -e 's/@''HAVE_WINT_T''@/$(HAVE_WINT_T)/g' \
297 -e 's|@''HAVE_DECL_WCWIDTH''@|$(HAVE_DECL_WCWIDTH)|g' \
298 -e 's|@''REPLACE_WCWIDTH''@|$(REPLACE_WCWIDTH)|g' \
299 -e '/definition of GL_LINK_WARNING/r $(LINK_WARNING_H)' \
300 < $(srcdir)/wchar.in.h; \
303 MOSTLYCLEANFILES += wchar.h wchar.h-t
305 EXTRA_DIST += wchar.in.h
307 ## end gnulib module wchar
309 ## begin gnulib module write
312 EXTRA_DIST += write.c
314 EXTRA_libgnu_la_SOURCES += write.c
316 ## end gnulib module write
319 mostlyclean-local: mostlyclean-generic
320 @for dir in '' $(MOSTLYCLEANDIRS); do \
321 if test -n "$$dir" && test -d $$dir; then \
322 echo "rmdir $$dir"; rmdir $$dir; \