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 stdbool_.h \
31 strtod.c
33 libcoreutils_a_LIBADD = $(LIBOBJS)
34 libcoreutils_a_DEPENDENCIES = $(libcoreutils_a_LIBADD)
36 libnagiosplug_a_SOURCES = snprintf.c
38 INCLUDES = -I$(srcdir) -I$(top_srcdir)/intl
40 BUILT_SOURCES = $(STDBOOL_H)
41 EXTRA_DIST = stdbool_.h
42 MOSTLYCLEANFILES = stdbool.h stdbool.ht
43 # Create stdbool.h on systems that lack a working one.
44 stdbool.h: stdbool_.h
45 sed -e 's/@''HAVE__BOOL''@/$(HAVE__BOOL)/g' $(srcdir)/stdbool_.h > $@t
46 mv $@t $@