]> git.karo-electronics.de Git - karo-tx-redboot.git/blob - packages/net/ftpclient/v2_0/cdl/ftpclient.cdl
Initial revision
[karo-tx-redboot.git] / packages / net / ftpclient / v2_0 / cdl / ftpclient.cdl
1 #====================================================================
2 #
3 #      ftpclient.cdl
4 #
5 #      SNMP library configuration data
6 #
7 # ====================================================================
8 #####ECOSGPLCOPYRIGHTBEGIN####
9 ## -------------------------------------------
10 ## This file is part of eCos, the Embedded Configurable Operating System.
11 ## Copyright (C) 1998, 1999, 2000, 2001, 2002 Red Hat, Inc.
12 ## Copyright (C) 2004 Gary Thomas
13 ##
14 ## eCos is free software; you can redistribute it and/or modify it under
15 ## the terms of the GNU General Public License as published by the Free
16 ## Software Foundation; either version 2 or (at your option) any later version.
17 ##
18 ## eCos is distributed in the hope that it will be useful, but WITHOUT ANY
19 ## 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 along
24 ## with eCos; if not, write to the Free Software Foundation, Inc.,
25 ## 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
26 ##
27 ## As a special exception, if other files instantiate templates or use macros
28 ## or inline functions from this file, or you compile this file and link it
29 ## with other works to produce a work based on this file, this file does not
30 ## by itself cause the resulting work to be covered by the GNU General Public
31 ## License. However the source code for this file must still be made available
32 ## in accordance with section (3) of the GNU General Public License.
33 ##
34 ## This exception does not invalidate any other reasons why a work based on
35 ## this file might be covered by the GNU General Public License.
36 ##
37 ## Alternative licenses for eCos may be arranged by contacting Red Hat, Inc.
38 ## at http://sources.redhat.com/ecos/ecos-license/
39 ## -------------------------------------------
40 #####ECOSGPLCOPYRIGHTEND####
41 # ====================================================================
42 ######DESCRIPTIONBEGIN####
43 #
44 # Author(s):      andrew.lunn@ascom.ch
45 # Original data:  andrew.lunn@ascom.ch
46 # Contributors:   
47 # Date:           2001-11-04
48 #
49 #####DESCRIPTIONEND####
50 #
51 # ====================================================================
52
53 cdl_package CYGPKG_NET_FTPCLIENT {
54     display       "FTP client"
55     parent        CYGPKG_NET
56     requires      CYGPKG_IO
57     requires      CYGPKG_NET
58     requires      CYGPKG_MEMALLOC
59     requires      { 0 != CYGINT_ISO_STRING_STRFUNCS }
60     requires      { 0 != CYGINT_ISO_STRING_MEMFUNCS }
61     requires      { 0 != CYGINT_ISO_STDLIB_STRCONV }
62     requires      { 0 != CYGINT_ISO_STDIO_FORMATTED_IO }
63     requires      { 0 != CYGINT_ISO_STRING_STRFUNCS }
64     requires      { 0 != CYGINT_ISO_ERRNO }
65     requires      { 0 != CYGINT_ISO_ERRNO_CODES }
66     requires      { 0 != CYGINT_ISO_CTYPE }
67     description   "
68         FTP client support. Provides ftp_put and ftp_get to put a file
69         onto a remote FTP server and get a file from a remote server. 
70         Only binary more is supported."
71     doc           ref/net-ftpclient.html
72
73     compile       ftpclient.c
74
75     cdl_option CYGNUM_NET_FTPCLIENT_BUFSIZE {
76         display "Size of internal buffers used during FTP transfers"
77         flavor  data
78         default_value 512
79         description "
80           The FTP data transfer functions buffer the data as it
81           passes between systems.  This option controls the size
82           of that buffer, which will be allocated using 'malloc'"
83     }
84
85     cdl_component CYGPKG_NET_FTPCLIENT_OPTIONS {
86         display "FTP client build options"
87         flavor  none
88         no_define
89
90         cdl_option CYGPKG_NET_FTPCLIENT_CFLAGS_ADD {
91             display "Additional compiler flags"
92             flavor  data
93             no_define
94             default_value { "-D_KERNEL -D__ECOS" }
95             description   "
96                 This option modifies the set of compiler flags for
97                 building the FTP client package. These flags are used 
98                 in addition to the set of global flags."
99         }
100
101         cdl_option CYGPKG_NET_FTPCLIENT_CFLAGS_REMOVE {
102             display "Suppressed compiler flags"
103             flavor  data
104             no_define
105             default_value { "" }
106             description   "
107                 This option modifies the set of compiler flags for
108                 building the FTP client package. These flags are removed from
109                 the set of global flags if present."
110         }
111     }
112     cdl_option CYGPKG_NET_FTPCLIENT_TESTS {
113         display "FTP Client tests"
114         flavor  data
115         no_define
116         calculated { "tests/ftpclient1.c"}
117             description   "
118                 This option specifies the set of tests for the ftpclient package."
119     }
120 }
121