summaryrefslogtreecommitdiffstats
path: root/rfcomm/Makefile.am
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2008-02-10 05:27:22 +0000
committerMarcel Holtmann <marcel@holtmann.org>2008-02-10 05:27:22 +0000
commitd842176ec218c4417321b22a87fa33d037c84795 (patch)
treedcf4e0073a699e6ac950671a92ccd7add2789698 /rfcomm/Makefile.am
parent9341b13b646e5c4621a0c76a1852a8cc415d92c3 (diff)
Add option for installing generic tools
Diffstat (limited to 'rfcomm/Makefile.am')
-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