Commit | Line | Data |
---|---|---|
f6ea5628 DJ |
1 | ## DO NOT EDIT! GENERATED AUTOMATICALLY! |
2 | ## Process this file with automake to produce Makefile.in. | |
db026a31 | 3 | # Copyright (C) 2002-2010 Free Software Foundation, Inc. |
f6ea5628 DJ |
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. | |
55a8c076 | 12 | # Reproduce by: gnulib-tool --import --dir=. --lib=libgnu --source-base=gnulib --m4-base=gnulib/m4 --doc-base=doc --tests-base=tests --aux-dir=gnulib/extra --no-libtool --macro-prefix=gl --no-vc-files inttypes memmem |
f6ea5628 DJ |
13 | |
14 | AUTOMAKE_OPTIONS = 1.5 gnits | |
15 | ||
f434ba03 | 16 | SUBDIRS = |
f6ea5628 DJ |
17 | noinst_HEADERS = |
18 | noinst_LIBRARIES = | |
19 | noinst_LTLIBRARIES = | |
20 | EXTRA_DIST = | |
21 | BUILT_SOURCES = | |
22 | SUFFIXES = | |
23 | MOSTLYCLEANFILES = core *.stackdump | |
24 | MOSTLYCLEANDIRS = | |
25 | CLEANFILES = | |
26 | DISTCLEANFILES = | |
27 | MAINTAINERCLEANFILES = | |
f434ba03 | 28 | EXTRA_DIST += m4/gnulib-cache.m4 |
f6ea5628 DJ |
29 | |
30 | AM_CPPFLAGS = | |
f434ba03 | 31 | AM_CFLAGS = |
f6ea5628 DJ |
32 | |
33 | noinst_LIBRARIES += libgnu.a | |
34 | ||
35 | libgnu_a_SOURCES = | |
36 | libgnu_a_LIBADD = $(gl_LIBOBJS) | |
37 | libgnu_a_DEPENDENCIES = $(gl_LIBOBJS) | |
38 | EXTRA_libgnu_a_SOURCES = | |
39 | ||
f434ba03 PA |
40 | ## begin gnulib module arg-nonnull |
41 | ||
42 | # The BUILT_SOURCES created by this Makefile snippet are not used via #include | |
43 | # statements but through direct file reference. Therefore this snippet must be | |
44 | # present in all Makefile.am that need it. This is ensured by the applicability | |
45 | # 'all' defined above. | |
46 | ||
47 | BUILT_SOURCES += arg-nonnull.h | |
48 | # The arg-nonnull.h that gets inserted into generated .h files is the same as | |
49 | # build-aux/arg-nonnull.h, except that it has the copyright header cut off. | |
50 | arg-nonnull.h: $(top_srcdir)/gnulib/extra/arg-nonnull.h | |
51 | $(AM_V_GEN)rm -f $@-t $@ && \ | |
52 | sed -n -e '/GL_ARG_NONNULL/,$$p' \ | |
53 | < $(top_srcdir)/gnulib/extra/arg-nonnull.h \ | |
54 | > $@-t && \ | |
55 | mv $@-t $@ | |
56 | MOSTLYCLEANFILES += arg-nonnull.h arg-nonnull.h-t | |
f6ea5628 | 57 | |
f434ba03 | 58 | ARG_NONNULL_H=arg-nonnull.h |
f6ea5628 | 59 | |
f434ba03 | 60 | EXTRA_DIST += $(top_srcdir)/gnulib/extra/arg-nonnull.h |
f6ea5628 | 61 | |
f434ba03 | 62 | ## end gnulib module arg-nonnull |
f6ea5628 | 63 | |
f434ba03 PA |
64 | ## begin gnulib module c++defs |
65 | ||
66 | # The BUILT_SOURCES created by this Makefile snippet are not used via #include | |
67 | # statements but through direct file reference. Therefore this snippet must be | |
68 | # present in all Makefile.am that need it. This is ensured by the applicability | |
69 | # 'all' defined above. | |
f6ea5628 | 70 | |
f434ba03 PA |
71 | BUILT_SOURCES += c++defs.h |
72 | # The c++defs.h that gets inserted into generated .h files is the same as | |
73 | # build-aux/c++defs.h, except that it has the copyright header cut off. | |
74 | c++defs.h: $(top_srcdir)/gnulib/extra/c++defs.h | |
75 | $(AM_V_GEN)rm -f $@-t $@ && \ | |
76 | sed -n -e '/_GL_CXXDEFS/,$$p' \ | |
77 | < $(top_srcdir)/gnulib/extra/c++defs.h \ | |
78 | > $@-t && \ | |
79 | mv $@-t $@ | |
80 | MOSTLYCLEANFILES += c++defs.h c++defs.h-t | |
f6ea5628 | 81 | |
f434ba03 | 82 | CXXDEFS_H=c++defs.h |
f6ea5628 | 83 | |
f434ba03 | 84 | EXTRA_DIST += $(top_srcdir)/gnulib/extra/c++defs.h |
f6ea5628 | 85 | |
f434ba03 | 86 | ## end gnulib module c++defs |
f6ea5628 | 87 | |
55a8c076 YQ |
88 | ## begin gnulib module inttypes |
89 | ||
90 | BUILT_SOURCES += inttypes.h | |
91 | ||
92 | # We need the following in order to create <inttypes.h> when the system | |
93 | # doesn't have one that works with the given compiler. | |
94 | inttypes.h: inttypes.in.h $(WARN_ON_USE_H) $(ARG_NONNULL_H) | |
95 | $(AM_V_GEN)rm -f $@-t $@ && \ | |
96 | { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ | |
97 | sed -e 's/@''HAVE_INTTYPES_H''@/$(HAVE_INTTYPES_H)/g' \ | |
98 | -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ | |
99 | -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ | |
100 | -e 's|@''NEXT_INTTYPES_H''@|$(NEXT_INTTYPES_H)|g' \ | |
101 | -e 's/@''PRI_MACROS_BROKEN''@/$(PRI_MACROS_BROKEN)/g' \ | |
102 | -e 's/@''APPLE_UNIVERSAL_BUILD''@/$(APPLE_UNIVERSAL_BUILD)/g' \ | |
103 | -e 's/@''HAVE_LONG_LONG_INT''@/$(HAVE_LONG_LONG_INT)/g' \ | |
104 | -e 's/@''HAVE_UNSIGNED_LONG_LONG_INT''@/$(HAVE_UNSIGNED_LONG_LONG_INT)/g' \ | |
105 | -e 's/@''PRIPTR_PREFIX''@/$(PRIPTR_PREFIX)/g' \ | |
106 | -e 's/@''GNULIB_IMAXABS''@/$(GNULIB_IMAXABS)/g' \ | |
107 | -e 's/@''GNULIB_IMAXDIV''@/$(GNULIB_IMAXDIV)/g' \ | |
108 | -e 's/@''GNULIB_STRTOIMAX''@/$(GNULIB_STRTOIMAX)/g' \ | |
109 | -e 's/@''GNULIB_STRTOUMAX''@/$(GNULIB_STRTOUMAX)/g' \ | |
110 | -e 's/@''HAVE_DECL_IMAXABS''@/$(HAVE_DECL_IMAXABS)/g' \ | |
111 | -e 's/@''HAVE_DECL_IMAXDIV''@/$(HAVE_DECL_IMAXDIV)/g' \ | |
112 | -e 's/@''HAVE_DECL_STRTOIMAX''@/$(HAVE_DECL_STRTOIMAX)/g' \ | |
113 | -e 's/@''HAVE_DECL_STRTOUMAX''@/$(HAVE_DECL_STRTOUMAX)/g' \ | |
114 | -e 's/@''INT32_MAX_LT_INTMAX_MAX''@/$(INT32_MAX_LT_INTMAX_MAX)/g' \ | |
115 | -e 's/@''INT64_MAX_EQ_LONG_MAX''@/$(INT64_MAX_EQ_LONG_MAX)/g' \ | |
116 | -e 's/@''UINT32_MAX_LT_UINTMAX_MAX''@/$(UINT32_MAX_LT_UINTMAX_MAX)/g' \ | |
117 | -e 's/@''UINT64_MAX_EQ_ULONG_MAX''@/$(UINT64_MAX_EQ_ULONG_MAX)/g' \ | |
118 | -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \ | |
119 | -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \ | |
120 | < $(srcdir)/inttypes.in.h; \ | |
121 | } > $@-t && \ | |
122 | mv $@-t $@ | |
123 | MOSTLYCLEANFILES += inttypes.h inttypes.h-t | |
124 | ||
125 | EXTRA_DIST += inttypes.in.h | |
126 | ||
127 | ## end gnulib module inttypes | |
128 | ||
f434ba03 | 129 | ## begin gnulib module memchr |
f6ea5628 DJ |
130 | |
131 | ||
f434ba03 | 132 | EXTRA_DIST += memchr.c memchr.valgrind |
f6ea5628 | 133 | |
f434ba03 | 134 | EXTRA_libgnu_a_SOURCES += memchr.c |
f6ea5628 | 135 | |
f434ba03 | 136 | ## end gnulib module memchr |
f6ea5628 DJ |
137 | |
138 | ## begin gnulib module memmem-simple | |
139 | ||
140 | ||
141 | EXTRA_DIST += memmem.c str-two-way.h | |
142 | ||
143 | EXTRA_libgnu_a_SOURCES += memmem.c | |
144 | ||
145 | ## end gnulib module memmem-simple | |
146 | ||
f434ba03 PA |
147 | ## begin gnulib module stddef |
148 | ||
149 | BUILT_SOURCES += $(STDDEF_H) | |
150 | ||
151 | # We need the following in order to create <stddef.h> when the system | |
152 | # doesn't have one that works with the given compiler. | |
153 | stddef.h: stddef.in.h | |
154 | $(AM_V_GEN)rm -f $@-t $@ && \ | |
155 | { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \ | |
156 | sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ | |
157 | -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ | |
158 | -e 's|@''NEXT_STDDEF_H''@|$(NEXT_STDDEF_H)|g' \ | |
159 | -e 's|@''HAVE_WCHAR_T''@|$(HAVE_WCHAR_T)|g' \ | |
160 | -e 's|@''REPLACE_NULL''@|$(REPLACE_NULL)|g' \ | |
161 | < $(srcdir)/stddef.in.h; \ | |
162 | } > $@-t && \ | |
163 | mv $@-t $@ | |
164 | MOSTLYCLEANFILES += stddef.h stddef.h-t | |
165 | ||
166 | EXTRA_DIST += stddef.in.h | |
167 | ||
168 | ## end gnulib module stddef | |
169 | ||
f6ea5628 DJ |
170 | ## begin gnulib module stdint |
171 | ||
172 | BUILT_SOURCES += $(STDINT_H) | |
173 | ||
174 | # We need the following in order to create <stdint.h> when the system | |
175 | # doesn't have one that works with the given compiler. | |
176 | stdint.h: stdint.in.h | |
f434ba03 | 177 | $(AM_V_GEN)rm -f $@-t $@ && \ |
f6ea5628 DJ |
178 | { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ |
179 | sed -e 's/@''HAVE_STDINT_H''@/$(HAVE_STDINT_H)/g' \ | |
f434ba03 PA |
180 | -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ |
181 | -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ | |
f6ea5628 DJ |
182 | -e 's|@''NEXT_STDINT_H''@|$(NEXT_STDINT_H)|g' \ |
183 | -e 's/@''HAVE_SYS_TYPES_H''@/$(HAVE_SYS_TYPES_H)/g' \ | |
184 | -e 's/@''HAVE_INTTYPES_H''@/$(HAVE_INTTYPES_H)/g' \ | |
185 | -e 's/@''HAVE_SYS_INTTYPES_H''@/$(HAVE_SYS_INTTYPES_H)/g' \ | |
186 | -e 's/@''HAVE_SYS_BITYPES_H''@/$(HAVE_SYS_BITYPES_H)/g' \ | |
187 | -e 's/@''HAVE_LONG_LONG_INT''@/$(HAVE_LONG_LONG_INT)/g' \ | |
188 | -e 's/@''HAVE_UNSIGNED_LONG_LONG_INT''@/$(HAVE_UNSIGNED_LONG_LONG_INT)/g' \ | |
f434ba03 | 189 | -e 's/@''APPLE_UNIVERSAL_BUILD''@/$(APPLE_UNIVERSAL_BUILD)/g' \ |
f6ea5628 DJ |
190 | -e 's/@''BITSIZEOF_PTRDIFF_T''@/$(BITSIZEOF_PTRDIFF_T)/g' \ |
191 | -e 's/@''PTRDIFF_T_SUFFIX''@/$(PTRDIFF_T_SUFFIX)/g' \ | |
192 | -e 's/@''BITSIZEOF_SIG_ATOMIC_T''@/$(BITSIZEOF_SIG_ATOMIC_T)/g' \ | |
193 | -e 's/@''HAVE_SIGNED_SIG_ATOMIC_T''@/$(HAVE_SIGNED_SIG_ATOMIC_T)/g' \ | |
194 | -e 's/@''SIG_ATOMIC_T_SUFFIX''@/$(SIG_ATOMIC_T_SUFFIX)/g' \ | |
195 | -e 's/@''BITSIZEOF_SIZE_T''@/$(BITSIZEOF_SIZE_T)/g' \ | |
196 | -e 's/@''SIZE_T_SUFFIX''@/$(SIZE_T_SUFFIX)/g' \ | |
197 | -e 's/@''BITSIZEOF_WCHAR_T''@/$(BITSIZEOF_WCHAR_T)/g' \ | |
198 | -e 's/@''HAVE_SIGNED_WCHAR_T''@/$(HAVE_SIGNED_WCHAR_T)/g' \ | |
199 | -e 's/@''WCHAR_T_SUFFIX''@/$(WCHAR_T_SUFFIX)/g' \ | |
200 | -e 's/@''BITSIZEOF_WINT_T''@/$(BITSIZEOF_WINT_T)/g' \ | |
201 | -e 's/@''HAVE_SIGNED_WINT_T''@/$(HAVE_SIGNED_WINT_T)/g' \ | |
202 | -e 's/@''WINT_T_SUFFIX''@/$(WINT_T_SUFFIX)/g' \ | |
203 | < $(srcdir)/stdint.in.h; \ | |
f434ba03 | 204 | } > $@-t && \ |
f6ea5628 DJ |
205 | mv $@-t $@ |
206 | MOSTLYCLEANFILES += stdint.h stdint.h-t | |
207 | ||
208 | EXTRA_DIST += stdint.in.h | |
209 | ||
210 | ## end gnulib module stdint | |
211 | ||
212 | ## begin gnulib module string | |
213 | ||
214 | BUILT_SOURCES += string.h | |
215 | ||
216 | # We need the following in order to create <string.h> when the system | |
217 | # doesn't have one that works with the given compiler. | |
f434ba03 PA |
218 | string.h: string.in.h $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H) |
219 | $(AM_V_GEN)rm -f $@-t $@ && \ | |
f6ea5628 | 220 | { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \ |
f434ba03 PA |
221 | sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ |
222 | -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ | |
f6ea5628 DJ |
223 | -e 's|@''NEXT_STRING_H''@|$(NEXT_STRING_H)|g' \ |
224 | -e 's|@''GNULIB_MBSLEN''@|$(GNULIB_MBSLEN)|g' \ | |
225 | -e 's|@''GNULIB_MBSNLEN''@|$(GNULIB_MBSNLEN)|g' \ | |
226 | -e 's|@''GNULIB_MBSCHR''@|$(GNULIB_MBSCHR)|g' \ | |
227 | -e 's|@''GNULIB_MBSRCHR''@|$(GNULIB_MBSRCHR)|g' \ | |
228 | -e 's|@''GNULIB_MBSSTR''@|$(GNULIB_MBSSTR)|g' \ | |
229 | -e 's|@''GNULIB_MBSCASECMP''@|$(GNULIB_MBSCASECMP)|g' \ | |
230 | -e 's|@''GNULIB_MBSNCASECMP''@|$(GNULIB_MBSNCASECMP)|g' \ | |
231 | -e 's|@''GNULIB_MBSPCASECMP''@|$(GNULIB_MBSPCASECMP)|g' \ | |
232 | -e 's|@''GNULIB_MBSCASESTR''@|$(GNULIB_MBSCASESTR)|g' \ | |
233 | -e 's|@''GNULIB_MBSCSPN''@|$(GNULIB_MBSCSPN)|g' \ | |
234 | -e 's|@''GNULIB_MBSPBRK''@|$(GNULIB_MBSPBRK)|g' \ | |
235 | -e 's|@''GNULIB_MBSSPN''@|$(GNULIB_MBSSPN)|g' \ | |
236 | -e 's|@''GNULIB_MBSSEP''@|$(GNULIB_MBSSEP)|g' \ | |
237 | -e 's|@''GNULIB_MBSTOK_R''@|$(GNULIB_MBSTOK_R)|g' \ | |
f434ba03 | 238 | -e 's|@''GNULIB_MEMCHR''@|$(GNULIB_MEMCHR)|g' \ |
f6ea5628 DJ |
239 | -e 's|@''GNULIB_MEMMEM''@|$(GNULIB_MEMMEM)|g' \ |
240 | -e 's|@''GNULIB_MEMPCPY''@|$(GNULIB_MEMPCPY)|g' \ | |
241 | -e 's|@''GNULIB_MEMRCHR''@|$(GNULIB_MEMRCHR)|g' \ | |
f434ba03 | 242 | -e 's|@''GNULIB_RAWMEMCHR''@|$(GNULIB_RAWMEMCHR)|g' \ |
f6ea5628 DJ |
243 | -e 's|@''GNULIB_STPCPY''@|$(GNULIB_STPCPY)|g' \ |
244 | -e 's|@''GNULIB_STPNCPY''@|$(GNULIB_STPNCPY)|g' \ | |
245 | -e 's|@''GNULIB_STRCHRNUL''@|$(GNULIB_STRCHRNUL)|g' \ | |
246 | -e 's|@''GNULIB_STRDUP''@|$(GNULIB_STRDUP)|g' \ | |
f434ba03 | 247 | -e 's|@''GNULIB_STRNCAT''@|$(GNULIB_STRNCAT)|g' \ |
f6ea5628 DJ |
248 | -e 's|@''GNULIB_STRNDUP''@|$(GNULIB_STRNDUP)|g' \ |
249 | -e 's|@''GNULIB_STRNLEN''@|$(GNULIB_STRNLEN)|g' \ | |
250 | -e 's|@''GNULIB_STRPBRK''@|$(GNULIB_STRPBRK)|g' \ | |
251 | -e 's|@''GNULIB_STRSEP''@|$(GNULIB_STRSEP)|g' \ | |
252 | -e 's|@''GNULIB_STRSTR''@|$(GNULIB_STRSTR)|g' \ | |
253 | -e 's|@''GNULIB_STRCASESTR''@|$(GNULIB_STRCASESTR)|g' \ | |
254 | -e 's|@''GNULIB_STRTOK_R''@|$(GNULIB_STRTOK_R)|g' \ | |
255 | -e 's|@''GNULIB_STRERROR''@|$(GNULIB_STRERROR)|g' \ | |
256 | -e 's|@''GNULIB_STRSIGNAL''@|$(GNULIB_STRSIGNAL)|g' \ | |
f434ba03 PA |
257 | -e 's|@''GNULIB_STRVERSCMP''@|$(GNULIB_STRVERSCMP)|g' \ |
258 | < $(srcdir)/string.in.h | \ | |
259 | sed -e 's|@''HAVE_MBSLEN''@|$(HAVE_MBSLEN)|g' \ | |
260 | -e 's|@''HAVE_MEMCHR''@|$(HAVE_MEMCHR)|g' \ | |
f6ea5628 DJ |
261 | -e 's|@''HAVE_DECL_MEMMEM''@|$(HAVE_DECL_MEMMEM)|g' \ |
262 | -e 's|@''HAVE_MEMPCPY''@|$(HAVE_MEMPCPY)|g' \ | |
263 | -e 's|@''HAVE_DECL_MEMRCHR''@|$(HAVE_DECL_MEMRCHR)|g' \ | |
f434ba03 | 264 | -e 's|@''HAVE_RAWMEMCHR''@|$(HAVE_RAWMEMCHR)|g' \ |
f6ea5628 DJ |
265 | -e 's|@''HAVE_STPCPY''@|$(HAVE_STPCPY)|g' \ |
266 | -e 's|@''HAVE_STPNCPY''@|$(HAVE_STPNCPY)|g' \ | |
267 | -e 's|@''HAVE_STRCHRNUL''@|$(HAVE_STRCHRNUL)|g' \ | |
268 | -e 's|@''HAVE_DECL_STRDUP''@|$(HAVE_DECL_STRDUP)|g' \ | |
f6ea5628 DJ |
269 | -e 's|@''HAVE_DECL_STRNDUP''@|$(HAVE_DECL_STRNDUP)|g' \ |
270 | -e 's|@''HAVE_DECL_STRNLEN''@|$(HAVE_DECL_STRNLEN)|g' \ | |
271 | -e 's|@''HAVE_STRPBRK''@|$(HAVE_STRPBRK)|g' \ | |
272 | -e 's|@''HAVE_STRSEP''@|$(HAVE_STRSEP)|g' \ | |
273 | -e 's|@''HAVE_STRCASESTR''@|$(HAVE_STRCASESTR)|g' \ | |
274 | -e 's|@''HAVE_DECL_STRTOK_R''@|$(HAVE_DECL_STRTOK_R)|g' \ | |
f6ea5628 | 275 | -e 's|@''HAVE_DECL_STRSIGNAL''@|$(HAVE_DECL_STRSIGNAL)|g' \ |
f434ba03 PA |
276 | -e 's|@''HAVE_STRVERSCMP''@|$(HAVE_STRVERSCMP)|g' \ |
277 | -e 's|@''REPLACE_STPNCPY''@|$(REPLACE_STPNCPY)|g' \ | |
278 | -e 's|@''REPLACE_MEMCHR''@|$(REPLACE_MEMCHR)|g' \ | |
f6ea5628 DJ |
279 | -e 's|@''REPLACE_MEMMEM''@|$(REPLACE_MEMMEM)|g' \ |
280 | -e 's|@''REPLACE_STRCASESTR''@|$(REPLACE_STRCASESTR)|g' \ | |
f434ba03 | 281 | -e 's|@''REPLACE_STRDUP''@|$(REPLACE_STRDUP)|g' \ |
f6ea5628 DJ |
282 | -e 's|@''REPLACE_STRSTR''@|$(REPLACE_STRSTR)|g' \ |
283 | -e 's|@''REPLACE_STRERROR''@|$(REPLACE_STRERROR)|g' \ | |
f434ba03 PA |
284 | -e 's|@''REPLACE_STRNCAT''@|$(REPLACE_STRNCAT)|g' \ |
285 | -e 's|@''REPLACE_STRNDUP''@|$(REPLACE_STRNDUP)|g' \ | |
286 | -e 's|@''REPLACE_STRNLEN''@|$(REPLACE_STRNLEN)|g' \ | |
f6ea5628 | 287 | -e 's|@''REPLACE_STRSIGNAL''@|$(REPLACE_STRSIGNAL)|g' \ |
f434ba03 PA |
288 | -e 's|@''REPLACE_STRTOK_R''@|$(REPLACE_STRTOK_R)|g' \ |
289 | -e 's|@''UNDEFINE_STRTOK_R''@|$(UNDEFINE_STRTOK_R)|g' \ | |
290 | -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \ | |
291 | -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \ | |
292 | -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)'; \ | |
f6ea5628 | 293 | < $(srcdir)/string.in.h; \ |
f434ba03 | 294 | } > $@-t && \ |
f6ea5628 DJ |
295 | mv $@-t $@ |
296 | MOSTLYCLEANFILES += string.h string.h-t | |
297 | ||
298 | EXTRA_DIST += string.in.h | |
299 | ||
300 | ## end gnulib module string | |
301 | ||
f434ba03 PA |
302 | ## begin gnulib module warn-on-use |
303 | ||
304 | BUILT_SOURCES += warn-on-use.h | |
305 | # The warn-on-use.h that gets inserted into generated .h files is the same as | |
306 | # build-aux/warn-on-use.h, except that it has the copyright header cut off. | |
307 | warn-on-use.h: $(top_srcdir)/gnulib/extra/warn-on-use.h | |
308 | $(AM_V_GEN)rm -f $@-t $@ && \ | |
309 | sed -n -e '/^.ifndef/,$$p' \ | |
310 | < $(top_srcdir)/gnulib/extra/warn-on-use.h \ | |
311 | > $@-t && \ | |
312 | mv $@-t $@ | |
313 | MOSTLYCLEANFILES += warn-on-use.h warn-on-use.h-t | |
314 | ||
315 | WARN_ON_USE_H=warn-on-use.h | |
316 | ||
317 | EXTRA_DIST += $(top_srcdir)/gnulib/extra/warn-on-use.h | |
318 | ||
319 | ## end gnulib module warn-on-use | |
320 | ||
f6ea5628 DJ |
321 | ## begin gnulib module wchar |
322 | ||
f434ba03 | 323 | BUILT_SOURCES += wchar.h |
f6ea5628 DJ |
324 | |
325 | # We need the following in order to create <wchar.h> when the system | |
326 | # version does not work standalone. | |
f434ba03 PA |
327 | wchar.h: wchar.in.h $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H) |
328 | $(AM_V_GEN)rm -f $@-t $@ && \ | |
f6ea5628 | 329 | { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ |
f434ba03 PA |
330 | sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ |
331 | -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ | |
f6ea5628 | 332 | -e 's|@''NEXT_WCHAR_H''@|$(NEXT_WCHAR_H)|g' \ |
f434ba03 PA |
333 | -e 's|@''HAVE_WCHAR_H''@|$(HAVE_WCHAR_H)|g' \ |
334 | -e 's|@''GNULIB_BTOWC''@|$(GNULIB_BTOWC)|g' \ | |
335 | -e 's|@''GNULIB_WCTOB''@|$(GNULIB_WCTOB)|g' \ | |
336 | -e 's|@''GNULIB_MBSINIT''@|$(GNULIB_MBSINIT)|g' \ | |
337 | -e 's|@''GNULIB_MBRTOWC''@|$(GNULIB_MBRTOWC)|g' \ | |
338 | -e 's|@''GNULIB_MBRLEN''@|$(GNULIB_MBRLEN)|g' \ | |
339 | -e 's|@''GNULIB_MBSRTOWCS''@|$(GNULIB_MBSRTOWCS)|g' \ | |
340 | -e 's|@''GNULIB_MBSNRTOWCS''@|$(GNULIB_MBSNRTOWCS)|g' \ | |
341 | -e 's|@''GNULIB_WCRTOMB''@|$(GNULIB_WCRTOMB)|g' \ | |
342 | -e 's|@''GNULIB_WCSRTOMBS''@|$(GNULIB_WCSRTOMBS)|g' \ | |
343 | -e 's|@''GNULIB_WCSNRTOMBS''@|$(GNULIB_WCSNRTOMBS)|g' \ | |
f6ea5628 | 344 | -e 's|@''GNULIB_WCWIDTH''@|$(GNULIB_WCWIDTH)|g' \ |
f434ba03 PA |
345 | -e 's|@''HAVE_WINT_T''@|$(HAVE_WINT_T)|g' \ |
346 | -e 's|@''HAVE_BTOWC''@|$(HAVE_BTOWC)|g' \ | |
347 | -e 's|@''HAVE_MBSINIT''@|$(HAVE_MBSINIT)|g' \ | |
348 | -e 's|@''HAVE_MBRTOWC''@|$(HAVE_MBRTOWC)|g' \ | |
349 | -e 's|@''HAVE_MBRLEN''@|$(HAVE_MBRLEN)|g' \ | |
350 | -e 's|@''HAVE_MBSRTOWCS''@|$(HAVE_MBSRTOWCS)|g' \ | |
351 | -e 's|@''HAVE_MBSNRTOWCS''@|$(HAVE_MBSNRTOWCS)|g' \ | |
352 | -e 's|@''HAVE_WCRTOMB''@|$(HAVE_WCRTOMB)|g' \ | |
353 | -e 's|@''HAVE_WCSRTOMBS''@|$(HAVE_WCSRTOMBS)|g' \ | |
354 | -e 's|@''HAVE_WCSNRTOMBS''@|$(HAVE_WCSNRTOMBS)|g' \ | |
355 | -e 's|@''HAVE_DECL_WCTOB''@|$(HAVE_DECL_WCTOB)|g' \ | |
f6ea5628 | 356 | -e 's|@''HAVE_DECL_WCWIDTH''@|$(HAVE_DECL_WCWIDTH)|g' \ |
f434ba03 PA |
357 | -e 's|@''REPLACE_MBSTATE_T''@|$(REPLACE_MBSTATE_T)|g' \ |
358 | -e 's|@''REPLACE_BTOWC''@|$(REPLACE_BTOWC)|g' \ | |
359 | -e 's|@''REPLACE_WCTOB''@|$(REPLACE_WCTOB)|g' \ | |
360 | -e 's|@''REPLACE_MBSINIT''@|$(REPLACE_MBSINIT)|g' \ | |
361 | -e 's|@''REPLACE_MBRTOWC''@|$(REPLACE_MBRTOWC)|g' \ | |
362 | -e 's|@''REPLACE_MBRLEN''@|$(REPLACE_MBRLEN)|g' \ | |
363 | -e 's|@''REPLACE_MBSRTOWCS''@|$(REPLACE_MBSRTOWCS)|g' \ | |
364 | -e 's|@''REPLACE_MBSNRTOWCS''@|$(REPLACE_MBSNRTOWCS)|g' \ | |
365 | -e 's|@''REPLACE_WCRTOMB''@|$(REPLACE_WCRTOMB)|g' \ | |
366 | -e 's|@''REPLACE_WCSRTOMBS''@|$(REPLACE_WCSRTOMBS)|g' \ | |
367 | -e 's|@''REPLACE_WCSNRTOMBS''@|$(REPLACE_WCSNRTOMBS)|g' \ | |
f6ea5628 | 368 | -e 's|@''REPLACE_WCWIDTH''@|$(REPLACE_WCWIDTH)|g' \ |
f434ba03 PA |
369 | -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \ |
370 | -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \ | |
371 | -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \ | |
f6ea5628 | 372 | < $(srcdir)/wchar.in.h; \ |
f434ba03 | 373 | } > $@-t && \ |
f6ea5628 DJ |
374 | mv $@-t $@ |
375 | MOSTLYCLEANFILES += wchar.h wchar.h-t | |
376 | ||
377 | EXTRA_DIST += wchar.in.h | |
378 | ||
379 | ## end gnulib module wchar | |
380 | ||
381 | ## begin gnulib module dummy | |
382 | ||
383 | libgnu_a_SOURCES += dummy.c | |
384 | ||
385 | ## end gnulib module dummy | |
386 | ||
387 | ||
388 | mostlyclean-local: mostlyclean-generic | |
389 | @for dir in '' $(MOSTLYCLEANDIRS); do \ | |
390 | if test -n "$$dir" && test -d $$dir; then \ | |
391 | echo "rmdir $$dir"; rmdir $$dir; \ | |
392 | fi; \ | |
393 | done; \ | |
394 | : |