layer23: Split [1/2] -> The source code
We split into : - common: Everything that can be shared - mobile: The real spec compliant mobile phones - misc: Different test stuff Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
This commit is contained in:
parent
fb48f690d3
commit
de21ca4aaf
|
@ -23,6 +23,9 @@ dnl Checks for typedefs, structures and compiler characteristics
|
|||
|
||||
AC_OUTPUT(
|
||||
src/Makefile
|
||||
src/common/Makefile
|
||||
src/misc/Makefile
|
||||
src/mobile/Makefile
|
||||
include/Makefile
|
||||
include/osmocom/Makefile
|
||||
Makefile)
|
||||
|
|
|
@ -1,25 +1 @@
|
|||
INCLUDES = $(all_includes) -I$(top_srcdir)/include
|
||||
AM_CFLAGS=-Wall $(LIBOSMOCORE_CFLAGS)
|
||||
#AM_LDFLAGS = $(LIBOSMOCORE_LIBS)
|
||||
|
||||
noinst_LIBRARIES = liblayer23.a libmobile.a
|
||||
liblayer23_a_SOURCES = l1ctl.c l1l2_interface.c lapdm.c logging.c main.c
|
||||
libmobile_a_SOURCES = gsm322.c gsm48_cc.c gsm48_mm.c gsm48_rr.c \
|
||||
mnccms.c networks.c settings.c subscriber.c support.c \
|
||||
sysinfo.c transaction.c vty_interface.c
|
||||
|
||||
bin_PROGRAMS = bcch_scan layer23 echo_test mobile
|
||||
|
||||
bcch_scan_SOURCES = main.c app_bcch_scan.c bcch_scan.c
|
||||
bcch_scan_LDADD = liblayer23.a $(LIBOSMOCORE_LIBS)
|
||||
|
||||
layer23_SOURCES = main.c app_phone.c layer3.c rslms.c
|
||||
layer23_LDADD = liblayer23.a $(LIBOSMOCORE_LIBS)
|
||||
|
||||
echo_test_SOURCES = main.c app_echo_test.c
|
||||
echo_test_LDADD = liblayer23.a $(LIBOSMOCORE_LIBS)
|
||||
|
||||
mobile_SOURCES = main.c app_mobile.c
|
||||
mobile_LDADD = liblayer23.a libmobile.a $(LIBOSMOCORE_LIBS) $(LIBOSMOVTY_LIBS)
|
||||
|
||||
|
||||
SUBDIRS = common misc mobile
|
||||
|
|
|
@ -0,0 +1,5 @@
|
|||
INCLUDES = $(all_includes) -I$(top_srcdir)/include
|
||||
AM_CFLAGS = -Wall $(LIBOSMOCORE_CFLAGS)
|
||||
|
||||
noinst_LIBRARIES = liblayer23.a
|
||||
liblayer23_a_SOURCES = l1ctl.c l1l2_interface.c lapdm.c logging.c networks.c
|
|
@ -0,0 +1,10 @@
|
|||
INCLUDES = $(all_includes) -I$(top_srcdir)/include
|
||||
AM_CFLAGS = -Wall $(LIBOSMOCORE_CFLAGS)
|
||||
LDADD = ../common/liblayer23.a $(LIBOSMOCORE_LIBS)
|
||||
|
||||
bin_PROGRAMS = bcch_scan layer23 echo_test
|
||||
|
||||
bcch_scan_SOURCES = ../common/main.c app_bcch_scan.c bcch_scan.c
|
||||
layer23_SOURCES = ../common/main.c app_phone.c layer3.c rslms.c
|
||||
echo_test_SOURCES = ../common/main.c app_echo_test.c
|
||||
|
|
@ -0,0 +1,15 @@
|
|||
INCLUDES = $(all_includes) -I$(top_srcdir)/include
|
||||
AM_CFLAGS = -Wall $(LIBOSMOCORE_CFLAGS)
|
||||
LDADD = ../common/liblayer23.a $(LIBOSMOCORE_LIBS) $(LIBOSMOVTY_LIBS)
|
||||
|
||||
noinst_LIBRARIES = libmobile.a
|
||||
libmobile_a_SOURCES = gsm322.c gsm48_cc.c gsm48_mm.c gsm48_rr.c \
|
||||
mnccms.c settings.c subscriber.c support.c \
|
||||
sysinfo.c transaction.c vty_interface.c
|
||||
|
||||
bin_PROGRAMS = mobile
|
||||
|
||||
mobile_SOURCES = ../common/main.c app_mobile.c
|
||||
mobile_LDADD = libmobile.a $(LDADD)
|
||||
|
||||
|
Loading…
Reference in New Issue