blob: 6e21ccc7868173cd58b91858c28fa0efb3172c2d [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)
Harald Welte31c00f72011-03-03 23:29:05 +01006
Alexander Huemer7b6673f2016-09-09 00:43:15 +02007AM_CFLAGS = \
8 -Wall \
9 $(LIBOSMOCORE_CFLAGS) \
10 $(LIBOSMOGSM_CFLAGS) \
Alexander Huemer7b6673f2016-09-09 00:43:15 +020011 $(LIBOSMOABIS_CFLAGS) \
12 $(COVERAGE_CFLAGS) \
13 $(SQLITE3_CFLAGS) \
Philipp Maier200f5b92018-03-22 19:38:17 +010014 $(LIBOSMOSIGTRAN_CFLAGS) \
15 $(LIBOSMOMGCPCLIENT_CFLAGS) \
Alexander Huemer7b6673f2016-09-09 00:43:15 +020016 $(NULL)
Harald Weltedc9b4e92012-11-15 00:12:56 +010017
Alexander Huemer7b6673f2016-09-09 00:43:15 +020018AM_LDFLAGS = \
19 $(COVERAGE_LDFLAGS) \
20 $(NULL)
21
22noinst_HEADERS = \
23 meas_db.h \
24 $(NULL)
25
26bin_PROGRAMS = \
Philipp Maier200f5b92018-03-22 19:38:17 +010027 bs11_config \
Alexander Huemer7b6673f2016-09-09 00:43:15 +020028 isdnsync \
Alexander Chemerisc6340632015-06-10 18:55:28 -040029 meas_json \
Alexander Huemer7b6673f2016-09-09 00:43:15 +020030 $(NULL)
Holger Hans Peter Freytherbb06eb92015-01-10 09:51:31 +010031if HAVE_SQLITE3
Alexander Huemer7b6673f2016-09-09 00:43:15 +020032bin_PROGRAMS += \
Alexander Huemer7b6673f2016-09-09 00:43:15 +020033 osmo-meas-udp2db \
34 $(NULL)
Max7bb383a2017-05-02 12:59:15 +020035if HAVE_PCAP
36bin_PROGRAMS += \
37 osmo-meas-pcap2db \
38 $(NULL)
39endif
Holger Hans Peter Freytherbb06eb92015-01-10 09:51:31 +010040endif
Harald Welte7465e4c2012-11-13 07:06:54 +010041if HAVE_LIBCDK
Alexander Huemer7b6673f2016-09-09 00:43:15 +020042bin_PROGRAMS += \
43 meas_vis \
44 $(NULL)
Harald Welte7465e4c2012-11-13 07:06:54 +010045endif
Harald Welte31c00f72011-03-03 23:29:05 +010046
Alexander Huemer7b6673f2016-09-09 00:43:15 +020047bs11_config_SOURCES = \
48 bs11_config.c \
49 $(NULL)
Harald Welte31c00f72011-03-03 23:29:05 +010050
Alexander Huemer7b6673f2016-09-09 00:43:15 +020051bs11_config_LDADD = \
52 $(top_builddir)/src/libbsc/libbsc.a \
Alexander Huemer7b6673f2016-09-09 00:43:15 +020053 $(LIBOSMOCORE_LIBS) \
54 $(LIBOSMOGSM_LIBS) \
55 $(LIBOSMOABIS_LIBS) \
Philipp Maier200f5b92018-03-22 19:38:17 +010056 $(LIBOSMOSIGTRAN_LIBS) \
57 $(LIBOSMOMGCPCLIENT_LIBS) \
Alexander Huemer7b6673f2016-09-09 00:43:15 +020058 $(NULL)
Harald Weltec0de14d2012-11-23 23:35:01 +010059
Alexander Huemer7b6673f2016-09-09 00:43:15 +020060isdnsync_SOURCES = \
61 isdnsync.c \
62 $(NULL)
Harald Welteb4771a62012-11-11 10:58:51 +010063
Alexander Huemer7b6673f2016-09-09 00:43:15 +020064meas_vis_SOURCES = \
65 meas_vis.c \
66 $(NULL)
67
68meas_vis_LDADD = \
69 $(LIBOSMOCORE_LIBS) \
70 $(LIBOSMOGSM_LIBS) \
71 -lcdk \
72 -lncurses \
73 $(NULL)
74
75meas_vis_CFLAGS = \
76 $(LIBOSMOCORE_CFLAGS) \
77 $(LIBOSMOGSM_CFLAGS) \
78 $(NULL)
79
80osmo_meas_pcap2db_SOURCES = \
81 meas_pcap2db.c \
82 meas_db.c \
83 $(NULL)
84
85osmo_meas_pcap2db_LDADD = \
86 $(LIBOSMOCORE_LIBS) \
87 $(LIBOSMOGSM_LIBS) \
88 $(SQLITE3_LIBS) \
89 -lpcap \
90 $(NULL)
91
92osmo_meas_pcap2db_CFLAGS = \
93 $(LIBOSMOCORE_CFLAGS) \
94 $(LIBOSMOGSM_CFLAGS) \
Alexander Huemer5265bea2017-05-15 20:42:47 +020095 $(LIBOSMOABIS_CFLAGS) \
Alexander Huemer7b6673f2016-09-09 00:43:15 +020096 $(NULL)
97
98osmo_meas_udp2db_SOURCES = \
99 meas_udp2db.c \
100 meas_db.c \
101 $(NULL)
102
103osmo_meas_udp2db_LDADD = \
104 $(LIBOSMOCORE_LIBS) \
105 $(LIBOSMOGSM_LIBS) \
106 $(SQLITE3_LIBS) \
107 $(NULL)
108
109osmo_meas_udp2db_CFLAGS = \
110 $(LIBOSMOCORE_CFLAGS) \
111 $(LIBOSMOGSM_CFLAGS) \
Alexander Huemer5265bea2017-05-15 20:42:47 +0200112 $(LIBOSMOABIS_CFLAGS) \
Alexander Huemer7b6673f2016-09-09 00:43:15 +0200113 $(NULL)
Alexander Chemerisc6340632015-06-10 18:55:28 -0400114
115meas_json_SOURCES = \
116 meas_json.c \
117 $(NULL)
118
119meas_json_LDADD = \
Neels Hofmeyr421059a2018-02-13 23:23:51 +0100120 $(top_builddir)/src/libbsc/libbsc.a \
Alexander Chemerisc6340632015-06-10 18:55:28 -0400121 $(LIBOSMOCORE_LIBS) \
122 $(LIBOSMOGSM_LIBS) \
123 $(NULL)
124
125meas_json_CFLAGS = \
126 $(LIBOSMOCORE_CFLAGS) \
127 $(LIBOSMOGSM_CFLAGS) \
Alexander Huemer5265bea2017-05-15 20:42:47 +0200128 $(LIBOSMOABIS_CFLAGS) \
Alexander Chemerisc6340632015-06-10 18:55:28 -0400129 $(NULL)
130