📄 makcdg.mak
字号:
#-----------------------------------------------------------------------------
# Project :
# Modul : J:\g23m\condat\int\bin\makcdg.mak
#-----------------------------------------------------------------------------
# Copyright 2002 Texas Instruments Berlin, AG
# All rights reserved.
#
# This file is confidential and a trade secret of Texas
# Instruments Berlin, AG
# The receipt of or possession of this file does not convey
# any rights to reproduce or disclose its contents or to
# manufacture, use, or sell anything it may describe, in
# whole, or in part, without the specific written consent of
# Texas Instruments Berlin, AG.
#-----------------------------------------------------------------------------
#| Purpose :
#-----------------------------------------------------------------------------
###############################################################################
## Copyright : (c) (Condat DV Beratung Organisation Software GmbH 1998)
## Name : MAKCDG.MAK
## Purpose : Makefile to create GSM\MS\CDGINC\*.* files
## Date : 13 May 1998
## Lang : NMAKE by Microsoft, Version 1.62
## Usage : "nmake makcdg.mak" on the command line.
## Note : The batch file INITVARS.BAT should be executed prior using
## Note : this makefile.
## Author : vk
## History : 13 May 1998 VK Get this makefile running
## History : 07 July 1998 VK use xGenMdf and xGenPdf insrtead of xGen
## History : 16 July 1998 LE MON.PDF added
## History : 27 Jan 1999 VK Adapt to WIN95
## History : 07 Sept 2000 SBK Support GTI, add support for TARGET build
## (suitable for ARM alignment model)
## History : 14 Aug 2001 SBK Remove support for TIL/TI++
## History : 19 Apr 2002 MSB Add MSG rr_com, remove double invokations,
## : change call of CCDGEN
## History : 07 Feb 2002 SBK Add gsmcom, remove double invokations
###############################################################################
.SUFFIXES:
.SUFFIXES: .mdf .doc .cdg
!ifndef MSGDOCDIR
MSGDOCDIR = $(TESTROOT)\COM\DOC\MSG
!endif
!ifndef SAPDOCDIR
SAPDOCDIR = $(TESTROOT)\$(SIDE)\DOC\SAP
!endif
MSGDIR = $(TESTROOT)\$(SIDE)\DFILE\MSG
PRIMDIR = $(TESTROOT)\$(SIDE)\DFILE\PRIM
INCDIR = $(TESTROOT)\$(SIDE)\DFILE
CDGINC = $(TESTROOT)\$(SIDE)\CDGINC
CCDGEN = $(TESTROOT)\..\..\GPF\BIN\ccdgen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\SAT.MDF
PDFFILES = $(PRIMDIR)\GSMCOM.PDF\
$(PRIMDIR)\DL.PDF\
$(PRIMDIR)\MDL.PDF\
$(PRIMDIR)\MMCC.PDF\
$(PRIMDIR)\MMI.PDF\
$(PRIMDIR)\MMREG.PDF\
$(PRIMDIR)\MMSMS.PDF\
$(PRIMDIR)\MMSS.PDF\
$(PRIMDIR)\MNCC.PDF\
$(PRIMDIR)\MNSMS.PDF\
$(PRIMDIR)\MNSS.PDF\
$(PRIMDIR)\MPH.PDF\
$(PRIMDIR)\PH.PDF\
$(PRIMDIR)\RR.PDF\
$(PRIMDIR)\RRLC.PDF\
$(PRIMDIR)\RRLP.PDF\
$(PRIMDIR)\RRRRLP.PDF\
$(PRIMDIR)\SIM.PDF\
$(PRIMDIR)\RA.PDF\
$(PRIMDIR)\RLP.PDF\
$(PRIMDIR)\L2R.PDF\
$(PRIMDIR)\TRA.PDF\
$(PRIMDIR)\FAD.PDF\
$(PRIMDIR)\T30.PDF\
$(PRIMDIR)\ACI.PDF\
$(PRIMDIR)\MNLC.PDF\
$(PRIMDIR)\MON.PDF\
$(PRIMDIR)\EM.PDF\
$(PRIMDIR)\CST.PDF\
$(PRIMDIR)\UART.PDF\
$(PRIMDIR)\DTI.PDF\
$(PRIMDIR)\DTI2.PDF\
$(PRIMDIR)\AAA.PDF
!endif
# of VOICE or fax and data
!ifdef DMY
PDFFILES = $(PDFFILES)\
$(PRIMDIR)\DMYA.PDF\
$(PRIMDIR)\DMYB.PDF
!endif
# of DMY
!ifdef ALR
PDFFILES = $(PDFFILES)\
$(PRIMDIR)\MPHC.PDF
!else ifdef FF_GTI
# nothing to do when FF_GTI is set
!else
# this used to be the branch for TIL/TI++ support, removed by purpose to be consitent
# with makcdg.bat which no longer has support for TIL/TI++, too
!endif
!ifdef GPRS
MDFFILES1 = \
$(MSGDIR)\GMM.MDF\
$(MSGDIR)\TST.MDF\
$(MSGDIR)\RLCMAC.MDF\
$(MSGDIR)\GRR.MDF\
$(MSGDIR)\SM.MDF
PDFFILES1 = \
$(PRIMDIR)\GMMAA.PDF\
$(PRIMDIR)\GMMREG.PDF\
$(PRIMDIR)\GMMSM.PDF\
$(PRIMDIR)\GMMSMS.PDF\
$(PRIMDIR)\MMGMM.PDF\
$(PRIMDIR)\LL.PDF\
$(PRIMDIR)\LLGMM.PDF\
$(PRIMDIR)\GMMRR.PDF\
$(PRIMDIR)\GRR.PDF\
$(PRIMDIR)\RRGRR.PDF\
$(PRIMDIR)\MAC.PDF\
$(PRIMDIR)\GSIM.PDF\
$(PRIMDIR)\SMREG.PDF\
$(PRIMDIR)\SN.PDF\
$(PRIMDIR)\PPP.PDF\
$(PRIMDIR)\SNSM.PDF\
$(PRIMDIR)\CCI.PDF\
$(PRIMDIR)\PKT.PDF
!endif
!if defined(ALR) && defined (GPRS)
PDFFILES = $(PDFFILES)\
$(PRIMDIR)\MPHP.PDF\
$(PRIMDIR)\TB.PDF
!endif
!ifdef WAP
PDFFILES2 = \
$(PRIMDIR)\UDP.PDF\
$(PRIMDIR)\IP.PDF\
$(PRIMDIR)\UDPA.PDF\
$(PRIMDIR)\IPA.PDF\
$(PRIMDIR)\WAP.PDF
!ifndef GPRS
PDFFILES = $(PDFFILES)\
$(PRIMDIR)\PPP.PDF
!endif
!endif
!ifdef BT
PDFFILES = $(PDFFILES)\
$(PRIMDIR)\BTP.PDF
!endif
{$(MSGDOCDIR)}.doc{$(MSGDIR)}.mdf:
$(DOC2TXT) -O -w -f wdFormatText $(MSGDOCDIR)\$(*B).doc
$(XGEN100) M $(MSGDOCDIR)\$(*B).txt $(MSGDOCDIR)/$(*B).err $(MSGDOCDIR)/$(*B).log $(MSGDIR)/$(*B).mdf I
{$(SAPDOCDIR)}.doc{$(PRIMDIR)}.pdf:
$(DOC2TXT) -O -w -f wdFormatText $(SAPDOCDIR)\$(*B).doc
$(XGEN100) P $(SAPDOCDIR)\$(*B).txt $(SAPDOCDIR)/$(*B).err $(SAPDOCDIR)/$(*B).log $(PRIMDIR)/$(*B).pdf I
all: outdirs $(CDGINC)\mconst.cdg
!if exist("$(CDGINC)") && exist("$(MSGDIR)") && exist("$(PRIMDIR)")
outdirs:
!else
outdirs:
-md $(CDGINC)
-md $(MSGDIR)
-md $(PRIMDIR)
!endif
$(MSGDIR)\M_RRLP_ASN1_INC.MDF: $(MSGDOCDIR)\m_rrlp_asn1.asn1
cd $(INCDIR)
$(ASN1_TO_MDF) $(MSGDOCDIR)\m_rrlp_asn1.asn1
rm -f "$(MSGDIR)\m_rrlp_asn1_inc.mdf" "$(MSGDIR)\m_rrlp_asn1_msg.mdf"
$(MV) "$(INCDIR)\m_rrlp_asn1_inc.mdf" "$(MSGDIR)\M_RRLP_ASN1_INC.MDF"
cp "$(INCDIR)\m_rrlp_asn1_msg.mdf" "$(MSGDIR)\M_RRLP_ASN1_MSG.MDF"
$(CDGINC)\mconst.cdg: $(MDFFILES) $(PDFFILES) $(MDFFILES1) $(PDFFILES1) $(PDFFILES2) $(MSGDIR)\M_RRLP_ASN1_INC.MDF $(MSGDIR)\M_RRLP_ASN1_MSG.MDF
-del $(CDGINC)\mdfpdf.txt
!echo $** >> $(CDGINC)\mdfpdf.txt
$(CCDGEN) -t -h -m512 $(CCDGEN_OPT_MAKCDG) -o$(CDGINC) -R$(CDGINC)\mdfpdf.txt
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -