diff options
author | Harald Welte <laforge@gnumonks.org> | 2014-08-20 19:58:40 +0200 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2014-08-21 15:34:18 +0200 |
commit | 3ff81b1a6b830d16803f3fc7356e9fd71162b6c6 (patch) | |
tree | c4c07ba874e41a6e172b80023943b9df383fe116 /src | |
parent | 7fd0c830d968e67be555bd1aeabced4cc5e08061 (diff) |
libctrl: autotools build system integration
Now we actually build the recently-imported libctrl
Diffstat (limited to 'src')
-rw-r--r-- | src/ctrl/Makefile.am | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/src/ctrl/Makefile.am b/src/ctrl/Makefile.am index 4f039c82..29a8ee23 100644 --- a/src/ctrl/Makefile.am +++ b/src/ctrl/Makefile.am @@ -1,7 +1,12 @@ -AM_CPPFLAGS = $(all_includes) -I$(top_srcdir)/include -I$(top_builddir) -AM_CFLAGS=-Wall $(LIBOSMOCORE_CFLAGS) $(LIBOSMOVTY_CFLAGS) $(LIBOSMOABIS_CFLAGS) $(COVERAGE_CFLAGS) -AM_LDFLAGS = $(LIBOSMOCORE_LIBS) $(LIBOSMOABIS_LIBS) $(COVERAGE_LDFLAGS) +# This is _NOT_ the library release version, it's an API version. +# Please read Chapter 6 "Library interface versions" of the libtool documentation before making any modification +LIBVERSION=0:0:0 -noinst_LIBRARIES = libctrl.a +AM_CFLAGS = -Wall $(all_includes) -I$(top_srcdir)/include -libctrl_a_SOURCES = control_if.c control_cmd.c +lib_LTLIBRARIES = libosmoctrl.la + +libosmoctrl_la_SOURCES = control_cmd.c control_if.c + +libosmoctrl_la_LDFLAGS = $(LTLDFLAGS_OSMOCTRL) -version-info $(LIBVERSION) -no-undefined +libosmoctrl_la_LIBADD = $(top_builddir)/src/libosmocore.la |