Holger Hans Peter Freyther | 6552d0b | 2010-03-24 10:20:27 +0100 | [diff] [blame] | 1 | INCLUDES = $(all_includes) -I$(top_srcdir)/include -I$(top_builddir) |
Harald Welte | 4b037e4 | 2010-05-19 19:45:32 +0200 | [diff] [blame] | 2 | AM_CFLAGS=-Wall $(LIBOSMOCORE_CFLAGS) $(LIBOSMOVTY_CFLAGS) |
Harald Welte | f98a497 | 2010-02-20 17:29:27 +0100 | [diff] [blame] | 3 | AM_LDFLAGS = $(LIBOSMOCORE_LIBS) |
Harald Welte | de729a1 | 2008-12-23 21:01:25 +0000 | [diff] [blame] | 4 | |
Harald Welte | e236596 | 2010-05-04 07:41:59 +0200 | [diff] [blame] | 5 | # build current directory before building gprs |
Harald Welte | c9a341b | 2010-05-04 07:47:54 +0200 | [diff] [blame] | 6 | SUBDIRS = . ipaccess gprs |
Harald Welte | e236596 | 2010-05-04 07:41:59 +0200 | [diff] [blame] | 7 | |
Harald Welte | c9a341b | 2010-05-04 07:47:54 +0200 | [diff] [blame] | 8 | sbin_PROGRAMS = bsc_hack bs11_config isdnsync bsc_mgcp |
Holger Hans Peter Freyther | 9b0550c | 2010-06-15 20:12:03 +0800 | [diff] [blame^] | 9 | noinst_LIBRARIES = libbsc.a libmsc.a libvty.a libsccp.a libmgcp.a |
Harald Welte | de729a1 | 2008-12-23 21:01:25 +0000 | [diff] [blame] | 10 | |
Holger Hans Peter Freyther | a49ffb4 | 2010-02-09 21:50:25 +0100 | [diff] [blame] | 11 | bscdir = $(libdir) |
Harald Welte | dfe6c7d | 2010-02-20 16:24:02 +0100 | [diff] [blame] | 12 | bsc_LIBRARIES = libsccp.a |
Holger Hans Peter Freyther | a49ffb4 | 2010-02-09 21:50:25 +0100 | [diff] [blame] | 13 | |
Holger Hans Peter Freyther | 1494a76 | 2009-08-01 07:26:59 +0200 | [diff] [blame] | 14 | libbsc_a_SOURCES = abis_rsl.c abis_nm.c gsm_data.c gsm_04_08_utils.c \ |
Harald Welte | 81c9b9c | 2010-05-31 16:40:40 +0200 | [diff] [blame] | 15 | chan_alloc.c debug.c socket.c abis_nm_vty.c \ |
Holger Hans Peter Freyther | 1494a76 | 2009-08-01 07:26:59 +0200 | [diff] [blame] | 16 | gsm_subscriber_base.c subchan_demux.c bsc_rll.c transaction.c \ |
Harald Welte | dfe6c7d | 2010-02-20 16:24:02 +0100 | [diff] [blame] | 17 | trau_frame.c trau_mux.c paging.c e1_config.c e1_input.c \ |
| 18 | input/misdn.c input/ipaccess.c \ |
| 19 | talloc_ctx.c system_information.c rest_octets.c \ |
| 20 | rtp_proxy.c bts_siemens_bs11.c bts_ipaccess_nanobts.c \ |
Harald Welte | 5bc61dc | 2010-05-16 22:02:16 +0200 | [diff] [blame] | 21 | bts_unknown.c bsc_version.c bsc_api.c bsc_vty.c |
Holger Freyther | 3281f6e | 2009-02-20 18:33:00 +0000 | [diff] [blame] | 22 | |
Harald Welte | 0b484a4 | 2010-05-01 14:02:25 +0200 | [diff] [blame] | 23 | libmsc_a_SOURCES = gsm_subscriber.c db.c \ |
Holger Hans Peter Freyther | 4f5456c | 2009-12-22 07:48:20 +0100 | [diff] [blame] | 24 | mncc.c gsm_04_08.c gsm_04_11.c transaction.c \ |
Holger Hans Peter Freyther | 0a64603 | 2009-12-22 08:03:55 +0100 | [diff] [blame] | 25 | token_auth.c rrlp.c gsm_04_80.c ussd.c silent_call.c \ |
Holger Hans Peter Freyther | 43b0909 | 2010-06-15 11:52:51 +0800 | [diff] [blame] | 26 | handover_logic.c handover_decision.c meas_rep.c auth.c \ |
| 27 | osmo_msc.c |
Holger Hans Peter Freyther | 42e327b | 2009-06-12 06:53:10 +0200 | [diff] [blame] | 28 | |
Harald Welte | 4b037e4 | 2010-05-19 19:45:32 +0200 | [diff] [blame] | 29 | libvty_a_SOURCES = common_vty.c |
Harald Welte | 955049f | 2009-03-10 12:16:51 +0000 | [diff] [blame] | 30 | |
Holger Hans Peter Freyther | ac96770 | 2009-07-29 07:37:48 +0200 | [diff] [blame] | 31 | libsccp_a_SOURCES = sccp/sccp.c |
| 32 | |
Holger Hans Peter Freyther | 9b0550c | 2010-06-15 20:12:03 +0800 | [diff] [blame^] | 33 | libmgcp_a_SOURCES = mgcp/mgcp_protocol.c mgcp/mgcp_network.c mgcp/mgcp_vty.c |
| 34 | |
Harald Welte | 7d9f223 | 2010-05-16 21:49:35 +0200 | [diff] [blame] | 35 | bsc_hack_SOURCES = bsc_hack.c bsc_init.c bsc_vty.c vty_interface_layer3.c |
Harald Welte | 4b037e4 | 2010-05-19 19:45:32 +0200 | [diff] [blame] | 36 | bsc_hack_LDADD = libmsc.a libbsc.a libvty.a libmsc.a \ |
| 37 | -ldl -ldbi $(LIBCRYPT) $(LIBOSMOVTY_LIBS) |
Harald Welte | 61e42ad | 2009-01-18 19:10:46 +0000 | [diff] [blame] | 38 | |
Harald Welte | dfe6c7d | 2010-02-20 16:24:02 +0100 | [diff] [blame] | 39 | bs11_config_SOURCES = bs11_config.c abis_nm.c gsm_data.c debug.c \ |
| 40 | rs232.c bts_siemens_bs11.c |
Harald Welte | 923a3bd | 2009-02-14 12:51:36 +0000 | [diff] [blame] | 41 | |
Holger Freyther | 3cf00fb | 2009-06-08 10:33:06 +0000 | [diff] [blame] | 42 | isdnsync_SOURCES = isdnsync.c |
Holger Hans Peter Freyther | f67945f | 2009-10-09 07:08:11 +0200 | [diff] [blame] | 43 | |
Holger Hans Peter Freyther | 9b0550c | 2010-06-15 20:12:03 +0800 | [diff] [blame^] | 44 | bsc_mgcp_SOURCES = mgcp/mgcp_main.c debug.c |
| 45 | bsc_mgcp_LDADD = libvty.a libmgcp.a $(LIBOSMOVTY_LIBS) |