#!/usr/bin/env omake
#----------------------------------------------------------------------------

SUPPORTED_TARGETS   =   CTR-TS.Process.MPCore.*

SHADER_SOURCES[]    =
                        $(CTRMW_MOBICLIP_ROOT)/sampledemos/helper/helper_VShader.vsh
                        
TARGET_SHADER		=	helper_VShader

SHBIN_INSTALL_ROOT  =   $(CTRMW_MOBICLIP_ROOT)/resources/moflex_videos

INCLUDES[]			+=	
						./
						$(CTRMW_MOBICLIP_ROOT)/sampledemos/helper
						$(CTRMW_MOBICLIP_ROOT)/include/mw/mo

SOURCES[]			= 	main.cpp

CCFLAGS	+=			--sys_include

CXXFLAGS			+=	--diag_style=ide

LIBS				+=	libnn_y2r libnn_camera 

LIBFILES			=  $`(addprefix $(CTRMW_MOBICLIP_ROOT)$(DIRSEP)libraries$(DIRSEP)$(config.getTargetSubDirectory true)$(DIRSEP), libmw_mo_MoflexDemuxer)
LIBFILES			+= $`(addprefix $(CTRMW_MOBICLIP_ROOT)$(DIRSEP)libraries$(DIRSEP)$(config.getTargetSubDirectory true)$(DIRSEP), libmw_mo_MobiclipVideoDecoder)
LIBFILES			+= $`(addprefix $(CTRMW_MOBICLIP_ROOT)$(DIRSEP)libraries$(DIRSEP)$(config.getTargetSubDirectory true)$(DIRSEP), libmw_mo_ImaAdpcmAudioDecoder)
LIBFILES			+= $`(addprefix $(CTRMW_MOBICLIP_ROOT)$(DIRSEP)libraries$(DIRSEP)$(config.getTargetSubDirectory true)$(DIRSEP), libmw_mo_DspAdpcmAudioDecoder)
LIBFILES			+= $`(addprefix $(CTRMW_MOBICLIP_ROOT)$(DIRSEP)libraries$(DIRSEP)$(config.getTargetSubDirectory true)$(DIRSEP), libmw_mo_FastAudioDecoder)
LIBFILES			+= $`(addprefix $(CTRMW_MOBICLIP_ROOT)$(DIRSEP)libraries$(DIRSEP)$(config.getTargetSubDirectory true)$(DIRSEP), libmw_mo_FilterDeblocker)
LIBFILES			+= $`(addprefix $(CTRMW_MOBICLIP_ROOT)$(DIRSEP)sampledemos$(DIRSEP)helper$(DIRSEP)libraries$(DIRSEP)$(config.getTargetSubDirectory true)$(DIRSEP), libmw_mo_helper)

TARGET_PROGRAM      =   DualScreen

ROM_SPEC_FILE       =   dualScreen.rsf

include $(ROOT_OMAKE)/modulerules

build: $(DEFAULT_TARGETS)
