blob: c5c8a21da393a8ae2dea385540ef6d934aaca15b [file] [log] [blame]
Pablo Neira Ayusofba495e2011-03-23 18:08:08 +01001SUBDIRS=. vty codec gsm
Harald Welte3fb0b6f2010-05-19 19:02:52 +02002
Harald Welte3cae0392010-02-20 21:09:24 +01003# 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
5LIBVERSION=0:0:0
6
7INCLUDES = $(all_includes) -I$(top_srcdir)/include
8AM_CFLAGS = -fPIC -Wall
9
10lib_LTLIBRARIES = libosmocore.la
11
Pablo Neira Ayusofba495e2011-03-23 18:08:08 +010012libosmocore_la_SOURCES = timer.c select.c signal.c msgb.c bits.c \
13 bitvec.c statistics.c \
14 write_queue.c utils.c \
15 logging.c logging_syslog.c rate_ctr.c \
16 gsmtap_util.c crc16.c panic.c backtrace.c \
17 process.c
Harald Welteb9ce51c2010-06-30 19:43:11 +020018
19if ENABLE_PLUGIN
20libosmocore_la_SOURCES += plugin.c
21libosmocore_la_LDFLAGS = -ldl
22endif
Harald Weltecbb29f72010-03-07 20:24:30 +010023
24if ENABLE_TALLOC
25libosmocore_la_SOURCES += talloc.c
26endif
Holger Hans Peter Freytherc87f2662010-10-07 00:00:15 +080027
28if ENABLE_MSGFILE
29libosmocore_la_SOURCES += msgfile.c
30endif