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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [rtos/] [ecos-3.0/] [packages/] [services/] [curses/] [pdcurses/] [current/] [cdl/] [pdcurses.cdl] - Blame information for rev 819

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 786 skrzyp
# ====================================================================
2
#
3
#      pdcurses.cdl
4
#
5
#      Public Domain Curses for eCos
6
#
7
# ====================================================================
8
## ####ECOSGPLCOPYRIGHTBEGIN####
9
## -------------------------------------------
10
## This file is part of eCos, the Embedded Configurable Operating System.
11
## Copyright (C) 2009 Free Software Foundation, Inc.
12
##
13
## eCos is free software; you can redistribute it and/or modify it under
14
## the terms of the GNU General Public License as published by the Free
15
## Software Foundation; either version 2 or (at your option) any later
16
## version.
17
##
18
## eCos is distributed in the hope that it will be useful, but WITHOUT
19
## ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
20
## FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
21
## for more details.
22
##
23
## You should have received a copy of the GNU General Public License
24
## along with eCos; if not, write to the Free Software Foundation, Inc.,
25
## 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
26
##
27
## As a special exception, if other files instantiate templates or use
28
## macros or inline functions from this file, or you compile this file
29
## and link it with other works to produce a work based on this file,
30
## this file does not by itself cause the resulting work to be covered by
31
## the GNU General Public License. However the source code for this file
32
## must still be made available in accordance with section (3) of the GNU
33
## General Public License v2.
34
##
35
## This exception does not invalidate any other reasons why a work based
36
## on this file might be covered by the GNU General Public License.
37
## -------------------------------------------
38
## ####ECOSGPLCOPYRIGHTEND####
39
# ====================================================================
40
######DESCRIPTIONBEGIN####
41
#
42
# Author(s):     Sergei Gavrikov
43
# Contributors:  Sergei Gavrikov
44
# Date:          2009-03-26
45
#
46
#####DESCRIPTIONEND####
47
#
48
# ====================================================================
49
 
50
cdl_package CYGPKG_PDCURSES {
51
    display       "PDCurses"
52
    requires      CYGPKG_INFRA
53
    requires      CYGPKG_KERNEL
54
    requires      CYGPKG_MEMALLOC
55
    requires      CYGPKG_ISOINFRA
56
    requires      CYGPKG_LIBC
57
    requires      CYGPKG_LIBC_STARTUP
58
    requires      CYGPKG_LIBC_STDIO
59
    requires      CYGPKG_LIBC_STDLIB
60
    requires      CYGPKG_LIBC_STRING
61
    requires      CYGPKG_ERROR
62
    description   "Public Domain Curses."
63
 
64
    # PDCurses
65
    compile                                     \
66
        pdcurses/addch.c                        \
67
        pdcurses/addchstr.c                     \
68
        pdcurses/addstr.c                       \
69
        pdcurses/attr.c                         \
70
        pdcurses/beep.c                         \
71
        pdcurses/bkgd.c                         \
72
        pdcurses/border.c                       \
73
        pdcurses/clear.c                        \
74
        pdcurses/color.c                        \
75
        pdcurses/debug.c                        \
76
        pdcurses/delch.c                        \
77
        pdcurses/deleteln.c                     \
78
        pdcurses/deprec.c                       \
79
        pdcurses/getch.c                        \
80
        pdcurses/getstr.c                       \
81
        pdcurses/getyx.c                        \
82
        pdcurses/inch.c                         \
83
        pdcurses/inchstr.c                      \
84
        pdcurses/initscr.c                      \
85
        pdcurses/inopts.c                       \
86
        pdcurses/insch.c                        \
87
        pdcurses/insstr.c                       \
88
        pdcurses/instr.c                        \
89
        pdcurses/kernel.c                       \
90
        pdcurses/keyname.c                      \
91
        pdcurses/mouse.c                        \
92
        pdcurses/move.c                         \
93
        pdcurses/outopts.c                      \
94
        pdcurses/overlay.c                      \
95
        pdcurses/pad.c                          \
96
        pdcurses/panel.c                        \
97
        pdcurses/printw.c                       \
98
        pdcurses/refresh.c                      \
99
        pdcurses/scanw.c                        \
100
        pdcurses/scr_dump.c                     \
101
        pdcurses/scroll.c                       \
102
        pdcurses/slk.c                          \
103
        pdcurses/termattr.c                     \
104
        pdcurses/terminfo.c                     \
105
        pdcurses/touch.c                        \
106
        pdcurses/util.c                         \
107
        pdcurses/window.c
108
 
109
    # PDCurses demos
110
    cdl_option CYGBLD_PDCURSES_DEMOS {
111
        display       "Build PDCurses demos"
112
        default_value 0
113
 
114
        description   "
115
            This option enables the building of the PDCurses demos:
116
            firework, newdemo, ptest, rain, testcurs, tuidemo, worm,
117
            and xmas.
118
            Note: demos build itself as the standalone single-thread
119
            executables."
120
 
121
        requires      CYGINT_PDCURSES_TERMINAL_DRIVER
122
    }
123
 
124
    # Serial terminal driver
125
    cdl_component CYGBLD_PDCURSES_TERMINAL_DRIVER_SERIAL {
126
        display       "Build serial driver for PDCurses"
127
        default_value 1
128
 
129
        requires      1 == CYGPKG_IO_SERIAL_DEVICES
130
 
131
        description   "
132
            The PDCurses is a terminfo-less library. To build the curses
133
            applications, a port must provide a few set of the PDC port
134
            functions to drive the real hardware, read `IMPLEMNT' guide.
135
            This driver provides an interaction with terminal program on
136
            a specified serial device."
137
 
138
        cdl_interface CYGINT_PDCURSES_TERMINAL_DRIVER {
139
            display       "Serial terminal interface for PDCurses"
140
            requires      1 == CYGINT_PDCURSES_TERMINAL_DRIVER
141
            compile       drivers/serial.c
142
 
143
            implements    CYGINT_PDCURSES_TERMINAL_DRIVER
144
        }
145
 
146
        cdl_option CYGDAT_PDCURSES_DRIVER_SERIAL_DEV {
147
            display       "Physical serial device"
148
            flavor        data
149
            default_value \"\\\"/dev/ser0\\\"\"
150
 
151
            description   "
152
                This option selects the physical device to use for
153
                PDCurses serial terminal driver."
154
        }
155
 
156
        cdl_option CYGDAT_PDCURSES_DRIVER_USE_VT100_ATTR {
157
            display       "VT100 attributes"
158
            flavor        bool
159
            default_value 1
160
 
161
            description   "
162
                This option allows the driver to use the VT100 escape
163
                sequences, i.e. the attributes such as bold, underline,
164
                blink, reverse, etc."
165
        }
166
 
167
        cdl_option CYGDAT_PDCURSES_DRIVER_USE_ANSI_COLORS {
168
            display       "ANSI colors"
169
            flavor        bool
170
            default_value 1
171
 
172
            description   "
173
                This option allows the driver to use the ANSI escape
174
                sequences for a coloring (8 values for a foreground and
175
                8 values for a background)."
176
        }
177
 
178
        cdl_option CYGDAT_PDCURSES_DRIVER_USE_KEYPAD_KEYS {
179
            display       "Keypad keys"
180
            flavor        bool
181
            default_value 1
182
 
183
            description   "
184
                This option provides a minimal support for a curses
185
                keypad function (the keypad of the user's terminal)."
186
        }
187
 
188
        cdl_option CYGDAT_PDCURSES_DRIVER_SCREEN_COLUMNS {
189
            display       "Size of the screen in columns"
190
            flavor        data
191
            default_value 80
192
 
193
            description   "
194
                This option sets the size of the screen in columns."
195
        }
196
 
197
        cdl_option CYGDAT_PDCURSES_DRIVER_SCREEN_ROWS {
198
            display       "Size of the screen in rows"
199
            flavor        data
200
            default_value 25
201
 
202
            description   "
203
                This option sets the size of the screen in rows."
204
        }
205
 
206
    }
207
 
208
    cdl_component CYGPKG_PDCURSES_OPTIONS {
209
        display "Build options"
210
        flavor   none
211
        no_define
212
 
213
        description   "
214
            Package specific build options including control over
215
            compiler flags used only in building this package,
216
            and details of which tests are built."
217
 
218
        cdl_option CYGPKG_PDCURSES_CFLAGS_ADD {
219
            display "Additional compiler flags"
220
            flavor  data
221
            no_define
222
            # Most of targets are 32-bit. eCos LIBC conforms to C99.
223
            default_value { "-D__ECOS__ -D_LP64=0 -DHAVE_VSNPRINTF -DHAVE_VSSCANF"}
224
 
225
            description   "
226
                This option modifies the set of compiler flags for
227
                building the PDCurses package.
228
                These flags are used in addition to the set of global flags."
229
        }
230
 
231
        cdl_option CYGPKG_PDCURSES_CFLAGS_REMOVE {
232
            display "Suppressed compiler flags"
233
            flavor  data
234
            no_define
235
            default_value { "" }
236
 
237
            description   "
238
                This option modifies the set of compiler flags for
239
                building the PDCurses package.
240
                These flags are removed from the set of global flags
241
                if present."
242
        }
243
    }
244
 
245
    # PDCurses tests
246
    cdl_option CYGPKG_PDCURSES_TESTS {
247
        display       "PDCurses tests"
248
        no_define
249
        flavor        data
250
        calculated    { (CYGBLD_PDCURSES_DEMOS) ? "tests/firework tests/newdemo tests/ptest tests/rain tests/testcurs tests/tuidemo tests/worm tests/xmas" : "" }
251
 
252
        description   "
253
            This option specifies the set of tests for the PDCurses."
254
 
255
    }
256
 
257
}
258
 

powered by: WebSVN 2.1.0

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