diff options
Diffstat (limited to 'uisimulator/x11')
-rw-r--r-- | uisimulator/x11/Makefile | 30 | ||||
-rw-r--r-- | uisimulator/x11/uibasic.c | 1 |
2 files changed, 21 insertions, 10 deletions
diff --git a/uisimulator/x11/Makefile b/uisimulator/x11/Makefile index d2b109e443..c6f86d40ad 100644 --- a/uisimulator/x11/Makefile +++ b/uisimulator/x11/Makefile | |||
@@ -76,13 +76,8 @@ CFLAGS = $(DEBUG) $(DEFINES) $(INCLUDES) -W -Wall | |||
76 | 76 | ||
77 | APPCFLAGS = $(DEBUG) $(DEFINES) -DAPPSVERSION=\"$(VERSION)\" $(APPINCLUDES) -W -Wall | 77 | APPCFLAGS = $(DEBUG) $(DEFINES) -DAPPSVERSION=\"$(VERSION)\" $(APPINCLUDES) -W -Wall |
78 | 78 | ||
79 | FIRMSRCS = chartables.c lcd.c sprintf.c id3.c debug.c usb.c mpeg.c power.c powermgmt.c | 79 | FIRMSRCS = chartables.c lcd.c sprintf.c id3.c debug.c usb.c mpeg.c power.c\ |
80 | 80 | powermgmt.c font.c X5x8.c loadfont.c panic.c | |
81 | ifeq (LOADABLE_FONTS,$(findstring LOADABLE_FONTS, $(DEFINES))) | ||
82 | FIRMSRCS += unicode.c ajf.c panic.c | ||
83 | EXTRA_TARGETS = $(OBJDIR)/archos/system.ajf | ||
84 | SYSTEM_FONT = $(FIRMWAREDIR)/fonts/alt6x10.bdf | ||
85 | endif | ||
86 | 81 | ||
87 | APPS = main.c tree.c menu.c credits.c main_menu.c\ | 82 | APPS = main.c tree.c menu.c credits.c main_menu.c\ |
88 | playlist.c showtext.c wps.c wps-display.c settings.c status.c icons.c | 83 | playlist.c showtext.c wps.c wps-display.c settings.c status.c icons.c |
@@ -110,9 +105,6 @@ clean: | |||
110 | $(RM) $(OBJS) *~ core $(TARGET) $(CLIENTS) | 105 | $(RM) $(OBJS) *~ core $(TARGET) $(CLIENTS) |
111 | $(RM) -r $(DEPS) | 106 | $(RM) -r $(DEPS) |
112 | 107 | ||
113 | $(OBJDIR)/archos/system.ajf: $(TOOLSDIR)/bdf2ajf $(SYSTEM_FONT) | ||
114 | $(TOOLSDIR)/bdf2ajf -f $(SYSTEM_FONT) -o $(OBJDIR)/archos/system.ajf | ||
115 | |||
116 | distclean: clean | 108 | distclean: clean |
117 | $(RM) config.cache | 109 | $(RM) config.cache |
118 | 110 | ||
@@ -227,6 +219,24 @@ $(OBJDIR)/lcd.o: $(DRIVERS)/lcd.c | |||
227 | $(OBJDIR)/chartables.o: $(FIRMWAREDIR)/chartables.c | 219 | $(OBJDIR)/chartables.o: $(FIRMWAREDIR)/chartables.c |
228 | $(CC) $(APPCFLAGS) -c $< -o $@ | 220 | $(CC) $(APPCFLAGS) -c $< -o $@ |
229 | 221 | ||
222 | $(OBJDIR)/X5x8.o: $(FIRMWAREDIR)/X5x8.c | ||
223 | $(CC) $(APPCFLAGS) -c $< -o $@ | ||
224 | |||
225 | $(OBJDIR)/X6x9.o: $(FIRMWAREDIR)/X6x9.c | ||
226 | $(CC) $(APPCFLAGS) -c $< -o $@ | ||
227 | |||
228 | $(OBJDIR)/timR08.o: $(FIRMWAREDIR)/timR08.c | ||
229 | $(CC) $(APPCFLAGS) -c $< -o $@ | ||
230 | |||
231 | $(OBJDIR)/courB08.o: $(FIRMWAREDIR)/courB08.c | ||
232 | $(CC) $(APPCFLAGS) -c $< -o $@ | ||
233 | |||
234 | $(OBJDIR)/font.o: $(FIRMWAREDIR)/font.c | ||
235 | $(CC) $(APPCFLAGS) -c $< -o $@ | ||
236 | |||
237 | $(OBJDIR)/loadfont.o: $(FIRMWAREDIR)/loadfont.c | ||
238 | $(CC) $(APPCFLAGS) -c $< -o $@ | ||
239 | |||
230 | $(OBJDIR)/settings.o: $(APPDIR)/settings.c | 240 | $(OBJDIR)/settings.o: $(APPDIR)/settings.c |
231 | $(CC) $(APPCFLAGS) -c $< -o $@ | 241 | $(CC) $(APPCFLAGS) -c $< -o $@ |
232 | 242 | ||
diff --git a/uisimulator/x11/uibasic.c b/uisimulator/x11/uibasic.c index 165b1cebe9..2eac2f8e06 100644 --- a/uisimulator/x11/uibasic.c +++ b/uisimulator/x11/uibasic.c | |||
@@ -198,6 +198,7 @@ screenhack (Display *the_dpy, Window the_window) | |||
198 | screen_redraw(); | 198 | screen_redraw(); |
199 | 199 | ||
200 | #ifdef HAVE_LCD_CHARCELLS | 200 | #ifdef HAVE_LCD_CHARCELLS |
201 | // FIXME?? | ||
201 | lcd_setfont(2); | 202 | lcd_setfont(2); |
202 | #endif | 203 | #endif |
203 | 204 | ||