Code

Sync with gnulib - lots of extraneous code removed in preference to GNU code
[nagiosplug.git] / gl / Makefile.am
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.
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=gl --m4-base=gl/m4 --doc-base=doc --aux-dir=. --no-libtool --macro-prefix=gl dirname fsusage getaddrinfo gethostname getloadavg getopt gettext mountlist regex vasprintf vsnprintf
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_LIBRARIES += libgnu.a
32 libgnu_a_SOURCES =
33 libgnu_a_LIBADD = $(gl_LIBOBJS)
34 libgnu_a_DEPENDENCIES = $(gl_LIBOBJS)
35 EXTRA_libgnu_a_SOURCES =
37 ## begin gnulib module alloca
40 EXTRA_DIST += alloca.c
42 EXTRA_libgnu_a_SOURCES += alloca.c
44 libgnu_a_LIBADD += @ALLOCA@
45 libgnu_a_DEPENDENCIES += @ALLOCA@
46 ## end   gnulib module alloca
48 ## begin gnulib module alloca-opt
50 BUILT_SOURCES += $(ALLOCA_H)
52 # We need the following in order to create <alloca.h> when the system
53 # doesn't have one that works with the given compiler.
54 alloca.h: alloca_.h
55         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
56           cat $(srcdir)/alloca_.h; \
57         } > $@-t
58         mv -f $@-t $@
59 MOSTLYCLEANFILES += alloca.h alloca.h-t
61 EXTRA_DIST += alloca_.h
63 ## end   gnulib module alloca-opt
65 ## begin gnulib module arpa_inet
67 BUILT_SOURCES += $(ARPA_INET_H)
69 # We need the following in order to create <arpa/inet.h> when the system
70 # doesn't have one.
71 arpa/inet.h:
72         test -d arpa || mkdir arpa
73         rm -f $@-t $@
74         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
75           echo '#include <sys/socket.h>'; \
76         } > $@-t
77         mv $@-t $@
78 MOSTLYCLEANFILES += arpa/inet.h arpa/inet.h-t
79 MOSTLYCLEANDIRS += arpa
81 ## end   gnulib module arpa_inet
83 ## begin gnulib module c-strtod
86 EXTRA_DIST += c-strtod.c c-strtod.h
88 EXTRA_libgnu_a_SOURCES += c-strtod.c
90 ## end   gnulib module c-strtod
92 ## begin gnulib module cloexec
95 EXTRA_DIST += cloexec.c cloexec.h
97 EXTRA_libgnu_a_SOURCES += cloexec.c
99 ## end   gnulib module cloexec
101 ## begin gnulib module dirname
104 EXTRA_DIST += basename.c dirname.c dirname.h stripslash.c
106 EXTRA_libgnu_a_SOURCES += basename.c dirname.c stripslash.c
108 ## end   gnulib module dirname
110 ## begin gnulib module error
113 EXTRA_DIST += error.c error.h
115 EXTRA_libgnu_a_SOURCES += error.c
117 ## end   gnulib module error
119 ## begin gnulib module exit
121 libgnu_a_SOURCES += exit.h
123 ## end   gnulib module exit
125 ## begin gnulib module exitfail
128 EXTRA_DIST += exitfail.c exitfail.h
130 EXTRA_libgnu_a_SOURCES += exitfail.c
132 ## end   gnulib module exitfail
134 ## begin gnulib module fcntl-safer
137 EXTRA_DIST += creat-safer.c fcntl--.h fcntl-safer.h open-safer.c
139 EXTRA_libgnu_a_SOURCES += creat-safer.c open-safer.c
141 ## end   gnulib module fcntl-safer
143 ## begin gnulib module fsusage
146 EXTRA_DIST += fsusage.c fsusage.h
148 EXTRA_libgnu_a_SOURCES += fsusage.c
150 ## end   gnulib module fsusage
152 ## begin gnulib module full-read
154 libgnu_a_SOURCES += full-read.h full-read.c
156 ## end   gnulib module full-read
158 ## begin gnulib module full-write
160 libgnu_a_SOURCES += full-write.h full-write.c
162 ## end   gnulib module full-write
164 ## begin gnulib module getaddrinfo
167 EXTRA_DIST += gai_strerror.c getaddrinfo.c getaddrinfo.h
169 EXTRA_libgnu_a_SOURCES += gai_strerror.c getaddrinfo.c
171 ## end   gnulib module getaddrinfo
173 ## begin gnulib module gethostname
176 EXTRA_DIST += gethostname.c
178 EXTRA_libgnu_a_SOURCES += gethostname.c
180 ## end   gnulib module gethostname
182 ## begin gnulib module getloadavg
185 EXTRA_DIST += getloadavg.c
187 EXTRA_libgnu_a_SOURCES += getloadavg.c
189 ## end   gnulib module getloadavg
191 ## begin gnulib module getopt
193 BUILT_SOURCES += $(GETOPT_H)
195 # We need the following in order to create <getopt.h> when the system
196 # doesn't have one that works with the given compiler.
197 getopt.h: getopt_.h
198         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
199           cat $(srcdir)/getopt_.h; \
200         } > $@-t
201         mv -f $@-t $@
202 MOSTLYCLEANFILES += getopt.h getopt.h-t
204 EXTRA_DIST += getopt.c getopt1.c getopt_.h getopt_int.h
206 EXTRA_libgnu_a_SOURCES += getopt.c getopt1.c
208 ## end   gnulib module getopt
210 ## begin gnulib module gettext
212 # This is for those projects which use "gettextize --intl" to put a source-code
213 # copy of libintl into their package. In such projects, every Makefile.am needs
214 # -I$(top_builddir)/intl, so that <libintl.h> can be found in this directory.
215 # For the Makefile.ams in other directories it is the maintainer's
216 # responsibility; for the one from gnulib we do it here.
217 # This option has no effect when the user disables NLS (because then the intl
218 # directory contains no libintl.h file) or when the project does not use
219 # "gettextize --intl".
220 AM_CPPFLAGS += -I$(top_builddir)/intl
222 ## end   gnulib module gettext
224 ## begin gnulib module gettext-h
226 libgnu_a_SOURCES += gettext.h
228 ## end   gnulib module gettext-h
230 ## begin gnulib module inet_ntop
233 EXTRA_DIST += inet_ntop.c inet_ntop.h
235 EXTRA_libgnu_a_SOURCES += inet_ntop.c
237 ## end   gnulib module inet_ntop
239 ## begin gnulib module intprops
242 EXTRA_DIST += intprops.h
244 ## end   gnulib module intprops
246 ## begin gnulib module malloc
249 EXTRA_DIST += malloc.c
251 EXTRA_libgnu_a_SOURCES += malloc.c
253 ## end   gnulib module malloc
255 ## begin gnulib module mbchar
258 EXTRA_DIST += mbchar.c mbchar.h
260 EXTRA_libgnu_a_SOURCES += mbchar.c
262 ## end   gnulib module mbchar
264 ## begin gnulib module mbuiter
266 libgnu_a_SOURCES += mbuiter.h
268 ## end   gnulib module mbuiter
270 ## begin gnulib module memchr
273 EXTRA_DIST += memchr.c
275 EXTRA_libgnu_a_SOURCES += memchr.c
277 ## end   gnulib module memchr
279 ## begin gnulib module minmax
281 libgnu_a_SOURCES += minmax.h
283 ## end   gnulib module minmax
285 ## begin gnulib module mountlist
288 EXTRA_DIST += mountlist.c mountlist.h
290 EXTRA_libgnu_a_SOURCES += mountlist.c
292 ## end   gnulib module mountlist
294 ## begin gnulib module netinet_in
296 BUILT_SOURCES += $(NETINET_IN_H)
298 # We need the following in order to create <netinet/in.h> when the system
299 # doesn't have one.
300 netinet/in.h:
301         test -d netinet || mkdir netinet
302         rm -f $@-t $@
303         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
304           echo '#include <sys/socket.h>'; \
305         } > $@-t
306         mv $@-t $@
307 MOSTLYCLEANFILES += netinet/in.h netinet/in.h-t
308 MOSTLYCLEANDIRS += netinet
310 ## end   gnulib module netinet_in
312 ## begin gnulib module regex
315 EXTRA_DIST += regcomp.c regex.c regex.h regex_internal.c regex_internal.h regexec.c
317 EXTRA_libgnu_a_SOURCES += regcomp.c regex.c regex_internal.c regexec.c
319 ## end   gnulib module regex
321 ## begin gnulib module safe-read
324 EXTRA_DIST += safe-read.c safe-read.h
326 EXTRA_libgnu_a_SOURCES += safe-read.c
328 ## end   gnulib module safe-read
330 ## begin gnulib module safe-write
333 EXTRA_DIST += safe-write.c safe-write.h
335 EXTRA_libgnu_a_SOURCES += safe-write.c
337 ## end   gnulib module safe-write
339 ## begin gnulib module size_max
341 libgnu_a_SOURCES += size_max.h
343 ## end   gnulib module size_max
345 ## begin gnulib module snprintf
348 EXTRA_DIST += snprintf.c snprintf.h
350 EXTRA_libgnu_a_SOURCES += snprintf.c
352 ## end   gnulib module snprintf
354 ## begin gnulib module stdbool
356 BUILT_SOURCES += $(STDBOOL_H)
358 # We need the following in order to create <stdbool.h> when the system
359 # doesn't have one that works.
360 stdbool.h: stdbool_.h
361         rm -f $@-t $@
362         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
363           sed -e 's/@''HAVE__BOOL''@/$(HAVE__BOOL)/g' < $(srcdir)/stdbool_.h; \
364         } > $@-t
365         mv $@-t $@
366 MOSTLYCLEANFILES += stdbool.h stdbool.h-t
368 EXTRA_DIST += stdbool_.h
370 ## end   gnulib module stdbool
372 ## begin gnulib module stdint
374 BUILT_SOURCES += $(STDINT_H)
376 # We need the following in order to create <stdint.h> when the system
377 # doesn't have one that works with the given compiler.
378 stdint.h: stdint_.h
379         rm -f $@-t $@
380         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
381           sed -e 's/@''HAVE_STDINT_H''@/$(HAVE_STDINT_H)/g' \
382               -e 's|@''ABSOLUTE_STDINT_H''@|$(ABSOLUTE_STDINT_H)|g' \
383               -e 's/@''HAVE_SYS_TYPES_H''@/$(HAVE_SYS_TYPES_H)/g' \
384               -e 's/@''HAVE_INTTYPES_H''@/$(HAVE_INTTYPES_H)/g' \
385               -e 's/@''HAVE_SYS_INTTYPES_H''@/$(HAVE_SYS_INTTYPES_H)/g' \
386               -e 's/@''HAVE_SYS_BITYPES_H''@/$(HAVE_SYS_BITYPES_H)/g' \
387               -e 's/@''HAVE_LONG_LONG_INT''@/$(HAVE_LONG_LONG_INT)/g' \
388               -e 's/@''HAVE_UNSIGNED_LONG_LONG_INT''@/$(HAVE_UNSIGNED_LONG_LONG_INT)/g' \
389               -e 's/@''BITSIZEOF_PTRDIFF_T''@/$(BITSIZEOF_PTRDIFF_T)/g' \
390               -e 's/@''PTRDIFF_T_SUFFIX''@/$(PTRDIFF_T_SUFFIX)/g' \
391               -e 's/@''BITSIZEOF_SIG_ATOMIC_T''@/$(BITSIZEOF_SIG_ATOMIC_T)/g' \
392               -e 's/@''HAVE_SIGNED_SIG_ATOMIC_T''@/$(HAVE_SIGNED_SIG_ATOMIC_T)/g' \
393               -e 's/@''SIG_ATOMIC_T_SUFFIX''@/$(SIG_ATOMIC_T_SUFFIX)/g' \
394               -e 's/@''BITSIZEOF_SIZE_T''@/$(BITSIZEOF_SIZE_T)/g' \
395               -e 's/@''SIZE_T_SUFFIX''@/$(SIZE_T_SUFFIX)/g' \
396               -e 's/@''BITSIZEOF_WCHAR_T''@/$(BITSIZEOF_WCHAR_T)/g' \
397               -e 's/@''HAVE_SIGNED_WCHAR_T''@/$(HAVE_SIGNED_WCHAR_T)/g' \
398               -e 's/@''WCHAR_T_SUFFIX''@/$(WCHAR_T_SUFFIX)/g' \
399               -e 's/@''BITSIZEOF_WINT_T''@/$(BITSIZEOF_WINT_T)/g' \
400               -e 's/@''HAVE_SIGNED_WINT_T''@/$(HAVE_SIGNED_WINT_T)/g' \
401               -e 's/@''WINT_T_SUFFIX''@/$(WINT_T_SUFFIX)/g' \
402               < $(srcdir)/stdint_.h; \
403         } > $@-t
404         mv $@-t $@
405 MOSTLYCLEANFILES += stdint.h stdint.h-t
407 EXTRA_DIST += stdint_.h
409 ## end   gnulib module stdint
411 ## begin gnulib module strcase
414 EXTRA_DIST += strcase.h strcasecmp.c strncasecmp.c
416 EXTRA_libgnu_a_SOURCES += strcasecmp.c strncasecmp.c
418 ## end   gnulib module strcase
420 ## begin gnulib module strdup
423 EXTRA_DIST += strdup.c strdup.h
425 EXTRA_libgnu_a_SOURCES += strdup.c
427 ## end   gnulib module strdup
429 ## begin gnulib module strndup
432 EXTRA_DIST += strndup.c strndup.h
434 EXTRA_libgnu_a_SOURCES += strndup.c
436 ## end   gnulib module strndup
438 ## begin gnulib module strnlen
441 EXTRA_DIST += strnlen.c strnlen.h
443 EXTRA_libgnu_a_SOURCES += strnlen.c
445 ## end   gnulib module strnlen
447 ## begin gnulib module strnlen1
449 libgnu_a_SOURCES += strnlen1.h strnlen1.c
451 ## end   gnulib module strnlen1
453 ## begin gnulib module sys_socket
455 BUILT_SOURCES += $(SYS_SOCKET_H)
457 # We need the following in order to create <sys/socket.h> when the system
458 # doesn't have one that works with the given compiler.
459 sys/socket.h: socket_.h
460         @MKDIR_P@ sys
461         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
462           cat $(srcdir)/socket_.h; \
463         } > $@-t
464         mv -f $@-t $@
465 MOSTLYCLEANFILES += sys/socket.h sys/socket.h-t
466 MOSTLYCLEANDIRS += sys
468 EXTRA_DIST += socket_.h
470 ## end   gnulib module sys_socket
472 ## begin gnulib module unistd
474 BUILT_SOURCES += $(UNISTD_H)
476 # We need the following in order to create an empty placeholder for
477 # <unistd.h> when the system doesn't have one.
478 unistd.h: unistd_.h
479         rm -f $@-t $@
480         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
481           sed -e 's|@''ABSOLUTE_UNISTD_H''@|$(ABSOLUTE_UNISTD_H)|g' \
482               < $(srcdir)/unistd_.h; \
483         } > $@-t
484         mv $@-t $@
485 MOSTLYCLEANFILES += unistd.h unistd.h-t
487 EXTRA_DIST += unistd_.h
489 ## end   gnulib module unistd
491 ## begin gnulib module unistd-safer
494 EXTRA_DIST += dup-safer.c fd-safer.c pipe-safer.c unistd--.h unistd-safer.h
496 EXTRA_libgnu_a_SOURCES += dup-safer.c fd-safer.c pipe-safer.c
498 ## end   gnulib module unistd-safer
500 ## begin gnulib module vasnprintf
503 EXTRA_DIST += asnprintf.c printf-args.c printf-args.h printf-parse.c printf-parse.h vasnprintf.c vasnprintf.h
505 EXTRA_libgnu_a_SOURCES += asnprintf.c printf-args.c printf-parse.c vasnprintf.c
507 ## end   gnulib module vasnprintf
509 ## begin gnulib module vasprintf
512 EXTRA_DIST += asprintf.c vasprintf.c vasprintf.h
514 EXTRA_libgnu_a_SOURCES += asprintf.c vasprintf.c
516 ## end   gnulib module vasprintf
518 ## begin gnulib module vsnprintf
521 EXTRA_DIST += vsnprintf.c vsnprintf.h
523 EXTRA_libgnu_a_SOURCES += vsnprintf.c
525 ## end   gnulib module vsnprintf
527 ## begin gnulib module wchar
529 BUILT_SOURCES += $(WCHAR_H)
531 # We need the following in order to create <wchar.h> when the system
532 # version does not work standalone.
533 wchar.h: wchar_.h
534         rm -f $@-t $@
535         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
536           sed -e 's|@''ABSOLUTE_WCHAR_H''@|$(ABSOLUTE_WCHAR_H)|g' \
537             < $(srcdir)/wchar_.h; \
538         } > $@-t
539         mv $@-t $@
540 MOSTLYCLEANFILES += wchar.h wchar.h-t
542 EXTRA_DIST += wchar_.h
544 ## end   gnulib module wchar
546 ## begin gnulib module wctype
548 BUILT_SOURCES += $(WCTYPE_H)
550 # We need the following in order to create <wctype.h> when the system
551 # doesn't have one that works with the given compiler.
552 wctype.h: wctype_.h
553         rm -f $@-t $@
554         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
555           sed -e 's/@''HAVE_WCTYPE_H''@/$(HAVE_WCTYPE_H)/g' \
556               -e 's|@''ABSOLUTE_WCTYPE_H''@|$(ABSOLUTE_WCTYPE_H)|g' \
557               -e 's/@''HAVE_WCTYPE_CTMP_BUG''@/$(HAVE_WCTYPE_CTMP_BUG)/g' \
558               -e 's/@''HAVE_WINT_T''@/$(HAVE_WINT_T)/g' \
559               < $(srcdir)/wctype_.h; \
560         } > $@-t
561         mv $@-t $@
562 MOSTLYCLEANFILES += wctype.h wctype.h-t
564 EXTRA_DIST += wctype_.h
566 ## end   gnulib module wctype
568 ## begin gnulib module wcwidth
570 libgnu_a_SOURCES += wcwidth.h
572 ## end   gnulib module wcwidth
574 ## begin gnulib module xalloc
577 EXTRA_DIST += xalloc.h xmalloc.c
579 EXTRA_libgnu_a_SOURCES += xmalloc.c
581 ## end   gnulib module xalloc
583 ## begin gnulib module xalloc-die
585 libgnu_a_SOURCES += xalloc-die.c
587 ## end   gnulib module xalloc-die
589 ## begin gnulib module xsize
591 libgnu_a_SOURCES += xsize.h
593 ## end   gnulib module xsize
595 ## begin gnulib module xstrndup
597 libgnu_a_SOURCES += xstrndup.h xstrndup.c
599 ## end   gnulib module xstrndup
602 mostlyclean-local: mostlyclean-generic
603         @for dir in '' $(MOSTLYCLEANDIRS); do \
604           if test -n "$$dir" && test -d $$dir; then \
605             echo "rmdir $$dir"; rmdir $$dir; \
606           fi; \
607         done