Use Gnulib's `autobuild' module.
[bpt/guile.git] / lib / Makefile.am
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.
12 # Reproduce by: gnulib-tool --import --dir=. --lib=libgnu --source-base=lib --m4-base=m4 --doc-base=doc --aux-dir=build-aux --lgpl --libtool --macro-prefix=gl alloca autobuild count-one-bits extensions strcase strftime
13
14 AUTOMAKE_OPTIONS = 1.5 gnits
15
16 noinst_HEADERS =
17 noinst_LIBRARIES =
18 noinst_LTLIBRARIES =
19 EXTRA_DIST =
20 BUILT_SOURCES =
21 SUFFIXES =
22 MOSTLYCLEANFILES = core *.stackdump
23 MOSTLYCLEANDIRS =
24 CLEANFILES =
25 DISTCLEANFILES =
26 MAINTAINERCLEANFILES =
27
28 AM_CPPFLAGS =
29
30 noinst_LTLIBRARIES += libgnu.la
31
32 libgnu_la_SOURCES =
33 libgnu_la_LIBADD = $(gl_LTLIBOBJS)
34 libgnu_la_DEPENDENCIES = $(gl_LTLIBOBJS)
35 EXTRA_libgnu_la_SOURCES =
36 libgnu_la_LDFLAGS = $(AM_LDFLAGS)
37
38 ## begin gnulib module alloca
39
40
41 EXTRA_DIST += alloca.c
42
43 EXTRA_libgnu_la_SOURCES += alloca.c
44
45 libgnu_la_LIBADD += @LTALLOCA@
46 libgnu_la_DEPENDENCIES += @LTALLOCA@
47 ## end gnulib module alloca
48
49 ## begin gnulib module alloca-opt
50
51 BUILT_SOURCES += $(ALLOCA_H)
52
53 # We need the following in order to create <alloca.h> when the system
54 # doesn't have one that works with the given compiler.
55 alloca.h: alloca.in.h
56 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
57 cat $(srcdir)/alloca.in.h; \
58 } > $@-t
59 mv -f $@-t $@
60 MOSTLYCLEANFILES += alloca.h alloca.h-t
61
62 EXTRA_DIST += alloca.in.h
63
64 ## end gnulib module alloca-opt
65
66 ## begin gnulib module count-one-bits
67
68
69 EXTRA_DIST += count-one-bits.h
70
71 ## end gnulib module count-one-bits
72
73 ## begin gnulib module link-warning
74
75 LINK_WARNING_H=$(top_srcdir)/build-aux/link-warning.h
76
77 EXTRA_DIST += $(top_srcdir)/build-aux/link-warning.h
78
79 ## end gnulib module link-warning
80
81 ## begin gnulib module stdbool
82
83 BUILT_SOURCES += $(STDBOOL_H)
84
85 # We need the following in order to create <stdbool.h> when the system
86 # doesn't have one that works.
87 stdbool.h: stdbool.in.h
88 rm -f $@-t $@
89 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
90 sed -e 's/@''HAVE__BOOL''@/$(HAVE__BOOL)/g' < $(srcdir)/stdbool.in.h; \
91 } > $@-t
92 mv $@-t $@
93 MOSTLYCLEANFILES += stdbool.h stdbool.h-t
94
95 EXTRA_DIST += stdbool.in.h
96
97 ## end gnulib module stdbool
98
99 ## begin gnulib module strcase
100
101
102 EXTRA_DIST += strcasecmp.c strncasecmp.c
103
104 EXTRA_libgnu_la_SOURCES += strcasecmp.c strncasecmp.c
105
106 ## end gnulib module strcase
107
108 ## begin gnulib module strftime
109
110
111 EXTRA_DIST += strftime.c strftime.h
112
113 EXTRA_libgnu_la_SOURCES += strftime.c
114
115 ## end gnulib module strftime
116
117 ## begin gnulib module strings
118
119 BUILT_SOURCES += strings.h
120
121 # We need the following in order to create <strings.h> when the system
122 # doesn't have one that works with the given compiler.
123 strings.h: strings.in.h
124 rm -f $@-t $@
125 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
126 sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
127 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
128 -e 's|@''NEXT_STRINGS_H''@|$(NEXT_STRINGS_H)|g' \
129 -e 's|@''HAVE_STRCASECMP''@|$(HAVE_STRCASECMP)|g' \
130 -e 's|@''HAVE_DECL_STRNCASECMP''@|$(HAVE_DECL_STRNCASECMP)|g' \
131 -e '/definition of GL_LINK_WARNING/r $(LINK_WARNING_H)' \
132 < $(srcdir)/strings.in.h; \
133 } > $@-t
134 mv $@-t $@
135 MOSTLYCLEANFILES += strings.h strings.h-t
136
137 EXTRA_DIST += strings.in.h
138
139 ## end gnulib module strings
140
141 ## begin gnulib module time
142
143 BUILT_SOURCES += time.h
144
145 # We need the following in order to create <time.h> when the system
146 # doesn't have one that works with the given compiler.
147 time.h: time.in.h
148 rm -f $@-t $@
149 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
150 sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
151 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
152 -e 's|@NEXT_TIME_H''@|$(NEXT_TIME_H)|g' \
153 -e 's|@REPLACE_LOCALTIME_R''@|$(REPLACE_LOCALTIME_R)|g' \
154 -e 's|@REPLACE_NANOSLEEP''@|$(REPLACE_NANOSLEEP)|g' \
155 -e 's|@REPLACE_STRPTIME''@|$(REPLACE_STRPTIME)|g' \
156 -e 's|@REPLACE_TIMEGM''@|$(REPLACE_TIMEGM)|g' \
157 -e 's|@SYS_TIME_H_DEFINES_STRUCT_TIMESPEC''@|$(SYS_TIME_H_DEFINES_STRUCT_TIMESPEC)|g' \
158 -e 's|@TIME_H_DEFINES_STRUCT_TIMESPEC''@|$(TIME_H_DEFINES_STRUCT_TIMESPEC)|g' \
159 < $(srcdir)/time.in.h; \
160 } > $@-t
161 mv $@-t $@
162 MOSTLYCLEANFILES += time.h time.h-t
163
164 EXTRA_DIST += time.in.h
165
166 ## end gnulib module time
167
168 ## begin gnulib module time_r
169
170
171 EXTRA_DIST += time_r.c
172
173 EXTRA_libgnu_la_SOURCES += time_r.c
174
175 ## end gnulib module time_r
176
177 ## begin gnulib module verify
178
179 libgnu_la_SOURCES += verify.h
180
181 ## end gnulib module verify
182
183 ## begin gnulib module wchar
184
185 BUILT_SOURCES += $(WCHAR_H)
186
187 # We need the following in order to create <wchar.h> when the system
188 # version does not work standalone.
189 wchar.h: wchar.in.h
190 rm -f $@-t $@
191 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
192 sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
193 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
194 -e 's|@''NEXT_WCHAR_H''@|$(NEXT_WCHAR_H)|g' \
195 -e 's/@''HAVE_WCHAR_H''@/$(HAVE_WCHAR_H)/g' \
196 -e 's|@''GNULIB_WCWIDTH''@|$(GNULIB_WCWIDTH)|g' \
197 -e 's|@''HAVE_DECL_WCWIDTH''@|$(HAVE_DECL_WCWIDTH)|g' \
198 -e 's|@''REPLACE_WCWIDTH''@|$(REPLACE_WCWIDTH)|g' \
199 -e '/definition of GL_LINK_WARNING/r $(LINK_WARNING_H)' \
200 < $(srcdir)/wchar.in.h; \
201 } > $@-t
202 mv $@-t $@
203 MOSTLYCLEANFILES += wchar.h wchar.h-t
204
205 EXTRA_DIST += wchar.in.h
206
207 ## end gnulib module wchar
208
209 ## begin gnulib module dummy
210
211 libgnu_la_SOURCES += dummy.c
212
213 ## end gnulib module dummy
214
215
216 mostlyclean-local: mostlyclean-generic
217 @for dir in '' $(MOSTLYCLEANDIRS); do \
218 if test -n "$$dir" && test -d $$dir; then \
219 echo "rmdir $$dir"; rmdir $$dir; \
220 fi; \
221 done; \
222 :