Alexander Huemer | 7b6673f | 2016-09-09 00:43:15 +0200 | [diff] [blame] | 1 | AM_CPPFLAGS = \ |
2 | $(all_includes) \ | ||||
3 | -I$(top_srcdir)/include \ | ||||
4 | -I$(top_builddir) \ | ||||
5 | $(NULL) | ||||
Harald Welte | 31c00f7 | 2011-03-03 23:29:05 +0100 | [diff] [blame] | 6 | |
Alexander Huemer | 7b6673f | 2016-09-09 00:43:15 +0200 | [diff] [blame] | 7 | AM_CFLAGS = \ |
8 | -Wall \ | ||||
9 | $(LIBOSMOCORE_CFLAGS) \ | ||||
10 | $(LIBOSMOGSM_CFLAGS) \ | ||||
Alexander Huemer | 7b6673f | 2016-09-09 00:43:15 +0200 | [diff] [blame] | 11 | $(LIBOSMOABIS_CFLAGS) \ |
12 | $(COVERAGE_CFLAGS) \ | ||||
13 | $(SQLITE3_CFLAGS) \ | ||||
Philipp Maier | 200f5b9 | 2018-03-22 19:38:17 +0100 | [diff] [blame^] | 14 | $(LIBOSMOSIGTRAN_CFLAGS) \ |
15 | $(LIBOSMOMGCPCLIENT_CFLAGS) \ | ||||
Alexander Huemer | 7b6673f | 2016-09-09 00:43:15 +0200 | [diff] [blame] | 16 | $(NULL) |
Harald Welte | dc9b4e9 | 2012-11-15 00:12:56 +0100 | [diff] [blame] | 17 | |
Alexander Huemer | 7b6673f | 2016-09-09 00:43:15 +0200 | [diff] [blame] | 18 | AM_LDFLAGS = \ |
19 | $(COVERAGE_LDFLAGS) \ | ||||
20 | $(NULL) | ||||
21 | |||||
22 | noinst_HEADERS = \ | ||||
23 | meas_db.h \ | ||||
24 | $(NULL) | ||||
25 | |||||
26 | bin_PROGRAMS = \ | ||||
Philipp Maier | 200f5b9 | 2018-03-22 19:38:17 +0100 | [diff] [blame^] | 27 | bs11_config \ |
Alexander Huemer | 7b6673f | 2016-09-09 00:43:15 +0200 | [diff] [blame] | 28 | isdnsync \ |
Alexander Chemeris | c634063 | 2015-06-10 18:55:28 -0400 | [diff] [blame] | 29 | meas_json \ |
Alexander Huemer | 7b6673f | 2016-09-09 00:43:15 +0200 | [diff] [blame] | 30 | $(NULL) |
Holger Hans Peter Freyther | bb06eb9 | 2015-01-10 09:51:31 +0100 | [diff] [blame] | 31 | if HAVE_SQLITE3 |
Alexander Huemer | 7b6673f | 2016-09-09 00:43:15 +0200 | [diff] [blame] | 32 | bin_PROGRAMS += \ |
Alexander Huemer | 7b6673f | 2016-09-09 00:43:15 +0200 | [diff] [blame] | 33 | osmo-meas-udp2db \ |
34 | $(NULL) | ||||
Max | 7bb383a | 2017-05-02 12:59:15 +0200 | [diff] [blame] | 35 | if HAVE_PCAP |
36 | bin_PROGRAMS += \ | ||||
37 | osmo-meas-pcap2db \ | ||||
38 | $(NULL) | ||||
39 | endif | ||||
Holger Hans Peter Freyther | bb06eb9 | 2015-01-10 09:51:31 +0100 | [diff] [blame] | 40 | endif |
Harald Welte | 7465e4c | 2012-11-13 07:06:54 +0100 | [diff] [blame] | 41 | if HAVE_LIBCDK |
Alexander Huemer | 7b6673f | 2016-09-09 00:43:15 +0200 | [diff] [blame] | 42 | bin_PROGRAMS += \ |
43 | meas_vis \ | ||||
44 | $(NULL) | ||||
Harald Welte | 7465e4c | 2012-11-13 07:06:54 +0100 | [diff] [blame] | 45 | endif |
Harald Welte | 31c00f7 | 2011-03-03 23:29:05 +0100 | [diff] [blame] | 46 | |
Alexander Huemer | 7b6673f | 2016-09-09 00:43:15 +0200 | [diff] [blame] | 47 | bs11_config_SOURCES = \ |
48 | bs11_config.c \ | ||||
49 | $(NULL) | ||||
Harald Welte | 31c00f7 | 2011-03-03 23:29:05 +0100 | [diff] [blame] | 50 | |
Alexander Huemer | 7b6673f | 2016-09-09 00:43:15 +0200 | [diff] [blame] | 51 | bs11_config_LDADD = \ |
52 | $(top_builddir)/src/libbsc/libbsc.a \ | ||||
Alexander Huemer | 7b6673f | 2016-09-09 00:43:15 +0200 | [diff] [blame] | 53 | $(LIBOSMOCORE_LIBS) \ |
54 | $(LIBOSMOGSM_LIBS) \ | ||||
55 | $(LIBOSMOABIS_LIBS) \ | ||||
Philipp Maier | 200f5b9 | 2018-03-22 19:38:17 +0100 | [diff] [blame^] | 56 | $(LIBOSMOSIGTRAN_LIBS) \ |
57 | $(LIBOSMOMGCPCLIENT_LIBS) \ | ||||
Alexander Huemer | 7b6673f | 2016-09-09 00:43:15 +0200 | [diff] [blame] | 58 | $(NULL) |
Harald Welte | c0de14d | 2012-11-23 23:35:01 +0100 | [diff] [blame] | 59 | |
Alexander Huemer | 7b6673f | 2016-09-09 00:43:15 +0200 | [diff] [blame] | 60 | isdnsync_SOURCES = \ |
61 | isdnsync.c \ | ||||
62 | $(NULL) | ||||
Harald Welte | b4771a6 | 2012-11-11 10:58:51 +0100 | [diff] [blame] | 63 | |
Alexander Huemer | 7b6673f | 2016-09-09 00:43:15 +0200 | [diff] [blame] | 64 | meas_vis_SOURCES = \ |
65 | meas_vis.c \ | ||||
66 | $(NULL) | ||||
67 | |||||
68 | meas_vis_LDADD = \ | ||||
69 | $(LIBOSMOCORE_LIBS) \ | ||||
70 | $(LIBOSMOGSM_LIBS) \ | ||||
71 | -lcdk \ | ||||
72 | -lncurses \ | ||||
73 | $(NULL) | ||||
74 | |||||
75 | meas_vis_CFLAGS = \ | ||||
76 | $(LIBOSMOCORE_CFLAGS) \ | ||||
77 | $(LIBOSMOGSM_CFLAGS) \ | ||||
78 | $(NULL) | ||||
79 | |||||
80 | osmo_meas_pcap2db_SOURCES = \ | ||||
81 | meas_pcap2db.c \ | ||||
82 | meas_db.c \ | ||||
83 | $(NULL) | ||||
84 | |||||
85 | osmo_meas_pcap2db_LDADD = \ | ||||
86 | $(LIBOSMOCORE_LIBS) \ | ||||
87 | $(LIBOSMOGSM_LIBS) \ | ||||
88 | $(SQLITE3_LIBS) \ | ||||
89 | -lpcap \ | ||||
90 | $(NULL) | ||||
91 | |||||
92 | osmo_meas_pcap2db_CFLAGS = \ | ||||
93 | $(LIBOSMOCORE_CFLAGS) \ | ||||
94 | $(LIBOSMOGSM_CFLAGS) \ | ||||
Alexander Huemer | 5265bea | 2017-05-15 20:42:47 +0200 | [diff] [blame] | 95 | $(LIBOSMOABIS_CFLAGS) \ |
Alexander Huemer | 7b6673f | 2016-09-09 00:43:15 +0200 | [diff] [blame] | 96 | $(NULL) |
97 | |||||
98 | osmo_meas_udp2db_SOURCES = \ | ||||
99 | meas_udp2db.c \ | ||||
100 | meas_db.c \ | ||||
101 | $(NULL) | ||||
102 | |||||
103 | osmo_meas_udp2db_LDADD = \ | ||||
104 | $(LIBOSMOCORE_LIBS) \ | ||||
105 | $(LIBOSMOGSM_LIBS) \ | ||||
106 | $(SQLITE3_LIBS) \ | ||||
107 | $(NULL) | ||||
108 | |||||
109 | osmo_meas_udp2db_CFLAGS = \ | ||||
110 | $(LIBOSMOCORE_CFLAGS) \ | ||||
111 | $(LIBOSMOGSM_CFLAGS) \ | ||||
Alexander Huemer | 5265bea | 2017-05-15 20:42:47 +0200 | [diff] [blame] | 112 | $(LIBOSMOABIS_CFLAGS) \ |
Alexander Huemer | 7b6673f | 2016-09-09 00:43:15 +0200 | [diff] [blame] | 113 | $(NULL) |
Alexander Chemeris | c634063 | 2015-06-10 18:55:28 -0400 | [diff] [blame] | 114 | |
115 | meas_json_SOURCES = \ | ||||
116 | meas_json.c \ | ||||
117 | $(NULL) | ||||
118 | |||||
119 | meas_json_LDADD = \ | ||||
Neels Hofmeyr | 421059a | 2018-02-13 23:23:51 +0100 | [diff] [blame] | 120 | $(top_builddir)/src/libbsc/libbsc.a \ |
Alexander Chemeris | c634063 | 2015-06-10 18:55:28 -0400 | [diff] [blame] | 121 | $(LIBOSMOCORE_LIBS) \ |
122 | $(LIBOSMOGSM_LIBS) \ | ||||
123 | $(NULL) | ||||
124 | |||||
125 | meas_json_CFLAGS = \ | ||||
126 | $(LIBOSMOCORE_CFLAGS) \ | ||||
127 | $(LIBOSMOGSM_CFLAGS) \ | ||||
Alexander Huemer | 5265bea | 2017-05-15 20:42:47 +0200 | [diff] [blame] | 128 | $(LIBOSMOABIS_CFLAGS) \ |
Alexander Chemeris | c634063 | 2015-06-10 18:55:28 -0400 | [diff] [blame] | 129 | $(NULL) |
130 |