]> git.karo-electronics.de Git - karo-tx-redboot.git/blob - packages/services/gfx/mw/v2_0/src/config
Initial revision
[karo-tx-redboot.git] / packages / services / gfx / mw / v2_0 / src / config
1 ####################################################################
2 # Microwindows and Nano-X configuration file
3 #
4 # This package can be configured to run on Linux (MIPS, ARM, POWERPC or x86)
5 # UNIX, ELKS, DJGPP, or RTEMS.
6 # On Linux, we've got drivers for Linux 2.x framebuffers, X11, or,
7 # svgalib for VGA hardware.
8 # In addition, a gpm or direct serial mouse driver can be configured.
9 # On ELKS, the bios screen driver and serial mouse driver are always used.
10 #
11 # Either Microwindows and/or Nano-X can be built.
12 # Microwindows and Nano-X have several demos.
13 #
14 # For MSDOS makes, see mcmwin.mak and mcnanox.mak
15 ####################################################################
16
17 ####################################################################
18 #
19 # build target platform
20 #
21 # Valid ARCH values are:
22 #
23 # LINUX-NATIVE
24 # LINUX-ARM
25 # LINUX-MIPS
26 # LINUX-POWERPC
27 # LINUX-SH
28 # FREEBSD-X86
29 # SOLARIS
30 # RTEMS
31 # DJGPP
32 # ELKS
33 #
34 # note: ELKS can't build client/server nano-X, nor widget lib
35 #
36 ####################################################################
37 ARCH                     = ECOS
38 ECOSTARGET               = IPAQ
39 #ARMTOOLSPREFIX           = arm-linux-gnu-
40 ARMTOOLSPREFIX           = arm-elf-
41 MIPSTOOLSPREFIX          = mipsel-linux-
42 POWERPCTOOLSPREFIX       = powerpc-linux-
43 SHTOOLSPREFIX            = sh-linux-gnu
44 RTEMSTOOLSPREFIX         = i386-rtemself-
45
46 ####################################################################
47 #
48 # Compiling options
49 #
50 ####################################################################
51 OPTIMIZE                 = Y
52 DEBUG                    = Y
53 VERBOSE                  = Y
54
55 ####################################################################
56 #
57 # Libraries to build: microwin, nano-X, nanowidget, object frameworks
58 #
59 ####################################################################
60 MICROWIN                 = Y
61 NANOX                    = Y
62 SHAREDLIBS               = N
63 NWIDGET                  = Y
64 OBJFRAMEWORK             = N
65
66 ####################################################################
67 #
68 # Demos to build
69 #
70 ####################################################################
71 MICROWINDEMO             = Y
72 NANOXDEMO                = Y
73
74 ####################################################################
75 #
76 # Applications to build
77 #
78 ####################################################################
79 NANOWM                   = Y
80
81 ####################################################################
82 #
83 # The pixeltype of the native hardware or underlying graphics library.
84 # This definition defines the PIXELVAL to be 32, 16 or 8 bits wide.
85 # If using Linux framebuffer, set to MWPF_TRUECOLOR0888, and use fbset.
86 # It also enables GdArea/GrArea for this particular pixel packing format.
87 #
88 # define MWPF_PALETTE       /* pixel is packed 8 bits 1, 4 or 8 pal index*/
89 # define MWPF_TRUECOLOR0888 /* pixel is packed 32 bits 8/8/8 truecolor*/
90 # define MWPF_TRUECOLOR888  /* pixel is packed 24 bits 8/8/8 truecolor*/
91 # define MWPF_TRUECOLOR565  /* pixel is packed 16 bits 5/6/5 truecolor*/
92 # define MWPF_TRUECOLOR555  /* pixel is packed 16 bits 5/5/5 truecolor*/
93 # define MWPF_TRUECOLOR332  /* pixel is packed 8 bits 3/3/2 truecolor*/
94 #
95 ####################################################################
96 #SCREEN_PIXTYPE           = MWPF_TRUECOLOR565
97 SCREEN_PIXTYPE           = MWPF_TRUECOLOR555
98
99 ####################################################################
100 #
101 # NanoX: Put Y to the following line to link the nano-X application
102 # with the server.  This is required for ELKS, if no network is present,
103 # or for speed or debugging.  This affects the nano-X server only.
104 #
105 ####################################################################
106 LINK_APP_INTO_SERVER     = N
107
108 ####################################################################
109 #
110 # File I/O support
111 # Supporting either below drags in libc stdio, which may not be wanted
112 #
113 ####################################################################
114 HAVE_FILEIO              = Y
115
116 ####################################################################
117 # BMP, GIF reading support
118 ####################################################################
119 HAVE_BMP_SUPPORT         = Y
120 HAVE_GIF_SUPPORT         = N
121 HAVE_PNM_SUPPORT         = Y
122 HAVE_XPM_SUPPORT         = Y
123
124 ####################################################################
125 # JPEG support through libjpeg, see README.txt in contrib/jpeg
126 ####################################################################
127 HAVE_JPEG_SUPPORT        = Y
128 INCJPEG                  = ${MW_BASE}/src/jpeg-6b
129 LIBJPEG                  = ${INCJPEG}/libjpeg.a
130
131 ####################################################################
132 # PNG support via libpng and libz
133 ####################################################################
134 HAVE_PNG_SUPPORT         = N
135 INCPNG                   = .
136 LIBPNG                   = /usr/lib/libpng.a
137 LIBZ                     = /usr/lib/libz.a
138
139 ####################################################################
140 # T1 adobe type1 font support thru t1lib
141 ####################################################################
142 HAVE_T1LIB_SUPPORT       = N
143 INCT1LIB                 = /usr/include
144 LIBT1LIB                 = /usr/lib/libt1.a
145
146 ####################################################################
147 # TrueType font support thru FreeType
148 ####################################################################
149 HAVE_FREETYPE_SUPPORT    = N
150 INCFTLIB                 = /usr/include
151 LIBFTLIB                 = /usr/lib/libttf.so
152 FREETYPE_FONT_DIR        = "/usr/local/microwin/fonts"
153
154 ####################################################################
155 # Shared memory support for Nano-X client/server protocol speedup
156 ####################################################################
157 HAVE_SHAREDMEM_SUPPORT   = N
158
159 ####################################################################
160 # Chinese Han Zi Ku font support
161 ####################################################################
162 HAVE_HZK_SUPPORT         = N
163 HZK_FONT_DIR             = "fonts/chinese"
164
165 ####################################################################
166 # Chinese BIG5 compiled in font support (big5font.c)
167 ####################################################################
168 HAVE_BIG5_SUPPORT        = N
169
170 ####################################################################
171 # Chinese GB2312 compiled in font support (gb2312font.c)
172 ####################################################################
173 HAVE_GB2312_SUPPORT      = N
174
175 ####################################################################
176 # Generate screen driver interface only with no fonts or clipping
177 ####################################################################
178 NOFONTSORCLIPPING        = N
179
180 ####################################################################
181 #
182 # Window move algorithms for Microwindows
183 # Change for tradeoff between cpu speed and looks
184 # ERASEMOVE repaints only backgrounds while window dragging, quicker.
185 # Otherwise an XOR redraw is used for window moves only after button up,
186 # quickest (should set for ELKS)
187 # UPDATEREGIONS paints in update clipping region only for better look and feel
188 #
189 ####################################################################
190 ERASEMOVE                = Y
191 UPDATEREGIONS            = Y
192
193 ####################################################################
194 #
195 # Use MS fonts (default no)
196 #
197 ####################################################################
198 HAVEMSFONTS              = N
199
200 ####################################################################
201 #
202 # Link with Gray Palette (valid only for 4bpp modes)
203 #
204 ####################################################################
205 GRAYPALETTE              = N
206
207 ####################################################################
208 #
209 # If the platform is running UNIX, Linux or RTEMS...
210 #
211 ####################################################################
212 ifneq ($(ARCH), ELKS)
213
214 # X Window screen, mouse and kbd drivers
215 X11                      = N
216
217 ifeq ($(X11), Y)
218 # predefined model or select screen width, height, depth(palette mode only)
219 SCREEN_E15               = N
220 SCREEN_WIDTH             = 640
221 SCREEN_HEIGHT            = 480
222 SCREEN_DEPTH             = 4
223
224 # You may want to turn this on for XFree86 4.x or if your backing store
225 # isn't functioning properly
226 USE_EXPOSURE             = N
227
228 else
229
230 # framebuffer screen driver (linear and/or vga 4 planes)
231 # set VTSWITCH to include virtual terminal switch code
232 # set PORTRAIT_MODE to L or R for left or right orientation
233 # set FBREVERSE to reverse bit orders in 1,2,4 bpp
234 # set FBVGA=N for all systems without VGA hardware (for MIPS must=N)
235 FRAMEBUFFER              = Y
236 FBVGA                    = N
237 VTSWITCH                 = N
238 #PORTRAIT_MODE            = R
239 PORTRAIT_MODE            = N
240 FBREVERSE                = N
241
242 # svgalib screen driver
243 VGALIB                   = N
244
245 # direct VGA hardware access screen driver
246 HWVGA                    = N
247
248 ####################################################################
249 # Mouse or touch screen driver
250 # TPMOUSE for Linux-VR and Embedded Planet
251 # TPHELIO for VTech Helio
252 # ADSMOUSE for ADS Graphics Client
253 # IPAQMOUSE for Compaq iPAQ,Intel Assabet, ARM ucb1200 (/dev/h3600_ts 11,0)
254 # HARRIERMOUSE for NEC Harrier
255 # PSIONMOUSE for the Psion 5
256 ####################################################################
257 GPMMOUSE                 = N
258 SERMOUSE                 = N
259 TPMOUSE                  = N
260 TPHELIO                  = N
261 ADSMOUSE                 = N
262 IPAQMOUSE                = Y
263 HARRIERMOUSE             = N
264 PSIONMOUSE               = N
265 NOMOUSE                  = N
266
267 # keyboard or null kbd driver
268 TTYKBD                   = N
269 SCANKBD                  = N
270 PIPEKBD                  = N
271 NOKBD                    = N
272 IPAQKBD                  = Y
273
274 endif
275
276 ####################################################################
277 # Screen driver specific configuration
278 # SA1100_LCD_LTLEND 4bpp driver with arm SA1100 LCD controller
279 # INVERT4BPP 4bpp inverted pixel driver for VTech Helio
280 ####################################################################
281 SA1100_LCD_LTLEND        = N
282 INVERT4BPP               = N
283
284 ####################################################################
285 #
286 # If the platform is a RTEMS box ....
287 #
288 ####################################################################
289 ifeq ($(ARCH), RTEMS)
290
291 # Location & BSP information of the RTEMS build
292 RTEMS_BUILD              = /tools/build-i386-elf-rtems
293 RTEMS_BSP                = pc386
294 LINK_APP_INTO_SERVER     = Y
295
296 endif
297
298 endif
299
300 ####################################################################
301 #
302 # If the platform is an ELKS box ...
303 #
304 ####################################################################
305 ifeq ($(ARCH), ELKS)
306
307 # Higher speed asm driver, c driver of hercules screen driver
308 ASMVGADRIVER             = Y
309 CVGADRIVER               = N
310 HERCDRIVER               = N
311 DBGDRIVER                = N
312
313 # Mouse support
314 SERMOUSE                 = Y
315
316 endif