1 ####################################################################
2 # config: Microwindows and Nano-X configuration file
4 # This package is configured using this file for desktop Linux running
5 # framebuffer (FRAMEBUFFER=Y) or X11 (X11=Y), or cross-compiled
6 # for a variety of architectures (see ARCH= below).
7 # In addition, a variety of mouse and keyboards drivers can be
8 # selected (see MOUSE AND KBD below)
10 # See the src/Configs directory for pre-built config files.
11 # Edit this or copy one src/config, and type "make clean; make"
12 ####################################################################
14 ####################################################################
15 # Build target platform. Valid ARCH values are:
18 # LINUX-AVR32 (BIGENDIAN=Y)
23 # LINUX-POWERPC (BIGENDIAN=Y)
24 # LINUX-SPARC (BIGENDIAN=Y)
27 # SOLARIS (BIGENDIAN=Y)
35 # LINUX-LINARO (RPI cross compile)
37 ####################################################################
42 ARMTOOLSPREFIX = arm-linux-
43 ANDROIDTOOLSPREFIX = arm-linux-androideabi-
44 RPITOOLSPREFIX = arm-linux-gnueabihf-
45 MIPSTOOLSPREFIX = mipsel-linux-
46 POWERPCTOOLSPREFIX = powerpc-linux-
47 SHTOOLSPREFIX = sh-linux-gnu
48 AVR32TOOLSPREFIX = avr32-linux-
49 BLACKFINTOOLSPREFIX = bfin-uclinux-
52 ####################################################################
56 ####################################################################
63 ####################################################################
65 # Libraries to build: microwin, nano-X, engine, object frameworks
67 ####################################################################
76 ####################################################################
80 ####################################################################
84 ####################################################################
86 # Applications to build
88 ####################################################################
92 ####################################################################
94 # If using Linux framebuffer, set to MWPF_TRUECOLOR8888, and use fbset.
95 # When running X11, this sets the X11 pixel emulation at runtime.
97 # On Linux or when running the standard framebuffer subdrivers,
98 # the runtime framebuffer BPP (bits per pixel) is used to select
99 # the runtime screen subdriver. However, the format of the pixel
100 # itself must be selected at compile time, which sets macros used
101 # for MWCOLORVAL color conversions and conversion blit byte order.
102 # This also sets sizeof(MWPIXELVAL) for optimizing buffers sizes
103 # in GrArea/GrReadArea.
105 # define MWPF_PALETTE /* pixel is packed 8 bits 1, 4 or 8 pal index*/
106 # define MWPF_TRUECOLOR8888 /* pixel is packed 32 bits byte order |B|G|R|A|*/
107 # define MWPF_TRUECOLORABGR /* pixel is packed 32 bits byte order |R|G|B|A|*/
108 # define MWPF_TRUECOLOR888 /* pixel is packed 24 bits byte order |B|G|R|*/
109 # define MWPF_TRUECOLOR565 /* pixel is packed 16 bits little endian RGB565*/
110 # define MWPF_TRUECOLOR555 /* pixel is packed 16 bits little endian RGB555*/
111 # define MWPF_TRUECOLOR332 /* pixel is packed 8 bits RGB 332*/
112 # define MWPF_TRUECOLOR233 /* pixel is packed 8 bits BGR 332*/
114 ####################################################################
115 SCREEN_PIXTYPE = MWPF_TRUECOLOR8888
116 #SCREEN_PIXTYPE = MWPF_TRUECOLORABGR
117 #SCREEN_PIXTYPE = MWPF_TRUECOLOR565
119 ####################################################################
120 # NanoX: Put Y to the following line to link the nano-X application
121 # with the server. This is required if UNIX sockets aren't available,
122 # or for speed or debugging. This affects the nano-X server only.
123 ####################################################################
124 LINK_APP_INTO_SERVER = Y
126 ####################################################################
127 # Shared memory support for Nano-X client/server protocol speedup
128 ####################################################################
129 HAVE_SHAREDMEM_SUPPORT = N
131 ####################################################################
133 # Supporting either below drags in libc stdio, which may not be wanted
134 ####################################################################
137 ####################################################################
138 # BMP, GIF reading support
139 ####################################################################
145 ####################################################################
146 # JPEG support through libjpeg, see README.txt in contrib/jpeg
147 ####################################################################
148 HAVE_JPEG_SUPPORT = N
152 ####################################################################
153 # PNG support via libpng and libz
154 ####################################################################
161 ####################################################################
162 # TIFF support through libtiff
163 ####################################################################
164 HAVE_TIFF_SUPPORT = N
168 ####################################################################
169 # PCF font support - .pcf/.pcf.gz loadable fonts
170 ####################################################################
172 HAVE_PCFGZ_SUPPORT = Y
173 PCF_FONT_DIR = "fonts/pcf"
175 ####################################################################
176 # Truetype fonts - .ttf loadable fonts thru Freetype 2.x
177 ####################################################################
178 HAVE_FREETYPE_2_SUPPORT = Y
179 INCFT2LIB = /usr/include
180 ifneq ($(ARCH),ANDROID)
181 LIBFT2LIB = -lfreetype
182 FREETYPE_FONT_DIR = "fonts/truetype"
184 LIBFT2LIB = -lfreetype
185 FREETYPE_FONT_DIR = "/system/fonts"
188 ####################################################################
189 # T1 adobe type1 fonts - .pfb/.afm loadable thru t1lib
190 # t1lib.config must be setup and in T1LIB_FONT_DIR
191 ####################################################################
192 HAVE_T1LIB_SUPPORT = N
193 T1LIB_FONT_DIR = "fonts/type1"
194 INCT1LIB = /usr/include
197 ####################################################################
198 # FNT font support - .fnt/.fnt.gz loadable fonts (native bdf-converted)
199 ####################################################################
201 HAVE_FNTGZ_SUPPORT = Y
202 FNT_FONT_DIR = "fonts/fnt"
204 ####################################################################
205 # Japanese EUC-JP support using loadable MGL font
206 ####################################################################
207 HAVE_EUCJP_SUPPORT = N
208 EUCJP_FONT_DIR = "fonts/japanese"
210 ####################################################################
211 # Chinese Han Zi Ku loadable font support
212 ####################################################################
214 HZK_FONT_DIR = "fonts/chinese"
216 ####################################################################
217 # DBCS Chinese BIG5 compiled in font support (big5font.c)
218 ####################################################################
219 HAVE_BIG5_SUPPORT = N
221 ####################################################################
222 # DBCS Chinese GB2312 compiled in font support (gb2312font.c)
223 ####################################################################
224 HAVE_GB2312_SUPPORT = N
226 ####################################################################
227 # DBCS Japanese JISX0213 compiled in font support (jisx0213-12x12.c)
228 ####################################################################
229 HAVE_JISX0213_SUPPORT = N
231 ####################################################################
232 # DBCS Korean HANGUL font support (jo16x16.c)
233 ####################################################################
234 HAVE_KSC5601_SUPPORT = N
236 ####################################################################
237 # Fribidi and shape/joining support for right to left rendering
238 ####################################################################
239 HAVE_FRIBIDI_SUPPORT = N
240 HAVE_SHAPEJOINING_SUPPORT = N
241 INCFRIBIDI = $(TOP)/../../../include
242 LIBFRIBIDI = $(TOP)/../../../lib/libfribidi.a
244 ####################################################################
245 # Generate screen driver interface only with no fonts or clipping
246 ####################################################################
250 ####################################################################
251 # Window move algorithms for Microwindows
252 # Change for tradeoff between cpu speed and looks
253 # ERASEMOVE (nanowm) repaints only backgrounds while window dragging
254 # Otherwise an XOR redraw is used for window moves only after button up
255 # UPDATEREGIONS (win32 api only)paints in update clipping region only
256 ####################################################################
260 ####################################################################
262 ####################################################################
264 # X11 and FBE startup screen width, height, (depth for palette mode only)
269 # X Window screen driver
270 # USE_EXPOSURE for XFree86 4.x or if backing store not working
272 #X11LIBLOCATION = /usr/lib/i386-linux-gnu/
273 X11HDRLOCATION = ./X11-local
277 # Framebuffer screen driver
280 # memory screen driver
286 # Nintendo DS screen driver
294 # set VTSWITCH to include virtual terminal switch code
295 # set FBREVERSE to reverse bit orders in 1,2,4 bpp
296 # set GRAYPALETTE to link with Gray Palette (valid only for 4bpp modes)
297 # set HAVETEXTMODE=Y for systems that can switch between text & graphics.
303 # SA1100_LCD_LTLEND 4bpp driver with arm SA1100 LCD controller
304 # INVERT4BPP 4bpp inverted pixel driver for VTech Helio
305 SA1100_LCD_LTLEND = N
308 ####################################################################
311 # SERMOUSE serial Microsoft, PC, Logitech, PS/2 mice (/dev/psaux)
312 # SUNMOUSE Sun Workstation mouse (/dev/sunmouse)
313 # NOMOUSE no mouse driver
315 # Touchscreen drivers
316 # IPAQMOUSE Compaq iPAQ, Intel Assabet (/dev/h3600_tsraw)
317 # ZAURUSMOUSE Sharp Zaurus (/dev/sharp_ts)
318 # TUXMOUSE TuxScreen (/dev/ucb1x00-ts)
319 # ADSMOUSE Applied Data Systems GC+ (/dev/ts)
320 # ADS7846MOUSE ADS7846 chip, PSI OMAP Innovator (/dev/innnovator_ts)
321 # EPMOUSE Embedded Planet (/dev/tpanel)
322 # VHMOUSE Vtech Helio (/dev/tpanel)
323 # MTMOUSE MicroTouch serial (/dev/ttyS1)
324 # PSIONMOUSE Psion 5 (/dev/touch_psion)
325 # YOPYMOUSE Yopy (/dev/yopy-ts)
326 # HARRIERMOUSE NEC Harrier (/dev/tpanel)
327 # TSLIBMOUSE Use tslib (/dev/input/event0)
328 # EVENTMOUSE Simple standard event interface (/dev/input/event0)
329 # TTMOUSE TomTom GO and ONE (/dev/ts)
330 ####################################################################
353 # keyboard or null kbd driver
362 # Secondary keyboard drivers for IR input
365 ####################################################################
366 # VNC server support through libvncserver
367 ####################################################################
368 HAVE_VNCSERVER_SUPPORT = N
369 VNCSERVER_PTHREADED = N
371 INCVNC = /usr/include