summaryrefslogtreecommitdiffstats
path: root/rfcomm
diff options
context:
space:
mode:
Diffstat (limited to 'rfcomm')
-rw-r--r--rfcomm/Makefile.am5
1 files changed, 5 insertions, 0 deletions
diff --git a/rfcomm/Makefile.am b/rfcomm/Makefile.am
index 5eec05e8..9baa8e67 100644
--- a/rfcomm/Makefile.am
+++ b/rfcomm/Makefile.am
@@ -1,4 +1,5 @@
+if TOOLS
if CONFIGFILES
confdir = $(sysconfdir)/bluetooth
@@ -8,7 +9,9 @@ endif
bin_PROGRAMS = rfcomm
rfcomm_SOURCES = main.c parser.h parser.y lexer.l kword.h kword.c
+
rfcomm_LDADD = @BLUEZ_LIBS@
+endif
AM_CFLAGS = @BLUEZ_CFLAGS@
@@ -16,9 +19,11 @@ INCLUDES = -I$(top_srcdir)/common
BUILT_SOURCES = parser.h
+if TOOLS
if MANPAGES
man_MANS = rfcomm.1
endif
+endif
AM_YFLAGS = -d