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

📄 common1win32.inc

📁 Lido PXA270平台开发板的最新BSP,包括源代码
💻 INC
字号:
############################################################################
#
# File			: COMMON1WIN32.INC
#
# Title			: NMake defines
# 
# Author        : Ben Bowman
# 
# Created  		: 22/5/2003
# 
# Copyright		: 2003 by Imagination Technologies Limited.	All	rights reserved.
#				  No part  of this	software, either material or conceptual	
#				  may	be copied or distributed, transmitted, transcribed,
#				  stored in a	retrieval system or	translated into	any	
#				  human or computer language in any form by any means,
#				  electronic,	mechanical,	manual or other-wise, or 
#				  disclosed to third parties without the express written
#				  permission of VideoLogic Limited, Unit 8, HomePark
#				  Industrial Estate, King's Langley, Hertfordshire,
#				  WD4	8LZ, U.K.
#
# $Date: 2003/11/10 17:22:09 $ $Revision: 1.1 $
 * $Log: common1win32.inc $
############################################################################

SWDEFS=$(WORKROOT)\pmx\swdefs
HWDEFS=$(WORKROOT)\consumer\drivers\hwdefs

############################################################################
# Check stuff that MUST be set on command line
############################################################################

! if "$(BUILD)"!="debug" && "$(BUILD)"!="release" && "$(BUILD)"!="developer" && "$(BUILD)"!="timing"
!message BUILD must be set to debug, release, timing, metric - defaulting to release.
BUILD="release"
! endif

############################################################################
# Set the SUPPORT_HW C-defines
############################################################################


!ifdef SUPPORT_MBX1_LITE
SUPPORT= -DSUPPORT_MBX1_LITE=1
!else
SUPPORT= -DSUPPORT_MBX1=1
!endif

!ifdef SUPPORT_VGP
SUPPORT= $(SUPPORT) -DSUPPORT_VGP=1
!else
!ifdef SUPPORT_VGP_LITE
SUPPORT= $(SUPPORT) -DSUPPORT_VGP_LITE=1
!endif
!endif

!ifdef PDUMP
SUPPORT= $(SUPPORT) -DPDUMP=1
!endif

!ifndef PROFILE_COMMONLITE
SUPPORT= $(SUPPORT) -DPROFILE_COMMON=1
!endif

!ifndef USE_TERMINATE_PORT
SUPPORT= $(SUPPORT) -DUSE_TERMINATE_WORD=1
!else
SUPPORT= $(SUPPORT) -DUSE_SW_FLOWCONTROL=1
!endif


############################################################################
# Sort out tool path, can be overriden on command line.
############################################################################
!ifndef TPO
TOOLS		= (WORKROOT)\pmx\tools
!else
TOOLS		= TPO
!endif

############################################################################
# DDK's, SDK's and other slightly useful tool paths
############################################################################
!ifndef USERPATHS
!include $(SWDEFS)\valenv.mk
!endif

############################################################################
# Define some miscellaneous stuff
############################################################################
WINBIN=$(WORKROOT)\consumer\opengles\bin_win32

# A default dll base incase a specific module doesn't define its own
DLL_BASE=0x10000000

############################################################################
# Define the tools type thing 
############################################################################
CC			= $(CC32ROOT)\bin\cl
ASM			= $(MASMROOT)\bin\ml
LINK		= $(CC32ROOT)\bin\link
RC 			= $(SDKROOT)\bin\rc

CDEFINES= -DWIN32=1 -DMSVC_IA32=1 -DWIN32_LEAN_AND_MEAN=1 $(SUPPORT)
CFLAGS= -nologo -W3
INCLUDE= -I. -I..\include -I$(HWDEFS) -I$(DXSDKROOT)\inc -I$(CC32ROOT)\include 
LFLAGS= /DLL /SUBSYSTEM:windows,4.0 /NOLOGO /MACHINE:IX86  /INCREMENTAL:NO
RCFLAGS= -dNAME_LIB_TXT=\"$(TARGET).DLL\" -dWIN32 -dBUILD=\"$(BUILD_INFO)\" -dVER_PROD_TXT=\"$(PROD_TXT)\"
ASMOPTS=  -nologo -coff -DBLD_COFF -DIS_32 -W2 -c -Cx -Zm -DMASM6
LINKLIBS=libc.lib kernel32.lib user32.lib

!if "$(BUILD)"=="debug"
INCDEBUGMETRIC=1
OBJ= debugwin.tmp
#PMXBIN = $(PMXBIN)\debug
CDEFINES= $(CDEFINES) -DDEBUG=1 -DDLL_METRIC=1 -D_DEBUG
CFLAGS= $(CFLAGS) -Z7 -Yd
LFLAGS= $(LFLAGS) /DEBUG /DEBUGTYPE:BOTH
!endif

!if "$(BUILD)"=="timing"
INCDEBUGMETRIC=1
OBJ= timingwin.tmp
#PMXBIN = $(PMXBIN)\timing
CDEFINES= $(CDEFINES) -DTIMING=1 -DDLL_METRIC=1
CFLAGS = $(CFLAGS) -Gs -Gf -G5 -Ox -Z7 -Yd
LFLAGS = $(LFLAGS) /DEBUG:FULL /DEBUGTYPE:BOTH
!endif

!if "$(BUILD)"=="release"
OBJ= releasewin.tmp
#PMXBIN = $(PMXBIN)\release
CFLAGS = $(CFLAGS) -Gs -Gf -G5 -Ox -Z7 -Yd
LFLAGS = $(LFLAGS) /DEBUG:FULL /DEBUGTYPE:BOTH
!endif

⌨️ 快捷键说明

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