aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2018-08-10 12:58:39 +0200
committerPau Espin Pedrol <pespin@sysmocom.de>2018-08-10 13:00:45 +0200
commitb5ae1af602eb26ad1401529a384524b2aa657c6c (patch)
tree4d9312317475e2ab1dc593c6f1c88ded6dc4b579
parent4d4d9ec5c26ad4611fd01ae1b12f712714307343 (diff)
util/Makefile.am: Fix build with builddir neq srcdir
-rw-r--r--util/Makefile.am6
1 files changed, 3 insertions, 3 deletions
diff --git a/util/Makefile.am b/util/Makefile.am
index 9c66ef7..57f7fa6 100644
--- a/util/Makefile.am
+++ b/util/Makefile.am
@@ -1,9 +1,9 @@
-AM_CFLAGS = -I..
-AM_LDFLAGS = -L..
+AM_CFLAGS = -I$(srcdir)/..
+AM_LDFLAGS = -L$(builddir)/..
ipaccess_telnet_SOURCES = telnet-client.c ../libtelnet.h ipaccess-auth.c
ipaccess_telnet_LDADD = ../libtelnet.la -lssl -lcrypto
-ipaccess_telnet_CFLAGS = -DNANO_BTS_CLI_CLIENT -I..
+ipaccess_telnet_CFLAGS = -DNANO_BTS_CLI_CLIENT -I$(srcdir)/..
telnet_client_SOURCES = telnet-client.c ../libtelnet.h
telnet_client_LDADD = ../libtelnet.la