diff options
author | Dave Chapman <dave@dchapman.com> | 2006-01-22 21:30:32 +0000 |
---|---|---|
committer | Dave Chapman <dave@dchapman.com> | 2006-01-22 21:30:32 +0000 |
commit | 1e7043a20bfe874c2183989054a9a7daf788e582 (patch) | |
tree | f0ae5015c0cf609e4137757dc243cdc386dd34e2 /apps/plugins/bitmaps | |
parent | 4503b96749839acc3403d6cd7d4f1dff591cf221 (diff) |
Initial attempt at using bmp2rb in the build system. Don't forget to re-run configure
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8418 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/bitmaps')
17 files changed, 146 insertions, 0 deletions
diff --git a/apps/plugins/bitmaps/mono/Makefile b/apps/plugins/bitmaps/mono/Makefile new file mode 100644 index 0000000000..54c06770b8 --- /dev/null +++ b/apps/plugins/bitmaps/mono/Makefile @@ -0,0 +1,32 @@ +# __________ __ ___. +# Open \______ \ ____ ____ | | _\_ |__ _______ ___ +# Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ / +# Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < < +# Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \ +# \/ \/ \/ \/ \/ +# $Id$ +# + +INCLUDES= -I$(FIRMDIR)/include -I$(FIRMDIR)/export -I. -I$(BUILDDIR) \ + -I$(OBJDIR) +CFLAGS = $(GCCOPTS) $(INCLUDES) $(TARGET) $(EXTRA_DEFINES) + +# This sets up 'SRC' based on the files mentioned in SOURCES +include $(TOOLSDIR)/makesrc.inc + +SOURCES = $(SRC) +CSRC := $(SRC:%.bmp=$(OBJDIR)/%.c) +OBJS := $(CSRC:%.c=%.o) +DEPFILE = $(OBJDIR)/dep-bitmaps-mono + +BMP2RB = $(BMP2RB_MONO) +OUTPUT = $(BUILDDIR)/libpluginbitmapsmono.a + +include $(TOOLSDIR)/makebmp.inc + +clean: + @echo "cleaning plugins/bitmaps/mono" + @rm -f $(CSRC) $(OBJS) $(OUTPUT) $(DEPFILE) + @rmdir $(OBJDIR) + +-include $(DEPFILE) diff --git a/apps/plugins/bitmaps/mono/SOURCES b/apps/plugins/bitmaps/mono/SOURCES new file mode 100644 index 0000000000..e69de29bb2 --- /dev/null +++ b/apps/plugins/bitmaps/mono/SOURCES diff --git a/apps/plugins/bitmaps/native/Makefile b/apps/plugins/bitmaps/native/Makefile new file mode 100644 index 0000000000..fd77a6213c --- /dev/null +++ b/apps/plugins/bitmaps/native/Makefile @@ -0,0 +1,32 @@ +# __________ __ ___. +# Open \______ \ ____ ____ | | _\_ |__ _______ ___ +# Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ / +# Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < < +# Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \ +# \/ \/ \/ \/ \/ +# $Id$ +# + +INCLUDES= -I$(FIRMDIR)/include -I$(FIRMDIR)/export -I. -I$(BUILDDIR) \ + -I$(OBJDIR) +CFLAGS = $(GCCOPTS) $(INCLUDES) $(TARGET) $(EXTRA_DEFINES) + +# This sets up 'SRC' based on the files mentioned in SOURCES +include $(TOOLSDIR)/makesrc.inc + +SOURCES = $(SRC) +CSRC := $(SRC:%.bmp=$(OBJDIR)/%.c) +OBJS := $(CSRC:%.c=%.o) +DEPFILE = $(OBJDIR)/dep-bitmaps-native + +BMP2RB = $(BMP2RB_NATIVE) +OUTPUT = $(BUILDDIR)/libpluginbitmapsnative.a + +include $(TOOLSDIR)/makebmp.inc + +clean: + @echo "cleaning plugins/bitmaps/native" + @rm -f $(CSRC) $(OBJS) $(OUTPUT) $(DEPFILE) + @rmdir $(OBJDIR) + +-include $(DEPFILE) diff --git a/apps/plugins/bitmaps/native/SOURCES b/apps/plugins/bitmaps/native/SOURCES new file mode 100644 index 0000000000..140df739a9 --- /dev/null +++ b/apps/plugins/bitmaps/native/SOURCES @@ -0,0 +1,18 @@ +#ifdef HAVE_LCD_BITMAP + +/* Sudoku */ +#if (LCD_WIDTH == 112) && (LCD_HEIGHT==64) && (LCD_DEPTH == 1) +sudoku_start.112x64x1.bmp +sudoku_normal.112x64x1.bmp +sudoku_inverse.112x64x1.bmp +#elif (LCD_WIDTH == 160) && (LCD_HEIGHT == 128) && (LCD_DEPTH == 2) +sudoku_start.160x128x2.bmp +sudoku_normal.160x128x2.bmp +sudoku_inverse.160x128x2.bmp +#elif (LCD_WIDTH >= 220) && (LCD_HEIGHT >= 176) && (LCD_DEPTH == 16) +sudoku_start.220x176x16.bmp +sudoku_normal.220x176x16.bmp +sudoku_inverse.220x176x16.bmp +#endif + +#endif /* HAVE_LCD_BITMAP */ diff --git a/apps/plugins/bitmaps/native/sudoku_inverse.112x64x1.bmp b/apps/plugins/bitmaps/native/sudoku_inverse.112x64x1.bmp Binary files differnew file mode 100644 index 0000000000..161a43e78c --- /dev/null +++ b/apps/plugins/bitmaps/native/sudoku_inverse.112x64x1.bmp diff --git a/apps/plugins/bitmaps/native/sudoku_inverse.160x128x2.bmp b/apps/plugins/bitmaps/native/sudoku_inverse.160x128x2.bmp Binary files differnew file mode 100644 index 0000000000..f26791c7c0 --- /dev/null +++ b/apps/plugins/bitmaps/native/sudoku_inverse.160x128x2.bmp diff --git a/apps/plugins/bitmaps/native/sudoku_inverse.220x176x16.bmp b/apps/plugins/bitmaps/native/sudoku_inverse.220x176x16.bmp Binary files differnew file mode 100644 index 0000000000..e51eb228b8 --- /dev/null +++ b/apps/plugins/bitmaps/native/sudoku_inverse.220x176x16.bmp diff --git a/apps/plugins/bitmaps/native/sudoku_normal.112x64x1.bmp b/apps/plugins/bitmaps/native/sudoku_normal.112x64x1.bmp Binary files differnew file mode 100644 index 0000000000..09b1342f94 --- /dev/null +++ b/apps/plugins/bitmaps/native/sudoku_normal.112x64x1.bmp diff --git a/apps/plugins/bitmaps/native/sudoku_normal.160x128x2.bmp b/apps/plugins/bitmaps/native/sudoku_normal.160x128x2.bmp Binary files differnew file mode 100644 index 0000000000..a34e042160 --- /dev/null +++ b/apps/plugins/bitmaps/native/sudoku_normal.160x128x2.bmp diff --git a/apps/plugins/bitmaps/native/sudoku_normal.220x176x16.bmp b/apps/plugins/bitmaps/native/sudoku_normal.220x176x16.bmp Binary files differnew file mode 100644 index 0000000000..3a706e9b09 --- /dev/null +++ b/apps/plugins/bitmaps/native/sudoku_normal.220x176x16.bmp diff --git a/apps/plugins/bitmaps/native/sudoku_start.112x64x1.bmp b/apps/plugins/bitmaps/native/sudoku_start.112x64x1.bmp Binary files differnew file mode 100644 index 0000000000..09b1342f94 --- /dev/null +++ b/apps/plugins/bitmaps/native/sudoku_start.112x64x1.bmp diff --git a/apps/plugins/bitmaps/native/sudoku_start.160x128x2.bmp b/apps/plugins/bitmaps/native/sudoku_start.160x128x2.bmp Binary files differnew file mode 100644 index 0000000000..2b66273a00 --- /dev/null +++ b/apps/plugins/bitmaps/native/sudoku_start.160x128x2.bmp diff --git a/apps/plugins/bitmaps/native/sudoku_start.220x176x16.bmp b/apps/plugins/bitmaps/native/sudoku_start.220x176x16.bmp Binary files differnew file mode 100644 index 0000000000..a0c151e785 --- /dev/null +++ b/apps/plugins/bitmaps/native/sudoku_start.220x176x16.bmp diff --git a/apps/plugins/bitmaps/remote_mono/Makefile b/apps/plugins/bitmaps/remote_mono/Makefile new file mode 100644 index 0000000000..0875b4cbb5 --- /dev/null +++ b/apps/plugins/bitmaps/remote_mono/Makefile @@ -0,0 +1,32 @@ +# __________ __ ___. +# Open \______ \ ____ ____ | | _\_ |__ _______ ___ +# Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ / +# Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < < +# Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \ +# \/ \/ \/ \/ \/ +# $Id$ +# + +INCLUDES= -I$(FIRMDIR)/include -I$(FIRMDIR)/export -I. -I$(BUILDDIR) \ + -I$(OBJDIR) +CFLAGS = $(GCCOPTS) $(INCLUDES) $(TARGET) $(EXTRA_DEFINES) + +# This sets up 'SRC' based on the files mentioned in SOURCES +include $(TOOLSDIR)/makesrc.inc + +SOURCES = $(SRC) +CSRC := $(SRC:%.bmp=$(OBJDIR)/%.c) +OBJS := $(CSRC:%.c=%.o) +DEPFILE = $(OBJDIR)/dep-bitmaps-remotemono + +BMP2RB = $(BMP2RB_REMOTEMONO) +OUTPUT = $(BUILDDIR)/libpluginbitmapsremotemono.a + +include $(TOOLSDIR)/makebmp.inc + +clean: + @echo "cleaning plugins/bitmaps/remotemono" + @rm -f $(CSRC) $(OBJS) $(OUTPUT) $(DEPFILE) + @rmdir $(OBJDIR) + +-include $(DEPFILE) diff --git a/apps/plugins/bitmaps/remote_mono/SOURCES b/apps/plugins/bitmaps/remote_mono/SOURCES new file mode 100644 index 0000000000..e69de29bb2 --- /dev/null +++ b/apps/plugins/bitmaps/remote_mono/SOURCES diff --git a/apps/plugins/bitmaps/remote_native/Makefile b/apps/plugins/bitmaps/remote_native/Makefile new file mode 100644 index 0000000000..91a42908f5 --- /dev/null +++ b/apps/plugins/bitmaps/remote_native/Makefile @@ -0,0 +1,32 @@ +# __________ __ ___. +# Open \______ \ ____ ____ | | _\_ |__ _______ ___ +# Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ / +# Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < < +# Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \ +# \/ \/ \/ \/ \/ +# $Id$ +# + +INCLUDES= -I$(FIRMDIR)/include -I$(FIRMDIR)/export -I. -I$(BUILDDIR) \ + -I$(OBJDIR) +CFLAGS = $(GCCOPTS) $(INCLUDES) $(TARGET) $(EXTRA_DEFINES) + +# This sets up 'SRC' based on the files mentioned in SOURCES +include $(TOOLSDIR)/makesrc.inc + +SOURCES = $(SRC) +CSRC := $(SRC:%.bmp=$(OBJDIR)/%.c) +OBJS := $(CSRC:%.c=%.o) +DEPFILE = $(OBJDIR)/dep-bitmaps-remotenative + +BMP2RB = $(BMP2RB_REMOTENATIVE) +OUTPUT = $(BUILDDIR)/libpluginbitmapsremotenative.a + +include $(TOOLSDIR)/makebmp.inc + +clean: + @echo "cleaning plugins/bitmaps/remote_native" + @rm -f $(CSRC) $(OBJS) $(OUTPUT) $(DEPFILE) + @rmdir $(OBJDIR) + +-include $(DEPFILE) diff --git a/apps/plugins/bitmaps/remote_native/SOURCES b/apps/plugins/bitmaps/remote_native/SOURCES new file mode 100644 index 0000000000..e69de29bb2 --- /dev/null +++ b/apps/plugins/bitmaps/remote_native/SOURCES |