Use Gnulib's `full-write' and `full-read' modules.
[bpt/guile.git] / lib / Makefile.am
CommitLineData
103dc4d4
LC
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.
4#
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.
10#
11# Generated by gnulib-tool.
9b36a80c 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
103dc4d4
LC
13
14AUTOMAKE_OPTIONS = 1.5 gnits
15
aa7a939c 16SUBDIRS =
103dc4d4
LC
17noinst_HEADERS =
18noinst_LIBRARIES =
19noinst_LTLIBRARIES =
20EXTRA_DIST =
21BUILT_SOURCES =
22SUFFIXES =
23MOSTLYCLEANFILES = core *.stackdump
24MOSTLYCLEANDIRS =
25CLEANFILES =
26DISTCLEANFILES =
27MAINTAINERCLEANFILES =
28
29AM_CPPFLAGS =
30
31noinst_LTLIBRARIES += libgnu.la
32
33libgnu_la_SOURCES =
34libgnu_la_LIBADD = $(gl_LTLIBOBJS)
35libgnu_la_DEPENDENCIES = $(gl_LTLIBOBJS)
36EXTRA_libgnu_la_SOURCES =
37libgnu_la_LDFLAGS = $(AM_LDFLAGS)
38
39## begin gnulib module alloca
40
41
42EXTRA_DIST += alloca.c
43
44EXTRA_libgnu_la_SOURCES += alloca.c
45
46libgnu_la_LIBADD += @LTALLOCA@
47libgnu_la_DEPENDENCIES += @LTALLOCA@
48## end gnulib module alloca
49
50## begin gnulib module alloca-opt
51
52BUILT_SOURCES += $(ALLOCA_H)
53
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.
56alloca.h: alloca.in.h
57 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
58 cat $(srcdir)/alloca.in.h; \
59 } > $@-t
60 mv -f $@-t $@
61MOSTLYCLEANFILES += alloca.h alloca.h-t
62
63EXTRA_DIST += alloca.in.h
64
65## end gnulib module alloca-opt
66
d7014610
LC
67## begin gnulib module count-one-bits
68
69
70EXTRA_DIST += count-one-bits.h
71
72## end gnulib module count-one-bits
73
9b36a80c
LC
74## begin gnulib module full-read
75
76libgnu_la_SOURCES += full-read.h full-read.c
77
78## end gnulib module full-read
79
80## begin gnulib module full-write
81
82libgnu_la_SOURCES += full-write.h full-write.c
83
84## end gnulib module full-write
85
103dc4d4
LC
86## begin gnulib module link-warning
87
88LINK_WARNING_H=$(top_srcdir)/build-aux/link-warning.h
89
90EXTRA_DIST += $(top_srcdir)/build-aux/link-warning.h
91
92## end gnulib module link-warning
93
9b36a80c
LC
94## begin gnulib module safe-read
95
96
97EXTRA_DIST += safe-read.c safe-read.h
98
99EXTRA_libgnu_la_SOURCES += safe-read.c
100
101## end gnulib module safe-read
102
103## begin gnulib module safe-write
104
105
106EXTRA_DIST += safe-write.c safe-write.h
107
108EXTRA_libgnu_la_SOURCES += safe-write.c
109
110## end gnulib module safe-write
111
e65fc94b
LC
112## begin gnulib module stdbool
113
114BUILT_SOURCES += $(STDBOOL_H)
115
116# We need the following in order to create <stdbool.h> when the system
117# doesn't have one that works.
118stdbool.h: stdbool.in.h
119 rm -f $@-t $@
120 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
121 sed -e 's/@''HAVE__BOOL''@/$(HAVE__BOOL)/g' < $(srcdir)/stdbool.in.h; \
122 } > $@-t
123 mv $@-t $@
124MOSTLYCLEANFILES += stdbool.h stdbool.h-t
125
126EXTRA_DIST += stdbool.in.h
127
128## end gnulib module stdbool
129
103dc4d4
LC
130## begin gnulib module strcase
131
132
133EXTRA_DIST += strcasecmp.c strncasecmp.c
134
135EXTRA_libgnu_la_SOURCES += strcasecmp.c strncasecmp.c
136
137## end gnulib module strcase
138
e65fc94b
LC
139## begin gnulib module strftime
140
141
142EXTRA_DIST += strftime.c strftime.h
143
144EXTRA_libgnu_la_SOURCES += strftime.c
145
146## end gnulib module strftime
147
103dc4d4
LC
148## begin gnulib module strings
149
150BUILT_SOURCES += strings.h
151
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.
154strings.h: strings.in.h
155 rm -f $@-t $@
156 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
e65fc94b
LC
157 sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
158 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
103dc4d4
LC
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; \
164 } > $@-t
165 mv $@-t $@
166MOSTLYCLEANFILES += strings.h strings.h-t
167
168EXTRA_DIST += strings.in.h
169
170## end gnulib module strings
171
e65fc94b
LC
172## begin gnulib module time
173
174BUILT_SOURCES += time.h
175
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.
178time.h: time.in.h
179 rm -f $@-t $@
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; \
191 } > $@-t
192 mv $@-t $@
193MOSTLYCLEANFILES += time.h time.h-t
194
195EXTRA_DIST += time.in.h
196
197## end gnulib module time
198
199## begin gnulib module time_r
200
201
202EXTRA_DIST += time_r.c
203
204EXTRA_libgnu_la_SOURCES += time_r.c
205
206## end gnulib module time_r
207
9b36a80c
LC
208## begin gnulib module unistd
209
210BUILT_SOURCES += unistd.h
211
212# We need the following in order to create an empty placeholder for
213# <unistd.h> when the system doesn't have one.
214unistd.h: unistd.in.h
215 rm -f $@-t $@
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; \
268 } > $@-t
269 mv $@-t $@
270MOSTLYCLEANFILES += unistd.h unistd.h-t
271
272EXTRA_DIST += unistd.in.h
273
274## end gnulib module unistd
275
d7014610
LC
276## begin gnulib module verify
277
278libgnu_la_SOURCES += verify.h
279
280## end gnulib module verify
281
e65fc94b
LC
282## begin gnulib module wchar
283
284BUILT_SOURCES += $(WCHAR_H)
285
286# We need the following in order to create <wchar.h> when the system
287# version does not work standalone.
288wchar.h: wchar.in.h
289 rm -f $@-t $@
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' \
aa7a939c 296 -e 's/@''HAVE_WINT_T''@/$(HAVE_WINT_T)/g' \
e65fc94b
LC
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; \
301 } > $@-t
302 mv $@-t $@
303MOSTLYCLEANFILES += wchar.h wchar.h-t
304
305EXTRA_DIST += wchar.in.h
306
307## end gnulib module wchar
308
9b36a80c
LC
309## begin gnulib module write
310
311
312EXTRA_DIST += write.c
103dc4d4 313
9b36a80c 314EXTRA_libgnu_la_SOURCES += write.c
103dc4d4 315
9b36a80c 316## end gnulib module write
103dc4d4
LC
317
318
319mostlyclean-local: mostlyclean-generic
320 @for dir in '' $(MOSTLYCLEANDIRS); do \
321 if test -n "$$dir" && test -d $$dir; then \
322 echo "rmdir $$dir"; rmdir $$dir; \
323 fi; \
324 done; \
325 :