#include UCLICDIR and CROSS include ../../../../Makefile.project include ../../../../Makefile.toolchain #*************************************************************************** # Define Environment Variables #*************************************************************************** ifndef LIB_DIR LIB_DIR = ../../../../lib endif # define O_DIRECT # Target library name TARGET_STATIC = $(LIB_DIR)/libmedia_guiobj.a CFLAGS += -I./include CFLAGS += -I./include/gui_objects CFLAGS += -I../include CFLAGS += -I../include/app_common_api -I../include/guiobj CFLAGS += -I../../../app_frmwrk/dvb/include CFLAGS += -I../../../daemon/include CFLAGS += -I../../../../app_infra/include ifeq ($(CONFIG_DVB_SYSTEM),y) CFLAGS += -I../dvb/include/app_dvb_api endif ifeq ($(CONFIG_DTMB_SYSTEM),y) CFLAGS += -I../dtmb/include/app_dvb_api CFLAGS += -I../dtmb/include endif ifeq ($(CONFIG_ISDB_SYSTEM),y) CFLAGS += -I../sbtvd/include CFLAGS += -I../sbtvd/include/app_sbtvd_api CFLAGS += -I../sbtvd/include/guiobj endif CFLAGS += -I../../../../include/middleware/dtv/dtvplayback CFLAGS += -I../../../../include/ CFLAGS += -I../dvb/include CFLAGS += -I../../../../include/gsl CFLAGS += -I../../../../include/app_infra CFLAGS += -I../../../../include/middleware/database CFLAGS += -I../../../../include/middleware/tvfe CFLAGS += -I../../../../include/middleware/cec_tv CFLAGS += -I../../../../include/middleware/logo CFLAGS += -I../../../../include/middleware/atv/atv_scan CFLAGS += -I../../../../include/middleware/dtv/dtvscan CFLAGS += -I../../../../include/middleware/dtv/dtvcommon CFLAGS += -I../../../../include/middleware/dtv/dtvsipsi CFLAGS += -I../../../../include/middleware/dtv/dtvscan CFLAGS += -I../../../../include/middleware/dtv/dtvepg CFLAGS += -I../../../../include/middleware/media/filesystem CFLAGS += -I../../../../include/middleware/media/playlist CFLAGS += -I../../../../include/middleware/media/player CFLAGS += -I../../../../include/middleware/media/musicplaylist CFLAGS += -I../../../../include/middleware/media CFLAGS += -I../../../../include/middleware/ioctl_interface CFLAGS += -I../../../../include/middleware/display CFLAGS += -I../../../../include/middleware/common CFLAGS += -I../../../../include/middleware/common/gui_eng CFLAGS += -I../../../../include/middleware/common/unicode CFLAGS += -I../../../../include/middleware/ptnmng/partitionlist ifeq ($(CONFIG_SUPPORT_CHARSETDET),y) CFLAGS += -I../../../../include/middleware/common/libsubparser endif ifneq ($(filter y,$(CONFIG_MOD_PACK_TT) $(CONFIG_MOD_PACK_SUB)),) CFLAGS += -I../../../../include/middleware/common/tt_submalloc endif CFLAGS += -I../../../../$(CUSTOMER_BOARD_PATH)/adaptable CFLAGS += -I../../../../customer/$(CUSTOMER_NAME)/public/panel CFLAGS += -I../../../../customer/$(CUSTOMER_NAME)/public/panel/CMO_M190A1_L07_C_1440x900 CFLAGS += -I../../../../$(CUSTOMER_BOARD_PATH)/nvmem CFLAGS += -I../../../../$(FORMAL_CUSTOMER_PATH) CFLAGS += -I../../../../../drivers/include CFLAGS += -I../../../../../drivers/module_include CFLAGS += -I./include/app_fileplayer_api CFLAGS += $(UIRESOURCE_INC) ifeq ($(CONFIG_TV_NEW_UI),y) CFLAGS += -I./resources_new/include else ifeq ($(CONFIG_SUPPORT_32M_ATV), y) CFLAGS += -I./resources_4BPP/include else CFLAGS += -I./resources/include endif ifeq ($(CONFIG_TV_NEW_UI),y) UIMEDIARESOURCE_DIR = resources_new else ifeq ($(CONFIG_SUPPORT_32M_ATV), y) UIMEDIARESOURCE_DIR = resources_4BPP else UIMEDIARESOURCE_DIR = resources endif ifeq ($(CONFIG_SUPPORT_NETWORK),y) CFLAGS += -I../network/resources/include CFLAGS += -I../../../../include/middleware/network/netsetting ifeq ($(CONFIG_SUPPORT_NET_OTA), y) CFLAGS += -I../../../../include/middleware/network/net_ota endif endif ifeq ($(CONFIG_SUPPORT_MIRACAST),y) CFLAGS += -I../../../../include/middleware/network/miracast/wfd CFLAGS += -I../../../../include/middleware/network/miracast endif #vpath VPATH = app_fileplayer_api VPATH += gui_objects SRCS_LIST += media_app.c MM_Multimedia.c MM_Multimedia_Data.c MM_popmsg_gui.c MM_movie_playback_gui.c MM_browser_gui.c ifeq ($(CONFIG_TV_NEW_UI),y) SRCS_LIST += MM_homepage_new_gui.c else SRCS_LIST += MM_homepage_gui.c endif SRCS_LIST += MM_thumbnail_gui.c MM_null_gui.c MM_photo_playback_gui.c MM_photo_hint_gui.c MM_photo_info_gui.c MM_photo_setup_gui.c MM_photo_zoom_gui.c SRCS_LIST += MM_photo_playstate_gui.c MM_music_Preview_playback_gui.c MM_music_goto_gui.c MM_music_playback_gui.c MM_movie_hint_gui.c MM_movie_setup_gui.c MM_movie_goto_gui.c SRCS_LIST += MM_movie_info_gui.c MM_movie_time_gui.c MM_movie_programlist_gui.c MM_music_source_gui.c MM_music_source_playback_gui.c MM_movie_playstate_gui.c SRCS_LIST += MM_EBook_gui.c MM_EBookMarkList_gui.c MM_PlayList_gui.c MM_EBook_musicsetup_gui.c MM_media_qsd_gui.c ifeq ($(CONFIG_SUPPORT_MEDIA_AUTO_PLAY),y) SRCS_LIST += MM_media_auto_play.c endif ifeq ($(CONFIG_SUPPORT_MEDIA_ESD_TEST),y) SRCS_LIST += MM_media_esd_test_gui.c endif ifeq ($(CONFIG_USB_DEMO_SUPPORT),y) SRCS_LIST += MM_usb_demo_gui.c endif ifeq ($(CONFIG_TV_NEW_UI),y) SRCS_LIST += MM_selectFileNum.c ifeq ($(CONFIG_SUPPORT_MEDIA_COPY_FILE),y) SRCS_LIST += MM_media_copy_file.c endif endif .PHONY: clean oceanblue obumf install compnent compnent: $(MAKE) -C $(UIMEDIARESOURCE_DIR) all; all: compnent $(TARGET_STATIC) clean_loop: clean @$(MAKE) -C $(UIMEDIARESOURCE_DIR) clean_loop install: ifndef CONFIG_INSTALLDIR $(error [ERROR] CONFIG_INSTALLDIR not define!!) endif #mipsel-linux-uclibc-strip $(TARGET_EXE) #echo cp -arf $(TARGET_EXE) $(CONFIG_INSTALLDIR)/tmp cp -arf ../../../gsl/librt.so.0 $(CONFIG_INSTALLDIR)/lib cp -arf $(TARGET_EXE) $(CONFIG_INSTALLDIR)/tmp ifeq ($(CONFIG_MOD_PACK_MEDIA), y) MM_APP += $(SRCS_LIST) MODULE_NAME=media endif include ../../../../rules.mak