diff options
author | M. Sean Finney <seanius@users.sourceforge.net> | 2005-10-06 12:12:47 +0000 |
---|---|---|
committer | M. Sean Finney <seanius@users.sourceforge.net> | 2005-10-06 12:12:47 +0000 |
commit | 3f6257d7179977a87e6ca79bf69d7e2034102b32 (patch) | |
tree | b3688134e8818147a323cb5d0be4e4b9517e5e08 /plugins-root/Makefile.am | |
parent | ed23bb9c8cdb8503dcad4ce8301ae76305f4c543 (diff) | |
download | monitoring-plugins-3f6257d7179977a87e6ca79bf69d7e2034102b32.tar.gz |
whoops. now using automake conditionals to prevent attempted compiles
of pst3 on non solaris systems.
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1242 f882894a-f735-0410-b71e-b25c423dba1c
Diffstat (limited to 'plugins-root/Makefile.am')
-rw-r--r-- | plugins-root/Makefile.am | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/plugins-root/Makefile.am b/plugins-root/Makefile.am index 81e83774..81679d53 100644 --- a/plugins-root/Makefile.am +++ b/plugins-root/Makefile.am | |||
@@ -9,7 +9,12 @@ localedir = $(datadir)/locale | |||
9 | DEFS = -DLOCALEDIR=\"$(localedir)\" @DEFS@ | 9 | DEFS = -DLOCALEDIR=\"$(localedir)\" @DEFS@ |
10 | LIBS = @LIBINTL@ @LIBS@ @SSLINCLUDE@ | 10 | LIBS = @LIBINTL@ @LIBS@ @SSLINCLUDE@ |
11 | 11 | ||
12 | EXTRA_PROGRAMS = check_dhcp check_icmp pst3 | 12 | EXTRA_PROGRAMS = check_dhcp check_icmp |
13 | |||
14 | if WANT_PST3 | ||
15 | EXTRA_PROGRAMS += pst3 | ||
16 | pst3_DEPENDENCIES = pst3.c | ||
17 | endif | ||
13 | 18 | ||
14 | BASEOBJS = ../plugins/utils.o ../lib/libnagiosplug.a ../lib/libcoreutils.a | 19 | BASEOBJS = ../plugins/utils.o ../lib/libnagiosplug.a ../lib/libcoreutils.a |
15 | NETOBJS = ../plugins/netutils.o $(BASEOBJS) $(EXTRA_NETOBJS) | 20 | NETOBJS = ../plugins/netutils.o $(BASEOBJS) $(EXTRA_NETOBJS) |
@@ -71,4 +76,3 @@ check_icmp_LDADD = $(SOCKETLIBS) | |||
71 | 76 | ||
72 | check_dhcp_DEPENDENCIES = check_dhcp.c $(NETOBJS) $(DEPLIBS) | 77 | check_dhcp_DEPENDENCIES = check_dhcp.c $(NETOBJS) $(DEPLIBS) |
73 | check_icmp_DEPENDENCIES = check_icmp.c | 78 | check_icmp_DEPENDENCIES = check_icmp.c |
74 | pst3_DEPENDENCIES = pst3.c | ||