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 \ |
Pau Espin Pedrol | 02f2056 | 2020-07-20 16:21:54 +0200 | [diff] [blame] | 51 | $(top_builddir)/src/osmo-bsc/acc.o \ |
Pau Espin Pedrol | 388ed58 | 2020-07-15 20:53:16 +0200 | [diff] [blame] | 52 | $(top_builddir)/src/osmo-bsc/bts.o \ |
Pau Espin Pedrol | aca5320 | 2020-07-16 14:49:36 +0200 | [diff] [blame] | 53 | $(top_builddir)/src/osmo-bsc/bts_trx.o \ |
Neels Hofmeyr | 958f259 | 2018-05-27 01:26:31 +0200 | [diff] [blame] | 54 | $(top_builddir)/src/osmo-bsc/bts_siemens_bs11.o \ |
Pau Espin Pedrol | 6adeb60 | 2020-09-30 12:52:53 +0200 | [diff] [blame] | 55 | $(top_builddir)/src/osmo-bsc/bts_ipaccess_nanobts_omlattr.o \ |
Neels Hofmeyr | 958f259 | 2018-05-27 01:26:31 +0200 | [diff] [blame] | 56 | $(top_builddir)/src/osmo-bsc/e1_config.o \ |
| 57 | $(top_builddir)/src/osmo-bsc/gsm_data.o \ |
| 58 | $(top_builddir)/src/osmo-bsc/net_init.o \ |
Pau Espin Pedrol | 4338de5 | 2020-09-30 12:52:04 +0200 | [diff] [blame] | 59 | $(top_builddir)/src/osmo-bsc/nm_common_fsm.o \ |
| 60 | $(top_builddir)/src/osmo-bsc/nm_bts_sm_fsm.o \ |
Pau Espin Pedrol | 6adeb60 | 2020-09-30 12:52:53 +0200 | [diff] [blame] | 61 | $(top_builddir)/src/osmo-bsc/nm_bts_fsm.o \ |
Pau Espin Pedrol | 95486f2 | 2020-09-30 13:42:04 +0200 | [diff] [blame] | 62 | $(top_builddir)/src/osmo-bsc/nm_bb_transc_fsm.o \ |
Pau Espin Pedrol | d9d105c | 2020-09-30 14:43:09 +0200 | [diff] [blame^] | 63 | $(top_builddir)/src/osmo-bsc/nm_rcarrier_fsm.o \ |
Alexander Huemer | 7b6673f | 2016-09-09 00:43:15 +0200 | [diff] [blame] | 64 | $(LIBOSMOCORE_LIBS) \ |
| 65 | $(LIBOSMOGSM_LIBS) \ |
| 66 | $(LIBOSMOABIS_LIBS) \ |
| 67 | $(NULL) |
Harald Welte | c0de14d | 2012-11-23 23:35:01 +0100 | [diff] [blame] | 68 | |
Alexander Huemer | 7b6673f | 2016-09-09 00:43:15 +0200 | [diff] [blame] | 69 | isdnsync_SOURCES = \ |
| 70 | isdnsync.c \ |
| 71 | $(NULL) |
Harald Welte | b4771a6 | 2012-11-11 10:58:51 +0100 | [diff] [blame] | 72 | |
Alexander Huemer | 7b6673f | 2016-09-09 00:43:15 +0200 | [diff] [blame] | 73 | meas_vis_SOURCES = \ |
| 74 | meas_vis.c \ |
| 75 | $(NULL) |
| 76 | |
| 77 | meas_vis_LDADD = \ |
| 78 | $(LIBOSMOCORE_LIBS) \ |
| 79 | $(LIBOSMOGSM_LIBS) \ |
| 80 | -lcdk \ |
| 81 | -lncurses \ |
| 82 | $(NULL) |
| 83 | |
| 84 | meas_vis_CFLAGS = \ |
| 85 | $(LIBOSMOCORE_CFLAGS) \ |
| 86 | $(LIBOSMOGSM_CFLAGS) \ |
| 87 | $(NULL) |
| 88 | |
| 89 | osmo_meas_pcap2db_SOURCES = \ |
| 90 | meas_pcap2db.c \ |
| 91 | meas_db.c \ |
| 92 | $(NULL) |
| 93 | |
| 94 | osmo_meas_pcap2db_LDADD = \ |
| 95 | $(LIBOSMOCORE_LIBS) \ |
| 96 | $(LIBOSMOGSM_LIBS) \ |
| 97 | $(SQLITE3_LIBS) \ |
| 98 | -lpcap \ |
| 99 | $(NULL) |
| 100 | |
| 101 | osmo_meas_pcap2db_CFLAGS = \ |
| 102 | $(LIBOSMOCORE_CFLAGS) \ |
| 103 | $(LIBOSMOGSM_CFLAGS) \ |
Alexander Huemer | 5265bea | 2017-05-15 20:42:47 +0200 | [diff] [blame] | 104 | $(LIBOSMOABIS_CFLAGS) \ |
Alexander Huemer | 7b6673f | 2016-09-09 00:43:15 +0200 | [diff] [blame] | 105 | $(NULL) |
| 106 | |
| 107 | osmo_meas_udp2db_SOURCES = \ |
| 108 | meas_udp2db.c \ |
| 109 | meas_db.c \ |
| 110 | $(NULL) |
| 111 | |
| 112 | osmo_meas_udp2db_LDADD = \ |
| 113 | $(LIBOSMOCORE_LIBS) \ |
| 114 | $(LIBOSMOGSM_LIBS) \ |
| 115 | $(SQLITE3_LIBS) \ |
| 116 | $(NULL) |
| 117 | |
| 118 | osmo_meas_udp2db_CFLAGS = \ |
| 119 | $(LIBOSMOCORE_CFLAGS) \ |
| 120 | $(LIBOSMOGSM_CFLAGS) \ |
Alexander Huemer | 5265bea | 2017-05-15 20:42:47 +0200 | [diff] [blame] | 121 | $(LIBOSMOABIS_CFLAGS) \ |
Alexander Huemer | 7b6673f | 2016-09-09 00:43:15 +0200 | [diff] [blame] | 122 | $(NULL) |
Alexander Chemeris | c634063 | 2015-06-10 18:55:28 -0400 | [diff] [blame] | 123 | |
| 124 | meas_json_SOURCES = \ |
| 125 | meas_json.c \ |
| 126 | $(NULL) |
| 127 | |
| 128 | meas_json_LDADD = \ |
Pau Espin Pedrol | aca5320 | 2020-07-16 14:49:36 +0200 | [diff] [blame] | 129 | $(top_builddir)/src/osmo-bsc/abis_nm.o \ |
Pau Espin Pedrol | 02f2056 | 2020-07-20 16:21:54 +0200 | [diff] [blame] | 130 | $(top_builddir)/src/osmo-bsc/acc.o \ |
Pau Espin Pedrol | 388ed58 | 2020-07-15 20:53:16 +0200 | [diff] [blame] | 131 | $(top_builddir)/src/osmo-bsc/bts.o \ |
Pau Espin Pedrol | 6adeb60 | 2020-09-30 12:52:53 +0200 | [diff] [blame] | 132 | $(top_builddir)/src/osmo-bsc/bts_ipaccess_nanobts_omlattr.o \ |
Pau Espin Pedrol | aca5320 | 2020-07-16 14:49:36 +0200 | [diff] [blame] | 133 | $(top_builddir)/src/osmo-bsc/bts_trx.o \ |
Neels Hofmeyr | 958f259 | 2018-05-27 01:26:31 +0200 | [diff] [blame] | 134 | $(top_builddir)/src/osmo-bsc/gsm_data.o \ |
Pau Espin Pedrol | 4338de5 | 2020-09-30 12:52:04 +0200 | [diff] [blame] | 135 | $(top_builddir)/src/osmo-bsc/nm_common_fsm.o \ |
| 136 | $(top_builddir)/src/osmo-bsc/nm_bts_sm_fsm.o \ |
Pau Espin Pedrol | 6adeb60 | 2020-09-30 12:52:53 +0200 | [diff] [blame] | 137 | $(top_builddir)/src/osmo-bsc/nm_bts_fsm.o \ |
Pau Espin Pedrol | 95486f2 | 2020-09-30 13:42:04 +0200 | [diff] [blame] | 138 | $(top_builddir)/src/osmo-bsc/nm_bb_transc_fsm.o \ |
Pau Espin Pedrol | d9d105c | 2020-09-30 14:43:09 +0200 | [diff] [blame^] | 139 | $(top_builddir)/src/osmo-bsc/nm_rcarrier_fsm.o \ |
Alexander Chemeris | c634063 | 2015-06-10 18:55:28 -0400 | [diff] [blame] | 140 | $(LIBOSMOCORE_LIBS) \ |
| 141 | $(LIBOSMOGSM_LIBS) \ |
Neels Hofmeyr | 958f259 | 2018-05-27 01:26:31 +0200 | [diff] [blame] | 142 | $(LIBOSMOABIS_LIBS) \ |
Alexander Chemeris | c634063 | 2015-06-10 18:55:28 -0400 | [diff] [blame] | 143 | $(NULL) |
| 144 | |
| 145 | meas_json_CFLAGS = \ |
| 146 | $(LIBOSMOCORE_CFLAGS) \ |
| 147 | $(LIBOSMOGSM_CFLAGS) \ |
Alexander Huemer | 5265bea | 2017-05-15 20:42:47 +0200 | [diff] [blame] | 148 | $(LIBOSMOABIS_CFLAGS) \ |
Alexander Chemeris | c634063 | 2015-06-10 18:55:28 -0400 | [diff] [blame] | 149 | $(NULL) |