summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--apps/Makefile5
-rw-r--r--firmware/Makefile10
-rwxr-xr-xtools/configure8
-rw-r--r--uisimulator/win32/Makefile7
-rw-r--r--uisimulator/x11/Makefile10
5 files changed, 11 insertions, 29 deletions
diff --git a/apps/Makefile b/apps/Makefile
index 8ec3b0a581..07b093eb40 100644
--- a/apps/Makefile
+++ b/apps/Makefile
@@ -17,11 +17,6 @@ FIRMWARE := ../firmware
17 17
18INCLUDES= -I$(FIRMWARE)/include -I$(FIRMWARE) -I$(FIRMWARE)/common -I$(FIRMWARE)/drivers -I$(FIRMWARE)/malloc -I. 18INCLUDES= -I$(FIRMWARE)/include -I$(FIRMWARE) -I$(FIRMWARE)/common -I$(FIRMWARE)/drivers -I$(FIRMWARE)/malloc -I.
19 19
20# Pick a target to build for
21#TARGET = -DARCHOS_PLAYER=1
22TARGET = -DARCHOS_PLAYER_OLD=1
23#TARGET = -DARCHOS_RECORDER=1
24
25# store output files in this directory: 20# store output files in this directory:
26OBJDIR = . 21OBJDIR = .
27 22
diff --git a/firmware/Makefile b/firmware/Makefile
index aab5249b25..252b1ea70b 100644
--- a/firmware/Makefile
+++ b/firmware/Makefile
@@ -17,11 +17,6 @@ INCLUDES=-Iinclude -I. -Icommon -Idrivers
17 17
18SYSTEM_FONT = fonts/alt6x10.bdf 18SYSTEM_FONT = fonts/alt6x10.bdf
19 19
20# Pick a target to build for
21TARGET = -DARCHOS_PLAYER=1
22#TARGET = -DARCHOS_PLAYER_OLD=1
23#TARGET = -DARCHOS_RECORDER=1
24
25# store output files in this directory: 20# store output files in this directory:
26OBJDIR = . 21OBJDIR = .
27 22
@@ -43,8 +38,13 @@ DIRS = $(subst $(DEPS),".",$(DEPDIRS))
43 38
44OUTPUT = $(OBJDIR)/librockbox.a 39OUTPUT = $(OBJDIR)/librockbox.a
45 40
41
46ifeq (LOADABLE_FONTS,$(findstring LOADABLE_FONTS, $(CFLAGS))) 42ifeq (LOADABLE_FONTS,$(findstring LOADABLE_FONTS, $(CFLAGS)))
47 EXTRA_TARGETS = $(OBJDIR)/system.ajf 43 EXTRA_TARGETS = $(OBJDIR)/system.ajf
44else
45ifeq ($(TARGET),-DARCHOS_RECORDER)
46 CFLAGS += -DLCD_PROPFONTS
47endif
48endif 48endif
49 49
50all: $(OUTPUT) $(EXTRA_TARGETS) 50all: $(OUTPUT) $(EXTRA_TARGETS)
diff --git a/tools/configure b/tools/configure
index e2c3bd53f9..cc13e94268 100755
--- a/tools/configure
+++ b/tools/configure
@@ -190,13 +190,7 @@ if [ "-" = "$extra_defines" ]; then
190 extra_defines="-DLOADABLE_FONTS" 190 extra_defines="-DLOADABLE_FONTS"
191 echo "*** Remember to copy the 'system.ajf' file to the root of your Archos!" 191 echo "*** Remember to copy the 'system.ajf' file to the root of your Archos!"
192 else 192 else
193 echo "Proportional font support? (N)" 193 extra_defines=""
194 getit=`input`;
195 if [ "y" = "$getit" -o "Y" = "$getit" ] ; then
196 extra_defines="-DLCD_PROPFONTS"
197 else
198 extra_defines=""
199 fi
200 fi 194 fi
201 else 195 else
202 extra_defines="" 196 extra_defines=""
diff --git a/uisimulator/win32/Makefile b/uisimulator/win32/Makefile
index 7282afdc24..a45a4a6be6 100644
--- a/uisimulator/win32/Makefile
+++ b/uisimulator/win32/Makefile
@@ -36,12 +36,6 @@ OBJDIR = .
36 36
37TARGET = $(OBJDIR)/uisw32.exe 37TARGET = $(OBJDIR)/uisw32.exe
38 38
39#DISPLAY = -DHAVE_LCD_CHARCELLS
40DISPLAY = -DHAVE_LCD_BITMAP
41
42#KEYPAD = -DHAVE_PLAYER_KEYPAD
43KEYPAD = -DHAVE_RECORDER_KEYPAD
44
45DEFINES = -DHAVE_CONFIG_H -DGETTIMEOFDAY_TWO_ARGS -DSIMULATOR \ 39DEFINES = -DHAVE_CONFIG_H -DGETTIMEOFDAY_TWO_ARGS -DSIMULATOR \
46$(KEYPAD) $(DISPLAY) -DAPPSVERSION=\"$(VERSION)\" 40$(KEYPAD) $(DISPLAY) -DAPPSVERSION=\"$(VERSION)\"
47 41
@@ -68,6 +62,7 @@ APPS = main.c tree.c menu.c credits.c main_menu.c\
68MENUS = games_menu.c screensavers_menu.c settings_menu.c sound_menu.c 62MENUS = games_menu.c screensavers_menu.c settings_menu.c sound_menu.c
69 63
70ifeq ($(DISPLAY),-DHAVE_LCD_BITMAP) 64ifeq ($(DISPLAY),-DHAVE_LCD_BITMAP)
65 DEFINES += -DLCD_PROPFONTS
71 APPS += tetris.c sokoban.c blank.c bounce.c boxes.c icons.c bmp.c \ 66 APPS += tetris.c sokoban.c blank.c bounce.c boxes.c icons.c bmp.c \
72 widgets.c wormlet.c 67 widgets.c wormlet.c
73endif 68endif
diff --git a/uisimulator/x11/Makefile b/uisimulator/x11/Makefile
index 7a61c50ed3..f5856aa65b 100644
--- a/uisimulator/x11/Makefile
+++ b/uisimulator/x11/Makefile
@@ -36,12 +36,6 @@ OBJDIR = .
36 36
37TARGET = $(OBJDIR)/rockboxui 37TARGET = $(OBJDIR)/rockboxui
38 38
39#DISPLAY = -DHAVE_LCD_CHARCELLS
40DISPLAY = -DHAVE_LCD_BITMAP
41
42#KEYPAD = -DHAVE_PLAYER_KEYPAD
43KEYPAD = -DHAVE_RECORDER_KEYPAD
44
45DEFINES = -DHAVE_CONFIG_H -DGETTIMEOFDAY_TWO_ARGS -DSIMULATOR \ 39DEFINES = -DHAVE_CONFIG_H -DGETTIMEOFDAY_TWO_ARGS -DSIMULATOR \
46$(KEYPAD) $(DISPLAY) $(EXTRA_DEFINES) 40$(KEYPAD) $(DISPLAY) $(EXTRA_DEFINES)
47 41
@@ -81,6 +75,10 @@ ifeq (LOADABLE_FONTS,$(findstring LOADABLE_FONTS, $(DEFINES)))
81 FIRMSRCS += unicode.c ajf.c panic.c 75 FIRMSRCS += unicode.c ajf.c panic.c
82 EXTRA_TARGETS = $(OBJDIR)/archos/system.ajf 76 EXTRA_TARGETS = $(OBJDIR)/archos/system.ajf
83 SYSTEM_FONT = $(FIRMWAREDIR)/fonts/alt6x10.bdf 77 SYSTEM_FONT = $(FIRMWAREDIR)/fonts/alt6x10.bdf
78else
79ifeq ($(DISPLAY),-DHAVE_LCD_BITMAP)
80 DEFINES += -DLCD_PROPFONTS
81endif
84endif 82endif
85 83
86APPS = main.c tree.c menu.c credits.c main_menu.c\ 84APPS = main.c tree.c menu.c credits.c main_menu.c\