diff options
Diffstat (limited to 'lib/Makefile.am')
| -rw-r--r-- | lib/Makefile.am | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/lib/Makefile.am b/lib/Makefile.am index 80455690..7edac1f2 100644 --- a/lib/Makefile.am +++ b/lib/Makefile.am | |||
| @@ -38,8 +38,9 @@ other_coreutils_files = \ | |||
| 38 | xmalloc.c | 38 | xmalloc.c |
| 39 | 39 | ||
| 40 | 40 | ||
| 41 | libcoreutils_a_LIBADD = $(LIBOBJS) | 41 | libcoreutils_a_LIBADD = $(LIBOBJS) $(ALLOCA) |
| 42 | libcoreutils_a_DEPENDENCIES = $(libcoreutils_a_LIBADD) | 42 | libcoreutils_a_DEPENDENCIES = $(libcoreutils_a_LIBADD) |
| 43 | lib_OBJECTS = $(libcoreutils_a_OBJECTS) | ||
| 43 | 44 | ||
| 44 | libnagiosplug_a_SOURCES = snprintf.c utils_base.c utils_disk.c | 45 | libnagiosplug_a_SOURCES = snprintf.c utils_base.c utils_disk.c |
| 45 | EXTRA_DIST += utils_base.h utils_disk.h | 46 | EXTRA_DIST += utils_base.h utils_disk.h |
| @@ -61,6 +62,17 @@ stdbool.h: stdbool_.h | |||
| 61 | sed -e 's/@''HAVE__BOOL''@/$(HAVE__BOOL)/g' $(srcdir)/stdbool_.h > $@t | 62 | sed -e 's/@''HAVE__BOOL''@/$(HAVE__BOOL)/g' $(srcdir)/stdbool_.h > $@t |
| 62 | mv $@t $@ | 63 | mv $@t $@ |
| 63 | 64 | ||
| 65 | BUILT_SOURCES += $(ALLOCA_H) | ||
| 66 | EXTRA_DIST += alloca_.h | ||
| 67 | |||
| 68 | # We need the following in order to create an <alloca.h> when the system | ||
| 69 | # doesn't have one that works with the given compiler | ||
| 70 | all-local $(lib_OBJECTS): $(ALLOCA_H) | ||
| 71 | alloca.h: alloca_.h | ||
| 72 | cp $(srcdir)/alloca_.h $@-t | ||
| 73 | mv $@-t $@ | ||
| 74 | MOSTLYCLEANFILES += alloca.h alloca.h-t | ||
| 75 | |||
| 64 | BUILT_SOURCES += $(GETOPT_H) | 76 | BUILT_SOURCES += $(GETOPT_H) |
| 65 | EXTRA_DIST += getopt_.h getopt_int.h | 77 | EXTRA_DIST += getopt_.h getopt_int.h |
| 66 | 78 | ||
