Code

Fixed compile problem on Sol2.6 with stdbool.h
[nagiosplug.git] / lib / Makefile.am
1 ## Process this file with automake to produce Makefile.in
3 noinst_LIBRARIES = libcoreutils.a libnagiosplug.a
5 # Will auto pick up fsusage.c mountlist.c
6 libcoreutils_a_SOURCES = \
7   cloexec.c cloexec.h \
8   exit.h \
9   exitfail.c exitfail.h \
10   fsusage.h \
11   full-read.c full-read.h \
12   full-write.c full-write.h \
13   getopt.c getopt.h getopt1.c \
14   gettext.h \
15   mountlist.h \
16   safe-read.c safe-read.h \
17   safe-write.c safe-write.h \
18   unlocked-io.h \
19   xalloc.h \
20   xmalloc.c \
21   xstrdup.c
23 other_coreutils_files = \
24   error.c error.h \
25   fsusage.c \
26   getloadaavg.c \
27   malloc.c \
28   mountlist.c \
29   realloc.c \
30   strtod.c
32 libcoreutils_a_LIBADD = $(LIBOBJS)
33 libcoreutils_a_DEPENDENCIES = $(libcoreutils_a_LIBADD)
35 libnagiosplug_a_SOURCES = snprintf.c
37 INCLUDES = -I$(srcdir) -I$(top_srcdir)/intl
39 BUILT_SOURCES = $(STDBOOL_H)
40 EXTRA_DIST = stdbool_.h
41 MOSTLYCLEANFILES = stdbool.h stdbool.ht
42 # Create stdbool.h on systems that lack a working one.
43 stdbool.h: stdbool_.h
44         sed -e 's/@''HAVE__BOOL''@/$(HAVE__BOOL)/g' $(srcdir)/stdbool_.h > $@t
45         mv $@t $@