X-Git-Url: http://git.eversberg.eu/gitweb.cgi?p=lcr.git;a=blobdiff_plain;f=Makefile.am;h=61ddb8cc0e08531b4c181aa0520142762e067cd2;hp=d8ba3bfb835e4a9e367a812537aba49403c8517a;hb=7b103167ba7d7bdd863a8ea43c15680c9cfe3e20;hpb=df0d71f05b79d7a2d800abdee8be26f6601d3ecd diff --git a/Makefile.am b/Makefile.am index d8ba3bf..61ddb8c 100644 --- a/Makefile.am +++ b/Makefile.am @@ -51,7 +51,7 @@ if ENABLE_GSM GSM_INCLUDE += -GSM_SOURCE += gsm_audio.c gsm.cpp gsm_conf.c +GSM_SOURCE += gsm_audio.c gsm.cpp GSM_LIB += /usr/lib/libgsm.a @@ -62,25 +62,17 @@ endif if ENABLE_GSM_BS -GSM_INCLUDE += -DWITH_GSM_BS -I./openbsc/include -I./libosmocore/include -I./openbsc +GSM_INCLUDE += -DWITH_GSM_BS -GSM_SOURCE += gsm_bs.cpp openbsc/src/bsc_init.c openbsc/src/bsc_vty.c openbsc/src/vty_interface_layer3.c openbsc/src/bsc_api.c openbsc/src/bsc_version.c - -GSM_LIB += ./openbsc/src/libbsc.a ./openbsc/src/libmsc.a ./openbsc/src/libvty.a -losmovty -losmocore -ldbi -lcrypt +GSM_SOURCE += gsm_bs.cpp endif if ENABLE_GSM_MS -GSM_INCLUDE += -DPACKAGE_VERSION=0 -DWITH_GSM_MS -I./layer23/include -I./libosmocore/include - -GSM_SOURCE += gsm_ms.cpp layer23/src/mobile/app_mobile.c +GSM_INCLUDE += -DWITH_GSM_MS -GSM_LIB += ./layer23/src/mobile/libmobile.a \ - ./layer23/src/common/liblayer23.a \ - ./libosmocore/build-host/src/.libs/libosmocore.a \ - ./libosmocore/build-host/src/vty/.libs/libosmovty.a \ - ./libosmocore/build-host/src/codec/.libs/libosmocodec.a +GSM_SOURCE += gsm_ms.cpp endif @@ -125,8 +117,8 @@ endif INCLUDES = $(all_includes) $(GSM_INCLUDE) $(SS5_INCLUDE) -Wall $(INSTALLATION_DEFINES) -lcr_SOURCES = $(GSM_SOURCE) $(SS5_SOURCE) select.c action.cpp mISDN.cpp tones.c \ - action_efi.cpp crypt.cpp mail.c trace.c \ +lcr_SOURCES = $(GSM_SOURCE) $(SS5_SOURCE) select.c action.cpp mISDN.cpp \ + tones.c loop.c remote.cpp action_efi.cpp crypt.cpp mail.c trace.c \ action_vbox.cpp dss1.cpp main.c \ vbox.cpp alawulaw.c endpoint.cpp interface.c message.c \ apppbx.cpp endpointapp.cpp join.cpp options.c \ @@ -163,14 +155,6 @@ install-data-hook: @if test -a $(CONFIGdir)/routing.conf ; then \ echo "NOTE: routing.conf already exists, not changed." ; else \ cp -v default/routing.conf $(CONFIGdir) ; fi -if ENABLE_GSM - @if test -a $(CONFIGdir)/gsm.conf ; then \ - echo "NOTE: gsm.conf already exists, not changed." ; else \ - cp -v default/gsm.conf $(CONFIGdir) ; fi - @if test -a $(CONFIGdir)/openbsc.cfg ; then \ - echo "NOTE: openbsc.cfg already exists, not changed." ; else \ - cp -v default/openbsc.cfg $(CONFIGdir) ; fi -endif @if test -a $(CONFIGdir)/numbering_int.conf ; then \ echo "NOTE: numbering_int.conf is obsolete, please use routing." ; fi @if test -a $(CONFIGdir)/numbering_ext.conf ; then \