summaryrefslogtreecommitdiff
path: root/dhcpctl/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'dhcpctl/Makefile.am')
-rw-r--r--dhcpctl/Makefile.am10
1 files changed, 6 insertions, 4 deletions
diff --git a/dhcpctl/Makefile.am b/dhcpctl/Makefile.am
index dfa47095..ceb0de12 100644
--- a/dhcpctl/Makefile.am
+++ b/dhcpctl/Makefile.am
@@ -1,3 +1,5 @@
+BINDLIBDIR = @BINDDIR@/lib
+
bin_PROGRAMS = omshell
lib_LIBRARIES = libdhcpctl.a
noinst_PROGRAMS = cltest
@@ -6,12 +8,12 @@ EXTRA_DIST = $(man_MANS)
omshell_SOURCES = omshell.c
omshell_LDADD = libdhcpctl.a ../common/libdhcp.a ../omapip/libomapi.a \
- ../bind/lib/libirs.a ../bind/lib/libdns.a \
- ../bind/lib/libisccfg.a ../bind/lib/libisc.a
+ $(BINDLIBDIR)/libirs.a $(BINDLIBDIR)/libdns.a \
+ $(BINDLIBDIR)/libisccfg.a $(BINDLIBDIR)/libisc.a
libdhcpctl_a_SOURCES = dhcpctl.c callback.c remote.c
cltest_SOURCES = cltest.c
cltest_LDADD = libdhcpctl.a ../common/libdhcp.a ../omapip/libomapi.a \
- ../bind/lib/libirs.a ../bind/lib/libdns.a \
- ../bind/lib/libisccfg.a ../bind/lib/libisc.a
+ $(BINDLIBDIR)/libirs.a $(BINDLIBDIR)/libdns.a \
+ $(BINDLIBDIR)/libisccfg.a $(BINDLIBDIR)/libisc.a