Alexander Huemer | 7477d71 | 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 | 4f272cc | 2011-03-03 23:29:05 +0100 | [diff] [blame] | 6 | |
Alexander Huemer | 7477d71 | 2016-09-09 00:43:15 +0200 | [diff] [blame^] | 7 | AM_CFLAGS = \ |
| 8 | -Wall \ |
| 9 | $(LIBOSMOCORE_CFLAGS) \ |
| 10 | $(LIBOSMOGSM_CFLAGS) \ |
| 11 | $(LIBOSMOVTY_CFLAGS) \ |
| 12 | $(LIBOSMOABIS_CFLAGS) \ |
| 13 | $(COVERAGE_CFLAGS) \ |
| 14 | $(SQLITE3_CFLAGS) \ |
| 15 | $(LIBSMPP34_CFLAGS) \ |
| 16 | $(NULL) |
Harald Welte | b3487b1 | 2012-11-15 00:12:56 +0100 | [diff] [blame] | 17 | |
Alexander Huemer | 7477d71 | 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 = \ |
| 27 | bs11_config \ |
| 28 | isdnsync \ |
| 29 | $(NULL) |
Holger Hans Peter Freyther | c914585 | 2015-01-10 09:51:31 +0100 | [diff] [blame] | 30 | if HAVE_SQLITE3 |
Alexander Huemer | 7477d71 | 2016-09-09 00:43:15 +0200 | [diff] [blame^] | 31 | bin_PROGRAMS += \ |
| 32 | osmo-meas-pcap2db \ |
| 33 | osmo-meas-udp2db \ |
| 34 | $(NULL) |
Holger Hans Peter Freyther | c914585 | 2015-01-10 09:51:31 +0100 | [diff] [blame] | 35 | endif |
Harald Welte | ec83de5 | 2012-11-13 07:06:54 +0100 | [diff] [blame] | 36 | if HAVE_LIBCDK |
Alexander Huemer | 7477d71 | 2016-09-09 00:43:15 +0200 | [diff] [blame^] | 37 | bin_PROGRAMS += \ |
| 38 | meas_vis \ |
| 39 | $(NULL) |
Harald Welte | ec83de5 | 2012-11-13 07:06:54 +0100 | [diff] [blame] | 40 | endif |
Harald Welte | 4f272cc | 2011-03-03 23:29:05 +0100 | [diff] [blame] | 41 | |
Harald Welte | fde4916 | 2012-11-23 23:35:01 +0100 | [diff] [blame] | 42 | if BUILD_SMPP |
Alexander Huemer | 7477d71 | 2016-09-09 00:43:15 +0200 | [diff] [blame^] | 43 | noinst_PROGRAMS = \ |
| 44 | smpp_mirror \ |
| 45 | $(NULL) |
Harald Welte | fde4916 | 2012-11-23 23:35:01 +0100 | [diff] [blame] | 46 | endif |
| 47 | |
Alexander Huemer | 7477d71 | 2016-09-09 00:43:15 +0200 | [diff] [blame^] | 48 | bs11_config_SOURCES = \ |
| 49 | bs11_config.c \ |
| 50 | $(NULL) |
Harald Welte | 4f272cc | 2011-03-03 23:29:05 +0100 | [diff] [blame] | 51 | |
Alexander Huemer | 7477d71 | 2016-09-09 00:43:15 +0200 | [diff] [blame^] | 52 | bs11_config_LDADD = \ |
| 53 | $(top_builddir)/src/libbsc/libbsc.a \ |
| 54 | $(top_builddir)/src/libtrau/libtrau.a \ |
| 55 | $(top_builddir)/src/libcommon/libcommon.a \ |
| 56 | $(LIBOSMOCORE_LIBS) \ |
| 57 | $(LIBOSMOGSM_LIBS) \ |
| 58 | $(LIBOSMOABIS_LIBS) \ |
| 59 | $(NULL) |
Harald Welte | fde4916 | 2012-11-23 23:35:01 +0100 | [diff] [blame] | 60 | |
Alexander Huemer | 7477d71 | 2016-09-09 00:43:15 +0200 | [diff] [blame^] | 61 | isdnsync_SOURCES = \ |
| 62 | isdnsync.c \ |
| 63 | $(NULL) |
Harald Welte | d597317 | 2012-11-11 10:58:51 +0100 | [diff] [blame] | 64 | |
Alexander Huemer | 7477d71 | 2016-09-09 00:43:15 +0200 | [diff] [blame^] | 65 | smpp_mirror_SOURCES = \ |
| 66 | smpp_mirror.c \ |
| 67 | $(NULL) |
Harald Welte | b3487b1 | 2012-11-15 00:12:56 +0100 | [diff] [blame] | 68 | |
Alexander Huemer | 7477d71 | 2016-09-09 00:43:15 +0200 | [diff] [blame^] | 69 | smpp_mirror_LDADD = \ |
| 70 | $(top_builddir)/src/libcommon/libcommon.a \ |
| 71 | $(LIBOSMOCORE_LIBS) \ |
| 72 | $(LIBOSMOGSM_LIBS) \ |
| 73 | $(LIBSMPP34_LIBS) \ |
| 74 | $(NULL) |
Harald Welte | b9fa49a | 2012-11-15 12:29:15 +0100 | [diff] [blame] | 75 | |
Alexander Huemer | 7477d71 | 2016-09-09 00:43:15 +0200 | [diff] [blame^] | 76 | meas_vis_SOURCES = \ |
| 77 | meas_vis.c \ |
| 78 | $(NULL) |
| 79 | |
| 80 | meas_vis_LDADD = \ |
| 81 | $(LIBOSMOCORE_LIBS) \ |
| 82 | $(LIBOSMOGSM_LIBS) \ |
| 83 | -lcdk \ |
| 84 | -lncurses \ |
| 85 | $(NULL) |
| 86 | |
| 87 | meas_vis_CFLAGS = \ |
| 88 | $(LIBOSMOCORE_CFLAGS) \ |
| 89 | $(LIBOSMOGSM_CFLAGS) \ |
| 90 | $(NULL) |
| 91 | |
| 92 | osmo_meas_pcap2db_SOURCES = \ |
| 93 | meas_pcap2db.c \ |
| 94 | meas_db.c \ |
| 95 | $(NULL) |
| 96 | |
| 97 | osmo_meas_pcap2db_LDADD = \ |
| 98 | $(LIBOSMOCORE_LIBS) \ |
| 99 | $(LIBOSMOGSM_LIBS) \ |
| 100 | $(SQLITE3_LIBS) \ |
| 101 | -lpcap \ |
| 102 | $(NULL) |
| 103 | |
| 104 | osmo_meas_pcap2db_CFLAGS = \ |
| 105 | $(LIBOSMOCORE_CFLAGS) \ |
| 106 | $(LIBOSMOGSM_CFLAGS) \ |
| 107 | $(NULL) |
| 108 | |
| 109 | osmo_meas_udp2db_SOURCES = \ |
| 110 | meas_udp2db.c \ |
| 111 | meas_db.c \ |
| 112 | $(NULL) |
| 113 | |
| 114 | osmo_meas_udp2db_LDADD = \ |
| 115 | $(LIBOSMOCORE_LIBS) \ |
| 116 | $(LIBOSMOGSM_LIBS) \ |
| 117 | $(SQLITE3_LIBS) \ |
| 118 | $(NULL) |
| 119 | |
| 120 | osmo_meas_udp2db_CFLAGS = \ |
| 121 | $(LIBOSMOCORE_CFLAGS) \ |
| 122 | $(LIBOSMOGSM_CFLAGS) \ |
| 123 | $(NULL) |