blob: 914a6042d9805bf38c22db43bf786fe8d526faa9 [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) \
Philipp Maier200f5b92018-03-22 19:38:17 +010014 $(LIBOSMOSIGTRAN_CFLAGS) \
15 $(LIBOSMOMGCPCLIENT_CFLAGS) \
Alexander Huemer7b6673f2016-09-09 00:43:15 +020016 $(NULL)
Harald Weltedc9b4e92012-11-15 00:12:56 +010017
Alexander Huemer7b6673f2016-09-09 00:43:15 +020018AM_LDFLAGS = \
19 $(COVERAGE_LDFLAGS) \
20 $(NULL)
21
22noinst_HEADERS = \
23 meas_db.h \
24 $(NULL)
25
26bin_PROGRAMS = \
Philipp Maier200f5b92018-03-22 19:38:17 +010027 bs11_config \
Alexander Huemer7b6673f2016-09-09 00:43:15 +020028 isdnsync \
Alexander Chemerisc6340632015-06-10 18:55:28 -040029 meas_json \
Alexander Huemer7b6673f2016-09-09 00:43:15 +020030 $(NULL)
Holger Hans Peter Freytherbb06eb92015-01-10 09:51:31 +010031if HAVE_SQLITE3
Alexander Huemer7b6673f2016-09-09 00:43:15 +020032bin_PROGRAMS += \
Alexander Huemer7b6673f2016-09-09 00:43:15 +020033 osmo-meas-udp2db \
34 $(NULL)
Max7bb383a2017-05-02 12:59:15 +020035if HAVE_PCAP
36bin_PROGRAMS += \
37 osmo-meas-pcap2db \
38 $(NULL)
39endif
Holger Hans Peter Freytherbb06eb92015-01-10 09:51:31 +010040endif
Harald Welte7465e4c2012-11-13 07:06:54 +010041if HAVE_LIBCDK
Alexander Huemer7b6673f2016-09-09 00:43:15 +020042bin_PROGRAMS += \
43 meas_vis \
44 $(NULL)
Harald Welte7465e4c2012-11-13 07:06:54 +010045endif
Harald Welte31c00f72011-03-03 23:29:05 +010046
Alexander Huemer7b6673f2016-09-09 00:43:15 +020047bs11_config_SOURCES = \
48 bs11_config.c \
49 $(NULL)
Harald Welte31c00f72011-03-03 23:29:05 +010050
Alexander Huemer7b6673f2016-09-09 00:43:15 +020051bs11_config_LDADD = \
Neels Hofmeyr958f2592018-05-27 01:26:31 +020052 $(top_builddir)/src/osmo-bsc/abis_nm.o \
53 $(top_builddir)/src/osmo-bsc/bts_siemens_bs11.o \
54 $(top_builddir)/src/osmo-bsc/e1_config.o \
55 $(top_builddir)/src/osmo-bsc/gsm_data.o \
Neels Hofmeyr596c4022018-06-16 19:29:50 +020056 $(top_builddir)/src/osmo-bsc/gsm_timers.o \
Neels Hofmeyr958f2592018-05-27 01:26:31 +020057 $(top_builddir)/src/osmo-bsc/net_init.o \
Alexander Huemer7b6673f2016-09-09 00:43:15 +020058 $(LIBOSMOCORE_LIBS) \
59 $(LIBOSMOGSM_LIBS) \
60 $(LIBOSMOABIS_LIBS) \
61 $(NULL)
Harald Weltec0de14d2012-11-23 23:35:01 +010062
Alexander Huemer7b6673f2016-09-09 00:43:15 +020063isdnsync_SOURCES = \
64 isdnsync.c \
65 $(NULL)
Harald Welteb4771a62012-11-11 10:58:51 +010066
Alexander Huemer7b6673f2016-09-09 00:43:15 +020067meas_vis_SOURCES = \
68 meas_vis.c \
69 $(NULL)
70
71meas_vis_LDADD = \
72 $(LIBOSMOCORE_LIBS) \
73 $(LIBOSMOGSM_LIBS) \
74 -lcdk \
75 -lncurses \
76 $(NULL)
77
78meas_vis_CFLAGS = \
79 $(LIBOSMOCORE_CFLAGS) \
80 $(LIBOSMOGSM_CFLAGS) \
81 $(NULL)
82
83osmo_meas_pcap2db_SOURCES = \
84 meas_pcap2db.c \
85 meas_db.c \
86 $(NULL)
87
88osmo_meas_pcap2db_LDADD = \
89 $(LIBOSMOCORE_LIBS) \
90 $(LIBOSMOGSM_LIBS) \
91 $(SQLITE3_LIBS) \
92 -lpcap \
93 $(NULL)
94
95osmo_meas_pcap2db_CFLAGS = \
96 $(LIBOSMOCORE_CFLAGS) \
97 $(LIBOSMOGSM_CFLAGS) \
Alexander Huemer5265bea2017-05-15 20:42:47 +020098 $(LIBOSMOABIS_CFLAGS) \
Alexander Huemer7b6673f2016-09-09 00:43:15 +020099 $(NULL)
100
101osmo_meas_udp2db_SOURCES = \
102 meas_udp2db.c \
103 meas_db.c \
104 $(NULL)
105
106osmo_meas_udp2db_LDADD = \
107 $(LIBOSMOCORE_LIBS) \
108 $(LIBOSMOGSM_LIBS) \
109 $(SQLITE3_LIBS) \
110 $(NULL)
111
112osmo_meas_udp2db_CFLAGS = \
113 $(LIBOSMOCORE_CFLAGS) \
114 $(LIBOSMOGSM_CFLAGS) \
Alexander Huemer5265bea2017-05-15 20:42:47 +0200115 $(LIBOSMOABIS_CFLAGS) \
Alexander Huemer7b6673f2016-09-09 00:43:15 +0200116 $(NULL)
Alexander Chemerisc6340632015-06-10 18:55:28 -0400117
118meas_json_SOURCES = \
119 meas_json.c \
120 $(NULL)
121
122meas_json_LDADD = \
Neels Hofmeyr958f2592018-05-27 01:26:31 +0200123 $(top_builddir)/src/osmo-bsc/gsm_data.o \
Neels Hofmeyr596c4022018-06-16 19:29:50 +0200124 $(top_builddir)/src/osmo-bsc/gsm_timers.o \
Alexander Chemerisc6340632015-06-10 18:55:28 -0400125 $(LIBOSMOCORE_LIBS) \
126 $(LIBOSMOGSM_LIBS) \
Neels Hofmeyr958f2592018-05-27 01:26:31 +0200127 $(LIBOSMOABIS_LIBS) \
Alexander Chemerisc6340632015-06-10 18:55:28 -0400128 $(NULL)
129
130meas_json_CFLAGS = \
131 $(LIBOSMOCORE_CFLAGS) \
132 $(LIBOSMOGSM_CFLAGS) \
Alexander Huemer5265bea2017-05-15 20:42:47 +0200133 $(LIBOSMOABIS_CFLAGS) \
Alexander Chemerisc6340632015-06-10 18:55:28 -0400134 $(NULL)
135