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 |
Holger Hans Peter Freyther | 30e1ae9 | 2010-07-30 02:53:14 +0800 | [diff] [blame] | 6 | SUBDIRS = . ipaccess gprs |
| 7 | |
| 8 | # Conditional modules |
| 9 | if BUILD_NAT |
| 10 | SUBDIRS += nat |
| 11 | endif |
| 12 | if BUILD_BSC |
| 13 | SUBDIRS += bsc |
| 14 | endif |
Harald Welte | e236596 | 2010-05-04 07:41:59 +0200 | [diff] [blame] | 15 | |
Harald Welte | c9a341b | 2010-05-04 07:47:54 +0200 | [diff] [blame] | 16 | sbin_PROGRAMS = bsc_hack bs11_config isdnsync bsc_mgcp |
Holger Hans Peter Freyther | 30e1ae9 | 2010-07-30 02:53:14 +0800 | [diff] [blame] | 17 | noinst_LIBRARIES = libbsc.a libmsc.a libvty.a libmgcp.a |
Holger Hans Peter Freyther | a49ffb4 | 2010-02-09 21:50:25 +0100 | [diff] [blame] | 18 | |
Holger Hans Peter Freyther | 1494a76 | 2009-08-01 07:26:59 +0200 | [diff] [blame] | 19 | 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] | 20 | 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] | 21 | gsm_subscriber_base.c subchan_demux.c bsc_rll.c transaction.c \ |
Harald Welte | dfe6c7d | 2010-02-20 16:24:02 +0100 | [diff] [blame] | 22 | trau_frame.c trau_mux.c paging.c e1_config.c e1_input.c \ |
Holger Hans Peter Freyther | 0610947 | 2010-06-30 12:56:41 +0800 | [diff] [blame] | 23 | input/misdn.c input/ipaccess.c handover_logic.c \ |
Harald Welte | dfe6c7d | 2010-02-20 16:24:02 +0100 | [diff] [blame] | 24 | talloc_ctx.c system_information.c rest_octets.c \ |
| 25 | rtp_proxy.c bts_siemens_bs11.c bts_ipaccess_nanobts.c \ |
Holger Hans Peter Freyther | 0ab63d7 | 2010-09-16 00:20:19 +0800 | [diff] [blame^] | 26 | bts_unknown.c bsc_version.c bsc_api.c bsc_vty.c meas_rep.c gsm_04_80.c |
Holger Freyther | 3281f6e | 2009-02-20 18:33:00 +0000 | [diff] [blame] | 27 | |
Harald Welte | 0b484a4 | 2010-05-01 14:02:25 +0200 | [diff] [blame] | 28 | libmsc_a_SOURCES = gsm_subscriber.c db.c \ |
Holger Hans Peter Freyther | 4f5456c | 2009-12-22 07:48:20 +0100 | [diff] [blame] | 29 | mncc.c gsm_04_08.c gsm_04_11.c transaction.c \ |
Holger Hans Peter Freyther | 0ab63d7 | 2010-09-16 00:20:19 +0800 | [diff] [blame^] | 30 | token_auth.c rrlp.c ussd.c silent_call.c \ |
Holger Hans Peter Freyther | ab5135e | 2010-06-30 14:58:47 +0800 | [diff] [blame] | 31 | handover_decision.c auth.c \ |
Holger Hans Peter Freyther | 43b0909 | 2010-06-15 11:52:51 +0800 | [diff] [blame] | 32 | osmo_msc.c |
Holger Hans Peter Freyther | 42e327b | 2009-06-12 06:53:10 +0200 | [diff] [blame] | 33 | |
Harald Welte | 4b037e4 | 2010-05-19 19:45:32 +0200 | [diff] [blame] | 34 | libvty_a_SOURCES = common_vty.c |
Harald Welte | 955049f | 2009-03-10 12:16:51 +0000 | [diff] [blame] | 35 | |
Holger Hans Peter Freyther | 9b0550c | 2010-06-15 20:12:03 +0800 | [diff] [blame] | 36 | libmgcp_a_SOURCES = mgcp/mgcp_protocol.c mgcp/mgcp_network.c mgcp/mgcp_vty.c |
| 37 | |
Harald Welte | 7d9f223 | 2010-05-16 21:49:35 +0200 | [diff] [blame] | 38 | 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] | 39 | bsc_hack_LDADD = libmsc.a libbsc.a libvty.a libmsc.a \ |
| 40 | -ldl -ldbi $(LIBCRYPT) $(LIBOSMOVTY_LIBS) |
Harald Welte | 61e42ad | 2009-01-18 19:10:46 +0000 | [diff] [blame] | 41 | |
Harald Welte | dfe6c7d | 2010-02-20 16:24:02 +0100 | [diff] [blame] | 42 | bs11_config_SOURCES = bs11_config.c abis_nm.c gsm_data.c debug.c \ |
| 43 | rs232.c bts_siemens_bs11.c |
Harald Welte | 923a3bd | 2009-02-14 12:51:36 +0000 | [diff] [blame] | 44 | |
Holger Freyther | 3cf00fb | 2009-06-08 10:33:06 +0000 | [diff] [blame] | 45 | isdnsync_SOURCES = isdnsync.c |
Holger Hans Peter Freyther | f67945f | 2009-10-09 07:08:11 +0200 | [diff] [blame] | 46 | |
Holger Hans Peter Freyther | 9b0550c | 2010-06-15 20:12:03 +0800 | [diff] [blame] | 47 | bsc_mgcp_SOURCES = mgcp/mgcp_main.c debug.c |
| 48 | bsc_mgcp_LDADD = libvty.a libmgcp.a $(LIBOSMOVTY_LIBS) |