Harald Welte | e236596 | 2010-05-04 07:41:59 +0200 | [diff] [blame] | 1 | INCLUDES = $(all_includes) -I$(top_srcdir)/include -I$(top_builddir) |
| 2 | AM_CFLAGS=-Wall $(LIBOSMOCORE_CFLAGS) |
| 3 | AM_LDFLAGS = $(LIBOSMOCORE_LIBS) |
| 4 | |
Harald Welte | 03800ba | 2010-05-18 00:20:21 +0200 | [diff] [blame] | 5 | if HAVE_LIBGTP |
Harald Welte | e236596 | 2010-05-04 07:41:59 +0200 | [diff] [blame] | 6 | sbin_PROGRAMS = osmo-gbproxy osmo-sgsn |
Harald Welte | 03800ba | 2010-05-18 00:20:21 +0200 | [diff] [blame] | 7 | else |
| 8 | sbin_PROGRAMS = osmo-gbproxy |
| 9 | endif |
| 10 | |
Harald Welte | e236596 | 2010-05-04 07:41:59 +0200 | [diff] [blame] | 11 | noinst_LIBRARIES = libsgsn.a |
| 12 | |
Harald Welte | 24c9fc1 | 2010-05-13 19:27:34 +0200 | [diff] [blame] | 13 | libsgsn_a_SOURCES = gprs_ns.c gprs_bssgp.c gprs_llc.c gprs_gmm.c \ |
Harald Welte | d9a55f6 | 2010-05-17 23:41:43 +0200 | [diff] [blame] | 14 | crc24.c gprs_sgsn.c gprs_bssgp_util.c gprs_bssgp_vty.c |
Harald Welte | e236596 | 2010-05-04 07:41:59 +0200 | [diff] [blame] | 15 | |
| 16 | osmo_gbproxy_SOURCES = gb_proxy.c gb_proxy_main.c gb_proxy_vty.c \ |
Harald Welte | f2b4cd7 | 2010-05-13 11:45:07 +0200 | [diff] [blame] | 17 | gprs_ns.c gprs_ns_vty.c gprs_bssgp_util.c \ |
Harald Welte | 0a4050c | 2010-05-11 10:01:17 +0200 | [diff] [blame] | 18 | $(top_srcdir)/src/socket.c $(top_srcdir)/src/debug.c |
Holger Hans Peter Freyther | c6ec040 | 2010-05-04 14:34:04 +0800 | [diff] [blame] | 19 | osmo_gbproxy_LDADD = $(top_builddir)/src/libvty.a |
Harald Welte | e236596 | 2010-05-04 07:41:59 +0200 | [diff] [blame] | 20 | |
Harald Welte | 2720e73 | 2010-05-17 00:44:57 +0200 | [diff] [blame] | 21 | osmo_sgsn_SOURCES = sgsn_main.c sgsn_vty.c gprs_ns_vty.c sgsn_libgtp.c \ |
Holger Hans Peter Freyther | c6ec040 | 2010-05-04 14:34:04 +0800 | [diff] [blame] | 22 | $(top_srcdir)/src/socket.c $(top_srcdir)/src/debug.c |
Harald Welte | 2720e73 | 2010-05-17 00:44:57 +0200 | [diff] [blame] | 23 | osmo_sgsn_LDADD = $(top_builddir)/src/libvty.a libsgsn.a -lgtp |