From 5bd08237499dfc66309ba2a5a4dac75018e794ac Mon Sep 17 00:00:00 2001 From: Teruaki Kawashima Date: Mon, 18 Jan 2010 12:46:19 +0000 Subject: jpeg,png: Merge user interface code and plugin entry point of the two plugins (part of FS#6321). * Created new directory, imageviewer/ and moved both jpeg/ and png/ under it. - this still doesn't merge the two plugins. i.e. both jpeg.rock and png.rock will be made for color targets. - I'm thinking to merge the two plugins to single image viewer later. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24272 a1c6a512-1295-4272-9138-f99709370657 --- apps/plugins/imageviewer/jpeg/jpeg.make | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 apps/plugins/imageviewer/jpeg/jpeg.make (limited to 'apps/plugins/imageviewer/jpeg/jpeg.make') diff --git a/apps/plugins/imageviewer/jpeg/jpeg.make b/apps/plugins/imageviewer/jpeg/jpeg.make new file mode 100644 index 0000000..caf37fc --- /dev/null +++ b/apps/plugins/imageviewer/jpeg/jpeg.make @@ -0,0 +1,21 @@ +# __________ __ ___. +# Open \______ \ ____ ____ | | _\_ |__ _______ ___ +# Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ / +# Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < < +# Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \ +# \/ \/ \/ \/ \/ +# $Id$ +# + +JPEGSRCDIR := $(IMGVSRCDIR)/jpeg +JPEGBUILDDIR := $(IMGVBUILDDIR)/jpeg + +ROCKS += $(JPEGBUILDDIR)/jpeg.rock + +JPEG_SRC := $(call preprocess, $(JPEGSRCDIR)/SOURCES) +JPEG_OBJ := $(call c2obj, $(JPEG_SRC)) + +# add source files to OTHER_SRC to get automatic dependencies +OTHER_SRC += $(JPEG_SRC) + +$(JPEGBUILDDIR)/jpeg.rock: $(JPEG_OBJ) -- cgit v1.1