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

Subversion Repositories or1k

[/] [or1k/] [tags/] [MW_0_8_9PRE7/] [mw/] [src/] [Configs/] [config.dj-2] - 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, 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
# SOLARIS
28
# RTEMS
29
# DJGPP
30
# ELKS
31
#
32
# note: ELKS can't build client/server nano-X, nor widget lib
33
#
34
####################################################################
35
ARCH                      = DJGPP
36
#ARMTOOLSPREFIX           = arm-linux-
37
#MIPSTOOLSPREFIX          = mipsel-linux-
38
#POWERPCTOOLSPREFIX       = powerpc-linux-
39
#RTEMSTOOLSPREFIX         = i386-rtemself-
40
 
41
####################################################################
42
#
43
# Compiling options
44
#
45
####################################################################
46
OPTIMIZE                 = Y
47
DEBUG                    = N
48
VERBOSE                  = Y
49
 
50
####################################################################
51
#
52
# Libraries to build: microwin, nano-X, nanowidget, object frameworks
53
#
54
####################################################################
55
MICROWIN                 = Y
56
NANOX                    = Y
57
SHAREDLIBS               = N
58
NWIDGET                  = Y
59
OBJFRAMEWORK             = N
60
 
61
 
62
####################################################################
63
#
64
# Demos to build
65
#
66
####################################################################
67
MICROWINDEMO             = Y
68
NANOXDEMO                = Y
69
 
70
####################################################################
71
#
72
# Applications to build
73
#
74
####################################################################
75
NANOWM                   = Y
76
VNC                      = N
77
NXSCRIBBLE               = N
78
 
79
####################################################################
80
#
81
# The pixeltype of the native hardware or underlying graphics library.
82
# This definition defines the PIXELVAL to be 32, 16 or 8 bits wide.
83
# If using Linux framebuffer, set to MWPF_TRUECOLOR0888, and use fbset.
84
# It also enables GdArea/GrArea for this particular pixel packing format.
85
#
86
# define MWPF_PALETTE       /* pixel is packed 8 bits 1, 4 or 8 pal index*/
87
# define MWPF_TRUECOLOR0888 /* pixel is packed 32 bits 8/8/8 truecolor*/
88
# define MWPF_TRUECOLOR888  /* pixel is packed 24 bits 8/8/8 truecolor*/
89
# define MWPF_TRUECOLOR565  /* pixel is packed 16 bits 5/6/5 truecolor*/
90
# define MWPF_TRUECOLOR332  /* pixel is packed 8 bits 3/3/2 truecolor*/
91
#
92
####################################################################
93
SCREEN_PIXTYPE           = MWPF_PALETTE
94
 
95
####################################################################
96
#
97
# NanoX: Put Y to the following line to link the nano-X application
98
# with the server.  This is required for ELKS, if no network is present,
99
# or for speed or debugging.  This affects the nano-X server only.
100
#
101
####################################################################
102
LINK_APP_INTO_SERVER     = Y
103
 
104
####################################################################
105
#
106
# File I/O support
107
# Supporting either below drags in libc stdio, which may not be wanted
108
#
109
####################################################################
110
HAVE_FILEIO              = N
111
 
112
####################################################################
113
# BMP, GIF reading support
114
####################################################################
115
HAVE_BMP_SUPPORT         = Y
116
HAVE_GIF_SUPPORT         = Y
117
HAVE_PNM_SUPPORT         = Y
118
 
119
####################################################################
120
# JPEG support through libjpeg, see README.txt in contrib/jpeg
121
####################################################################
122
HAVE_JPEG_SUPPORT        = N
123
INCJPEG                  = .
124
LIBJPEG                  = libjpeg.a
125
 
126
####################################################################
127
# PNG support via libpng and libz
128
####################################################################
129
HAVE_PNG_SUPPORT         = N
130
INCPNG                   = .
131
LIBPNG                   = libpng.a
132
LIBZ                     = libz.a
133
 
134
####################################################################
135
# T1 adobe type1 font support thru t1lib
136
####################################################################
137
HAVE_T1LIB_SUPPORT       = N
138
INCT1LIB                 = include
139
LIBT1LIB                 = libt1.a
140
 
141
####################################################################
142
# TrueType font support thru FreeType
143
####################################################################
144
HAVE_FREETYPE_SUPPORT    = N
145
INCFTLIB                 = include
146
LIBFTLIB                 = libttf.so
147
 
148
####################################################################
149
# Shared memory support for Nano-X client/server protocol speedup
150
####################################################################
151
HAVE_SHAREDMEM_SUPPORT   = N
152
 
153
####################################################################
154
# Chinese Han Zi Ku font support
155
####################################################################
156
HAVE_HZK_SUPPORT         = N
157
HZK_FONT_DIR             = "fonts/chinese"
158
 
159
####################################################################
160
# Chinese GB2312 compiled in font support (gb2312font.c)
161
####################################################################
162
HAVE_GB2312_SUPPORT      = N
163
 
164
####################################################################
165
#
166
# Window move algorithms for Microwindows
167
# Change for tradeoff between cpu speed and looks
168
# ERASEMOVE repaints only backgrounds while window dragging, quicker.
169
# Otherwise an XOR redraw is used for window moves only after button up,
170
# quickest (should set for ELKS)
171
# UPDATEREGIONS paints in update clipping region only for better look and feel
172
#
173
####################################################################
174
ERASEMOVE                = Y
175
UPDATEREGIONS            = Y
176
 
177
####################################################################
178
#
179
# Use MS fonts (default no)
180
#
181
####################################################################
182
HAVEMSFONTS              = N
183
 
184
####################################################################
185
#
186
# Link with Gray Palette (valid only for 4bpp modes)
187
#
188
####################################################################
189
GRAYPALETTE              = N
190
 
191
####################################################################
192
#
193
# If the platform is running UNIX, Linux or RTEMS...
194
#
195
####################################################################
196
ifneq ($(ARCH), ELKS)
197
 
198
# X Window screen, mouse and kbd drivers
199
X11                      = N
200
 
201
ifeq ($(X11), Y)
202
# predefined model or select screen width, height, depth(palette mode only)
203
SCREEN_E15               = N
204
SCREEN_WIDTH             = 640
205
SCREEN_HEIGHT            = 480
206
SCREEN_DEPTH             = 4
207
 
208
else
209
 
210
# framebuffer screen driver (linear and/or vga 4 planes)
211
# set VTSWITCH to include virtual terminal switch code
212
FRAMEBUFFER              = N
213
FBVGA                    = N
214
VTSWITCH                 = N
215
PORTRAIT_MODE            = N
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                 = N
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
NOKBD                    = N
239
 
240
endif
241
 
242
####################################################################
243
#
244
# If the platform is a LINUX-ARM box ....
245
#
246
####################################################################
247
ifeq ($(ARCH), LINUX-ARM)
248
 
249
# If 4bpp driver with arm SA1100 LCD controller is used ...
250
SA1100_LCD_LTLEND        = N
251
 
252
endif
253
 
254
 
255
####################################################################
256
#
257
# If the platform is a RTEMS box ....
258
#
259
####################################################################
260
ifeq ($(ARCH), RTEMS)
261
 
262
# Location & BSP information of the RTEMS build
263
RTEMS_BUILD              = /tools/build-i386-elf-rtems
264
RTEMS_BSP                = pc386
265
LINK_APP_INTO_SERVER     = Y
266
 
267
endif
268
 
269
endif
270
 
271
####################################################################
272
#
273
# If the platform is an ELKS box ...
274
#
275
####################################################################
276
ifeq ($(ARCH), ELKS)
277
 
278
# Higher speed asm driver, c driver of hercules screen driver
279
ASMVGADRIVER             = Y
280
CVGADRIVER               = N
281
HERCDRIVER               = N
282
DBGDRIVER                = N
283
 
284
# Mouse support
285
SERMOUSE                 = Y
286
 
287
endif
288
 
289
####################################################################
290
#
291
# If the platform is running DOS box using DJGPP and GRX ...
292
#
293
####################################################################
294
ifeq ($(ARCH), DJGPP)
295
 
296
SCREEN_WIDTH             = 640
297
SCREEN_HEIGHT            = 480
298
SCREEN_DEPTH             = 256
299
 
300
endif

powered by: WebSVN 2.1.0

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