
!if "$(BSP_NOPWRBTN)" == "1"
SKIPBUILD=1
!endif

TARGETNAME=PwrBtn
TARGETTYPE=DYNLINK

RELEASETYPE=PLATFORM

DLLENTRY=_DllMainCRTStartup
DEFFILE=PowerButton.def


!IF "$(_TGTPROJ)" == "smartfon"
CDEFINES=$(CDEFINES) -DSMARTFON
!ENDIF

!IF "$(_TGTPROJ)" == "wpc"
CDEFINES=$(CDEFINES) -DWPC
!ENDIF


TARGETLIBS= \
    $(_COMMONSDKROOT)\lib\$(_CPUINDPATH)\coredll.lib \
    $(_COMMONOAKROOT)\lib\$(_CPUINDPATH)\ceddk.lib	\
    $(_TARGETPLATROOT)\lib\$(_CPUINDPATH)\drvlib_mem.lib    \
    $(_TARGETPLATROOT)\lib\$(_CPUINDPATH)\drvlib.lib \

SOURCES= \
    button.c    \
	PowerButton.c

