;
; Copyright (c) Microsoft Corporation.  All rights reserved.
;
;
; Use of this sample source code is subject to the terms of the Microsoft
; license agreement under which you licensed this sample source code. If
; you did not accept the terms of the license agreement, you are not
; authorized to use this sample source code. For the terms of the license,
; please see the license agreement between you and Microsoft or, if applicable,
; see the LICENSE.RTF on your install media or the root of your tools installation.
; THE SAMPLE SOURCE CODE IS PROVIDED "AS IS", WITH NO WARRANTIES.
;

MODULES
;  Name            Path                                           Memory Type
;  --------------  ---------------------------------------------  -----------

; @CESYSGEN IF CE_MODULES_DEVICE

    ; @CESYSGEN IF CE_MODULES_GIISR
        GIISR.dll       $(_FLATRELEASEDIR)\GIISR.dll                  NK  SHK
    ; @CESYSGEN ENDIF CE_MODULES_GIISR

    ; @CESYSGEN IF CE_MODULES_DEVICE
        dma8237_x86_ms_v1.dll  $(_FLATRELEASEDIR)\dma8237_x86_ms_v1.dll    NK SHK
    ; @CESYSGEN ENDIF CE_MODULES_DEVICE

    ; @CESYSGEN IF CE_MODULES_PCI
        IF BSP_NOPCIBUS !
            PCIbus.dll      $(_FLATRELEASEDIR)\PCIbus.dll                  NK SHK
            ; @CESYSGEN IF CE_MODULES_USBD
                ; USB drivers
                IF BSP_NOUSB !
                     IF BSP_USB_UHCI
                        uhci.dll       $(_FLATRELEASEDIR)\uhci.dll                     NK SHK
                     ENDIF BSP_USB_UHCI
                     IF BSP_USB_OHCI
                         ohci2.dll       $(_FLATRELEASEDIR)\ohci2.dll                   NK SHK
                     ENDIF BSP_USB_OHCI
                     IF BSP_USB_EHCI
                         ehci.dll       $(_FLATRELEASEDIR)\ehci.dll                     NK SHK
                     ENDIF BSP_USB_EHCI
                    IF BSP_USB_UHCI_ICEG
                       uhci_iceg.dll  $(_FLATRELEASEDIR)\uhci_iceg.dll     NK  SHK
                    ENDIF
                    IF BSP_USB_EHCI_ICEG
                       ehci_iceg.dll  $(_FLATRELEASEDIR)\ehci_iceg.dll     NK  SHK
                    ENDIF
                ENDIF BSP_NOUSB !
            ; @CESYSGEN ENDIF CE_MODULES_USBD

            ; @CESYSGEN IF CE_MODULES_WAVEAPI
                IF BSP_NOAUDIO !
                    IF BSP_WAVEDEV_ES1371
                        es1371.dll          $(_FLATRELEASEDIR)\es1371.dll             NK SHK
                    ENDIF BSP_WAVEDEV_ES1371
                    IF BSP_WAVEDEV_ENSONIQ
                        ensoniq.dll         $(_FLATRELEASEDIR)\ensoniq.dll            NK SHK
                    ENDIF BSP_WAVEDEV_ENSONIQ
                    IF BSP_WAVEDEV_WAVEDEV2_ENSONIQ
                        wavedev2_ensoniq.dll $(_FLATRELEASEDIR)\wavedev2_ensoniq.dll  NK SHK
                    ENDIF BSP_WAVEDEV_WAVEDEV2_ENSONIQ
                 
                    IF BSP_WAVEDEV_SCHHDA
                        schhda.dll    $(_TARGETPLATROOT)\bin\drivers\HDA\schhda.dll   NK SHK
                    ENDIF
               ENDIF BSP_NOAUDIO !
            ; @CESYSGEN ENDIF CE_MODULES_WAVEAPI

            ; @CESYSGEN IF CE_MODULES_PCCARD
                IF BSP_NOPCCARD !
                    IF BSP_PCCARD_I82365
                        pcc_i82365.dll      $(_FLATRELEASEDIR)\pcc_i82365.dll          NK SHK
                    ENDIF BSP_PCCARD_I82365
                    IF BSP_PCCARD_TIPCCARD
                        pcc_tipccard.dll      $(_FLATRELEASEDIR)\pcc_tipccard.dll      NK SHK
                    ENDIF BSP_PCCARD_TIPCCARD
                    pcc_serv.dll        $(_FLATRELEASEDIR)\pcc_serv.dll            NK SHK
                    pcmcia.dll          $(_FLATRELEASEDIR)\pcc_pcm.dll             NK SHK
                ENDIF BSP_NOPCCARD !
            ; @CESYSGEN ENDIF CE_MODULES_PCCARD


        ENDIF BSP_NOPCIBUS !
    ; @CESYSGEN ENDIF CE_MODULES_PCI

    ; @CESYSGEN IF CE_MODULES_KEYBD || CE_MODULES_POINTER
        #if ! (defined BSP_NOKEYBD && defined BSP_NOMOUSE)
            #if ! (defined IMGPPC || defined IMGTPC)
                IF LOCALE=0411 !
                    IF LOCALE=0412 !
                        IF BSP_KEYBD_NOP
                            ; @CESYSGEN IF CE_MODULES_NOPKEYBOARD
                                kbdmouse.dll        $(_FLATRELEASEDIR)\KbdNopUS.dll           NK SHK
                            ; @CESYSGEN ENDIF CE_MODULES_NOPKEYBOARD
                        ENDIF BSP_KEYBD_NOP
                        IF BSP_KEYBD_NOP !
                            ; @CESYSGEN IF CE_MODULES_8042KEYBOARD
                                kbdmouse.dll        $(_FLATRELEASEDIR)\Kbd8042US.dll          NK SHK
                            ; @CESYSGEN ENDIF CE_MODULES_8042KEYBOARD
                        ENDIF BSP_KEYBD_NOP
                    ENDIF LOCALE=0412 !
                ENDIF LOCALE=0411 !

                IF LOCALE=0411
                    IF BSP_KEYBD_JPN1
                        IF BSP_KEYBD_NOP
                            ; @CESYSGEN IF CE_MODULES_NOPKEYBOARD
                                kbdmouse.dll        $(_FLATRELEASEDIR)\KbdNopJpn1.dll         NK SHK
                            ; @CESYSGEN ENDIF CE_MODULES_NOPKEYBOARD
                        ENDIF BSP_KEYBD_NOP
                        IF BSP_KEYBD_NOP !
                            ; @CESYSGEN IF CE_MODULES_8042KEYBOARD
                                kbdmouse.dll        $(_FLATRELEASEDIR)\Kbd8042Jpn1.dll        NK SHK
                            ; @CESYSGEN ENDIF CE_MODULES_8042KEYBOARD
                        ENDIF BSP_KEYBD_NOP !
                    ENDIF BSP_KEYBD_JPN1
                    IF BSP_KEYBD_JPN1 !
                        IF BSP_KEYBD_NOP
                        ; @CESYSGEN IF CE_MODULES_NOPKEYBOARD
                            kbdmouse.dll        $(_FLATRELEASEDIR)\KbdNopJpn2.dll         NK SHK
                        ; @CESYSGEN ENDIF CE_MODULES_NOPKEYBOARD
                        ENDIF BSP_KEYBD_NOP
                        IF BSP_KEYBD_NOP !
                            ; @CESYSGEN IF CE_MODULES_8042KEYBOARD
                                kbdmouse.dll        $(_FLATRELEASEDIR)\Kbd8042Jpn2.dll        NK SHK
                            ; @CESYSGEN ENDIF CE_MODULES_8042KEYBOARD
                        ENDIF BSP_KEYBD_NOP !
                    ENDIF BSP_KEYBD_JPN1 !
                ENDIF LOCALE=0411

                IF LOCALE=0412
                    IF BSP_KEYBD_NOP
                        ; @CESYSGEN IF CE_MODULES_NOPKEYBOARD
                            kbdmouse.dll        $(_FLATRELEASEDIR)\KbdNopKor.dll          NK SHK
                        ; @CESYSGEN ENDIF CE_MODULES_NOPKEYBOARD
                    ENDIF BSP_KEYBD_NOP
                    IF BSP_KEYBD_NOP !
                        ; @CESYSGEN IF CE_MODULES_8042KEYBOARD
                            kbdmouse.dll        $(_FLATRELEASEDIR)\Kbd8042Kor.dll         NK SHK
                        ; @CESYSGEN ENDIF CE_MODULES_8042KEYBOARD
                    ENDIF BSP_KEYBD_NOP !
                ENDIF LOCALE=0412
            #endif ! (defined IMGPPC || defined IMGTPC)

            #if (defined IMGPPC || defined IMGTPC)
                IF IMGPPC
{BEGIN MULTILANG}
{SKIPLANG 0411 0412}
                    ; @BEGINASSOC LOCALE %LANGID%
                        kbdmouse.dll     $(_FLATRELEASEDIR)\Kbd8042US.dll      NK  SHK
                    ; @ENDASSOC
{END MULTILANG}
                ENDIF IMGPPC

                IF IMGTPC
                    ; @XIPREGION IF OEM_COMMONNONEA
                        ;Needs to go to CommonNonEA package via SYSGEN tags.  mapping the file name will
                        ;not work here because they also need to go to the 0804 and 0404 language packages.
                        kbdmouse.dll     $(_FLATRELEASEDIR)\Kbd8042US.dll      NK  SHK
                    ; @XIPREGION ENDIF OEM_COMMONNONEA

                    ; @BEGINASSOC LOCALE 0404
                        kbdmouse.dll     $(_FLATRELEASEDIR)\Kbd8042US.dll      NK  SHK
                    ; @ENDASSOC

                    ; @BEGINASSOC LOCALE 0804
                        kbdmouse.dll     $(_FLATRELEASEDIR)\Kbd8042US.dll      NK  SHK
                    ; @ENDASSOC
                ENDIF IMGTPC

                ; @BEGINASSOC LOCALE 0411
IF BSP_KEYBD_JPN1
                    kbdmouse.dll     $(_FLATRELEASEDIR)\Kbd8042Jpn1.dll  NK  SHK
ENDIF ; BSP_KEYBD_JPN1
IF BSP_KEYBD_JPN1 !
                    kbdmouse.dll     $(_FLATRELEASEDIR)\Kbd8042Jpn2.dll  NK  SHK
ENDIF ; BSP_KEYBD_JPN1 !
                ; @ENDASSOC
                ; @BEGINASSOC LOCALE 0412
                    kbdmouse.dll     $(_FLATRELEASEDIR)\Kbd8042Kor.dll   NK  SHK
                ; @ENDASSOC
            #endif (defined IMGPPC || defined IMGTPC)
        #endif !(defined BSP_NOKEYBD && defined BSP_NOMOUSE)
    ; @CESYSGEN ENDIF CE_MODULES_KEYBD || CE_MODULES_POINTER

    ; @CESYSGEN IF CE_MODULES_SERIAL
        IF BSP_NOSERIAL !
                ; The built-in com16550 driver supports any number of 16550 ports.
                    com16550.dll    $(_FLATRELEASEDIR)\com16550.dll               NK SHQ
                    isr16550.dll    $(_FLATRELEASEDIR)\isr16550.dll               NK SHK
    
                ; @CESYSGEN IF CE_MODULES_IRDASTK
                IF BSP_NOSIR !
                        ; SIR - Serial Irda NDIS miniport driver
                        irsir.dll       $(_FLATRELEASEDIR)\irsir.dll                NK SHK
                ENDIF BSP_NOSIR !
                ; @CESYSGEN ENDIF CE_MODULES_IRDASTK

        ENDIF BSP_NOSERIAL !
    ; @CESYSGEN ENDIF CE_MODULES_SERIAL

    ; @CESYSGEN IF CE_MODULES_PARALLEL
        IF BSP_NOPARALLEL !
            ;  Parallel Port Driver
            parallel.dll    $(_FLATRELEASEDIR)\parallel.dll               NK SHK
        ENDIF BSP_NOPARALLEL !
    ; @CESYSGEN ENDIF CE_MODULES_PARALLEL

    ; @CESYSGEN IF CE_MODULES_BATTDRVR
        IF BSP_NOBATTERY !
            battdrvr.dll        $(_FLATRELEASEDIR)\battdrvr.dll           NK SHK
        ENDIF BSP_NOBATTERY !
    ; @CESYSGEN ENDIF CE_MODULES_BATTDRVR

    ; @CESYSGEN IF CE_MODULES_NLEDDRVR
        IF BSP_NONLED !
            nleddrvr.dll        $(_FLATRELEASEDIR)\nleddrvr.dll           NK SHK
        ENDIF BSP_NONLED !
    ; @CESYSGEN ENDIF CE_MODULES_NLEDDRVR

; @CESYSGEN ENDIF CE_MODULES_DEVICE

; @CESYSGEN IF CE_MODULES_DISPLAY
    IF BSP_NODISPLAY !
        IF BSP_DISPLAY_NOP
            ; MGDI NOP Display driver
            ddi.dll         $(_FLATRELEASEDIR)\ddi_nop.dll                NK SHK
        ENDIF BSP_DISPLAY_NOP
    ENDIF BSP_NODISPLAY !
; @CESYSGEN ENDIF CE_MODULES_DISPLAY

; @CESYSGEN IF CE_MODULES_SDNPCID
    sdnpcid.dll         $(_FLATRELEASEDIR)\sdnpcid.dll            NK SHK
; @CESYSGEN ENDIF CE_MODULES_SDNPCID

; @CESYSGEN IF CE_MODULES_ENUMFASLPCI
    enumfaslpci.dll   $(_FLATRELEASEDIR)\enumfaslpci.dll          NK SHK
; @CESYSGEN ENDIF CE_MODULES_ENUMFASLPCI

; @CESYSGEN IF CE_MODULES_FASLD
    fasld.dll         $(_FLATRELEASEDIR)\fasld.dll                NK SHK
; @CESYSGEN ENDIF CE_MODULES_FASLD

; @CESYSGEN IF CE_MODULES_RAMDISK
    ramdisk.dll         $(_FLATRELEASEDIR)\ramdisk.dll            NK  SHK
; @CESYSGEN ENDIF CE_MODULES_RAMDISK

; @CESYSGEN IF CELLCORE_MODULES_RIL
    IF IMGFAKERIL
        fakeril.dll                     $(_FLATRELEASEDIR)\fakeril.dll                  NK  SHK
        IF IMGFAKERILNETWORK
            fakeril_intermediate.dll    $(_FLATRELEASEDIR)\fakeril_intermediate.dll     NK  SHK
        ENDIF ; IMGFAKERILNETWORK
    ELSE
        ; @XIPREGION IF PLATFORM_MODULES_RIL
            IF IMGNORILTSP !
                IF IMGTTPCOM
                    rilgsm.dll          $(_FLATRELEASEDIR)\rilttpcom.dll                NK  SHK
                    ttpmux.dll          $(_FLATRELEASEDIR)\ttpmux.dll                   NK  SHK
                    IF IMGTTPCOM_TTPGENIE
                        ttpgenie.dll    $(_FLATRELEASEDIR)\ttpgenie.dll                 NK  SHK
                    ENDIF ; IMGTTPCOM_TTPGENIE
                ENDIF IMGTTPCOM
                IF IMGTTPCOM !
                    IF IMGENFORA
                        rilgsm.dll          $(_FLATRELEASEDIR)\rilenfora.dll            NK  SHK
                    ENDIF IMGENFORA
                ENDIF IMGTTPCOM !
            ENDIF IMGNORILTSP !
        ; @XIPREGION ENDIF PLATFORM_MODULES_RIL
    ENDIF IMGFAKERIL
; @CESYSGEN ENDIF CELLCORE_MODULES_RIL


; @CESYSGEN IF CE_MODULES_NDIS
	IF BSP_NIC_I82574
		IF IMGNOKITL
            E1Q51CE6.dll   $(_TARGETPLATROOT)\bin\drivers\nic\E1Q51CE6.dll    NK  SHK
        ENDIF IMGNOKITL
	ENDIF BSP_NIC_I82574

; @CESYSGEN ENDIF CE_MODULES_NDIS


FILES

; @CESYSGEN IF CE_MODULES_DISPLAY
IF BSP_DISPLAY_IEGD
    ddi_iegd.dll    $(_TARGETPLATROOT)\bin\drivers\IEGD\ddi_iegd.dll              NK SH
    isr_iegd.dll    $(_TARGETPLATROOT)\bin\drivers\IEGD\isr_iegd.dll              NK SH
    iegd3dg3.dll    $(_TARGETPLATROOT)\bin\drivers\IEGD\iegd3dg3.dll              NK SH
    iegd3dg4.dll    $(_TARGETPLATROOT)\bin\drivers\IEGD\iegd3dg4.dll              NK SH
    iegd3dga.dll    $(_TARGETPLATROOT)\bin\drivers\IEGD\iegd3dga.dll              NK SH
    analog.dll      $(_TARGETPLATROOT)\bin\drivers\IEGD\analog.dll                NK SH
    lvds.dll        $(_TARGETPLATROOT)\bin\drivers\IEGD\lvds.dll                  NK SH
    sdvo.dll        $(_TARGETPLATROOT)\bin\drivers\IEGD\sdvo.dll                  NK SH


;  Name            Path                                           Memory Type
;  --------------  ---------------------------------------------  -----------

IF BSP_DISPLAY_IEGD_DSHOW
    aac_dec_filter.dll		$(_TARGETPLATROOT)\bin\drivers\IEGD_DSHOW\aac_dec_filter.dll	NK SH
    ac3_dec_filter.dll		$(_TARGETPLATROOT)\bin\drivers\IEGD_DSHOW\ac3_dec_filter.dll	NK SH
    h264_dec_filter.dll		$(_TARGETPLATROOT)\bin\drivers\IEGD_DSHOW\h264_dec_filter.dll   NK SH
    mpeg2_dec_filter.dll    	$(_TARGETPLATROOT)\bin\drivers\IEGD_DSHOW\mpeg2_dec_filter.dll  NK SH
    mpeg2_spl_filter.dll	$(_TARGETPLATROOT)\bin\drivers\IEGD_DSHOW\mpeg2_spl_filter.dll  NK SH
    mpeg4_dec_filter.dll	$(_TARGETPLATROOT)\bin\drivers\IEGD_DSHOW\mpeg4_dec_filter.dll  NK SH
    mpeg4_spl_filter.dll	$(_TARGETPLATROOT)\bin\drivers\IEGD_DSHOW\mpeg4_spl_filter.dll  NK SH

ENDIF ; BSP_DISPLAY_IEGD_DSHOW
ENDIF ; BSP_DISPLAY_IEGD


; @CESYSGEN ENDIF CE_MODULES_DISPLAY






