!if 0
Copyright (c) Microsoft Corporation.  All rights reserved.
!endif
!if 0
Use of this source code is subject to the terms of the Microsoft end-user
license agreement (EULA) under which you licensed this SOFTWARE PRODUCT.
If you did not accept the terms of the EULA, you are not authorized to use
this source code. For a copy of the EULA, please see the LICENSE.RTF on your
install media.
!endif
!IF 0

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_NOUSBFN)" == "1"
SKIPBUILD=1
!endif

TARGETNAME=usbfn
TARGETTYPE=DYNLINK
RELEASETYPE=PLATFORM
DLLENTRY = _DllEntryCRTStartup
DEFFILE=usbfn.def

PREPROCESSDEFFILE=1

CDEFINES=$(CDEFINES) -DCEDDK_USEDDKMACRO

SOURCELIBS= \
    $(_COMMONOAKROOT)\lib\$(_CPUINDPATH)\ufnmdd.lib

TARGETLIBS= \
    $(_COMMONOAKROOT)\lib\$(_CPUINDPATH)\ceddk.lib \
    $(_COMMONSDKROOT)\lib\$(_CPUINDPATH)\coredll.lib \
    $(_COMMONOAKROOT)\lib\$(_CPUINDPATH)\ufnmdd.lib \
    $(_TARGETPLATROOT)\lib\$(_CPUINDPATH)\Drvlib_mem.lib \
	$(_TARGETPLATROOT)\lib\$(_CPUINDPATH)\Drvlib.lib

SOURCES = \
    otgdevice.cpp \
    usbfn.cpp
