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

Subversion Repositories or1k

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

powered by: WebSVN 2.1.0

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