blob: 90fe7f12834ccf85519b4c15472a6140657e1f0c [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 \
Pau Espin Pedrol02f20562020-07-20 16:21:54 +020051 $(top_builddir)/src/osmo-bsc/acc.o \
Pau Espin Pedrol388ed582020-07-15 20:53:16 +020052 $(top_builddir)/src/osmo-bsc/bts.o \
Pau Espin Pedrolaca53202020-07-16 14:49:36 +020053 $(top_builddir)/src/osmo-bsc/bts_trx.o \
Neels Hofmeyr958f2592018-05-27 01:26:31 +020054 $(top_builddir)/src/osmo-bsc/bts_siemens_bs11.o \
Pau Espin Pedrol6adeb602020-09-30 12:52:53 +020055 $(top_builddir)/src/osmo-bsc/bts_ipaccess_nanobts_omlattr.o \
Neels Hofmeyr958f2592018-05-27 01:26:31 +020056 $(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 Pedrol4338de52020-09-30 12:52:04 +020059 $(top_builddir)/src/osmo-bsc/nm_common_fsm.o \
60 $(top_builddir)/src/osmo-bsc/nm_bts_sm_fsm.o \
Pau Espin Pedrol6adeb602020-09-30 12:52:53 +020061 $(top_builddir)/src/osmo-bsc/nm_bts_fsm.o \
Pau Espin Pedrol95486f22020-09-30 13:42:04 +020062 $(top_builddir)/src/osmo-bsc/nm_bb_transc_fsm.o \
Pau Espin Pedrold9d105c2020-09-30 14:43:09 +020063 $(top_builddir)/src/osmo-bsc/nm_rcarrier_fsm.o \
Alexander Huemer7b6673f2016-09-09 00:43:15 +020064 $(LIBOSMOCORE_LIBS) \
65 $(LIBOSMOGSM_LIBS) \
66 $(LIBOSMOABIS_LIBS) \
67 $(NULL)
Harald Weltec0de14d2012-11-23 23:35:01 +010068
Alexander Huemer7b6673f2016-09-09 00:43:15 +020069isdnsync_SOURCES = \
70 isdnsync.c \
71 $(NULL)
Harald Welteb4771a62012-11-11 10:58:51 +010072
Alexander Huemer7b6673f2016-09-09 00:43:15 +020073meas_vis_SOURCES = \
74 meas_vis.c \
75 $(NULL)
76
77meas_vis_LDADD = \
78 $(LIBOSMOCORE_LIBS) \
79 $(LIBOSMOGSM_LIBS) \
80 -lcdk \
81 -lncurses \
82 $(NULL)
83
84meas_vis_CFLAGS = \
85 $(LIBOSMOCORE_CFLAGS) \
86 $(LIBOSMOGSM_CFLAGS) \
87 $(NULL)
88
89osmo_meas_pcap2db_SOURCES = \
90 meas_pcap2db.c \
91 meas_db.c \
92 $(NULL)
93
94osmo_meas_pcap2db_LDADD = \
95 $(LIBOSMOCORE_LIBS) \
96 $(LIBOSMOGSM_LIBS) \
97 $(SQLITE3_LIBS) \
98 -lpcap \
99 $(NULL)
100
101osmo_meas_pcap2db_CFLAGS = \
102 $(LIBOSMOCORE_CFLAGS) \
103 $(LIBOSMOGSM_CFLAGS) \
Alexander Huemer5265bea2017-05-15 20:42:47 +0200104 $(LIBOSMOABIS_CFLAGS) \
Alexander Huemer7b6673f2016-09-09 00:43:15 +0200105 $(NULL)
106
107osmo_meas_udp2db_SOURCES = \
108 meas_udp2db.c \
109 meas_db.c \
110 $(NULL)
111
112osmo_meas_udp2db_LDADD = \
113 $(LIBOSMOCORE_LIBS) \
114 $(LIBOSMOGSM_LIBS) \
115 $(SQLITE3_LIBS) \
116 $(NULL)
117
118osmo_meas_udp2db_CFLAGS = \
119 $(LIBOSMOCORE_CFLAGS) \
120 $(LIBOSMOGSM_CFLAGS) \
Alexander Huemer5265bea2017-05-15 20:42:47 +0200121 $(LIBOSMOABIS_CFLAGS) \
Alexander Huemer7b6673f2016-09-09 00:43:15 +0200122 $(NULL)
Alexander Chemerisc6340632015-06-10 18:55:28 -0400123
124meas_json_SOURCES = \
125 meas_json.c \
126 $(NULL)
127
128meas_json_LDADD = \
Pau Espin Pedrolaca53202020-07-16 14:49:36 +0200129 $(top_builddir)/src/osmo-bsc/abis_nm.o \
Pau Espin Pedrol02f20562020-07-20 16:21:54 +0200130 $(top_builddir)/src/osmo-bsc/acc.o \
Pau Espin Pedrol388ed582020-07-15 20:53:16 +0200131 $(top_builddir)/src/osmo-bsc/bts.o \
Pau Espin Pedrol6adeb602020-09-30 12:52:53 +0200132 $(top_builddir)/src/osmo-bsc/bts_ipaccess_nanobts_omlattr.o \
Pau Espin Pedrolaca53202020-07-16 14:49:36 +0200133 $(top_builddir)/src/osmo-bsc/bts_trx.o \
Neels Hofmeyr958f2592018-05-27 01:26:31 +0200134 $(top_builddir)/src/osmo-bsc/gsm_data.o \
Pau Espin Pedrol4338de52020-09-30 12:52:04 +0200135 $(top_builddir)/src/osmo-bsc/nm_common_fsm.o \
136 $(top_builddir)/src/osmo-bsc/nm_bts_sm_fsm.o \
Pau Espin Pedrol6adeb602020-09-30 12:52:53 +0200137 $(top_builddir)/src/osmo-bsc/nm_bts_fsm.o \
Pau Espin Pedrol95486f22020-09-30 13:42:04 +0200138 $(top_builddir)/src/osmo-bsc/nm_bb_transc_fsm.o \
Pau Espin Pedrold9d105c2020-09-30 14:43:09 +0200139 $(top_builddir)/src/osmo-bsc/nm_rcarrier_fsm.o \
Alexander Chemerisc6340632015-06-10 18:55:28 -0400140 $(LIBOSMOCORE_LIBS) \
141 $(LIBOSMOGSM_LIBS) \
Neels Hofmeyr958f2592018-05-27 01:26:31 +0200142 $(LIBOSMOABIS_LIBS) \
Alexander Chemerisc6340632015-06-10 18:55:28 -0400143 $(NULL)
144
145meas_json_CFLAGS = \
146 $(LIBOSMOCORE_CFLAGS) \
147 $(LIBOSMOGSM_CFLAGS) \
Alexander Huemer5265bea2017-05-15 20:42:47 +0200148 $(LIBOSMOABIS_CFLAGS) \
Alexander Chemerisc6340632015-06-10 18:55:28 -0400149 $(NULL)