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 ####################################################################
59 ####################################################################
63 ####################################################################
67 ####################################################################
69 # Applications to build
71 ####################################################################
74 ####################################################################
76 # The pixeltype of the native hardware or underlying graphics library.
77 # This definition defines the PIXELVAL to be 32, 16 or 8 bits wide.
78 # If using Linux framebuffer, set to MWPF_TRUECOLOR0888, and use fbset.
79 # It also enables GdArea/GrArea for this particular pixel packing format.
81 # define MWPF_PALETTE /* pixel is packed 8 bits 1, 4 or 8 pal index*/
82 # define MWPF_TRUECOLOR0888 /* pixel is packed 32 bits 8/8/8 truecolor*/
83 # define MWPF_TRUECOLOR888 /* pixel is packed 24 bits 8/8/8 truecolor*/
84 # define MWPF_TRUECOLOR565 /* pixel is packed 16 bits 5/6/5 truecolor*/
85 # define MWPF_TRUECOLOR332 /* pixel is packed 8 bits 3/3/2 truecolor*/
87 ####################################################################
88 SCREEN_PIXTYPE = MWPF_TRUECOLOR0888
90 ####################################################################
92 # NanoX: Put Y to the following line to link the nano-X application
93 # with the server. This is required for ELKS, if no network is present,
94 # or for speed or debugging. This affects the nano-X server only.
96 ####################################################################
97 LINK_APP_INTO_SERVER = N
99 ####################################################################
102 # Supporting either below drags in libc stdio, which may not be wanted
104 ####################################################################
107 ####################################################################
108 # BMP, GIF reading support
109 ####################################################################
114 ####################################################################
115 # JPEG support through libjpeg, see README.txt in contrib/jpeg
116 ####################################################################
117 HAVE_JPEG_SUPPORT = N
119 LIBJPEG = /usr/lib/libjpeg.a
121 ####################################################################
122 # PNG support via libpng and libz
123 ####################################################################
126 LIBPNG = /usr/lib/libpng.a
127 LIBZ = /usr/lib/libz.a
129 ####################################################################
131 # Window move algorithms for Microwindows
132 # Change for tradeoff between cpu speed and looks
133 # ERASEMOVE repaints only backgrounds while window dragging, quicker.
134 # Otherwise an XOR redraw is used for window moves only after button up,
135 # quickest (should set for ELKS)
136 # UPDATEREGIONS paints in update clipping region only for better look and feel
138 ####################################################################
142 ####################################################################
144 # Use MS fonts (default no)
146 ####################################################################
149 ####################################################################
151 # Link with Gray Palette (valid only for 4bpp modes)
153 ####################################################################
156 ####################################################################
158 # If the platform is running UNIX, Linux or RTEMS...
160 ####################################################################
161 ifneq ($(ARCH), ELKS)
163 # X Window screen, mouse and kbd drivers
167 # predefined model or select screen width, height, depth(palette mode only)
175 # framebuffer screen driver (linear and/or vga 4 planes)
176 # set VTSWITCH to include virtual terminal switch code
182 # svgalib screen driver
185 # direct VGA hardware access screen driver
188 ####################################################################
189 # Mouse or touch screen driver
190 # TPMOUSE for Linux-VR and Embedded Planet
191 # ADSMOUSE for ADS Graphics Client
192 # IPAQMOUSE for Compaq iPAQ
193 ####################################################################
206 ####################################################################
208 # If the platform is a LINUX-ARM box ....
210 ####################################################################
211 ifeq ($(ARCH), LINUX-ARM)
213 # If 4bpp driver with arm SA1100 LCD controller is used ...
214 SA1100_LCD_LTLEND = N
219 ####################################################################
221 # If the platform is a RTEMS box ....
223 ####################################################################
224 ifeq ($(ARCH), RTEMS)
226 # Location & BSP information of the RTEMS build
227 RTEMS_BUILD = /tools/build-i386-elf-rtems
229 LINK_APP_INTO_SERVER = Y
235 ####################################################################
237 # If the platform is an ELKS box ...
239 ####################################################################
242 # Higher speed asm driver, c driver of hercules screen driver