blob: cfad7dfea38b6023cfe573e315d7a9b777567b66 [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 \
25 libmgcp \
26 libbsc \
27 libmsc \
28 libtrau \
29 libfilter \
Neels Hofmeyrc69ee852016-05-10 12:50:31 +020030 libcommon-cs \
Alexander Huemer7b6673f2016-09-09 00:43:15 +020031 $(NULL)
Holger Hans Peter Freyther30e1ae92010-07-30 02:53:14 +080032
Neels Hofmeyrbfa88782016-05-20 21:38:32 +020033# Conditional Libraries
34if BUILD_IU
Alexander Huemer7b6673f2016-09-09 00:43:15 +020035SUBDIRS += \
36 libiu \
37 $(NULL)
Neels Hofmeyrbfa88782016-05-20 21:38:32 +020038endif
39
40# Programs
Alexander Huemer7b6673f2016-09-09 00:43:15 +020041SUBDIRS += \
42 osmo-nitb \
43 osmo-bsc_mgcp \
44 utils \
45 ipaccess \
46 gprs \
47 $(NULL)
Neels Hofmeyrbfa88782016-05-20 21:38:32 +020048
49# Conditional Programs
Holger Hans Peter Freyther30e1ae92010-07-30 02:53:14 +080050if BUILD_NAT
Alexander Huemer7b6673f2016-09-09 00:43:15 +020051SUBDIRS += \
52 osmo-bsc_nat \
53 $(NULL)
Holger Hans Peter Freyther30e1ae92010-07-30 02:53:14 +080054endif
Alexander Huemer7b6673f2016-09-09 00:43:15 +020055
Holger Hans Peter Freyther30e1ae92010-07-30 02:53:14 +080056if BUILD_BSC
Alexander Huemer7b6673f2016-09-09 00:43:15 +020057SUBDIRS += \
58 osmo-bsc \
59 $(NULL)
Holger Hans Peter Freyther30e1ae92010-07-30 02:53:14 +080060endif