- /*
- * Terry,2004/1/14 07:09PM
- * Terry,2004/4/1 05:36PM
- */
- #ifdef LINK_LIB_TEST
- #define TEST_LIB -ltest
- #define BIT_LIB -lbits
- #endif
- #if defined(SPHE8202)&&defined(SDRAM_16Mb_Mode)
- //8202......................................8202.................................
- //---------------------------------8202 16M
- #define PE_LIB -lpe_16
- #define SYS_LIB -lsys_16
- #define NAV_LIB -lnav_16
- #define FS_LIB -lfs_16
- #define FS_KRNL_LIB -lfs_krnl_16
- #define FS_PMP_LIB -lfs_pmp_16
- #define FS_MIDI_LIB -lfs_midi_16
- #define FS_MP4_LIB -lfs_mp4_16
- #define DRM_LIB -ldrm_8202
- #define JPEG_LIB -ljpeg_16
- #define MJPEG_LIB -lmjpeg_8202
- #define AUTH_LIB -lauth_16
- #define VCD_LIB -lvcd_16
- #define KERN_LIB -lkern_8202
- #define BOOT_LIB -lboot_8202
- #define GAME_LIB -lgame_8202
- #define GAME16_LIB -lgame16_8202
- #define TASK_LIB -ltask_8202
- #define IR_LIB -lir_8202
- #define ATA_LIB -latapi_8202
- #define ENC_LIB -lenc_8202
- #define FONT_LIB -lfont_8202
- #define MP4_LIB -lmp4_8202
- #define AUDDRV_LIB -lauddrv_16 //**** Audio Driver library 2004.12.28 oliver ****//
- //---------------------------------8202 16M ending
- #elif defined(SPHE8202)
- #define PE_LIB -lpe_8202
- #define SYS_LIB -lsys_8202
- #define NAV_LIB -lnav_8202
- #define FS_LIB -lfs_8202
- #define FS_KRNL_LIB -lfs_krnl_8202
- #define FS_PMP_LIB -lfs_pmp_8202
- #define FS_MIDI_LIB -lfs_midi_8202
- #define FS_MP4_LIB -lfs_mp4_8202
- #define DRM_LIB -ldrm_8202
- #define JPEG_LIB -ljpeg_8202
- #define MJPEG_LIB -lmjpeg_8202
- #define AUTH_LIB -lauth_8202
- #define VCD_LIB -lvcd_8202
- #define KERN_LIB -lkern_8202
- #define BOOT_LIB -lboot_8202
- #define GAME_LIB -lgame_8202
- #define GAME16_LIB -lgame16_8202
- #define TASK_LIB -ltask_8202
- #define IR_LIB -lir_8202
- #define ATA_LIB -latapi_8202
- #define ENC_LIB -lenc_8202
- #define FONT_LIB -lfont_8202
- #define MP4_LIB -lmp4_8202
- #define AUDDRV_LIB -lauddrv //**** Audio Driver library 2004.12.28 oliver ****//
- //8202......................................8202 ending.................................
- #elif defined(SPHE1000)
- //1000......................................1000.................................
- #define PE_LIB -lpe_1000
- #define SYS_LIB -lsys_1000
- #define NAV_LIB -lnav_1000
- #define FS_LIB -lfs_1000
- #define FS_KRNL_LIB -lfs_krnl_1000
- #define FS_MIDI_LIB -lfs_midi_1000
- #define FS_MP4_LIB -lfs_mp4_1000
- #define DRM_LIB -ldrm_1000
- #define JPEG_LIB -ljpeg_1000
- #define MJPEG_LIB -lmjpeg_1000
- #define AUTH_LIB -lauth_1000
- #define VCD_LIB -lvcd_1000
- #define KERN_LIB -lkern_1000
- #define BOOT_LIB -lboot_1000
- #define GAME_LIB -lgame_1000
- #define GAME16_LIB -lgame16_1000
- #define TASK_LIB -ltask_1000
- #define IR_LIB -lir_1000
- #define ATA_LIB -latapi_1000
- #define ENC_LIB -lenc_1000
- #define FONT_LIB -lfont_1000
- #define MP4_LIB -lmp4_1000
- #define AUDDRV_LIB -lauddrv //**** Audio Driver library 2004.12.28 oliver ****//
- //1000......................................1000 ending.................................
- #elif defined(SDRAM_16Mb_Mode)
- //8200......................................8200.................................
- //---------------------------------8200 16M
- #define PE_LIB -lpe_16
- #define SYS_LIB -lsys_16
- #define NAV_LIB -lnav_16
- #define FS_LIB -lfs_16
- #define FS_KRNL_LIB -lfs_krnl_16
- #define FS_MIDI_LIB -lfs_midi_16
- #define FS_MP4_LIB -lfs_mp4_16
- #define JPEG_LIB -ljpeg_16
- #define AUTH_LIB -lauth_16
- #define VCD_LIB -lvcd_16
- #define KERN_LIB -lkern
- #define BOOT_LIB -lboot
- #define GAME_LIB -lgame
- #define TASK_LIB -ltask
- #define IR_LIB -lir
- #define ATA_LIB -latapi
- #define ENC_LIB -lenc
- #define FONT_LIB -lfont
- #define MP4_LIB -lkern
- #define AUDDRV_LIB -lauddrv_16 //**** Audio Driver library 2004.12.28 oliver ****//
- //---------------------------------8200 16M ending
- #else
- //---------------------------------8200 32M
- #define PE_LIB -lpe
- #define SYS_LIB -lsys
- #define NAV_LIB -lnav
- #define FS_LIB -lfs
- #define FS_KRNL_LIB -lfs_krnl
- #define FS_MIDI_LIB -lfs_midi
- #define FS_MP4_LIB -lfs_mp4
- #define JPEG_LIB -ljpeg
- #define AUTH_LIB -lauth
- #define VCD_LIB -lvcd
- #define KERN_LIB -lkern
- #define BOOT_LIB -lboot
- #define GAME_LIB -lgame
- #define TASK_LIB -ltask
- #define IR_LIB -lir
- #define ATA_LIB -latapi
- #define ENC_LIB -lenc
- #define FONT_LIB -lfont
- #define MP4_LIB -lkern
- #define AUDDRV_LIB -lauddrv //**** Audio Driver library 2004.12.28 oliver ****//
- //---------------------------------8200 32M ending
- //8200.....................................8200 ending...........................
- #endif
- // DSP code related library // 2004/12/21 yltseng
- #ifndef DVDRELEASE
- #define DSP_LIB -ldsp3_
- #define DSPAAC_LIB -ldsp3_aac_
- #define DSPPPCM_LIB -ldsp3_ppcm_
- #define DSPWMA_LIB -ldsp3_wma_
- #define DSPDTS_LIB -ldsp3_dts_
- #else
- #define DSP_LIB -ldsp3
- #define DSPAAC_LIB -ldsp3_aac
- #define DSPPPCM_LIB -ldsp3_ppcm
- #define DSPWMA_LIB -ldsp3_wma
- #define DSPDTS_LIB -ldsp3_dts
- #endif
- // **************************************************************************************** //
- #define CSS_LIB -lcss
- #ifdef TWO_SUBTITLE//terry,2004/8/4 02:37PM
- #undef KERN_LIB
- #define KERN_LIB -lkern_2st
- #endif
- INPUT(IR_LIB)
- INPUT(NAV_LIB)
- INPUT(ATA_LIB)
- INPUT(TASK_LIB)
- INPUT(ENC_LIB)
- INPUT(SYS_LIB)
- #ifdef DVD_SERVO
- #ifdef USER_SUPER_SA_LOADER
- #include "srv_lib_std.h"
- #else
- #ifdef SPHE8202
- #include "srv_lib_8202.h"
- #else
- #include "srv_lib.h"
- #endif
- #endif
- #endif
- //INPUT(SYS_LIB)
- #ifdef LINK_LIB_TEST
- INPUT(TEST_LIB)
- INPUT(BIT_LIB)
- #endif
- INPUT(FS_LIB)
- #if defined( SUPPORT_MP4 ) || defined( SUPPORT_WMA )
- INPUT(FS_MP4_LIB)
- #endif
- INPUT(FS_KRNL_LIB)
- #ifdef PMP_DVD
- INPUT(FS_PMP_LIB)
- #endif
- INPUT(FS_LIB)//nono 4-9-4 0:26
- #ifdef SUPPORT_PLAY_SWD
- INPUT(-lmem)
- #endif
- #ifdef SUPPORT_MIDI
- INPUT(FS_MIDI_LIB)
- #endif
- #ifdef DIVX_DRM
- INPUT(DRM_LIB)
- #endif
- #if defined( LINK_FONT_LIB ) || defined( SUPPORT_FONT_UTIL ) //2004/09/13 yltseng
- INPUT(FONT_LIB)
- #endif
- INPUT(JPEG_LIB)
- INPUT(SYS_LIB)//nono add. 4-7-15 0:57 for jpegeffect_help.c is moved to "system".
- #ifdef SUPPORT_MJPEG
- INPUT(MJPEG_LIB)
- #endif
- INPUT(AUTH_LIB)
- INPUT(PE_LIB)
- INPUT(CSS_LIB)
- INPUT(KERN_LIB)
- #ifdef SUPPORT_MP4
- INPUT(MP4_LIB)
- #endif
- INPUT(PE_LIB)
- INPUT(GAME_LIB)
- #ifdef SUPPORT_SPG_GAME
- INPUT(GAME16_LIB)
- INPUT(-lGraphDrv)
- #endif
- INPUT(VCD_LIB)
- INPUT(BOOT_LIB)
- //INPUT(-lfonts) // 2004/09/11 yltseng
- INPUT(-lhigui)
- #ifdef SUPPORT_RECEIVER
- INPUT(-lreceiver)
- #endif
- #ifdef SUPPORT_HD_DVD
- INPUT(-lscaler)
- #endif
- INPUT(AUDDRV_LIB) // 2004.12.28 oliver : the order is significant. It should be placed before DSP.
- #ifdef SUPPORT_WMA
- INPUT(DSPWMA_LIB)
- #endif
- #ifndef NO_DTS_OUTPUT
- INPUT(DSPDTS_LIB)
- #endif
- #ifdef DVD_AUDIO // 2004/10/13 yltseng
- INPUT(DSPPPCM_LIB)
- #endif
- #ifdef SUPPORT_AAC // 2004/10/13 yltseng
- INPUT(DSPAAC_LIB)
- #endif
- INPUT(DSP_LIB)
- #ifdef SPHE1000
- /* Set-Top-Box libraries */
- INPUT(-lstb)
- #ifdef DVB1000_NON_OS //Maoyong 2004-9-27
- #ifdef DVB1000_OSD_MENU //Maoyong 2004-10-25
- INPUT(-ldvb_menu)
- #endif //DVB1000_OSD_MENU
- INPUT(-ldvb_tuner)
- INPUT(-ldemux)
- #else //DVB1000_NON_OS
- INPUT(-llwip)
- #endif //DVB1000_NON_OS
- #endif //SPHE1000
- /* basic libraries */
- INPUT(-lstd)
- INPUT(-lm)
- INPUT(-lgcc)