Upload Tizen:Base source
[external/gdb.git] / gdb / gnulib / Makefile.am
1 ## DO NOT EDIT! GENERATED AUTOMATICALLY!
2 ## Process this file with automake to produce Makefile.in.
3 # Copyright (C) 2002-2010 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=gnulib --m4-base=gnulib/m4 --doc-base=doc --tests-base=tests --aux-dir=gnulib/extra --no-libtool --macro-prefix=gl --no-vc-files memmem
13
14 AUTOMAKE_OPTIONS = 1.5 gnits
15
16 SUBDIRS =
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 =
28 EXTRA_DIST += m4/gnulib-cache.m4
29
30 AM_CPPFLAGS =
31 AM_CFLAGS =
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
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
57
58 ARG_NONNULL_H=arg-nonnull.h
59
60 EXTRA_DIST += $(top_srcdir)/gnulib/extra/arg-nonnull.h
61
62 ## end   gnulib module arg-nonnull
63
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.
70
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
81
82 CXXDEFS_H=c++defs.h
83
84 EXTRA_DIST += $(top_srcdir)/gnulib/extra/c++defs.h
85
86 ## end   gnulib module c++defs
87
88 ## begin gnulib module memchr
89
90
91 EXTRA_DIST += memchr.c memchr.valgrind
92
93 EXTRA_libgnu_a_SOURCES += memchr.c
94
95 ## end   gnulib module memchr
96
97 ## begin gnulib module memmem-simple
98
99
100 EXTRA_DIST += memmem.c str-two-way.h
101
102 EXTRA_libgnu_a_SOURCES += memmem.c
103
104 ## end   gnulib module memmem-simple
105
106 ## begin gnulib module stddef
107
108 BUILT_SOURCES += $(STDDEF_H)
109
110 # We need the following in order to create <stddef.h> when the system
111 # doesn't have one that works with the given compiler.
112 stddef.h: stddef.in.h
113         $(AM_V_GEN)rm -f $@-t $@ && \
114         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
115           sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
116               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
117               -e 's|@''NEXT_STDDEF_H''@|$(NEXT_STDDEF_H)|g' \
118               -e 's|@''HAVE_WCHAR_T''@|$(HAVE_WCHAR_T)|g' \
119               -e 's|@''REPLACE_NULL''@|$(REPLACE_NULL)|g' \
120               < $(srcdir)/stddef.in.h; \
121         } > $@-t && \
122         mv $@-t $@
123 MOSTLYCLEANFILES += stddef.h stddef.h-t
124
125 EXTRA_DIST += stddef.in.h
126
127 ## end   gnulib module stddef
128
129 ## begin gnulib module stdint
130
131 BUILT_SOURCES += $(STDINT_H)
132
133 # We need the following in order to create <stdint.h> when the system
134 # doesn't have one that works with the given compiler.
135 stdint.h: stdint.in.h
136         $(AM_V_GEN)rm -f $@-t $@ && \
137         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
138           sed -e 's/@''HAVE_STDINT_H''@/$(HAVE_STDINT_H)/g' \
139               -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
140               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
141               -e 's|@''NEXT_STDINT_H''@|$(NEXT_STDINT_H)|g' \
142               -e 's/@''HAVE_SYS_TYPES_H''@/$(HAVE_SYS_TYPES_H)/g' \
143               -e 's/@''HAVE_INTTYPES_H''@/$(HAVE_INTTYPES_H)/g' \
144               -e 's/@''HAVE_SYS_INTTYPES_H''@/$(HAVE_SYS_INTTYPES_H)/g' \
145               -e 's/@''HAVE_SYS_BITYPES_H''@/$(HAVE_SYS_BITYPES_H)/g' \
146               -e 's/@''HAVE_LONG_LONG_INT''@/$(HAVE_LONG_LONG_INT)/g' \
147               -e 's/@''HAVE_UNSIGNED_LONG_LONG_INT''@/$(HAVE_UNSIGNED_LONG_LONG_INT)/g' \
148               -e 's/@''APPLE_UNIVERSAL_BUILD''@/$(APPLE_UNIVERSAL_BUILD)/g' \
149               -e 's/@''BITSIZEOF_PTRDIFF_T''@/$(BITSIZEOF_PTRDIFF_T)/g' \
150               -e 's/@''PTRDIFF_T_SUFFIX''@/$(PTRDIFF_T_SUFFIX)/g' \
151               -e 's/@''BITSIZEOF_SIG_ATOMIC_T''@/$(BITSIZEOF_SIG_ATOMIC_T)/g' \
152               -e 's/@''HAVE_SIGNED_SIG_ATOMIC_T''@/$(HAVE_SIGNED_SIG_ATOMIC_T)/g' \
153               -e 's/@''SIG_ATOMIC_T_SUFFIX''@/$(SIG_ATOMIC_T_SUFFIX)/g' \
154               -e 's/@''BITSIZEOF_SIZE_T''@/$(BITSIZEOF_SIZE_T)/g' \
155               -e 's/@''SIZE_T_SUFFIX''@/$(SIZE_T_SUFFIX)/g' \
156               -e 's/@''BITSIZEOF_WCHAR_T''@/$(BITSIZEOF_WCHAR_T)/g' \
157               -e 's/@''HAVE_SIGNED_WCHAR_T''@/$(HAVE_SIGNED_WCHAR_T)/g' \
158               -e 's/@''WCHAR_T_SUFFIX''@/$(WCHAR_T_SUFFIX)/g' \
159               -e 's/@''BITSIZEOF_WINT_T''@/$(BITSIZEOF_WINT_T)/g' \
160               -e 's/@''HAVE_SIGNED_WINT_T''@/$(HAVE_SIGNED_WINT_T)/g' \
161               -e 's/@''WINT_T_SUFFIX''@/$(WINT_T_SUFFIX)/g' \
162               < $(srcdir)/stdint.in.h; \
163         } > $@-t && \
164         mv $@-t $@
165 MOSTLYCLEANFILES += stdint.h stdint.h-t
166
167 EXTRA_DIST += stdint.in.h
168
169 ## end   gnulib module stdint
170
171 ## begin gnulib module string
172
173 BUILT_SOURCES += string.h
174
175 # We need the following in order to create <string.h> when the system
176 # doesn't have one that works with the given compiler.
177 string.h: string.in.h $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
178         $(AM_V_GEN)rm -f $@-t $@ && \
179         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
180           sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
181               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
182               -e 's|@''NEXT_STRING_H''@|$(NEXT_STRING_H)|g' \
183               -e 's|@''GNULIB_MBSLEN''@|$(GNULIB_MBSLEN)|g' \
184               -e 's|@''GNULIB_MBSNLEN''@|$(GNULIB_MBSNLEN)|g' \
185               -e 's|@''GNULIB_MBSCHR''@|$(GNULIB_MBSCHR)|g' \
186               -e 's|@''GNULIB_MBSRCHR''@|$(GNULIB_MBSRCHR)|g' \
187               -e 's|@''GNULIB_MBSSTR''@|$(GNULIB_MBSSTR)|g' \
188               -e 's|@''GNULIB_MBSCASECMP''@|$(GNULIB_MBSCASECMP)|g' \
189               -e 's|@''GNULIB_MBSNCASECMP''@|$(GNULIB_MBSNCASECMP)|g' \
190               -e 's|@''GNULIB_MBSPCASECMP''@|$(GNULIB_MBSPCASECMP)|g' \
191               -e 's|@''GNULIB_MBSCASESTR''@|$(GNULIB_MBSCASESTR)|g' \
192               -e 's|@''GNULIB_MBSCSPN''@|$(GNULIB_MBSCSPN)|g' \
193               -e 's|@''GNULIB_MBSPBRK''@|$(GNULIB_MBSPBRK)|g' \
194               -e 's|@''GNULIB_MBSSPN''@|$(GNULIB_MBSSPN)|g' \
195               -e 's|@''GNULIB_MBSSEP''@|$(GNULIB_MBSSEP)|g' \
196               -e 's|@''GNULIB_MBSTOK_R''@|$(GNULIB_MBSTOK_R)|g' \
197               -e 's|@''GNULIB_MEMCHR''@|$(GNULIB_MEMCHR)|g' \
198               -e 's|@''GNULIB_MEMMEM''@|$(GNULIB_MEMMEM)|g' \
199               -e 's|@''GNULIB_MEMPCPY''@|$(GNULIB_MEMPCPY)|g' \
200               -e 's|@''GNULIB_MEMRCHR''@|$(GNULIB_MEMRCHR)|g' \
201               -e 's|@''GNULIB_RAWMEMCHR''@|$(GNULIB_RAWMEMCHR)|g' \
202               -e 's|@''GNULIB_STPCPY''@|$(GNULIB_STPCPY)|g' \
203               -e 's|@''GNULIB_STPNCPY''@|$(GNULIB_STPNCPY)|g' \
204               -e 's|@''GNULIB_STRCHRNUL''@|$(GNULIB_STRCHRNUL)|g' \
205               -e 's|@''GNULIB_STRDUP''@|$(GNULIB_STRDUP)|g' \
206               -e 's|@''GNULIB_STRNCAT''@|$(GNULIB_STRNCAT)|g' \
207               -e 's|@''GNULIB_STRNDUP''@|$(GNULIB_STRNDUP)|g' \
208               -e 's|@''GNULIB_STRNLEN''@|$(GNULIB_STRNLEN)|g' \
209               -e 's|@''GNULIB_STRPBRK''@|$(GNULIB_STRPBRK)|g' \
210               -e 's|@''GNULIB_STRSEP''@|$(GNULIB_STRSEP)|g' \
211               -e 's|@''GNULIB_STRSTR''@|$(GNULIB_STRSTR)|g' \
212               -e 's|@''GNULIB_STRCASESTR''@|$(GNULIB_STRCASESTR)|g' \
213               -e 's|@''GNULIB_STRTOK_R''@|$(GNULIB_STRTOK_R)|g' \
214               -e 's|@''GNULIB_STRERROR''@|$(GNULIB_STRERROR)|g' \
215               -e 's|@''GNULIB_STRSIGNAL''@|$(GNULIB_STRSIGNAL)|g' \
216               -e 's|@''GNULIB_STRVERSCMP''@|$(GNULIB_STRVERSCMP)|g' \
217               < $(srcdir)/string.in.h | \
218           sed -e 's|@''HAVE_MBSLEN''@|$(HAVE_MBSLEN)|g' \
219               -e 's|@''HAVE_MEMCHR''@|$(HAVE_MEMCHR)|g' \
220               -e 's|@''HAVE_DECL_MEMMEM''@|$(HAVE_DECL_MEMMEM)|g' \
221               -e 's|@''HAVE_MEMPCPY''@|$(HAVE_MEMPCPY)|g' \
222               -e 's|@''HAVE_DECL_MEMRCHR''@|$(HAVE_DECL_MEMRCHR)|g' \
223               -e 's|@''HAVE_RAWMEMCHR''@|$(HAVE_RAWMEMCHR)|g' \
224               -e 's|@''HAVE_STPCPY''@|$(HAVE_STPCPY)|g' \
225               -e 's|@''HAVE_STPNCPY''@|$(HAVE_STPNCPY)|g' \
226               -e 's|@''HAVE_STRCHRNUL''@|$(HAVE_STRCHRNUL)|g' \
227               -e 's|@''HAVE_DECL_STRDUP''@|$(HAVE_DECL_STRDUP)|g' \
228               -e 's|@''HAVE_DECL_STRNDUP''@|$(HAVE_DECL_STRNDUP)|g' \
229               -e 's|@''HAVE_DECL_STRNLEN''@|$(HAVE_DECL_STRNLEN)|g' \
230               -e 's|@''HAVE_STRPBRK''@|$(HAVE_STRPBRK)|g' \
231               -e 's|@''HAVE_STRSEP''@|$(HAVE_STRSEP)|g' \
232               -e 's|@''HAVE_STRCASESTR''@|$(HAVE_STRCASESTR)|g' \
233               -e 's|@''HAVE_DECL_STRTOK_R''@|$(HAVE_DECL_STRTOK_R)|g' \
234               -e 's|@''HAVE_DECL_STRSIGNAL''@|$(HAVE_DECL_STRSIGNAL)|g' \
235               -e 's|@''HAVE_STRVERSCMP''@|$(HAVE_STRVERSCMP)|g' \
236               -e 's|@''REPLACE_STPNCPY''@|$(REPLACE_STPNCPY)|g' \
237               -e 's|@''REPLACE_MEMCHR''@|$(REPLACE_MEMCHR)|g' \
238               -e 's|@''REPLACE_MEMMEM''@|$(REPLACE_MEMMEM)|g' \
239               -e 's|@''REPLACE_STRCASESTR''@|$(REPLACE_STRCASESTR)|g' \
240               -e 's|@''REPLACE_STRDUP''@|$(REPLACE_STRDUP)|g' \
241               -e 's|@''REPLACE_STRSTR''@|$(REPLACE_STRSTR)|g' \
242               -e 's|@''REPLACE_STRERROR''@|$(REPLACE_STRERROR)|g' \
243               -e 's|@''REPLACE_STRNCAT''@|$(REPLACE_STRNCAT)|g' \
244               -e 's|@''REPLACE_STRNDUP''@|$(REPLACE_STRNDUP)|g' \
245               -e 's|@''REPLACE_STRNLEN''@|$(REPLACE_STRNLEN)|g' \
246               -e 's|@''REPLACE_STRSIGNAL''@|$(REPLACE_STRSIGNAL)|g' \
247               -e 's|@''REPLACE_STRTOK_R''@|$(REPLACE_STRTOK_R)|g' \
248               -e 's|@''UNDEFINE_STRTOK_R''@|$(UNDEFINE_STRTOK_R)|g' \
249               -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
250               -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
251               -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)'; \
252               < $(srcdir)/string.in.h; \
253         } > $@-t && \
254         mv $@-t $@
255 MOSTLYCLEANFILES += string.h string.h-t
256
257 EXTRA_DIST += string.in.h
258
259 ## end   gnulib module string
260
261 ## begin gnulib module warn-on-use
262
263 BUILT_SOURCES += warn-on-use.h
264 # The warn-on-use.h that gets inserted into generated .h files is the same as
265 # build-aux/warn-on-use.h, except that it has the copyright header cut off.
266 warn-on-use.h: $(top_srcdir)/gnulib/extra/warn-on-use.h
267         $(AM_V_GEN)rm -f $@-t $@ && \
268         sed -n -e '/^.ifndef/,$$p' \
269           < $(top_srcdir)/gnulib/extra/warn-on-use.h \
270           > $@-t && \
271         mv $@-t $@
272 MOSTLYCLEANFILES += warn-on-use.h warn-on-use.h-t
273
274 WARN_ON_USE_H=warn-on-use.h
275
276 EXTRA_DIST += $(top_srcdir)/gnulib/extra/warn-on-use.h
277
278 ## end   gnulib module warn-on-use
279
280 ## begin gnulib module wchar
281
282 BUILT_SOURCES += wchar.h
283
284 # We need the following in order to create <wchar.h> when the system
285 # version does not work standalone.
286 wchar.h: wchar.in.h $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
287         $(AM_V_GEN)rm -f $@-t $@ && \
288         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
289           sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
290               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
291               -e 's|@''NEXT_WCHAR_H''@|$(NEXT_WCHAR_H)|g' \
292               -e 's|@''HAVE_WCHAR_H''@|$(HAVE_WCHAR_H)|g' \
293               -e 's|@''GNULIB_BTOWC''@|$(GNULIB_BTOWC)|g' \
294               -e 's|@''GNULIB_WCTOB''@|$(GNULIB_WCTOB)|g' \
295               -e 's|@''GNULIB_MBSINIT''@|$(GNULIB_MBSINIT)|g' \
296               -e 's|@''GNULIB_MBRTOWC''@|$(GNULIB_MBRTOWC)|g' \
297               -e 's|@''GNULIB_MBRLEN''@|$(GNULIB_MBRLEN)|g' \
298               -e 's|@''GNULIB_MBSRTOWCS''@|$(GNULIB_MBSRTOWCS)|g' \
299               -e 's|@''GNULIB_MBSNRTOWCS''@|$(GNULIB_MBSNRTOWCS)|g' \
300               -e 's|@''GNULIB_WCRTOMB''@|$(GNULIB_WCRTOMB)|g' \
301               -e 's|@''GNULIB_WCSRTOMBS''@|$(GNULIB_WCSRTOMBS)|g' \
302               -e 's|@''GNULIB_WCSNRTOMBS''@|$(GNULIB_WCSNRTOMBS)|g' \
303               -e 's|@''GNULIB_WCWIDTH''@|$(GNULIB_WCWIDTH)|g' \
304               -e 's|@''HAVE_WINT_T''@|$(HAVE_WINT_T)|g' \
305               -e 's|@''HAVE_BTOWC''@|$(HAVE_BTOWC)|g' \
306               -e 's|@''HAVE_MBSINIT''@|$(HAVE_MBSINIT)|g' \
307               -e 's|@''HAVE_MBRTOWC''@|$(HAVE_MBRTOWC)|g' \
308               -e 's|@''HAVE_MBRLEN''@|$(HAVE_MBRLEN)|g' \
309               -e 's|@''HAVE_MBSRTOWCS''@|$(HAVE_MBSRTOWCS)|g' \
310               -e 's|@''HAVE_MBSNRTOWCS''@|$(HAVE_MBSNRTOWCS)|g' \
311               -e 's|@''HAVE_WCRTOMB''@|$(HAVE_WCRTOMB)|g' \
312               -e 's|@''HAVE_WCSRTOMBS''@|$(HAVE_WCSRTOMBS)|g' \
313               -e 's|@''HAVE_WCSNRTOMBS''@|$(HAVE_WCSNRTOMBS)|g' \
314               -e 's|@''HAVE_DECL_WCTOB''@|$(HAVE_DECL_WCTOB)|g' \
315               -e 's|@''HAVE_DECL_WCWIDTH''@|$(HAVE_DECL_WCWIDTH)|g' \
316               -e 's|@''REPLACE_MBSTATE_T''@|$(REPLACE_MBSTATE_T)|g' \
317               -e 's|@''REPLACE_BTOWC''@|$(REPLACE_BTOWC)|g' \
318               -e 's|@''REPLACE_WCTOB''@|$(REPLACE_WCTOB)|g' \
319               -e 's|@''REPLACE_MBSINIT''@|$(REPLACE_MBSINIT)|g' \
320               -e 's|@''REPLACE_MBRTOWC''@|$(REPLACE_MBRTOWC)|g' \
321               -e 's|@''REPLACE_MBRLEN''@|$(REPLACE_MBRLEN)|g' \
322               -e 's|@''REPLACE_MBSRTOWCS''@|$(REPLACE_MBSRTOWCS)|g' \
323               -e 's|@''REPLACE_MBSNRTOWCS''@|$(REPLACE_MBSNRTOWCS)|g' \
324               -e 's|@''REPLACE_WCRTOMB''@|$(REPLACE_WCRTOMB)|g' \
325               -e 's|@''REPLACE_WCSRTOMBS''@|$(REPLACE_WCSRTOMBS)|g' \
326               -e 's|@''REPLACE_WCSNRTOMBS''@|$(REPLACE_WCSNRTOMBS)|g' \
327               -e 's|@''REPLACE_WCWIDTH''@|$(REPLACE_WCWIDTH)|g' \
328               -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
329               -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
330               -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
331             < $(srcdir)/wchar.in.h; \
332         } > $@-t && \
333         mv $@-t $@
334 MOSTLYCLEANFILES += wchar.h wchar.h-t
335
336 EXTRA_DIST += wchar.in.h
337
338 ## end   gnulib module wchar
339
340 ## begin gnulib module dummy
341
342 libgnu_a_SOURCES += dummy.c
343
344 ## end   gnulib module dummy
345
346
347 mostlyclean-local: mostlyclean-generic
348         @for dir in '' $(MOSTLYCLEANDIRS); do \
349           if test -n "$$dir" && test -d $$dir; then \
350             echo "rmdir $$dir"; rmdir $$dir; \
351           fi; \
352         done; \
353         :