blob: e585e0df846b8f7af771689da7aac67a3dea4a79 [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) \
Alexander Huemer7b6673f2016-09-09 00:43:15 +020014 $(NULL)
Harald Weltedc9b4e92012-11-15 00:12:56 +010015
Alexander Huemer7b6673f2016-09-09 00:43:15 +020016AM_LDFLAGS = \
17 $(COVERAGE_LDFLAGS) \
18 $(NULL)
19
20noinst_HEADERS = \
21 meas_db.h \
22 $(NULL)
23
24bin_PROGRAMS = \
Philipp Maier200f5b92018-03-22 19:38:17 +010025 bs11_config \
Alexander Huemer7b6673f2016-09-09 00:43:15 +020026 isdnsync \
Alexander Chemerisc6340632015-06-10 18:55:28 -040027 meas_json \
Alexander Huemer7b6673f2016-09-09 00:43:15 +020028 $(NULL)
Holger Hans Peter Freytherbb06eb92015-01-10 09:51:31 +010029if HAVE_SQLITE3
Alexander Huemer7b6673f2016-09-09 00:43:15 +020030bin_PROGRAMS += \
Alexander Huemer7b6673f2016-09-09 00:43:15 +020031 osmo-meas-udp2db \
32 $(NULL)
Max7bb383a2017-05-02 12:59:15 +020033if HAVE_PCAP
34bin_PROGRAMS += \
35 osmo-meas-pcap2db \
36 $(NULL)
37endif
Holger Hans Peter Freytherbb06eb92015-01-10 09:51:31 +010038endif
Harald Welte7465e4c2012-11-13 07:06:54 +010039if HAVE_LIBCDK
Alexander Huemer7b6673f2016-09-09 00:43:15 +020040bin_PROGRAMS += \
41 meas_vis \
42 $(NULL)
Harald Welte7465e4c2012-11-13 07:06:54 +010043endif
Harald Welte31c00f72011-03-03 23:29:05 +010044
Alexander Huemer7b6673f2016-09-09 00:43:15 +020045bs11_config_SOURCES = \
46 bs11_config.c \
47 $(NULL)
Harald Welte31c00f72011-03-03 23:29:05 +010048
Alexander Huemer7b6673f2016-09-09 00:43:15 +020049bs11_config_LDADD = \
Neels Hofmeyr958f2592018-05-27 01:26:31 +020050 $(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 \
54 $(top_builddir)/src/osmo-bsc/net_init.o \
Alexander Huemer7b6673f2016-09-09 00:43:15 +020055 $(LIBOSMOCORE_LIBS) \
56 $(LIBOSMOGSM_LIBS) \
57 $(LIBOSMOABIS_LIBS) \
58 $(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 Hofmeyr958f2592018-05-27 01:26:31 +0200120 $(top_builddir)/src/osmo-bsc/gsm_data.o \
Alexander Chemerisc6340632015-06-10 18:55:28 -0400121 $(LIBOSMOCORE_LIBS) \
122 $(LIBOSMOGSM_LIBS) \
Neels Hofmeyr958f2592018-05-27 01:26:31 +0200123 $(LIBOSMOABIS_LIBS) \
Alexander Chemerisc6340632015-06-10 18:55:28 -0400124 $(NULL)
125
126meas_json_CFLAGS = \
127 $(LIBOSMOCORE_CFLAGS) \
128 $(LIBOSMOGSM_CFLAGS) \
Alexander Huemer5265bea2017-05-15 20:42:47 +0200129 $(LIBOSMOABIS_CFLAGS) \
Alexander Chemerisc6340632015-06-10 18:55:28 -0400130 $(NULL)