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
32
apps/plugins/bitmaps/mono/Makefile
Normal file
|
|
@ -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)
|
||||
0
apps/plugins/bitmaps/mono/SOURCES
Normal file
32
apps/plugins/bitmaps/native/Makefile
Normal file
|
|
@ -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)
|
||||
18
apps/plugins/bitmaps/native/SOURCES
Normal file
|
|
@ -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 */
|
||||
BIN
apps/plugins/bitmaps/native/sudoku_inverse.112x64x1.bmp
Normal file
|
After Width: | Height: | Size: 382 B |
BIN
apps/plugins/bitmaps/native/sudoku_inverse.160x128x2.bmp
Normal file
|
After Width: | Height: | Size: 1 KiB |
BIN
apps/plugins/bitmaps/native/sudoku_inverse.220x176x16.bmp
Normal file
|
After Width: | Height: | Size: 7.6 KiB |
BIN
apps/plugins/bitmaps/native/sudoku_normal.112x64x1.bmp
Normal file
|
After Width: | Height: | Size: 382 B |
BIN
apps/plugins/bitmaps/native/sudoku_normal.160x128x2.bmp
Normal file
|
After Width: | Height: | Size: 1 KiB |
BIN
apps/plugins/bitmaps/native/sudoku_normal.220x176x16.bmp
Normal file
|
After Width: | Height: | Size: 7.6 KiB |
BIN
apps/plugins/bitmaps/native/sudoku_start.112x64x1.bmp
Normal file
|
After Width: | Height: | Size: 382 B |
BIN
apps/plugins/bitmaps/native/sudoku_start.160x128x2.bmp
Normal file
|
After Width: | Height: | Size: 1 KiB |
BIN
apps/plugins/bitmaps/native/sudoku_start.220x176x16.bmp
Normal file
|
After Width: | Height: | Size: 7.6 KiB |
32
apps/plugins/bitmaps/remote_mono/Makefile
Normal file
|
|
@ -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)
|
||||
0
apps/plugins/bitmaps/remote_mono/SOURCES
Normal file
32
apps/plugins/bitmaps/remote_native/Makefile
Normal file
|
|
@ -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)
|
||||