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