#**************************************************************************
#  Makefile for media midware module
#**************************************************************************

ifeq ($(DTVKIT_JPEG_INCLUDE_PATH),)
$(error DTVKIT_JPEG_INCLUDE_PATH is not defined)
endif

ifeq ($(DTVKIT_PNG_INCLUDE_PATH),)
$(error DTVKIT_PNG_INCLUDE_PATH is not defined)
endif

ifeq ($(DTVKIT_ZLIB_INCLUDE_PATH),)
$(error DTVKIT_ZLIB_INCLUDE_PATH is not defined)
endif

MODULE_ROOT ?= ../..

INCLUDES = ./inc            \
         ../stb/inc          \
	 ../../platform/inc  \
         $(DTVKIT_JPEG_INCLUDE_PATH) \
         $(DTVKIT_PNG_INCLUDE_PATH) \
	 $(DTVKIT_ZLIB_INCLUDE_PATH)

SRCDIR = src
SRCS = image_png.c \
       image_jpeg.c

COMP=media

include ../../common.mak

clean: common_clean

module_clean:

