;
; Copyright	(c)	Microsoft Corporation.	All	rights reserved.
;
;
; 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.
;

IF IMGMULTIXIP
#define	   XIPKERNEL	XIPKERNEL
ELSE
#define	   XIPKERNEL	NK
ENDIF IMGMULTIXIP

MODULES

;	Name					Path									Memory Type
;	--------------			----------------------------------		-----------
; -----------------------------------------------------------------------------
; GWES drivers
;

;------------- Display Driver -------------------------------------------------
; @CESYSGEN	IF CE_MODULES_DISPLAY
IF BSP_NODISPLAY !

	display.dll				$(_FLATRELEASEDIR)\display.dll			NK	SHMK

ENDIF BSP_NODISPLAY	!
; @CESYSGEN	ENDIF CE_MODULES_DISPLAY
;---------------------------------------------------------------------------

;-------- I2C Driver ---------------------------------------------------------------------------
IF BSP_NOI2C !
    i2c.dll        $(_FLATRELEASEDIR)\i2c.dll                    NK    SHMK
ENDIF BSP_NOI2C	!
;-----------------------------------------------------------------------------------------------


;--------------	Camera RAW Control Driver ---------------------------------------------------------
IF BSP_NODISPLAY !
	CAMDriver.dll			$(_FLATRELEASEDIR)\CAMDriver.dll		NK	SHMK
ENDIF BSP_NODISPLAY	!	 
;-------------------------------------------------------------------------------------------------

;--------------	Camera Capture Filter Driver ------------------------------------------------
IF BSP_NOCAMERA	!
	camera_filter.dll		$(_FLATRELEASEDIR)\camera_filter.dll	NK	SHMK
ENDIF BSP_NOCAMERA !
;-----------------------------------------------------------------------------------------------

;------------- Key Board Driver	-----------------------------------------------
; @CESYSGEN	IF CE_MODULES_KEYBD	|| CE_MODULES_POINTER
IF BSP_NOKEYBD !
	keypad.dll				$(_FLATRELEASEDIR)\keypad.dll			NK	SHMK
ELSE
;
; Include NOP Keyboard drivers if platform keypad driver is	not	being used
; (To enable HID and RDP scenarios)
;
; @CESYSGEN	IF CE_MODULES_NOPKEYBOARD
IF LOCALE=0412 !
	kbdmouse.dll			$(_FLATRELEASEDIR)\KbdNopUs.dll			NK	SHMK
ENDIF LOCALE=0412 !

IF LOCALE=0412
	kbdmouse.dll			$(_FLATRELEASEDIR)\KbdNopKor.dll		NK	SHMK
ENDIF LOCALE=0412
; @CESYSGEN	ENDIF CE_MODULES_NOPKEYBOARD

ENDIF BSP_NOKEYBD !
; @CESYSGEN	ENDIF CE_MODULES_KEYBD || CE_MODULES_POINTER
;-------------------------------------------------------------------------------

;--	Touch driver ---------------------------------------------------------------
; @CESYSGEN	IF CE_MODULES_POINTER
IF BSP_NOTOUCH !
	touch.dll	   $(_FLATRELEASEDIR)\touch.dll						NK	SHQM
ENDIF BSP_NOTOUCH !
; @CESYSGEN	ENDIF CE_MODULES_POINTER
;-------------------------------------------------------------------------------

;--	SD driver ------------------------------------------------------------------
; @CESYSGEN	IF CE_MODULES_SDBUS
;-------- SMDKV210 SDMMC -----------------------------------------------------------------------
IF BSP_NOSDMMC_CH0 !
   sdmmc_ch0.dll	$(_FLATRELEASEDIR)\sdmmc_ch0.dll				NK	SHMK
ENDIF BSP_NOSDMMC_CH0 !

;IF BSP_NOSDMMC_CH0
IF BSP_NOSDMMC_CH1 !
   sdmmc_ch1.dll	$(_FLATRELEASEDIR)\sdmmc_ch1.dll				NK	SHMK
ENDIF BSP_NOSDMMC_CH1 !
;ENDIF BSP_NOSDMMC_CH0

IF BSP_NOSDMMC_CH2 !
   sdmmc_ch2.dll	$(_FLATRELEASEDIR)\sdmmc_ch2.dll				NK	SHMK
ENDIF BSP_NOSDMMC_CH2 !

IF BSP_USE_SDMMC_CH2_8BIT !
IF BSP_NOSDMMC_CH3 !
   sdmmc_ch3.dll	$(_FLATRELEASEDIR)\sdmmc_ch3.dll				NK	SHMK
ENDIF BSP_NOSDMMC_CH3 !
ENDIF BSP_USE_SDMMC_CH2_8BIT !

; @CESYSGEN	ENDIF CE_MODULES_SDBUS
;-------------------------------------------------------------------------------

;--	Nand Flash driver ----------------------------------------------------------
IF BSP_POCKETSTORE
   NDisk.dll				$(_FLATRELEASEDIR)\NDisk.dll			$(XIPKERNEL) SHMK
   
IF BSP_POCKETFS
	PocketFS.dll			$(_FLATRELEASEDIR)\PocketFS.dll			$(XIPKERNEL) SHMK
ENDIF

ELSE
   nandflash.dll			$(_FLATRELEASEDIR)\nandflash.dll		$(XIPKERNEL) SHMK
ENDIF
;-------------------------------------------------------------------------------

;--	USB	driver -----------------------------------------------------------------
; @CESYSGEN	IF CE_MODULES_USBD
IF BSP_NOUSB !
IF BSP_NOUSBHCD !
    Ehci.dll   $(_FLATRELEASEDIR)\Ehci.dll       NK  SHMK
    ohci2.dll   $(_FLATRELEASEDIR)\ohci2.dll       NK  SHMK
ENDIF BSP_NOUSBHCD !
ENDIF BSP_NOUSB    !
; @CESYSGEN	ENDIF CE_MODULES_USBD

; @CESYSGEN	IF CE_MODULES_USBFN
IF BSP_NOUSB !
IF BSP_NOUSBFN !
   usbfn.dll				$(_FLATRELEASEDIR)\usbfn.dll			NK  SHMK
   BootCompleteApp.exe		$(_FLATRELEASEDIR)\BootCompleteApp.exe	NK	SH
ENDIF BSP_NOUSBFN !
ENDIF BSP_NOUSB	!
; @CESYSGEN	ENDIF CE_MODULES_USBFN
;-------------------------------------------------------------------------------

; -------------	Power Button Driver	--------------------------------------------
IF BSP_NOPWRBTN	!
	PwrBtn.dll				$(_FLATRELEASEDIR)\PwrBtn.dll			$(XIPKERNEL)	SHMK
ENDIF BSP_NOPWRBTN !
;---------------------------------------------------------------------------

; -------------	Power Control Driver --------------------------------------------
	PwrCon.dll				$(_FLATRELEASEDIR)\PwrCon.dll			$(XIPKERNEL)	SHMK
;---------------------------------------------------------------------------

; -------------	Video Engine Driver	--------------------------------------------
	Video.dll				$(_FLATRELEASEDIR)\Video.dll			$(XIPKERNEL)	SHMK
;--------------------------------------------------------------------------------

; -------------	TVout Driver --------------------------------------------------------
IF BSP_NOTVOUT !
	tvout.dll				$(_FLATRELEASEDIR)\tvout.dll			NK	SHMK
ENDIF BSP_NOTVOUT !
;------------------------------------------------------------------------------------
;-----------------------------CEC Driver---------------------------------------
IF BSP_NOCEC !
	cecdrv.dll				$(_FLATRELEASEDIR)\cecdrv.dll			NK	SHMK
ENDIF BSP_NOCEC	!
;---------------------------------------------------------------------------

;------------- iROM SDMMC Drivers ------------------------------------------------------
IF BSP_NOSDMMC_BOOT !
    BIBDrv.dll      $(_FLATRELEASEDIR)\BIBDrv.dll                       $(XIPKERNEL)    SHMK
    HSMMC.dll       $(_FLATRELEASEDIR)\HSMMC.dll                        $(XIPKERNEL)    SHMK
ENDIF BSP_NOSDMMC_BOOT !
;---------------------------------------------------------------------------------------


;--	Audio driver ---------------------------------------------------------------
; @CESYSGEN	IF CE_MODULES_WAVEAPI
IF BSP_NOAUDIO !

IF BSP_AUDIO_AC97
	wavedev.dll		   $(_FLATRELEASEDIR)\wavedev_ac97.dll		NK	SHMK
ELSE
	wavedev.dll		   $(_FLATRELEASEDIR)\wavedev.dll		NK	SHMK
ENDIF BSP_AUDIO_AC97	

ENDIF BSP_NOAUDIO !
; @CESYSGEN	ENDIF CE_MODULES_WAVEAPI
;-------------------------------------------------------------------------------

;--	Serial driver --------------------------------------------------------------
; @CESYSGEN	IF CE_MODULES_SERIAL
IF BSP_NOSERIAL	!
	SMDKV210_serial.dll		$(_FLATRELEASEDIR)\SMDKV210_serial.dll	NK	SHMK
ENDIF BSP_NOSERIAL !
; @CESYSGEN	ENDIF CE_MODULES_SERIAL
;-------------------------------------------------------------------------------

;------------------	High Speed SPI Driver --------------------------------------
; @CESYSGEN	IF CE_MODULES_SPI
; @CESYSGEN	ENDIF CE_MODULES_SPI
;-------------------------------------------------------------------------------

;--	Battery	driver -------------------------------------------------------------
; @CESYSGEN	IF CE_MODULES_BATTDRVR
IF BSP_NOBATTERY !
	battdrvr.dll			$(_FLATRELEASEDIR)\battdrvr.dll			NK	SHMK
ENDIF BSP_NOBATTERY	!
; @CESYSGEN	ENDIF CE_MODULES_BATTDRVR
;-------------------------------------------------------------------------------

;--	LED	driver -----------------------------------------------------------------
; @CESYSGEN	IF CE_MODULES_NLEDDRVR
IF BSP_NONLED !
	nleddrvr.dll			$(_FLATRELEASEDIR)\nleddrvr.dll			$(XIPKERNEL)	SHMK
ENDIF	; BSP_NONLED !
; @CESYSGEN	ENDIF CE_MODULES_NLEDDRVR
;-------------------------------------------------------------------------------

;--	Backlight driver -----------------------------------------------------------
IF BSP_NOBACKLIGHT !
	backlight.dll			$(_FLATRELEASEDIR)\backlight.dll		$(XIPKERNEL)	SHMK
ENDIF ;	BSP_NOBACKLIGHT	!

;-------------------------------------------------------------------------------

;--------- Bluetooth Driver	------------------------------------------------------
; @CESYSGEN	IF CE_MODULES_BTHCSR
IF BSP_NOBLUETOOTH !
	bthcsr.dll	  			$(_FLATRELEASEDIR)\bthcsr.dll			NK  SHMK
ENDIF ;BSP_NOBLUETOOTH !
; @CESYSGEN	ENDIF CE_MODULES_BTHCSR

; @CESYSGEN	IF CE_MODULES_BTD
IF BSP_NOBLUETOOTH !
	btd.dll		  			$(_FLATRELEASEDIR)\btd.dll				NK  SHMK
ENDIF ;BSP_NOBLUETOOTH !
; @CESYSGEN	ENDIF CE_MODULES_BTD
;---------------------------------------------------------------------------------


;--D3DM	DRIVER------------------------------------------------------------------
; @CESYSGEN	IF DIRECTX_MODULES_D3DM
IF BSP_NOD3DM !
	d3dm_sedrv.dll			$(_FLATRELEASEDIR)\d3dm_sedrv.dll		NK	SHM
ENDIF ;BSP_NOD3DM
; @CESYSGEN	ENDIF DIRECTX_MODULES_D3DM
; -----------------------------------------------------------------------------

;--OPENGLES	DRIVER------------------------------------------------------------------
IF BSP_NOOES !
	s3c_lcd.dll				$(_OESRELEASEDIR)\s3c_lcd.dll			NK  SHK
	ddi_powervr.dll                         $(_OESRELEASEDIR)\ddi_powervr.dll		NK  SHK
	srvkm.dll				$(_OESRELEASEDIR)\srvkm.dll			NK  SHK
ENDIF ;BSP_NOOES
; -----------------------------------------------------------------------------


;-------- MFC Driver ---------------------------------------------------------------------------
IF BSP_NOMFC !
	mfc.dll					$(_FLATRELEASEDIR)\mfc.dll				NK	SHMK
       MFCAPI.dll     				$(_FLATRELEASEDIR)\MFCAPI.dll               NK    U
ENDIF BSP_NOMFC	!
;-----------------------------------------------------------------------------------------------

;------------- Jpeg	Driver ----------------------------------------------------------------
IF BSP_NOJPEG !
	jpg.dll				$(_FLATRELEASEDIR)\jpg.dll				NK	SHMK
       JPGAPI.dll    			$(_FLATRELEASEDIR)\JPGAPI.dll               NK    U
ENDIF BSP_NOJPEG !

;---------------------------------------------------------------------------------------

;------------- CMM Driver --------------------------------------------------------------------
	cmm_driver.dll			$(_FLATRELEASEDIR)\cmm_driver.dll		NK	SHMK
;---------------------------------------------------------------------------------------------

;------------- MFC Filters ----------------------------------------------------------------
;IF	SAMPLES_DSHOWFILTERS
;	 SsapMp4Parser.dll			$(_FLATRELEASEDIR)\SsapMp4Parser.dll			NK
;ENDIF SAMPLES_DSHOWFILTERS


IF SAMPLES_DSHOWFILTERS
	FrameExtractFilter.dll		$(_FLATRELEASEDIR)\FrameExtractFilter.dll		NK
ENDIF SAMPLES_DSHOWFILTERS

IF SAMPLES_DSHOWFILTERS
	MFCDecFilter.dll			$(_FLATRELEASEDIR)\MFCDecFilter.dll				NK
ENDIF SAMPLES_DSHOWFILTERS


IF SAMPLES_DSHOWFILTERS
	AACSBREnhancedDecoder.dll	$(_FLATRELEASEDIR)\AACSBREnhancedDecoder.dll	NK
;	 AMRdec920.dll				$(_FLATRELEASEDIR)\AMRdec920.dll				NK
ENDIF SAMPLES_DSHOWFILTERS


;-------------------------------------------------------------------------------



;--------------DM9000A Driver------------------------------------------------------
    dm9isa.dll         $(_FLATRELEASEDIR)\dm9isa.dll        NK    SHK










; -------------------------------------	BEG	-- drvlib dll -----------------------------------------------------
	drvlib.dll					$(_FLATRELEASEDIR)\drvlib.dll	   NK	   SHMK
; -------------------------------------	END	-- drvlib dll -----------------------------------------------------

;---------------------------------------------------------------------------------------

FILES
;  Name					   Path										   Memory Type
;  --------------		   ----------------------------------		   -----------
;	 pewcearm.exe			$(_FLATRELEASEDIR)\pewcearm.exe					NK	U
	GarField.wmv			$(_FLATRELEASEDIR)\GarField.wmv					NK	U
;	 HSPITestApp.exe		$(_FLATRELEASEDIR)\HSPITestApp.exe				NK  U
	recorder.exe		$(_FLATRELEASEDIR)\recorder.exe				NK  U
	ddex1.exe				$(_FLATRELEASEDIR)\ddex1.exe					NK  U
	ddex2.exe				$(_FLATRELEASEDIR)\ddex2.exe					NK  U
	ddex3.exe				$(_FLATRELEASEDIR)\ddex3.exe					NK  U
	ddex4.exe				$(_FLATRELEASEDIR)\ddex4.exe					NK  U	
	mosquito.exe			$(_FLATRELEASEDIR)\mosquito.exe					NK	U		  
	donuts.exe				$(_FLATRELEASEDIR)\donuts.exe					NK  U
	MFCAPI.dll				$(_FLATRELEASEDIR)\MFCAPI.dll					NK  U
	LPAudio_TestPlayer.exe	$(_FLATRELEASEDIR)\LPAudio_TestPlayer.exe		NK  U
	CAMERAAPP.exe	$(_FLATRELEASEDIR)\CAMERAAPP.exe		NK  U  
	X210_HDMI_TEST1.exe $(_FLATRELEASEDIR)\X210_HDMI_TEST1.exe  NK  U 
;	TouchCalibrate.exe	    $(_FLATRELEASEDIR)\TouchCalibrate.exe			NK	U	 
;	hx.mp3	$(_FLATRELEASEDIR)\hx.mp3			NK	U	 
IF BSP_NOBACKLIGHT !
	backlight.cpl		 $(_FLATRELEASEDIR)\backlight.cpl					NK	U
ENDIF ;	BSP_NOBACKLIGHT	!

IF BSP_NOOES !
; -------------------------------------	BEG	-- OpenGLES	Binaries ------------------------------------

srvclum.dll					$(_OESRELEASEDIR)\srvclum.dll					NK	SH
services_test.exe			$(_OESRELEASEDIR)\services_test.exe				NK	U
sgx_blit_test.exe			$(_OESRELEASEDIR)\sgx_blit_test.exe				NK	U
sgx_flip_test.exe			$(_OESRELEASEDIR)\sgx_flip_test.exe				NK	U
sgx_init_test.exe			$(_OESRELEASEDIR)\sgx_init_test.exe				NK	U
sgx_render_flip_test.exe	$(_OESRELEASEDIR)\sgx_render_flip_test.exe		NK	U
sgx_clipblit_test.exe		$(_OESRELEASEDIR)\sgx_clipblit_test.exe			NK	U
pvr2d_unittest.exe			$(_OESRELEASEDIR)\pvr2d_unittest.exe			NK	U
pvr2dtest.exe				$(_OESRELEASEDIR)\pvr2dtest.exe					NK	U

libimgegl.dll				$(_OESRELEASEDIR)\libimgegl.dll					NK	SH
libegl.dll					$(_OESRELEASEDIR)\libegl.dll					NK	SH
eglinfo.exe					$(_OESRELEASEDIR)\eglinfo.exe					NK	U
nullws.dll					$(_OESRELEASEDIR)\nullws.dll					NK	SH
libGLES_CM.dll				$(_OESRELEASEDIR)\libGLES_CM.dll				NK	SH
gles1test1.exe				$(_OESRELEASEDIR)\gles1test1.exe				NK	U

libglesv2.dll				$(_OESRELEASEDIR)\libglesv2.dll					NK	SH
gles2test1.exe				$(_OESRELEASEDIR)\gles2test1.exe				NK	U
gles2_texture_stream.exe	$(_OESRELEASEDIR)\gles2_texture_stream.exe		NK	U
glslcompiler.dll			$(_OESRELEASEDIR)\glslcompiler.dll				NK	SH

libopenvg.dll				$(_OESRELEASEDIR)\libopenvg.dll					NK	SH
libopenvgu.dll				$(_OESRELEASEDIR)\libopenvgu.dll				NK	SH
ovg_unit_test.exe			$(_OESRELEASEDIR)\ovg_unit_test.exe				NK	U

bc_example.dll				$(_OESRELEASEDIR)\bc_example.dll				NK	SH
gles1_texture_stream.exe	$(_OESRELEASEDIR)\gles1_texture_stream.exe		NK	U

; -------------------------------------	END	-- OpenGLES	Binaries ------------------------------------	 
ENDIF ;	BSP_NOOES !




MODULES


    RT2870.DLL		$(_TARGETPLATROOT)\SRC\DRIVERS\USB_WIFI\ARMV4I\retail\RT2870.DLL		NK  SHK
    
    
 
IF BSP_USBWIIF_RT2870
	RT2870.DLL    $(_FLATRELEASEDIR)\RT2870.DLL		NK  SHK
ENDIF ;BSP_USBWIIF_RT2870

IF BSP_USBWIIF_8188
	RTL8192CU.dll    $(_FLATRELEASEDIR)\RTL8192CU.dll		NK  SHK
ENDIF ;BSP_USBWIIF_8188	