Merge commit 'dc0ebdfbdf3b1a381754c6ef4a59b0354eba7705'
[osmocom-bb.git] / src / shared / libosmocore / src / Makefile.am
1 SUBDIRS=. vty codec
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 crc16.c panic.c process.c gsm0480.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
26
27 if ENABLE_MSGFILE
28 libosmocore_la_SOURCES += msgfile.c
29 endif