summaryrefslogtreecommitdiffstats
path: root/apps/bitmaps
diff options
context:
space:
mode:
authorDave Chapman <dave@dchapman.com>2006-01-22 21:30:32 +0000
committerDave Chapman <dave@dchapman.com>2006-01-22 21:30:32 +0000
commit1e7043a20bfe874c2183989054a9a7daf788e582 (patch)
treef0ae5015c0cf609e4137757dc243cdc386dd34e2 /apps/bitmaps
parent4503b96749839acc3403d6cd7d4f1dff591cf221 (diff)
downloadrockbox-1e7043a20bfe874c2183989054a9a7daf788e582.tar.gz
rockbox-1e7043a20bfe874c2183989054a9a7daf788e582.tar.bz2
rockbox-1e7043a20bfe874c2183989054a9a7daf788e582.zip
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/bitmaps')
-rw-r--r--apps/bitmaps/mono/Makefile32
-rw-r--r--apps/bitmaps/mono/SOURCES0
-rw-r--r--apps/bitmaps/native/Makefile32
-rw-r--r--apps/bitmaps/native/SOURCES14
-rw-r--r--apps/bitmaps/native/rockboxlogo.112x37x1.bmpbin0 -> 654 bytes
-rw-r--r--apps/bitmaps/native/rockboxlogo.160x53x2.bmpbin0 -> 4550 bytes
-rw-r--r--apps/bitmaps/native/rockboxlogo.176x54x16.bmpbin0 -> 28566 bytes
-rw-r--r--apps/bitmaps/native/rockboxlogo.220x68x16.bmpbin0 -> 44934 bytes
-rw-r--r--apps/bitmaps/remote_mono/Makefile32
-rw-r--r--apps/bitmaps/remote_mono/SOURCES0
-rw-r--r--apps/bitmaps/remote_native/Makefile32
-rw-r--r--apps/bitmaps/remote_native/SOURCES3
-rw-r--r--apps/bitmaps/remote_native/remote_rockboxlogo.112x37x1.bmpbin0 -> 654 bytes
13 files changed, 145 insertions, 0 deletions
diff --git a/apps/bitmaps/mono/Makefile b/apps/bitmaps/mono/Makefile
new file mode 100644
index 0000000000..ec75520735
--- /dev/null
+++ b/apps/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)/libbitmapsmono.a
+
+include $(TOOLSDIR)/makebmp.inc
+
+clean:
+ @echo "cleaning bitmaps/mono"
+ @rm -f $(CSRC) $(OBJS) $(OUTPUT) $(DEPFILE)
+ @rmdir $(OBJDIR)
+
+-include $(DEPFILE)
diff --git a/apps/bitmaps/mono/SOURCES b/apps/bitmaps/mono/SOURCES
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/apps/bitmaps/mono/SOURCES
diff --git a/apps/bitmaps/native/Makefile b/apps/bitmaps/native/Makefile
new file mode 100644
index 0000000000..17e9376dd9
--- /dev/null
+++ b/apps/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)/libbitmapsnative.a
+
+include $(TOOLSDIR)/makebmp.inc
+
+clean:
+ @echo "cleaning bitmaps/native"
+ @rm -f $(CSRC) $(OBJS) $(OUTPUT) $(DEPFILE)
+ @rmdir $(OBJDIR)
+
+-include $(DEPFILE)
diff --git a/apps/bitmaps/native/SOURCES b/apps/bitmaps/native/SOURCES
new file mode 100644
index 0000000000..f15624bb34
--- /dev/null
+++ b/apps/bitmaps/native/SOURCES
@@ -0,0 +1,14 @@
+#ifdef HAVE_LCD_BITMAP
+
+/* Rockbox logo */
+#if (LCD_DEPTH == 1)
+rockboxlogo.112x37x1.bmp
+#elif (LCD_WIDTH == 160) && (LCD_DEPTH == 2)
+rockboxlogo.160x53x2.bmp
+#elif (LCD_WIDTH == 176) && (LCD_DEPTH == 16)
+rockboxlogo.176x54x16.bmp
+#elif (LCD_WIDTH >= 220) && (LCD_DEPTH == 16)
+rockboxlogo.220x68x16.bmp
+#endif
+
+#endif /* HAVE_LCD_BITMAP */
diff --git a/apps/bitmaps/native/rockboxlogo.112x37x1.bmp b/apps/bitmaps/native/rockboxlogo.112x37x1.bmp
new file mode 100644
index 0000000000..426d9aeef7
--- /dev/null
+++ b/apps/bitmaps/native/rockboxlogo.112x37x1.bmp
Binary files differ
diff --git a/apps/bitmaps/native/rockboxlogo.160x53x2.bmp b/apps/bitmaps/native/rockboxlogo.160x53x2.bmp
new file mode 100644
index 0000000000..05d6ebcb2e
--- /dev/null
+++ b/apps/bitmaps/native/rockboxlogo.160x53x2.bmp
Binary files differ
diff --git a/apps/bitmaps/native/rockboxlogo.176x54x16.bmp b/apps/bitmaps/native/rockboxlogo.176x54x16.bmp
new file mode 100644
index 0000000000..aa84709a2e
--- /dev/null
+++ b/apps/bitmaps/native/rockboxlogo.176x54x16.bmp
Binary files differ
diff --git a/apps/bitmaps/native/rockboxlogo.220x68x16.bmp b/apps/bitmaps/native/rockboxlogo.220x68x16.bmp
new file mode 100644
index 0000000000..1dc68a09f2
--- /dev/null
+++ b/apps/bitmaps/native/rockboxlogo.220x68x16.bmp
Binary files differ
diff --git a/apps/bitmaps/remote_mono/Makefile b/apps/bitmaps/remote_mono/Makefile
new file mode 100644
index 0000000000..9f6997c71a
--- /dev/null
+++ b/apps/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)/libbitmapsremotemono.a
+
+include $(TOOLSDIR)/makebmp.inc
+
+clean:
+ @echo "cleaning bitmaps/remotemono"
+ @rm -f $(CSRC) $(OBJS) $(OUTPUT) $(DEPFILE)
+ @rmdir $(OBJDIR)
+
+-include $(DEPFILE)
diff --git a/apps/bitmaps/remote_mono/SOURCES b/apps/bitmaps/remote_mono/SOURCES
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/apps/bitmaps/remote_mono/SOURCES
diff --git a/apps/bitmaps/remote_native/Makefile b/apps/bitmaps/remote_native/Makefile
new file mode 100644
index 0000000000..882505ded9
--- /dev/null
+++ b/apps/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)/libbitmapsremotenative.a
+
+include $(TOOLSDIR)/makebmp.inc
+
+clean:
+ @echo "cleaning bitmaps/remote_native"
+ @rm -f $(CSRC) $(OBJS) $(OUTPUT) $(DEPFILE)
+ @rmdir $(OBJDIR)
+
+-include $(DEPFILE)
diff --git a/apps/bitmaps/remote_native/SOURCES b/apps/bitmaps/remote_native/SOURCES
new file mode 100644
index 0000000000..edb7c2037c
--- /dev/null
+++ b/apps/bitmaps/remote_native/SOURCES
@@ -0,0 +1,3 @@
+#ifdef HAVE_REMOTE_LCD
+remote_rockboxlogo.112x37x1.bmp
+#endif
diff --git a/apps/bitmaps/remote_native/remote_rockboxlogo.112x37x1.bmp b/apps/bitmaps/remote_native/remote_rockboxlogo.112x37x1.bmp
new file mode 100644
index 0000000000..426d9aeef7
--- /dev/null
+++ b/apps/bitmaps/remote_native/remote_rockboxlogo.112x37x1.bmp
Binary files differ