blob: 7e9e1dca7123ae4bd34a07ad28f98e14d3ff4f9d [file] [log] [blame]
Alexander Huemer7b6673f2016-09-09 00:43:15 +02001AM_CPPFLAGS = \
2 $(all_includes) \
3 -I$(top_srcdir)/include \
4 -I$(top_builddir) \
5 $(NULL)
6
7AM_CFLAGS = \
8 -Wall \
9 $(LIBOSMOCORE_CFLAGS) \
10 $(LIBOSMOGSM_CFLAGS) \
11 $(LIBOSMOGSM_CFLAGS) \
12 $(LIBOSMOVTY_CFLAGS) \
13 $(COVERAGE_CFLAGS) \
14 $(NULL)
15
16AM_LDFLAGS = \
17 $(LIBOSMOCORE_LIBS) \
18 $(LIBOSMOGSM_LIBS) \
19 $(COVERAGE_LDFLAGS) \
20 $(NULL)
Harald Weltede729a12008-12-23 21:01:25 +000021
Neels Hofmeyrbfa88782016-05-20 21:38:32 +020022# Libraries
Alexander Huemer7b6673f2016-09-09 00:43:15 +020023SUBDIRS = \
24 libcommon \
Harald Welteb8b85a12016-06-17 00:06:42 +020025 libvlr \
Alexander Huemer7b6673f2016-09-09 00:43:15 +020026 libmgcp \
27 libbsc \
28 libmsc \
29 libtrau \
30 libfilter \
Neels Hofmeyrc69ee852016-05-10 12:50:31 +020031 libcommon-cs \
Alexander Huemer7b6673f2016-09-09 00:43:15 +020032 $(NULL)
Holger Hans Peter Freyther30e1ae92010-07-30 02:53:14 +080033
Neels Hofmeyrbfa88782016-05-20 21:38:32 +020034# Conditional Libraries
35if BUILD_IU
Alexander Huemer7b6673f2016-09-09 00:43:15 +020036SUBDIRS += \
37 libiu \
38 $(NULL)
Neels Hofmeyrbfa88782016-05-20 21:38:32 +020039endif
40
41# Programs
Alexander Huemer7b6673f2016-09-09 00:43:15 +020042SUBDIRS += \
Neels Hofmeyr84da6b12016-05-20 21:59:55 +020043 osmo-msc \
Alexander Huemer7b6673f2016-09-09 00:43:15 +020044 osmo-bsc_mgcp \
45 utils \
46 ipaccess \
47 gprs \
48 $(NULL)
Neels Hofmeyrbfa88782016-05-20 21:38:32 +020049
50# Conditional Programs
Holger Hans Peter Freyther30e1ae92010-07-30 02:53:14 +080051if BUILD_NAT
Alexander Huemer7b6673f2016-09-09 00:43:15 +020052SUBDIRS += \
53 osmo-bsc_nat \
54 $(NULL)
Holger Hans Peter Freyther30e1ae92010-07-30 02:53:14 +080055endif
Alexander Huemer7b6673f2016-09-09 00:43:15 +020056
Holger Hans Peter Freyther30e1ae92010-07-30 02:53:14 +080057if BUILD_BSC
Alexander Huemer7b6673f2016-09-09 00:43:15 +020058SUBDIRS += \
59 osmo-bsc \
60 $(NULL)
Holger Hans Peter Freyther30e1ae92010-07-30 02:53:14 +080061endif