1 ####################################################################
2 # Microwindows and Nano-X configuration file
4 # This package can be configured to run on Linux (MIPS, ARM, 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.
11 # Either Microwindows and/or Nano-X can be built.
12 # Microwindows and Nano-X have several demos.
14 # For MSDOS makes, see mcmwin.mak and mcnanox.mak
15 ####################################################################
17 ####################################################################
19 # build target platform
21 # Valid ARCH values are:
31 # note: ELKS can't build client/server nano-X, nor widget lib
33 ####################################################################
35 ARMTOOLSPREFIX = arm-linux-
36 MIPSTOOLSPREFIX = mipsel-linux-
37 RTEMSTOOLSPREFIX = i386-rtemself-
39 ####################################################################
43 ####################################################################
48 ####################################################################
50 # Libraries to build: microwin, nano-X, nanowidget, object frameworks
52 ####################################################################
60 ####################################################################
64 ####################################################################
68 ####################################################################
70 # Applications to build
72 ####################################################################
75 ####################################################################
77 # The pixeltype of the native hardware or underlying graphics library.
78 # This definition defines the PIXELVAL to be 32, 16 or 8 bits wide.
79 # If using Linux framebuffer, set to MWPF_TRUECOLOR0888, and use fbset.
80 # It also enables GdArea/GrArea for this particular pixel packing format.
82 # define MWPF_PALETTE /* pixel is packed 8 bits 1, 4 or 8 pal index*/
83 # define MWPF_TRUECOLOR0888 /* pixel is packed 32 bits 8/8/8 truecolor*/
84 # define MWPF_TRUECOLOR888 /* pixel is packed 24 bits 8/8/8 truecolor*/
85 # define MWPF_TRUECOLOR565 /* pixel is packed 16 bits 5/6/5 truecolor*/
86 # define MWPF_TRUECOLOR332 /* pixel is packed 8 bits 3/3/2 truecolor*/
88 ####################################################################
89 SCREEN_PIXTYPE = MWPF_TRUECOLOR0888
91 ####################################################################
93 # NanoX: Put Y to the following line to link the nano-X application
94 # with the server. This is required for ELKS, if no network is present,
95 # or for speed or debugging. This affects the nano-X server only.
97 ####################################################################
98 LINK_APP_INTO_SERVER = N
100 ####################################################################
103 # Supporting either below drags in libc stdio, which may not be wanted
105 ####################################################################
108 ####################################################################
109 # BMP, GIF reading support
110 ####################################################################
116 ####################################################################
117 # JPEG support through libjpeg, see README.txt in contrib/jpeg
118 ####################################################################
119 HAVE_JPEG_SUPPORT = Y
121 LIBJPEG = /skiff/local/arm-linux/lib/libjpeg.a
123 ####################################################################
124 # PNG support via libpng and libz
125 ####################################################################
128 LIBPNG = /usr/lib/libpng.a
129 LIBZ = /usr/lib/libz.a
131 ####################################################################
132 # T1 adobe type1 font support thru t1lib
133 ####################################################################
134 HAVE_T1LIB_SUPPORT = N
135 INCT1LIB = /usr/include
136 LIBT1LIB = /usr/lib/libt1.a
138 ####################################################################
139 # TrueType font support thru FreeType
140 ####################################################################
141 HAVE_FREETYPE_SUPPORT = N
142 INCFTLIB = /usr/include
143 LIBFTLIB = /usr/lib/libttf.so
145 ####################################################################
146 # Shared memory support for Nano-X client/server protocol speedup
147 ####################################################################
148 HAVE_SHAREDMEM_SUPPORT = N
150 ####################################################################
151 # Chinese Han Zi Ku font support
152 ####################################################################
154 HZK_FONT_DIR = "fonts/chinese"
156 ####################################################################
157 # Chinese GB2312 compiled in font support (gb2312font.c)
158 ####################################################################
159 HAVE_GB2312_SUPPORT = N
161 ####################################################################
163 # Window move algorithms for Microwindows
164 # Change for tradeoff between cpu speed and looks
165 # ERASEMOVE repaints only backgrounds while window dragging, quicker.
166 # Otherwise an XOR redraw is used for window moves only after button up,
167 # quickest (should set for ELKS)
168 # UPDATEREGIONS paints in update clipping region only for better look and feel
170 ####################################################################
174 ####################################################################
176 # Use MS fonts (default no)
178 ####################################################################
181 ####################################################################
183 # Link with Gray Palette (valid only for 4bpp modes)
185 ####################################################################
188 ####################################################################
190 # If the platform is running UNIX, Linux or RTEMS...
192 ####################################################################
193 ifneq ($(ARCH), ELKS)
195 # X Window screen, mouse and kbd drivers
199 # predefined model or select screen width, height, depth(palette mode only)
207 # framebuffer screen driver (linear and/or vga 4 planes)
208 # set VTSWITCH to include virtual terminal switch code
209 # set PORTRAIT_MODE to L or R for left or right orientation
215 # svgalib screen driver
218 # direct VGA hardware access screen driver
221 ####################################################################
222 # Mouse or touch screen driver
223 # TPMOUSE for Linux-VR and Embedded Planet
224 # ADSMOUSE for ADS Graphics Client
225 # IPAQMOUSE for Compaq iPAQ and Intel Assabet (/dev/h3600_ts 11,0)
226 ####################################################################
234 # keyboard or null kbd driver
240 ####################################################################
242 # If the platform is a LINUX-ARM box ....
244 ####################################################################
245 ifeq ($(ARCH), LINUX-ARM)
247 # If 4bpp driver with arm SA1100 LCD controller is used ...
248 SA1100_LCD_LTLEND = N
253 ####################################################################
255 # If the platform is a RTEMS box ....
257 ####################################################################
258 ifeq ($(ARCH), RTEMS)
260 # Location & BSP information of the RTEMS build
261 RTEMS_BUILD = /tools/build-i386-elf-rtems
263 LINK_APP_INTO_SERVER = Y
269 ####################################################################
271 # If the platform is an ELKS box ...
273 ####################################################################
276 # Higher speed asm driver, c driver of hercules screen driver