blob: 983a3bb04c6e3574b21ed953db244ef68e1ed94d [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 = \
25 bs11_config \
26 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 = \
50 $(top_builddir)/src/libbsc/libbsc.a \
Alexander Huemer7b6673f2016-09-09 00:43:15 +020051 $(LIBOSMOCORE_LIBS) \
52 $(LIBOSMOGSM_LIBS) \
53 $(LIBOSMOABIS_LIBS) \
54 $(NULL)
Harald Weltec0de14d2012-11-23 23:35:01 +010055
Alexander Huemer7b6673f2016-09-09 00:43:15 +020056isdnsync_SOURCES = \
57 isdnsync.c \
58 $(NULL)
Harald Welteb4771a62012-11-11 10:58:51 +010059
Alexander Huemer7b6673f2016-09-09 00:43:15 +020060meas_vis_SOURCES = \
61 meas_vis.c \
62 $(NULL)
63
64meas_vis_LDADD = \
65 $(LIBOSMOCORE_LIBS) \
66 $(LIBOSMOGSM_LIBS) \
67 -lcdk \
68 -lncurses \
69 $(NULL)
70
71meas_vis_CFLAGS = \
72 $(LIBOSMOCORE_CFLAGS) \
73 $(LIBOSMOGSM_CFLAGS) \
74 $(NULL)
75
76osmo_meas_pcap2db_SOURCES = \
77 meas_pcap2db.c \
78 meas_db.c \
79 $(NULL)
80
81osmo_meas_pcap2db_LDADD = \
82 $(LIBOSMOCORE_LIBS) \
83 $(LIBOSMOGSM_LIBS) \
84 $(SQLITE3_LIBS) \
85 -lpcap \
86 $(NULL)
87
88osmo_meas_pcap2db_CFLAGS = \
89 $(LIBOSMOCORE_CFLAGS) \
90 $(LIBOSMOGSM_CFLAGS) \
Alexander Huemer5265bea2017-05-15 20:42:47 +020091 $(LIBOSMOABIS_CFLAGS) \
Alexander Huemer7b6673f2016-09-09 00:43:15 +020092 $(NULL)
93
94osmo_meas_udp2db_SOURCES = \
95 meas_udp2db.c \
96 meas_db.c \
97 $(NULL)
98
99osmo_meas_udp2db_LDADD = \
100 $(LIBOSMOCORE_LIBS) \
101 $(LIBOSMOGSM_LIBS) \
102 $(SQLITE3_LIBS) \
103 $(NULL)
104
105osmo_meas_udp2db_CFLAGS = \
106 $(LIBOSMOCORE_CFLAGS) \
107 $(LIBOSMOGSM_CFLAGS) \
Alexander Huemer5265bea2017-05-15 20:42:47 +0200108 $(LIBOSMOABIS_CFLAGS) \
Alexander Huemer7b6673f2016-09-09 00:43:15 +0200109 $(NULL)
Alexander Chemerisc6340632015-06-10 18:55:28 -0400110
111meas_json_SOURCES = \
112 meas_json.c \
113 $(NULL)
114
115meas_json_LDADD = \
Neels Hofmeyr421059a2018-02-13 23:23:51 +0100116 $(top_builddir)/src/libbsc/libbsc.a \
Alexander Chemerisc6340632015-06-10 18:55:28 -0400117 $(LIBOSMOCORE_LIBS) \
118 $(LIBOSMOGSM_LIBS) \
119 $(NULL)
120
121meas_json_CFLAGS = \
122 $(LIBOSMOCORE_CFLAGS) \
123 $(LIBOSMOGSM_CFLAGS) \
Alexander Huemer5265bea2017-05-15 20:42:47 +0200124 $(LIBOSMOABIS_CFLAGS) \
Alexander Chemerisc6340632015-06-10 18:55:28 -0400125 $(NULL)
126