sources
来自「AU1100嵌入式处理器lcd显示驱动程序」· 代码 · 共 95 行
TXT
95 行
######################################################################
#
# Makefile for Au1100 LCD driver
#
######################################################################
!IF 0
Copyright (c) 1989 Microsoft Corporation
Module Name:
sources.
Abstract:
This file specifies the target component being built and the list of
sources files needed to build that component. Also specifies optional
compiler switches and libraries that are unique for the component being
built.
!ENDIF
!if "$(BSP_NODISPLAY)" == "1"
SKIPBUILD=1
!endif
!if "$(BSP_DISPLAY_AU1100LCD)" != "1"
SKIPBUILD=1
!endif
#
# DDRAW support is the default build.
# To disable DDRAW support, set the environment var IMGNODDRAW to 1.
#
RELEASETYPE=PLATFORM
TARGETNAME=DDI_AU1100LCD
TARGETTYPE=DYNLINK
TARGETLIBS= \
$(_COMMONSDKROOT)\lib\$(_CPUINDPATH)\coredll.lib \
$(_COMMONOAKROOT)\lib\$(_CPUINDPATH)\gpe.lib \
$(_TARGETPLATROOT)\lib\$(_CPUINDPATH)\ceddk.lib \
!IF "$(IMGNODDRAW)" != "1"
$(_COMMONOAKROOT)\lib\$(_CPUINDPATH)\dxdrvguid.lib \
!ENDIF
#Base requirement, add these flags for debugging: -Od -DDEBUG
CDEFINES=$(CDEFINES) -DDDI -D$(_TGTPLAT)
!IF "$(IMGNODDRAW)" != "1"
#
#Set environment variable IMGNODDRAW to one to disable DDRAW support.
#
#
#DDRAW library.
#
SOURCELIBS= \
$(_COMMONOAKROOT)\lib\$(_CPUINDPATH)\ddgpe.lib \
#
#Use this module definition file for DDRAW, which exports HalInit.
#
DEFFILE=ddraw_au1100lcd.def
#SurfaceHeap class (linear memory allocation) is used when DDRAW_ENABLE is defined.
#Add -Od to disable optimization.
CDEFINES=$(CDEFINES) -DDDRAW_ENABLE
#Uncomment next line to display frame rate
#CDEFINES=$(CDEFINES) -DSHOW_FRAMERATE
!ENDIF
#
# Build.exe does not support conditional statements (e.g. !IF "$(IMGNODDRAW)" != "1") for the SOURCES macro.
# We therefore always link in DDRAW files. DDRAW_ENABLE conditionally includes or excludes DDRAW code compilation.
#
SOURCES= \
lcdgpe.cpp \
Cursor.cpp \
Blt.cpp \
Surf.cpp \
swcursor.cpp \
Registry.cpp \
halcaps.cpp \
haldd.cpp \
halpalette.cpp \
halsurf.cpp \
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?