Add support for plugins (and specifically GPRS encryption plugins)
[osmocom-bb.git] / src / Makefile.am
1 SUBDIRS=vty
2
3 # This is _NOT_ the library release version, it's an API version.
4 # Please read Chapter 6 "Library interface versions" of the libtool documentation before making any modification
5 LIBVERSION=0:0:0
6
7 INCLUDES = $(all_includes) -I$(top_srcdir)/include
8 AM_CFLAGS = -fPIC -Wall
9
10 lib_LTLIBRARIES = libosmocore.la
11
12 libosmocore_la_SOURCES = timer.c select.c signal.c msgb.c rxlev_stat.c \
13                          tlv_parser.c bitvec.c comp128.c gsm_utils.c statistics.c \
14                          write_queue.c utils.c rsl.c gsm48.c gsm48_ie.c \
15                          logging.c gsm0808.c rate_ctr.c gsmtap_util.c \
16                          gprs_cipher_core.c
17
18 if ENABLE_PLUGIN
19 libosmocore_la_SOURCES += plugin.c
20 libosmocore_la_LDFLAGS = -ldl
21 endif
22
23 if ENABLE_TALLOC
24 libosmocore_la_SOURCES += talloc.c
25 endif