summaryrefslogtreecommitdiff
path: root/apps/plugins
diff options
context:
space:
mode:
authorDave Chapman <dave@dchapman.com>2006-02-21 01:23:30 +0000
committerDave Chapman <dave@dchapman.com>2006-02-21 01:23:30 +0000
commit95538f694901263d7a5282901acb73958082ea82 (patch)
tree78eeb5df5820216e2b61756b0e14cf92b1f94ae1 /apps/plugins
parentd04dbca00b2f288aa02978623cf9f412fb09c56b (diff)
downloadrockbox-95538f694901263d7a5282901acb73958082ea82.tar.gz
rockbox-95538f694901263d7a5282901acb73958082ea82.zip
First attempt at generating and using .h files from bitmaps using bmp2rb. The .h files are generated for both the core bitmaps and the plugins, but are only currently being used in the core.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8759 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins')
-rw-r--r--apps/plugins/Makefile8
-rw-r--r--apps/plugins/bitmaps/mono/Makefile1
-rw-r--r--apps/plugins/bitmaps/native/Makefile1
-rw-r--r--apps/plugins/bitmaps/remote_mono/Makefile1
-rw-r--r--apps/plugins/bitmaps/remote_native/Makefile1
5 files changed, 11 insertions, 1 deletions
diff --git a/apps/plugins/Makefile b/apps/plugins/Makefile
index f7bd102a5b..404f1662e2 100644
--- a/apps/plugins/Makefile
+++ b/apps/plugins/Makefile
@@ -8,7 +8,8 @@
8# 8#
9 9
10INCLUDES = -I$(FIRMDIR)/include -I$(FIRMDIR)/export -I$(FIRMDIR)/common \ 10INCLUDES = -I$(FIRMDIR)/include -I$(FIRMDIR)/export -I$(FIRMDIR)/common \
11 -I$(FIRMDIR)/drivers -I$(APPSDIR) -Ilib -I$(BUILDDIR) 11 -I$(FIRMDIR)/drivers -I$(APPSDIR) -Ilib -I$(BUILDDIR) \
12 -I$(BUILDDIR)/pluginbitmaps
12CFLAGS = $(GCCOPTS) $(INCLUDES) $(TARGET) $(EXTRA_DEFINES) \ 13CFLAGS = $(GCCOPTS) $(INCLUDES) $(TARGET) $(EXTRA_DEFINES) \
13 -DTARGET_ID=$(TARGET_ID) -DMEM=${MEMORYSIZE} -DPLUGIN 14 -DTARGET_ID=$(TARGET_ID) -DMEM=${MEMORYSIZE} -DPLUGIN
14 15
@@ -72,6 +73,10 @@ endif
72.PHONY: $(SUBDIRS) 73.PHONY: $(SUBDIRS)
73all: $(BUILDDIR)/libplugin.a $(ROCKS) $(SUBDIRS) $(DEPFILE) 74all: $(BUILDDIR)/libplugin.a $(ROCKS) $(SUBDIRS) $(DEPFILE)
74 75
76$(DEPFILE): $(BITMAPLIBS)
77
78dep: $(DEPFILE)
79
75$(BUILDDIR)/credits.raw: $(DOCSDIR)/CREDITS 80$(BUILDDIR)/credits.raw: $(DOCSDIR)/CREDITS
76 @echo "create credits.raw" 81 @echo "create credits.raw"
77 $(SILENT)perl credits.pl < $< > $@ 82 $(SILENT)perl credits.pl < $< > $@
@@ -197,5 +202,6 @@ clean:
197 $(SILENT)$(MAKE) -C bitmaps/remote_native clean OBJDIR=$(OBJDIR)/bitmaps/remote_native 202 $(SILENT)$(MAKE) -C bitmaps/remote_native clean OBJDIR=$(OBJDIR)/bitmaps/remote_native
198 $(SILENT)$(MAKE) -C rockboy clean OBJDIR=$(OBJDIR)/rockboy 203 $(SILENT)$(MAKE) -C rockboy clean OBJDIR=$(OBJDIR)/rockboy
199 $(SILENT)$(MAKE) -C searchengine clean OBJDIR=$(OBJDIR)/searchengine 204 $(SILENT)$(MAKE) -C searchengine clean OBJDIR=$(OBJDIR)/searchengine
205 @rm -rf $(BUILDDIR)/pluginbitmaps
200 206
201-include $(DEPFILE) 207-include $(DEPFILE)
diff --git a/apps/plugins/bitmaps/mono/Makefile b/apps/plugins/bitmaps/mono/Makefile
index 54c06770b8..7b7e052117 100644
--- a/apps/plugins/bitmaps/mono/Makefile
+++ b/apps/plugins/bitmaps/mono/Makefile
@@ -21,6 +21,7 @@ DEPFILE = $(OBJDIR)/dep-bitmaps-mono
21 21
22BMP2RB = $(BMP2RB_MONO) 22BMP2RB = $(BMP2RB_MONO)
23OUTPUT = $(BUILDDIR)/libpluginbitmapsmono.a 23OUTPUT = $(BUILDDIR)/libpluginbitmapsmono.a
24BMPINCDIR = $(BUILDDIR)/pluginbitmaps
24 25
25include $(TOOLSDIR)/makebmp.inc 26include $(TOOLSDIR)/makebmp.inc
26 27
diff --git a/apps/plugins/bitmaps/native/Makefile b/apps/plugins/bitmaps/native/Makefile
index fd77a6213c..d7745ee9e2 100644
--- a/apps/plugins/bitmaps/native/Makefile
+++ b/apps/plugins/bitmaps/native/Makefile
@@ -21,6 +21,7 @@ DEPFILE = $(OBJDIR)/dep-bitmaps-native
21 21
22BMP2RB = $(BMP2RB_NATIVE) 22BMP2RB = $(BMP2RB_NATIVE)
23OUTPUT = $(BUILDDIR)/libpluginbitmapsnative.a 23OUTPUT = $(BUILDDIR)/libpluginbitmapsnative.a
24BMPINCDIR = $(BUILDDIR)/pluginbitmaps
24 25
25include $(TOOLSDIR)/makebmp.inc 26include $(TOOLSDIR)/makebmp.inc
26 27
diff --git a/apps/plugins/bitmaps/remote_mono/Makefile b/apps/plugins/bitmaps/remote_mono/Makefile
index 0875b4cbb5..db846e23a7 100644
--- a/apps/plugins/bitmaps/remote_mono/Makefile
+++ b/apps/plugins/bitmaps/remote_mono/Makefile
@@ -21,6 +21,7 @@ DEPFILE = $(OBJDIR)/dep-bitmaps-remotemono
21 21
22BMP2RB = $(BMP2RB_REMOTEMONO) 22BMP2RB = $(BMP2RB_REMOTEMONO)
23OUTPUT = $(BUILDDIR)/libpluginbitmapsremotemono.a 23OUTPUT = $(BUILDDIR)/libpluginbitmapsremotemono.a
24BMPINCDIR = $(BUILDDIR)/pluginbitmaps
24 25
25include $(TOOLSDIR)/makebmp.inc 26include $(TOOLSDIR)/makebmp.inc
26 27
diff --git a/apps/plugins/bitmaps/remote_native/Makefile b/apps/plugins/bitmaps/remote_native/Makefile
index 91a42908f5..405f3fd5af 100644
--- a/apps/plugins/bitmaps/remote_native/Makefile
+++ b/apps/plugins/bitmaps/remote_native/Makefile
@@ -21,6 +21,7 @@ DEPFILE = $(OBJDIR)/dep-bitmaps-remotenative
21 21
22BMP2RB = $(BMP2RB_REMOTENATIVE) 22BMP2RB = $(BMP2RB_REMOTENATIVE)
23OUTPUT = $(BUILDDIR)/libpluginbitmapsremotenative.a 23OUTPUT = $(BUILDDIR)/libpluginbitmapsremotenative.a
24BMPINCDIR = $(BUILDDIR)/pluginbitmaps
24 25
25include $(TOOLSDIR)/makebmp.inc 26include $(TOOLSDIR)/makebmp.inc
26 27