summaryrefslogtreecommitdiffstats
path: root/src/ctrl
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2017-01-15 17:52:30 +0100
committerHarald Welte <laforge@gnumonks.org>2017-01-15 18:04:02 +0100
commit1c67e754b8e5bd25f966152d9bca347dbc75ec4e (patch)
tree1c1737c1a92254fa82163472ba186d00a8dca6ac /src/ctrl
parent2f0b0c955b4031a9dd95829322455cf883d40f53 (diff)
configure.ac: Introduce --disable-ctrl
Using --disable-ctrl, one can disable the building of libosmoctrl. The 'embedded' target will also automaticall disable ctrl. Change-Id: I6912396338c5b23ae860fef2a55854d6df9a579d
Diffstat (limited to 'src/ctrl')
-rw-r--r--src/ctrl/Makefile.am3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/ctrl/Makefile.am b/src/ctrl/Makefile.am
index 8bf34429..1817caca 100644
--- a/src/ctrl/Makefile.am
+++ b/src/ctrl/Makefile.am
@@ -5,6 +5,7 @@ LIBVERSION=0:0:0
AM_CFLAGS = -Wall $(all_includes) -I$(top_srcdir)/include -I$(top_builddir)/include $(TALLOC_CFLAGS)
+if ENABLE_CTRL
lib_LTLIBRARIES = libosmoctrl.la
libosmoctrl_la_SOURCES = control_cmd.c control_if.c
@@ -18,3 +19,5 @@ libosmoctrl_la_LIBADD = \
if ENABLE_VTY
libosmoctrl_la_SOURCES += control_vty.c
endif
+
+endif