OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [tags/] [MW_0_8_9PRE7/] [mw/] [src/] [Configs/] [config.ns] - Blame information for rev 1765

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 673 markom
####################################################################
2
# Microwindows and Nano-X configuration file
3
#
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.
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
# SOLARIS
27
# RTEMS
28
# DJGPP
29
# ELKS
30
#
31
# note: ELKS can't build client/server nano-X, nor widget lib
32
#
33
####################################################################
34
ARCH                     = LINUX-NATIVE
35
ARMTOOLSPREFIX           = arm-linux-
36
MIPSTOOLSPREFIX          = mipsel-linux-
37
RTEMSTOOLSPREFIX         = i386-rtemself-
38
 
39
####################################################################
40
#
41
# Compiling options
42
#
43
####################################################################
44
OPTIMIZE                 = Y
45
DEBUG                    = N
46
VERBOSE                  = N
47
 
48
####################################################################
49
#
50
# Libraries to build: microwin, nano-X, nanowidget, object frameworks
51
#
52
####################################################################
53
MICROWIN                 = Y
54
NANOX                    = Y
55
SHAREDLIBS               = N
56
NWIDGET                  = Y
57
OBJFRAMEWORK             = N
58
 
59
 
60
####################################################################
61
#
62
# Demos to build
63
#
64
####################################################################
65
MICROWINDEMO             = Y
66
NANOXDEMO                = Y
67
 
68
####################################################################
69
#
70
# Applications to build
71
#
72
####################################################################
73
NANOWM                   = Y
74
 
75
####################################################################
76
#
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.
81
#
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*/
87
#
88
####################################################################
89
SCREEN_PIXTYPE           = MWPF_TRUECOLOR0888
90
 
91
####################################################################
92
#
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.
96
#
97
####################################################################
98
LINK_APP_INTO_SERVER     = N
99
 
100
####################################################################
101
#
102
# File I/O support
103
# Supporting either below drags in libc stdio, which may not be wanted
104
#
105
####################################################################
106
HAVE_FILEIO              = Y
107
 
108
####################################################################
109
# BMP, GIF reading support
110
####################################################################
111
HAVE_BMP_SUPPORT         = Y
112
HAVE_GIF_SUPPORT         = Y
113
HAVE_XPM_SUPPORT         = Y
114
HAVE_PNM_SUPPORT         = Y
115
 
116
####################################################################
117
# JPEG support through libjpeg, see README.txt in contrib/jpeg
118
####################################################################
119
HAVE_JPEG_SUPPORT        = Y
120
INCJPEG                  = .
121
LIBJPEG                  = /usr/lib/libjpeg.a
122
 
123
####################################################################
124
# PNG support via libpng and libz
125
####################################################################
126
HAVE_PNG_SUPPORT         = N
127
INCPNG                   = .
128
LIBPNG                   = /usr/lib/libpng.a
129
LIBZ                     = /usr/lib/libz.a
130
 
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
137
 
138
####################################################################
139
# TrueType font support thru FreeType
140
####################################################################
141
HAVE_FREETYPE_SUPPORT    = N
142
INCFTLIB                 = /usr/include
143
LIBFTLIB                 = /usr/lib/libttf.so
144
FREETYPE_FONT_DIR        = "/usr/local/microwin/fonts"
145
 
146
####################################################################
147
# Shared memory support for Nano-X client/server protocol speedup
148
####################################################################
149
HAVE_SHAREDMEM_SUPPORT   = N
150
 
151
####################################################################
152
# Chinese Han Zi Ku font support
153
####################################################################
154
HAVE_HZK_SUPPORT         = N
155
HZK_FONT_DIR             = "fonts/chinese"
156
 
157
####################################################################
158
# Chinese GB2312 compiled in font support (gb2312font.c)
159
####################################################################
160
HAVE_GB2312_SUPPORT      = N
161
 
162
####################################################################
163
# Generate screen driver interface only with no fonts or clipping
164
####################################################################
165
NOFONTSORCLIPPING        = N
166
 
167
####################################################################
168
#
169
# Window move algorithms for Microwindows
170
# Change for tradeoff between cpu speed and looks
171
# ERASEMOVE repaints only backgrounds while window dragging, quicker.
172
# Otherwise an XOR redraw is used for window moves only after button up,
173
# quickest (should set for ELKS)
174
# UPDATEREGIONS paints in update clipping region only for better look and feel
175
#
176
####################################################################
177
ERASEMOVE                = Y
178
UPDATEREGIONS            = Y
179
 
180
####################################################################
181
#
182
# Use MS fonts (default no)
183
#
184
####################################################################
185
HAVEMSFONTS              = N
186
 
187
####################################################################
188
#
189
# Link with Gray Palette (valid only for 4bpp modes)
190
#
191
####################################################################
192
GRAYPALETTE              = N
193
 
194
####################################################################
195
#
196
# If the platform is running UNIX, Linux or RTEMS...
197
#
198
####################################################################
199
ifneq ($(ARCH), ELKS)
200
 
201
# X Window screen, mouse and kbd drivers
202
X11                      = N
203
 
204
ifeq ($(X11), Y)
205
# predefined model or select screen width, height, depth(palette mode only)
206
SCREEN_E15               = N
207
SCREEN_WIDTH             = 640
208
SCREEN_HEIGHT            = 480
209
SCREEN_DEPTH             = 4
210
 
211
else
212
 
213
# framebuffer screen driver (linear and/or vga 4 planes)
214
# set VTSWITCH to include virtual terminal switch code
215
# set PORTRAIT_MODE to L or R for left or right orientation
216
FRAMEBUFFER              = Y
217
FBVGA                    = Y
218
VTSWITCH                 = Y
219
PORTRAIT_MODE            = N
220
 
221
# svgalib screen driver
222
VGALIB                   = N
223
 
224
# direct VGA hardware access screen driver
225
HWVGA                    = N
226
 
227
####################################################################
228
# Mouse or touch screen driver
229
# TPMOUSE for Linux-VR and Embedded Planet
230
# ADSMOUSE for ADS Graphics Client
231
# IPAQMOUSE for Compaq iPAQ
232
####################################################################
233
GPMMOUSE                 = Y
234
SERMOUSE                 = N
235
TPMOUSE                  = N
236
ADSMOUSE                 = N
237
IPAQMOUSE                = N
238
NOMOUSE                  = N
239
 
240
# keyboard type
241
TTYKBD                   = N
242
PIPEKBD                  = N
243
NOKBD                    = N
244
SCANKBD                  = Y
245
 
246
endif
247
 
248
####################################################################
249
#
250
# If the platform is a LINUX-ARM box ....
251
#
252
####################################################################
253
ifeq ($(ARCH), LINUX-ARM)
254
 
255
# If 4bpp driver with arm SA1100 LCD controller is used ...
256
SA1100_LCD_LTLEND        = N
257
 
258
endif
259
 
260
 
261
####################################################################
262
#
263
# If the platform is a RTEMS box ....
264
#
265
####################################################################
266
ifeq ($(ARCH), RTEMS)
267
 
268
# Location & BSP information of the RTEMS build
269
RTEMS_BUILD              = /tools/build-i386-elf-rtems
270
RTEMS_BSP                = pc386
271
LINK_APP_INTO_SERVER     = Y
272
 
273
endif
274
 
275
endif
276
 
277
####################################################################
278
#
279
# If the platform is an ELKS box ...
280
#
281
####################################################################
282
ifeq ($(ARCH), ELKS)
283
 
284
# Higher speed asm driver, c driver of hercules screen driver
285
ASMVGADRIVER             = Y
286
CVGADRIVER               = N
287
HERCDRIVER               = N
288
 
289
# Mouse support
290
SERMOUSE                 = Y
291
 
292
endif

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.