Alexander Huemer | 7b6673f | 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) | ||||
6 | |||||
7 | AM_CFLAGS = \ | ||||
8 | -Wall \ | ||||
9 | -fno-strict-aliasing \ | ||||
10 | $(LIBOSMOCORE_CFLAGS) \ | ||||
11 | $(LIBOSMOGSM_CFLAGS) \ | ||||
12 | $(LIBOSMOVTY_CFLAGS) \ | ||||
13 | $(LIBOSMOCTRL_CFLAGS) \ | ||||
14 | $(LIBOSMOABIS_CFLAGS) \ | ||||
15 | $(LIBOSMOGB_CFLAGS) \ | ||||
Harald Welte | f4b2c4c | 2018-09-16 07:53:41 +0200 | [diff] [blame] | 16 | $(LIBOSMOGSUPCLIENT_CFLAGS) \ |
Alexander Huemer | 7b6673f | 2016-09-09 00:43:15 +0200 | [diff] [blame] | 17 | $(COVERAGE_CFLAGS) \ |
18 | $(LIBCARES_CFLAGS) \ | ||||
Alexander Huemer | 7b6673f | 2016-09-09 00:43:15 +0200 | [diff] [blame] | 19 | $(LIBGTP_CFLAGS) \ |
20 | $(NULL) | ||||
Daniel Willmann | 6292c8d | 2016-05-21 17:35:57 +0200 | [diff] [blame] | 21 | if BUILD_IU |
Alexander Huemer | 7b6673f | 2016-09-09 00:43:15 +0200 | [diff] [blame] | 22 | AM_CFLAGS += \ |
23 | $(LIBASN1C_CFLAGS) \ | ||||
24 | $(LIBOSMOSIGTRAN_CFLAGS) \ | ||||
25 | $(LIBOSMORANAP_CFLAGS) \ | ||||
26 | $(NULL) | ||||
Daniel Willmann | 6292c8d | 2016-05-21 17:35:57 +0200 | [diff] [blame] | 27 | endif |
28 | |||||
Alexander Huemer | 7b6673f | 2016-09-09 00:43:15 +0200 | [diff] [blame] | 29 | OSMO_LIBS = \ |
30 | $(LIBOSMOCORE_LIBS) \ | ||||
31 | $(LIBOSMOGSM_LIBS) \ | ||||
32 | $(LIBOSMOVTY_LIBS) \ | ||||
33 | $(LIBOSMOCTRL_LIBS) \ | ||||
34 | $(LIBOSMOGB_LIBS) \ | ||||
Alexander Huemer | c2f2ad8 | 2016-09-15 16:02:18 +0200 | [diff] [blame] | 35 | $(LIBGTP_LIBS) \ |
Alexander Huemer | 7b6673f | 2016-09-09 00:43:15 +0200 | [diff] [blame] | 36 | $(NULL) |
Harald Welte | e236596 | 2010-05-04 07:41:59 +0200 | [diff] [blame] | 37 | |
Alexander Huemer | 7b6673f | 2016-09-09 00:43:15 +0200 | [diff] [blame] | 38 | bin_PROGRAMS = \ |
39 | osmo-gbproxy \ | ||||
Alexander Huemer | 7b6673f | 2016-09-09 00:43:15 +0200 | [diff] [blame] | 40 | osmo-sgsn \ |
41 | osmo-gtphub \ | ||||
42 | $(NULL) | ||||
Harald Welte | 03800ba | 2010-05-18 00:20:21 +0200 | [diff] [blame] | 43 | |
Alexander Huemer | 7b6673f | 2016-09-09 00:43:15 +0200 | [diff] [blame] | 44 | osmo_gbproxy_SOURCES = \ |
45 | gb_proxy.c \ | ||||
46 | gb_proxy_main.c \ | ||||
47 | gb_proxy_vty.c \ | ||||
Daniel Willmann | c977afa | 2018-06-01 07:21:20 +0200 | [diff] [blame] | 48 | gb_proxy_ctrl.c \ |
Alexander Huemer | 7b6673f | 2016-09-09 00:43:15 +0200 | [diff] [blame] | 49 | gb_proxy_patch.c \ |
50 | gb_proxy_tlli.c \ | ||||
51 | gb_proxy_peer.c \ | ||||
52 | gprs_gb_parse.c \ | ||||
53 | gprs_llc_parse.c \ | ||||
54 | crc24.c \ | ||||
55 | gprs_utils.c \ | ||||
56 | $(NULL) | ||||
57 | osmo_gbproxy_LDADD = \ | ||||
Alexander Huemer | 7b6673f | 2016-09-09 00:43:15 +0200 | [diff] [blame] | 58 | $(OSMO_LIBS) \ |
Alexander Huemer | 7b6673f | 2016-09-09 00:43:15 +0200 | [diff] [blame] | 59 | -lrt \ |
60 | $(NULL) | ||||
Harald Welte | e236596 | 2010-05-04 07:41:59 +0200 | [diff] [blame] | 61 | |
Alexander Huemer | 7b6673f | 2016-09-09 00:43:15 +0200 | [diff] [blame] | 62 | osmo_sgsn_SOURCES = \ |
Alexander Couzens | f7198d7 | 2018-05-22 18:29:14 +0200 | [diff] [blame] | 63 | gprs_gmm_attach.c \ |
Alexander Huemer | 7b6673f | 2016-09-09 00:43:15 +0200 | [diff] [blame] | 64 | gprs_gmm.c \ |
65 | gprs_sgsn.c \ | ||||
66 | gprs_sndcp.c \ | ||||
Philipp | f1f3436 | 2016-08-26 17:00:21 +0200 | [diff] [blame] | 67 | gprs_sndcp_comp.c \ |
Philipp | 73f83d5 | 2016-09-02 13:38:01 +0200 | [diff] [blame] | 68 | gprs_sndcp_dcomp.c \ |
Philipp | f1f3436 | 2016-08-26 17:00:21 +0200 | [diff] [blame] | 69 | gprs_sndcp_pcomp.c \ |
Alexander Huemer | 7b6673f | 2016-09-09 00:43:15 +0200 | [diff] [blame] | 70 | gprs_sndcp_vty.c \ |
Philipp | 22611be | 2016-08-10 12:08:03 +0200 | [diff] [blame] | 71 | gprs_sndcp_xid.c \ |
Alexander Huemer | 7b6673f | 2016-09-09 00:43:15 +0200 | [diff] [blame] | 72 | sgsn_main.c \ |
73 | sgsn_vty.c \ | ||||
74 | sgsn_libgtp.c \ | ||||
75 | gprs_llc.c \ | ||||
76 | gprs_llc_parse.c \ | ||||
77 | gprs_llc_vty.c \ | ||||
78 | crc24.c \ | ||||
79 | sgsn_ctrl.c \ | ||||
80 | sgsn_auth.c \ | ||||
81 | gprs_subscriber.c \ | ||||
82 | gprs_utils.c \ | ||||
Alexander Huemer | 7b6673f | 2016-09-09 00:43:15 +0200 | [diff] [blame] | 83 | sgsn_cdr.c \ |
84 | sgsn_ares.c \ | ||||
Philipp | 2c7f837 | 2016-08-26 16:58:41 +0200 | [diff] [blame] | 85 | slhc.c \ |
Alexander Huemer | 7b6673f | 2016-09-09 00:43:15 +0200 | [diff] [blame] | 86 | gprs_llc_xid.c \ |
Philipp | d8b4577 | 2016-09-02 13:32:38 +0200 | [diff] [blame] | 87 | v42bis.c \ |
Alexander Huemer | 7b6673f | 2016-09-09 00:43:15 +0200 | [diff] [blame] | 88 | $(NULL) |
89 | osmo_sgsn_LDADD = \ | ||||
Alexander Huemer | 7b6673f | 2016-09-09 00:43:15 +0200 | [diff] [blame] | 90 | $(OSMO_LIBS) \ |
91 | $(LIBOSMOABIS_LIBS) \ | ||||
Harald Welte | f4b2c4c | 2018-09-16 07:53:41 +0200 | [diff] [blame] | 92 | $(LIBOSMOGSUPCLIENT_LIBS) \ |
Alexander Huemer | 7b6673f | 2016-09-09 00:43:15 +0200 | [diff] [blame] | 93 | $(LIBCARES_LIBS) \ |
Alexander Huemer | 5265bea | 2017-05-15 20:42:47 +0200 | [diff] [blame] | 94 | $(LIBGTP_LIBS) \ |
Alexander Huemer | 7b6673f | 2016-09-09 00:43:15 +0200 | [diff] [blame] | 95 | -lrt \ |
Philipp | 22611be | 2016-08-10 12:08:03 +0200 | [diff] [blame] | 96 | -lm \ |
Alexander Huemer | 7b6673f | 2016-09-09 00:43:15 +0200 | [diff] [blame] | 97 | $(NULL) |
Daniel Willmann | 6292c8d | 2016-05-21 17:35:57 +0200 | [diff] [blame] | 98 | if BUILD_IU |
Alexander Huemer | 7b6673f | 2016-09-09 00:43:15 +0200 | [diff] [blame] | 99 | osmo_sgsn_LDADD += \ |
Alexander Huemer | 7b6673f | 2016-09-09 00:43:15 +0200 | [diff] [blame] | 100 | $(LIBOSMOSIGTRAN_LIBS) \ |
101 | $(LIBOSMORANAP_LIBS) \ | ||||
102 | $(LIBASN1C_LIBS) \ | ||||
103 | $(NULL) | ||||
Daniel Willmann | 6292c8d | 2016-05-21 17:35:57 +0200 | [diff] [blame] | 104 | endif |
Neels Hofmeyr | c8a614d | 2015-09-24 17:32:30 +0200 | [diff] [blame] | 105 | |
Alexander Huemer | 7b6673f | 2016-09-09 00:43:15 +0200 | [diff] [blame] | 106 | osmo_gtphub_SOURCES = \ |
107 | gtphub_main.c \ | ||||
108 | gtphub.c \ | ||||
109 | gtphub_sock.c \ | ||||
110 | gtphub_ares.c \ | ||||
111 | gtphub_vty.c \ | ||||
112 | sgsn_ares.c \ | ||||
113 | gprs_utils.c \ | ||||
114 | $(NULL) | ||||
115 | osmo_gtphub_LDADD = \ | ||||
Alexander Huemer | 7b6673f | 2016-09-09 00:43:15 +0200 | [diff] [blame] | 116 | $(LIBOSMOCORE_LIBS) \ |
117 | $(LIBOSMOGSM_LIBS) \ | ||||
118 | $(LIBOSMOVTY_LIBS) \ | ||||
119 | $(LIBCARES_LIBS) \ | ||||
Alexander Huemer | c2f2ad8 | 2016-09-15 16:02:18 +0200 | [diff] [blame] | 120 | $(LIBGTP_LIBS) \ |
Philipp Maier | efe85d3 | 2017-04-09 12:32:51 +0200 | [diff] [blame] | 121 | $(LIBOSMOSIGTRAN_LIBS) \ |
Alexander Huemer | 7b6673f | 2016-09-09 00:43:15 +0200 | [diff] [blame] | 122 | -lrt \ |
Alexander Huemer | 7b6673f | 2016-09-09 00:43:15 +0200 | [diff] [blame] | 123 | $(NULL) |