Add.
[gsasl.git] / gl / Makefile.am
blob06de1846a8bcbd05f6d32a50786cf146e95a4deb
1 ## DO NOT EDIT! GENERATED AUTOMATICALLY!
2 ## Process this file with automake to produce Makefile.in.
3 # Copyright (C) 2004-2007 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=. --local-dir=gl/override --lib=libgl --source-base=gl --m4-base=gl/m4 --doc-base=doc --aux-dir=build-aux --libtool --macro-prefix=gl error exit fdl gendocs getaddrinfo getopt getpass gpl-3.0 lgpl-2.1 maintainer-makefile progname quote readline strdup striconv sys_select unistd
14 AUTOMAKE_OPTIONS = 1.5 gnits
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 =
28 AM_CPPFLAGS =
30 noinst_LTLIBRARIES += libgl.la
32 libgl_la_SOURCES =
33 libgl_la_LIBADD = $(gl_LTLIBOBJS)
34 libgl_la_DEPENDENCIES = $(gl_LTLIBOBJS)
35 EXTRA_libgl_la_SOURCES =
36 libgl_la_LDFLAGS = $(AM_LDFLAGS)
38 ## begin gnulib module absolute-header
40 # Use this preprocessor expression to decide whether #include_next works.
41 # Do not rely on a 'configure'-time test for this, since the expression
42 # might appear in an installed header, which is used by some other compiler.
43 HAVE_INCLUDE_NEXT = (__GNUC__ || 60000000 <= __DECC_VER)
45 ## end   gnulib module absolute-header
47 ## begin gnulib module alloca-opt
49 BUILT_SOURCES += $(ALLOCA_H)
51 # We need the following in order to create <alloca.h> when the system
52 # doesn't have one that works with the given compiler.
53 alloca.h: alloca_.h
54         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
55           cat $(srcdir)/alloca_.h; \
56         } > $@-t
57         mv -f $@-t $@
58 MOSTLYCLEANFILES += alloca.h alloca.h-t
60 EXTRA_DIST += alloca_.h
62 ## end   gnulib module alloca-opt
64 ## begin gnulib module arpa_inet
66 BUILT_SOURCES += $(ARPA_INET_H)
68 # We need the following in order to create <arpa/inet.h> when the system
69 # doesn't have one.
70 arpa/inet.h:
71         @MKDIR_P@ arpa
72         rm -f $@-t $@
73         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
74           echo '#include <sys/socket.h>'; \
75         } > $@-t
76         mv $@-t $@
77 MOSTLYCLEANFILES += arpa/inet.h arpa/inet.h-t
78 MOSTLYCLEANDIRS += arpa
80 ## end   gnulib module arpa_inet
82 ## begin gnulib module c-ctype
84 libgl_la_SOURCES += c-ctype.h c-ctype.c
86 ## end   gnulib module c-ctype
88 ## begin gnulib module c-strcase
90 libgl_la_SOURCES += c-strcase.h c-strcasecmp.c c-strncasecmp.c
92 ## end   gnulib module c-strcase
94 ## begin gnulib module error
97 EXTRA_DIST += error.c error.h
99 EXTRA_libgl_la_SOURCES += error.c
101 ## end   gnulib module error
103 ## begin gnulib module exitfail
106 EXTRA_DIST += exitfail.c exitfail.h
108 EXTRA_libgl_la_SOURCES += exitfail.c
110 ## end   gnulib module exitfail
112 ## begin gnulib module float
114 BUILT_SOURCES += $(FLOAT_H)
116 # We need the following in order to create <float.h> when the system
117 # doesn't have one that works with the given compiler.
118 float.h: float_.h
119         rm -f $@-t $@
120         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
121           sed -e 's/@''INCLUDE_NEXT''@/$(INCLUDE_NEXT)/g' \
122               -e 's|@''NEXT_FLOAT_H''@|$(NEXT_FLOAT_H)|g' \
123               < $(srcdir)/float_.h; \
124         } > $@-t
125         mv $@-t $@
126 MOSTLYCLEANFILES += float.h float.h-t
128 EXTRA_DIST += float_.h
130 ## end   gnulib module float
132 ## begin gnulib module fseeko
135 EXTRA_DIST += fseeko.c
137 EXTRA_libgl_la_SOURCES += fseeko.c
139 ## end   gnulib module fseeko
141 ## begin gnulib module gendocs
144 EXTRA_DIST += $(top_srcdir)/build-aux/gendocs.sh
146 ## end   gnulib module gendocs
148 ## begin gnulib module getaddrinfo
151 EXTRA_DIST += gai_strerror.c getaddrinfo.c getaddrinfo.h
153 EXTRA_libgl_la_SOURCES += gai_strerror.c getaddrinfo.c
155 ## end   gnulib module getaddrinfo
157 ## begin gnulib module getdelim
160 EXTRA_DIST += getdelim.c
162 EXTRA_libgl_la_SOURCES += getdelim.c
164 ## end   gnulib module getdelim
166 ## begin gnulib module getline
169 EXTRA_DIST += getline.c
171 EXTRA_libgl_la_SOURCES += getline.c
173 ## end   gnulib module getline
175 ## begin gnulib module getopt
177 BUILT_SOURCES += $(GETOPT_H)
179 # We need the following in order to create <getopt.h> when the system
180 # doesn't have one that works with the given compiler.
181 getopt.h: getopt_.h
182         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
183           cat $(srcdir)/getopt_.h; \
184         } > $@-t
185         mv -f $@-t $@
186 MOSTLYCLEANFILES += getopt.h getopt.h-t
188 EXTRA_DIST += getopt.c getopt1.c getopt_.h getopt_int.h
190 EXTRA_libgl_la_SOURCES += getopt.c getopt1.c
192 ## end   gnulib module getopt
194 ## begin gnulib module getpass
197 EXTRA_DIST += getpass.c getpass.h
199 EXTRA_libgl_la_SOURCES += getpass.c
201 ## end   gnulib module getpass
203 ## begin gnulib module gettext-h
205 libgl_la_SOURCES += gettext.h
207 ## end   gnulib module gettext-h
209 ## begin gnulib module havelib
212 EXTRA_DIST += $(top_srcdir)/build-aux/config.rpath
214 ## end   gnulib module havelib
216 ## begin gnulib module iconv_open
218 BUILT_SOURCES += $(ICONV_H)
220 # We need the following in order to create <iconv.h> when the system
221 # doesn't have one that works with the given compiler.
222 iconv.h: iconv_.h
223         rm -f $@-t $@
224         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
225           sed -e 's/@''INCLUDE_NEXT''@/$(INCLUDE_NEXT)/g' \
226               -e 's|@''NEXT_ICONV_H''@|$(NEXT_ICONV_H)|g' \
227               -e 's|@''REPLACE_ICONV_OPEN''@|$(REPLACE_ICONV_OPEN)|g' \
228               < $(srcdir)/iconv_.h; \
229         } > $@-t
230         mv $@-t $@
231 MOSTLYCLEANFILES += iconv.h iconv.h-t
233 GPERF = gperf
234 iconv_open-aix.h: iconv_open-aix.gperf
235         $(GPERF) -m 10 $(srcdir)/iconv_open-aix.gperf > $@-t
236         mv $@-t $@
237 iconv_open-hpux.h: iconv_open-hpux.gperf
238         $(GPERF) -m 10 $(srcdir)/iconv_open-hpux.gperf > $@-t
239         mv $@-t $@
240 iconv_open-irix.h: iconv_open-irix.gperf
241         $(GPERF) -m 10 $(srcdir)/iconv_open-irix.gperf > $@-t
242         mv $@-t $@
243 iconv_open-osf.h: iconv_open-osf.gperf
244         $(GPERF) -m 10 $(srcdir)/iconv_open-osf.gperf > $@-t
245         mv $@-t $@
246 BUILT_SOURCES        += iconv_open-aix.h iconv_open-hpux.h iconv_open-irix.h iconv_open-osf.h
247 MOSTLYCLEANFILES     += iconv_open-aix.h-t iconv_open-hpux.h-t iconv_open-irix.h-t iconv_open-osf.h-t
248 MAINTAINERCLEANFILES += iconv_open-aix.h iconv_open-hpux.h iconv_open-irix.h iconv_open-osf.h
249 EXTRA_DIST           += iconv_open-aix.h iconv_open-hpux.h iconv_open-irix.h iconv_open-osf.h
251 EXTRA_DIST += iconv_.h iconv_open-aix.gperf iconv_open-hpux.gperf iconv_open-irix.gperf iconv_open-osf.gperf iconv_open.c
253 EXTRA_libgl_la_SOURCES += iconv_open.c
255 ## end   gnulib module iconv_open
257 ## begin gnulib module inet_ntop
260 EXTRA_DIST += inet_ntop.c inet_ntop.h
262 EXTRA_libgl_la_SOURCES += inet_ntop.c
264 ## end   gnulib module inet_ntop
266 ## begin gnulib module link-warning
268 LINK_WARNING_H=$(top_srcdir)/build-aux/link-warning.h
270 EXTRA_DIST += $(top_srcdir)/build-aux/link-warning.h
272 ## end   gnulib module link-warning
274 ## begin gnulib module lseek
277 EXTRA_DIST += lseek.c
279 EXTRA_libgl_la_SOURCES += lseek.c
281 ## end   gnulib module lseek
283 ## begin gnulib module maintainer-makefile
285 EXTRA_DIST += $(top_srcdir)/build-aux/GNUmakefile $(top_srcdir)/build-aux/maint.mk
287 ## end   gnulib module maintainer-makefile
289 ## begin gnulib module netinet_in
291 BUILT_SOURCES += $(NETINET_IN_H)
293 # We need the following in order to create <netinet/in.h> when the system
294 # doesn't have one.
295 netinet/in.h:
296         @MKDIR_P@ netinet
297         rm -f $@-t $@
298         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
299           sed -e 's/@''INCLUDE_NEXT''@/$(INCLUDE_NEXT)/g' \
300               -e 's|@''NEXT_NETINET_IN_H''@|$(NEXT_NETINET_IN_H)|g' \
301               -e 's|@''HAVE_NETINET_IN_H''@|$(HAVE_NETINET_IN_H)|g' \
302               < $(srcdir)/netinet_in_.h; \
303         } > $@-t
304         mv $@-t $@
305 MOSTLYCLEANFILES += netinet/in.h netinet/in.h-t
306 MOSTLYCLEANDIRS += netinet
308 EXTRA_DIST += netinet_in_.h
310 ## end   gnulib module netinet_in
312 ## begin gnulib module progname
314 libgl_la_SOURCES += progname.h progname.c
316 ## end   gnulib module progname
318 ## begin gnulib module quote
321 EXTRA_DIST += quote.c quote.h
323 EXTRA_libgl_la_SOURCES += quote.c
325 ## end   gnulib module quote
327 ## begin gnulib module quotearg
330 EXTRA_DIST += quotearg.c quotearg.h
332 EXTRA_libgl_la_SOURCES += quotearg.c
334 ## end   gnulib module quotearg
336 ## begin gnulib module readline
339 EXTRA_DIST += readline.c readline.h
341 EXTRA_libgl_la_SOURCES += readline.c
343 ## end   gnulib module readline
345 ## begin gnulib module size_max
347 libgl_la_SOURCES += size_max.h
349 ## end   gnulib module size_max
351 ## begin gnulib module snprintf
354 EXTRA_DIST += snprintf.c
356 EXTRA_libgl_la_SOURCES += snprintf.c
358 ## end   gnulib module snprintf
360 ## begin gnulib module stdbool
362 BUILT_SOURCES += $(STDBOOL_H)
364 # We need the following in order to create <stdbool.h> when the system
365 # doesn't have one that works.
366 stdbool.h: stdbool_.h
367         rm -f $@-t $@
368         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
369           sed -e 's/@''HAVE__BOOL''@/$(HAVE__BOOL)/g' < $(srcdir)/stdbool_.h; \
370         } > $@-t
371         mv $@-t $@
372 MOSTLYCLEANFILES += stdbool.h stdbool.h-t
374 EXTRA_DIST += stdbool_.h
376 ## end   gnulib module stdbool
378 ## begin gnulib module stdint
380 BUILT_SOURCES += $(STDINT_H)
382 # We need the following in order to create <stdint.h> when the system
383 # doesn't have one that works with the given compiler.
384 stdint.h: stdint_.h
385         rm -f $@-t $@
386         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
387           sed -e 's/@''HAVE_STDINT_H''@/$(HAVE_STDINT_H)/g' \
388               -e 's/@''INCLUDE_NEXT''@/$(INCLUDE_NEXT)/g' \
389               -e 's|@''NEXT_STDINT_H''@|$(NEXT_STDINT_H)|g' \
390               -e 's/@''HAVE_SYS_TYPES_H''@/$(HAVE_SYS_TYPES_H)/g' \
391               -e 's/@''HAVE_INTTYPES_H''@/$(HAVE_INTTYPES_H)/g' \
392               -e 's/@''HAVE_SYS_INTTYPES_H''@/$(HAVE_SYS_INTTYPES_H)/g' \
393               -e 's/@''HAVE_SYS_BITYPES_H''@/$(HAVE_SYS_BITYPES_H)/g' \
394               -e 's/@''HAVE_LONG_LONG_INT''@/$(HAVE_LONG_LONG_INT)/g' \
395               -e 's/@''HAVE_UNSIGNED_LONG_LONG_INT''@/$(HAVE_UNSIGNED_LONG_LONG_INT)/g' \
396               -e 's/@''BITSIZEOF_PTRDIFF_T''@/$(BITSIZEOF_PTRDIFF_T)/g' \
397               -e 's/@''PTRDIFF_T_SUFFIX''@/$(PTRDIFF_T_SUFFIX)/g' \
398               -e 's/@''BITSIZEOF_SIG_ATOMIC_T''@/$(BITSIZEOF_SIG_ATOMIC_T)/g' \
399               -e 's/@''HAVE_SIGNED_SIG_ATOMIC_T''@/$(HAVE_SIGNED_SIG_ATOMIC_T)/g' \
400               -e 's/@''SIG_ATOMIC_T_SUFFIX''@/$(SIG_ATOMIC_T_SUFFIX)/g' \
401               -e 's/@''BITSIZEOF_SIZE_T''@/$(BITSIZEOF_SIZE_T)/g' \
402               -e 's/@''SIZE_T_SUFFIX''@/$(SIZE_T_SUFFIX)/g' \
403               -e 's/@''BITSIZEOF_WCHAR_T''@/$(BITSIZEOF_WCHAR_T)/g' \
404               -e 's/@''HAVE_SIGNED_WCHAR_T''@/$(HAVE_SIGNED_WCHAR_T)/g' \
405               -e 's/@''WCHAR_T_SUFFIX''@/$(WCHAR_T_SUFFIX)/g' \
406               -e 's/@''BITSIZEOF_WINT_T''@/$(BITSIZEOF_WINT_T)/g' \
407               -e 's/@''HAVE_SIGNED_WINT_T''@/$(HAVE_SIGNED_WINT_T)/g' \
408               -e 's/@''WINT_T_SUFFIX''@/$(WINT_T_SUFFIX)/g' \
409               < $(srcdir)/stdint_.h; \
410         } > $@-t
411         mv $@-t $@
412 MOSTLYCLEANFILES += stdint.h stdint.h-t
414 EXTRA_DIST += stdint_.h
416 ## end   gnulib module stdint
418 ## begin gnulib module stdio
420 BUILT_SOURCES += stdio.h
422 # We need the following in order to create <stdio.h> when the system
423 # doesn't have one that works with the given compiler.
424 stdio.h: stdio_.h
425         rm -f $@-t $@
426         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
427           sed -e 's/@''INCLUDE_NEXT''@/$(INCLUDE_NEXT)/g' \
428               -e 's|@''NEXT_STDIO_H''@|$(NEXT_STDIO_H)|g' \
429               -e 's|@''GNULIB_FPRINTF_POSIX''@|$(GNULIB_FPRINTF_POSIX)|g' \
430               -e 's|@''GNULIB_PRINTF_POSIX''@|$(GNULIB_PRINTF_POSIX)|g' \
431               -e 's|@''GNULIB_SNPRINTF''@|$(GNULIB_SNPRINTF)|g' \
432               -e 's|@''GNULIB_SPRINTF_POSIX''@|$(GNULIB_SPRINTF_POSIX)|g' \
433               -e 's|@''GNULIB_VFPRINTF_POSIX''@|$(GNULIB_VFPRINTF_POSIX)|g' \
434               -e 's|@''GNULIB_VPRINTF_POSIX''@|$(GNULIB_VPRINTF_POSIX)|g' \
435               -e 's|@''GNULIB_VSNPRINTF''@|$(GNULIB_VSNPRINTF)|g' \
436               -e 's|@''GNULIB_VSPRINTF_POSIX''@|$(GNULIB_VSPRINTF_POSIX)|g' \
437               -e 's|@''GNULIB_VASPRINTF''@|$(GNULIB_VASPRINTF)|g' \
438               -e 's|@''GNULIB_FSEEK''@|$(GNULIB_FSEEK)|g' \
439               -e 's|@''GNULIB_FSEEKO''@|$(GNULIB_FSEEKO)|g' \
440               -e 's|@''GNULIB_FTELL''@|$(GNULIB_FTELL)|g' \
441               -e 's|@''GNULIB_FTELLO''@|$(GNULIB_FTELLO)|g' \
442               -e 's|@''GNULIB_FFLUSH''@|$(GNULIB_FFLUSH)|g' \
443               -e 's|@''GNULIB_GETDELIM''@|$(GNULIB_GETDELIM)|g' \
444               -e 's|@''GNULIB_GETLINE''@|$(GNULIB_GETLINE)|g' \
445               -e 's|@''REPLACE_FPRINTF''@|$(REPLACE_FPRINTF)|g' \
446               -e 's|@''REPLACE_VFPRINTF''@|$(REPLACE_VFPRINTF)|g' \
447               -e 's|@''REPLACE_PRINTF''@|$(REPLACE_PRINTF)|g' \
448               -e 's|@''REPLACE_VPRINTF''@|$(REPLACE_VPRINTF)|g' \
449               -e 's|@''REPLACE_SNPRINTF''@|$(REPLACE_SNPRINTF)|g' \
450               -e 's|@''HAVE_DECL_SNPRINTF''@|$(HAVE_DECL_SNPRINTF)|g' \
451               -e 's|@''REPLACE_VSNPRINTF''@|$(REPLACE_VSNPRINTF)|g' \
452               -e 's|@''HAVE_DECL_VSNPRINTF''@|$(HAVE_DECL_VSNPRINTF)|g' \
453               -e 's|@''REPLACE_SPRINTF''@|$(REPLACE_SPRINTF)|g' \
454               -e 's|@''REPLACE_VSPRINTF''@|$(REPLACE_VSPRINTF)|g' \
455               -e 's|@''HAVE_VASPRINTF''@|$(HAVE_VASPRINTF)|g' \
456               -e 's|@''REPLACE_VASPRINTF''@|$(REPLACE_VASPRINTF)|g' \
457               -e 's|@''REPLACE_FSEEKO''@|$(REPLACE_FSEEKO)|g' \
458               -e 's|@''REPLACE_FSEEK''@|$(REPLACE_FSEEK)|g' \
459               -e 's|@''REPLACE_FTELLO''@|$(REPLACE_FTELLO)|g' \
460               -e 's|@''REPLACE_FTELL''@|$(REPLACE_FTELL)|g' \
461               -e 's|@''REPLACE_FFLUSH''@|$(REPLACE_FFLUSH)|g' \
462               -e 's|@''HAVE_DECL_GETDELIM''@|$(HAVE_DECL_GETDELIM)|g' \
463               -e 's|@''HAVE_DECL_GETLINE''@|$(HAVE_DECL_GETLINE)|g' \
464               -e 's|@''REPLACE_GETLINE''@|$(REPLACE_GETLINE)|g' \
465               -e '/definition of GL_LINK_WARNING/r $(LINK_WARNING_H)' \
466               < $(srcdir)/stdio_.h; \
467         } > $@-t
468         mv $@-t $@
469 MOSTLYCLEANFILES += stdio.h stdio.h-t
471 EXTRA_DIST += stdio_.h
473 ## end   gnulib module stdio
475 ## begin gnulib module stdlib
477 BUILT_SOURCES += stdlib.h
479 # We need the following in order to create <stdlib.h> when the system
480 # doesn't have one that works with the given compiler.
481 stdlib.h: stdlib_.h
482         rm -f $@-t $@
483         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
484           sed -e 's/@''INCLUDE_NEXT''@/$(INCLUDE_NEXT)/g' \
485               -e 's|@''NEXT_STDLIB_H''@|$(NEXT_STDLIB_H)|g' \
486               -e 's|@''GNULIB_GETSUBOPT''@|$(GNULIB_GETSUBOPT)|g' \
487               -e 's|@''GNULIB_MKDTEMP''@|$(GNULIB_MKDTEMP)|g' \
488               -e 's|@''GNULIB_MKSTEMP''@|$(GNULIB_MKSTEMP)|g' \
489               -e 's|@''HAVE_GETSUBOPT''@|$(HAVE_GETSUBOPT)|g' \
490               -e 's|@''HAVE_MKDTEMP''@|$(HAVE_MKDTEMP)|g' \
491               -e 's|@''REPLACE_MKSTEMP''@|$(REPLACE_MKSTEMP)|g' \
492               -e '/definition of GL_LINK_WARNING/r $(LINK_WARNING_H)' \
493               < $(srcdir)/stdlib_.h; \
494         } > $@-t
495         mv $@-t $@
496 MOSTLYCLEANFILES += stdlib.h stdlib.h-t
498 EXTRA_DIST += stdlib_.h
500 ## end   gnulib module stdlib
502 ## begin gnulib module strdup
505 EXTRA_DIST += strdup.c
507 EXTRA_libgl_la_SOURCES += strdup.c
509 ## end   gnulib module strdup
511 ## begin gnulib module striconv
513 libgl_la_SOURCES += striconv.h striconv.c
514 if GL_COND_LIBTOOL
515 libgl_la_LDFLAGS += $(LTLIBICONV)
516 endif
518 ## end   gnulib module striconv
520 ## begin gnulib module string
522 BUILT_SOURCES += string.h
524 # We need the following in order to create <string.h> when the system
525 # doesn't have one that works with the given compiler.
526 string.h: string_.h
527         rm -f $@-t $@
528         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
529           sed -e 's/@''INCLUDE_NEXT''@/$(INCLUDE_NEXT)/g' \
530               -e 's|@''NEXT_STRING_H''@|$(NEXT_STRING_H)|g' \
531               -e 's|@''GNULIB_MBSLEN''@|$(GNULIB_MBSLEN)|g' \
532               -e 's|@''GNULIB_MBSNLEN''@|$(GNULIB_MBSNLEN)|g' \
533               -e 's|@''GNULIB_MBSCHR''@|$(GNULIB_MBSCHR)|g' \
534               -e 's|@''GNULIB_MBSRCHR''@|$(GNULIB_MBSRCHR)|g' \
535               -e 's|@''GNULIB_MBSSTR''@|$(GNULIB_MBSSTR)|g' \
536               -e 's|@''GNULIB_MBSCASECMP''@|$(GNULIB_MBSCASECMP)|g' \
537               -e 's|@''GNULIB_MBSNCASECMP''@|$(GNULIB_MBSNCASECMP)|g' \
538               -e 's|@''GNULIB_MBSPCASECMP''@|$(GNULIB_MBSPCASECMP)|g' \
539               -e 's|@''GNULIB_MBSCASESTR''@|$(GNULIB_MBSCASESTR)|g' \
540               -e 's|@''GNULIB_MBSCSPN''@|$(GNULIB_MBSCSPN)|g' \
541               -e 's|@''GNULIB_MBSPBRK''@|$(GNULIB_MBSPBRK)|g' \
542               -e 's|@''GNULIB_MBSSPN''@|$(GNULIB_MBSSPN)|g' \
543               -e 's|@''GNULIB_MBSSEP''@|$(GNULIB_MBSSEP)|g' \
544               -e 's|@''GNULIB_MBSTOK_R''@|$(GNULIB_MBSTOK_R)|g' \
545               -e 's|@''GNULIB_MEMMEM''@|$(GNULIB_MEMMEM)|g' \
546               -e 's|@''GNULIB_MEMPCPY''@|$(GNULIB_MEMPCPY)|g' \
547               -e 's|@''GNULIB_MEMRCHR''@|$(GNULIB_MEMRCHR)|g' \
548               -e 's|@''GNULIB_STPCPY''@|$(GNULIB_STPCPY)|g' \
549               -e 's|@''GNULIB_STPNCPY''@|$(GNULIB_STPNCPY)|g' \
550               -e 's|@''GNULIB_STRCHRNUL''@|$(GNULIB_STRCHRNUL)|g' \
551               -e 's|@''GNULIB_STRDUP''@|$(GNULIB_STRDUP)|g' \
552               -e 's|@''GNULIB_STRNDUP''@|$(GNULIB_STRNDUP)|g' \
553               -e 's|@''GNULIB_STRNLEN''@|$(GNULIB_STRNLEN)|g' \
554               -e 's|@''GNULIB_STRPBRK''@|$(GNULIB_STRPBRK)|g' \
555               -e 's|@''GNULIB_STRSEP''@|$(GNULIB_STRSEP)|g' \
556               -e 's|@''GNULIB_STRCASESTR''@|$(GNULIB_STRCASESTR)|g' \
557               -e 's|@''GNULIB_STRTOK_R''@|$(GNULIB_STRTOK_R)|g' \
558               -e 's|@''HAVE_DECL_MEMMEM''@|$(HAVE_DECL_MEMMEM)|g' \
559               -e 's|@''HAVE_MEMPCPY''@|$(HAVE_MEMPCPY)|g' \
560               -e 's|@''HAVE_DECL_MEMRCHR''@|$(HAVE_DECL_MEMRCHR)|g' \
561               -e 's|@''HAVE_STPCPY''@|$(HAVE_STPCPY)|g' \
562               -e 's|@''HAVE_STPNCPY''@|$(HAVE_STPNCPY)|g' \
563               -e 's|@''HAVE_STRCASECMP''@|$(HAVE_STRCASECMP)|g' \
564               -e 's|@''HAVE_DECL_STRNCASECMP''@|$(HAVE_DECL_STRNCASECMP)|g' \
565               -e 's|@''HAVE_STRCHRNUL''@|$(HAVE_STRCHRNUL)|g' \
566               -e 's|@''HAVE_DECL_STRDUP''@|$(HAVE_DECL_STRDUP)|g' \
567               -e 's|@''HAVE_STRNDUP''@|$(HAVE_STRNDUP)|g' \
568               -e 's|@''HAVE_DECL_STRNDUP''@|$(HAVE_DECL_STRNDUP)|g' \
569               -e 's|@''HAVE_DECL_STRNLEN''@|$(HAVE_DECL_STRNLEN)|g' \
570               -e 's|@''HAVE_STRPBRK''@|$(HAVE_STRPBRK)|g' \
571               -e 's|@''HAVE_STRSEP''@|$(HAVE_STRSEP)|g' \
572               -e 's|@''HAVE_STRCASESTR''@|$(HAVE_STRCASESTR)|g' \
573               -e 's|@''HAVE_DECL_STRTOK_R''@|$(HAVE_DECL_STRTOK_R)|g' \
574               -e '/definition of GL_LINK_WARNING/r $(LINK_WARNING_H)' \
575               < $(srcdir)/string_.h; \
576         } > $@-t
577         mv $@-t $@
578 MOSTLYCLEANFILES += string.h string.h-t
580 EXTRA_DIST += string_.h
582 ## end   gnulib module string
584 ## begin gnulib module sys_select
586 BUILT_SOURCES += $(SYS_SELECT_H)
588 # We need the following in order to create <sys/select.h> when the system
589 # doesn't have one that works with the given compiler.
590 sys/select.h:
591         @MKDIR_P@ sys
592         rm -f $@-t $@
593         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
594           sed -e 's/@''INCLUDE_NEXT''@/$(INCLUDE_NEXT)/g' \
595               -e 's|@''NEXT_SYS_SELECT_H''@|$(NEXT_SYS_SELECT_H)|g' \
596               -e 's|@''HAVE_SYS_SELECT_H''@|$(HAVE_SYS_SELECT_H)|g' \
597               < $(srcdir)/sys_select_.h; \
598         } > $@-t
599         mv $@-t $@
600 MOSTLYCLEANFILES += sys/select.h sys/select.h-t
601 MOSTLYCLEANDIRS += sys
603 EXTRA_DIST += sys_select_.h
605 ## end   gnulib module sys_select
607 ## begin gnulib module sys_socket
609 BUILT_SOURCES += $(SYS_SOCKET_H)
611 # We need the following in order to create <sys/socket.h> when the system
612 # doesn't have one that works with the given compiler.
613 sys/socket.h: sys_socket_.h
614         @MKDIR_P@ sys
615         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
616           sed -e 's/@''INCLUDE_NEXT''@/$(INCLUDE_NEXT)/g' \
617               -e 's|@''NEXT_SYS_SOCKET_H''@|$(NEXT_SYS_SOCKET_H)|g' \
618               -e 's|@''HAVE_SYS_SOCKET_H''@|$(HAVE_SYS_SOCKET_H)|g' \
619               -e 's|@''HAVE_WINSOCK2_H''@|$(HAVE_WINSOCK2_H)|g' \
620               -e 's|@''HAVE_WS2TCPIP_H''@|$(HAVE_WS2TCPIP_H)|g' \
621               < $(srcdir)/sys_socket_.h; \
622         } > $@-t
623         mv -f $@-t $@
624 MOSTLYCLEANFILES += sys/socket.h sys/socket.h-t
625 MOSTLYCLEANDIRS += sys
627 EXTRA_DIST += sys_socket_.h
629 ## end   gnulib module sys_socket
631 ## begin gnulib module unistd
633 BUILT_SOURCES += unistd.h
635 # We need the following in order to create an empty placeholder for
636 # <unistd.h> when the system doesn't have one.
637 unistd.h: unistd_.h
638         rm -f $@-t $@
639         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
640           sed -e 's|@''HAVE_UNISTD_H''@|$(HAVE_UNISTD_H)|g' \
641               -e 's/@''INCLUDE_NEXT''@/$(INCLUDE_NEXT)/g' \
642               -e 's|@''NEXT_UNISTD_H''@|$(NEXT_UNISTD_H)|g' \
643               -e 's|@''GNULIB_CHOWN''@|$(GNULIB_CHOWN)|g' \
644               -e 's|@''GNULIB_DUP2''@|$(GNULIB_DUP2)|g' \
645               -e 's|@''GNULIB_FCHDIR''@|$(GNULIB_FCHDIR)|g' \
646               -e 's|@''GNULIB_FTRUNCATE''@|$(GNULIB_FTRUNCATE)|g' \
647               -e 's|@''GNULIB_GETCWD''@|$(GNULIB_GETCWD)|g' \
648               -e 's|@''GNULIB_GETLOGIN_R''@|$(GNULIB_GETLOGIN_R)|g' \
649               -e 's|@''GNULIB_LCHOWN''@|$(GNULIB_LCHOWN)|g' \
650               -e 's|@''GNULIB_LSEEK''@|$(GNULIB_LSEEK)|g' \
651               -e 's|@''GNULIB_READLINK''@|$(GNULIB_READLINK)|g' \
652               -e 's|@''GNULIB_SLEEP''@|$(GNULIB_SLEEP)|g' \
653               -e 's|@''HAVE_DUP2''@|$(HAVE_DUP2)|g' \
654               -e 's|@''HAVE_FTRUNCATE''@|$(HAVE_FTRUNCATE)|g' \
655               -e 's|@''HAVE_READLINK''@|$(HAVE_READLINK)|g' \
656               -e 's|@''HAVE_SLEEP''@|$(HAVE_SLEEP)|g' \
657               -e 's|@''HAVE_DECL_GETLOGIN_R''@|$(HAVE_DECL_GETLOGIN_R)|g' \
658               -e 's|@''REPLACE_CHOWN''@|$(REPLACE_CHOWN)|g' \
659               -e 's|@''REPLACE_FCHDIR''@|$(REPLACE_FCHDIR)|g' \
660               -e 's|@''REPLACE_GETCWD''@|$(REPLACE_GETCWD)|g' \
661               -e 's|@''REPLACE_LCHOWN''@|$(REPLACE_LCHOWN)|g' \
662               -e 's|@''REPLACE_LSEEK''@|$(REPLACE_LSEEK)|g' \
663               < $(srcdir)/unistd_.h; \
664         } > $@-t
665         mv $@-t $@
666 MOSTLYCLEANFILES += unistd.h unistd.h-t
668 EXTRA_DIST += unistd_.h
670 ## end   gnulib module unistd
672 ## begin gnulib module vasnprintf
675 EXTRA_DIST += asnprintf.c float+.h printf-args.c printf-args.h printf-parse.c printf-parse.h vasnprintf.c vasnprintf.h
677 EXTRA_libgl_la_SOURCES += asnprintf.c printf-args.c printf-parse.c vasnprintf.c
679 ## end   gnulib module vasnprintf
681 ## begin gnulib module wchar
683 BUILT_SOURCES += $(WCHAR_H)
685 # We need the following in order to create <wchar.h> when the system
686 # version does not work standalone.
687 wchar.h: wchar_.h
688         rm -f $@-t $@
689         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
690           sed -e 's/@''INCLUDE_NEXT''@/$(INCLUDE_NEXT)/g' \
691               -e 's|@''NEXT_WCHAR_H''@|$(NEXT_WCHAR_H)|g' \
692               -e 's/@''HAVE_WCHAR_H''@/$(HAVE_WCHAR_H)/g' \
693               -e 's|@''GNULIB_WCWIDTH''@|$(GNULIB_WCWIDTH)|g' \
694               -e 's|@''HAVE_DECL_WCWIDTH''@|$(HAVE_DECL_WCWIDTH)|g' \
695               -e 's|@''REPLACE_WCWIDTH''@|$(REPLACE_WCWIDTH)|g' \
696               -e '/definition of GL_LINK_WARNING/r $(LINK_WARNING_H)' \
697             < $(srcdir)/wchar_.h; \
698         } > $@-t
699         mv $@-t $@
700 MOSTLYCLEANFILES += wchar.h wchar.h-t
702 EXTRA_DIST += wchar_.h
704 ## end   gnulib module wchar
706 ## begin gnulib module wctype
708 BUILT_SOURCES += $(WCTYPE_H)
710 # We need the following in order to create <wctype.h> when the system
711 # doesn't have one that works with the given compiler.
712 wctype.h: wctype_.h
713         rm -f $@-t $@
714         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
715           sed -e 's/@''HAVE_WCTYPE_H''@/$(HAVE_WCTYPE_H)/g' \
716               -e 's/@''INCLUDE_NEXT''@/$(INCLUDE_NEXT)/g' \
717               -e 's|@''NEXT_WCTYPE_H''@|$(NEXT_WCTYPE_H)|g' \
718               -e 's/@''HAVE_ISWCNTRL''@/$(HAVE_ISWCNTRL)/g' \
719               -e 's/@''HAVE_WINT_T''@/$(HAVE_WINT_T)/g' \
720               < $(srcdir)/wctype_.h; \
721         } > $@-t
722         mv $@-t $@
723 MOSTLYCLEANFILES += wctype.h wctype.h-t
725 EXTRA_DIST += wctype_.h
727 ## end   gnulib module wctype
729 ## begin gnulib module xalloc
732 EXTRA_DIST += xalloc.h xmalloc.c
734 EXTRA_libgl_la_SOURCES += xmalloc.c
736 ## end   gnulib module xalloc
738 ## begin gnulib module xalloc-die
740 libgl_la_SOURCES += xalloc-die.c
742 ## end   gnulib module xalloc-die
744 ## begin gnulib module xsize
746 libgl_la_SOURCES += xsize.h
748 ## end   gnulib module xsize
751 mostlyclean-local: mostlyclean-generic
752         @for dir in '' $(MOSTLYCLEANDIRS); do \
753           if test -n "$$dir" && test -d $$dir; then \
754             echo "rmdir $$dir"; rmdir $$dir; \
755           fi; \
756         done; \
757         :