r5345 dsilvers - /branches/vince/netsurf-fb/Makefile.sources

netsurf at semichrome.net netsurf at semichrome.net
Tue Sep 16 10:22:20 BST 2008


Author: dsilvers
Date: Tue Sep 16 04:22:19 2008
New Revision: 5345

URL: http://source.netsurf-browser.org?rev=5345&view=rev
Log:
Ensure the appropriate frontend is selected when building framebuffer

Modified:
    branches/vince/netsurf-fb/Makefile.sources

Modified: branches/vince/netsurf-fb/Makefile.sources
URL: http://source.netsurf-browser.org/branches/vince/netsurf-fb/Makefile.sources?rev=5345&r1=5344&r2=5345&view=diff
==============================================================================
--- branches/vince/netsurf-fb/Makefile.sources (original)
+++ branches/vince/netsurf-fb/Makefile.sources Tue Sep 16 04:22:19 2008
@@ -92,10 +92,15 @@
 S_FRAMEBUFFER := fb_gui.c tree.c history.c hotlist.c fb_schedule.c thumbnail.c \
 	misc.c fb_bitmap.c fb_font.c font_8x16.c fb_filetype.c login.c \
 	fb_plotters.c fb_8bpp_plotters.c \
-	fb_16bpp_plotters.c fb_32bpp_plotters.c \
-	fb_init_linux.c
-#	fb_init_able.c
-#fb_1bpp_plotters.c
+	fb_16bpp_plotters.c fb_32bpp_plotters.c
+#	fb_1bpp_plotters.c
+
+ifeq ($(NETSURF_FB_FRONTEND),linux)
+S_FRAMEBUFFER += fb_init_linux.c
+else
+S_FRAMEBUFFER += fb_init_able.c
+endif
+
 S_FRAMEBUFFER := $(addprefix framebuffer/,$(S_FRAMEBUFFER))
 
 # Some extra rules for building the scanner etc.




More information about the netsurf-commits mailing list