diff options
author | Ton Voon <tonvoon@users.sourceforge.net> | 2006-11-03 15:40:33 (GMT) |
---|---|---|
committer | Ton Voon <tonvoon@users.sourceforge.net> | 2006-11-03 15:40:33 (GMT) |
commit | a5a4996a639101859bc183c85b33a6e04f5133f9 (patch) | |
tree | 67a3017ae2353ae1f9d39a8461d85314d22efaef /lib/Makefile.am | |
parent | fea92b5c044330a3c6dcc3438bebb9c18ccfc971 (diff) | |
download | monitoring-plugins-a5a4996a639101859bc183c85b33a6e04f5133f9.tar.gz |
Add alloca files, required for *BSD
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1534 f882894a-f735-0410-b71e-b25c423dba1c
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 8045569..7edac1f 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 | ||