⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 build.bat

📁 gsm map协议源代码
💻 BAT
字号:
SET WIND_HOST_TYPE=x86-win32
SET SRC_ROOT=e:\src
set WIND_BASE=F:\tool\tornado202
SET CPU=PENTIUM
set PATH=%WIND_BASE%\host\%WIND_HOST_TYPE%\bin;%PATH%
SET DEBUG=1

set ENABLE_PR_TRISM=1
set ENABLE_PR_TRICM=1

set DEBUGP=1
set MA_DEBUGP=1
set PRODUCT=XW_SS
@echo PRODUCT: XWSS


if .%1 == .win goto win
if .%1 == .vxw goto vxw
goto endall

:win
SET MAKE_PLATFORM=WIN32
SET MICR_BASE=C:\Progra~1\Micros~4
call %MICR_BASE%\vc98\bin\vcvars32.bat
SET OBJS_DIR=e:\objs_dir\win32

set MA_WIN_TEST_TYPE=0
if "%MA_WIN_TEST_TYPE%" == "0" goto LOOSECP
if "%MA_WIN_TEST_TYPE%" == "1" goto TIGHTCP
goto parm2

:LOOSECP
set TCAP_MAP_COUPLED_FLAG=0
goto parm2

:TIGHTCP
@echo tightly coupled set
set MA_LMA_TIGHTLY_COUPLED_FLAG=1
set MA_MAT_TIGHTLY_COUPLED_FLAG=1
:parm2

if .%2 == .clean goto clean
if .%2 == .test goto test
if .%2 == .stack goto stack
if .%2 == .au goto au
if .%2 == .psf goto psf
goto parmerr


:test

rem set MAP_TEST_TYPE

rem 1 : trillium map acc test
rem 2 : trillium map acc test + XWExt test
rem 3 : OAM + SSI + XOS CLI +ACC TEST
rem 4 : SSI + XOS CLI + ACC TEST

SET MAP_TEST_TYPE=3

IF %MAP_TEST_TYPE%==2 (SET XWEXT=1)

IF %MAP_TEST_TYPE%==3 (
     echo TEST TYPE : USE OAM + CLI + SSI
     SET NM_OAM_SUPPORT=1   
     SET SSI_WITH_CLI_ENABLED=1
   )

IF %MAP_TEST_TYPE%==4 (
      ECHO TEST TYPE USE : XOS CLI + SSI
      SET SSI_WITH_CLI_ENABLED=1
      )

rem IF DEFINED OAM , DONOT USE MAPSEC
IF DEFINED NM_OAM_SUPPORT (
               ECHO TEST NOT CFG MAP_SEC and LMA_VER2
             ) ELSE (
               SET MAP_SEC=1
               SET LMAVER2=1
             )
   
SET ENABLE_PR_MAP=1
set MAP_TST_ENABLE_L4=1
SET ENABLE_PR_MA_OUT=TEST_MA
SET REL5=1
SET REL6=1
SET MAPVER3=1
SET MAPVER2=1
SET STUVER2=1
SET MSC=1
SET VLR=1
SET HLR=1
SET GSN=1
SET MLC=1
rem the name for out file
goto domake

:au
rem  OAM + SSI + ACC test  for SS AU test
rem set MAP_TEST_TYPE=0
rem SET XWHLR=1
SET XWEXT=1
SET HLR=1
SET MSC=1
SET VLR=1
SET ENABLE_PR_MA_OUT=TEST_MA
SET ENABLE_PR_MAP=1
set MAP_TST_ENABLE_L4=1
SET NM_OAM_SUPPORT=1   
SET SS_MAP_DBG=1
SET XWSS=1
goto domake

:psf
rem trillium map acc  test + PSF
SET ENABLE_PR_MAP=1
set MAP_TST_ENABLE_L4=1
SET ENABLE_PR_MA_OUT=ma_psf
set MAP_TEST_TYPE=0
set PROTOCOL_WITH_PSF=1
SET MAPSF=1
SET REL5=1
SET REL6=1
SET MAPVER3=1
SET MAPVER2=1
SET STUVER2=1
SET MSC=1
SET VLR=1
SET HLR=1
SET GSN=1
SET MLC=1

rem the name for out file
goto domake

:stack
SET NM_OAM_SUPPORT=1
SET ENABLE_PR_MAP=1
SET ENABLE_PR_MA_OUT=TEST_MA
SET MSC=1
SET VLR=1
SET HLR=1
SET XWEXT=1
SET SSI_WITH_CLI_ENABLED=1
goto domake

:domake
if .%1 == .win goto makewin
make -C %OBJS_DIR% -f  %SRC_ROOT%\protocol\map\testmain\map_ma.mak
goto endall

:makewin
make -C %OBJS_DIR% -f  %SRC_ROOT%\protocol\map\testmain\map_win.mak
goto endall

:clean
if .%1 == .win goto cleanwin
make -C %OBJS_DIR% -f  %SRC_ROOT%\protocol\map\testmain\map_ma.mak clean
goto endall

:cleanwin
@echo entering cleanwin
make -C %OBJS_DIR% -f  %SRC_ROOT%\protocol\map\testmain\map_win.mak clean
goto endall

:parmerr
@echo input error!
goto endall

:endall
@echo All Done!

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -