1 |
27 |
unneback |
#====================================================================
|
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 |
|
|
##
|
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 version.
|
16 |
|
|
##
|
17 |
|
|
## eCos is distributed in the hope that it will be useful, but WITHOUT ANY
|
18 |
|
|
## WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
19 |
|
|
## FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
20 |
|
|
## for more details.
|
21 |
|
|
##
|
22 |
|
|
## You should have received a copy of the GNU General Public License along
|
23 |
|
|
## with eCos; if not, write to the Free Software Foundation, Inc.,
|
24 |
|
|
## 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
|
25 |
|
|
##
|
26 |
|
|
## As a special exception, if other files instantiate templates or use macros
|
27 |
|
|
## or inline functions from this file, or you compile this file and link it
|
28 |
|
|
## with other works to produce a work based on this file, this file does not
|
29 |
|
|
## by itself cause the resulting work to be covered by the GNU General Public
|
30 |
|
|
## License. However the source code for this file must still be made available
|
31 |
|
|
## in accordance with section (3) of the GNU General Public License.
|
32 |
|
|
##
|
33 |
|
|
## This exception does not invalidate any other reasons why a work based on
|
34 |
|
|
## this file might be covered by the GNU General Public License.
|
35 |
|
|
##
|
36 |
|
|
## Alternative licenses for eCos may be arranged by contacting Red Hat, Inc.
|
37 |
|
|
## at http://sources.redhat.com/ecos/ecos-license/
|
38 |
|
|
## -------------------------------------------
|
39 |
|
|
#####ECOSGPLCOPYRIGHTEND####
|
40 |
|
|
# ====================================================================
|
41 |
|
|
######DESCRIPTIONBEGIN####
|
42 |
|
|
#
|
43 |
|
|
# Author(s): andrew.lunn@ascom.ch
|
44 |
|
|
# Original data: andrew.lunn@ascom.ch
|
45 |
|
|
# Contributors:
|
46 |
|
|
# Date: 2001-11-04
|
47 |
|
|
#
|
48 |
|
|
#####DESCRIPTIONEND####
|
49 |
|
|
#
|
50 |
|
|
# ====================================================================
|
51 |
|
|
|
52 |
|
|
cdl_package CYGPKG_NET_FTPCLIENT {
|
53 |
|
|
display "FTP client"
|
54 |
|
|
parent CYGPKG_NET
|
55 |
|
|
requires CYGPKG_IO
|
56 |
|
|
requires { 0 != CYGINT_ISO_STRING_STRFUNCS }
|
57 |
|
|
requires { 0 != CYGINT_ISO_STRING_MEMFUNCS }
|
58 |
|
|
requires { 0 != CYGINT_ISO_STDLIB_STRCONV }
|
59 |
|
|
requires { 0 != CYGINT_ISO_STDIO_FORMATTED_IO }
|
60 |
|
|
requires { 0 != CYGINT_ISO_STRING_STRFUNCS }
|
61 |
|
|
requires { 0 != CYGINT_ISO_ERRNO }
|
62 |
|
|
requires { 0 != CYGINT_ISO_ERRNO_CODES }
|
63 |
|
|
requires { 0 != CYGINT_ISO_CTYPE }
|
64 |
|
|
requires CYGPKG_NET
|
65 |
|
|
description "
|
66 |
|
|
FTP client support. Provides ftp_put and ftp_get to put a file
|
67 |
|
|
onto a remote FTP server and get a file from a remote server.
|
68 |
|
|
Only binary more is supported."
|
69 |
|
|
doc ref/net-ftpclient.html
|
70 |
|
|
|
71 |
|
|
compile ftpclient.c
|
72 |
|
|
|
73 |
|
|
cdl_component CYGPKG_NET_FTPCLIENT_OPTIONS {
|
74 |
|
|
display "FTP client build options"
|
75 |
|
|
flavor none
|
76 |
|
|
no_define
|
77 |
|
|
|
78 |
|
|
cdl_option CYGPKG_NET_FTPCLIENT_CFLAGS_ADD {
|
79 |
|
|
display "Additional compiler flags"
|
80 |
|
|
flavor data
|
81 |
|
|
no_define
|
82 |
|
|
default_value { "-D_KERNEL -D__ECOS" }
|
83 |
|
|
description "
|
84 |
|
|
This option modifies the set of compiler flags for
|
85 |
|
|
building the FTP client package. These flags are used
|
86 |
|
|
in addition to the set of global flags."
|
87 |
|
|
}
|
88 |
|
|
|
89 |
|
|
cdl_option CYGPKG_NET_FTPCLIENT_CFLAGS_REMOVE {
|
90 |
|
|
display "Suppressed compiler flags"
|
91 |
|
|
flavor data
|
92 |
|
|
no_define
|
93 |
|
|
default_value { "" }
|
94 |
|
|
description "
|
95 |
|
|
This option modifies the set of compiler flags for
|
96 |
|
|
building the FTP client package. These flags are removed from
|
97 |
|
|
the set of global flags if present."
|
98 |
|
|
}
|
99 |
|
|
}
|
100 |
|
|
cdl_option CYGPKG_NET_FTPCLIENT_TESTS {
|
101 |
|
|
display "FTP Client tests"
|
102 |
|
|
flavor data
|
103 |
|
|
no_define
|
104 |
|
|
calculated { "tests/ftpclient1.c"}
|
105 |
|
|
description "
|
106 |
|
|
This option specifies the set of tests for the ftpclient package."
|
107 |
|
|
}
|
108 |
|
|
}
|
109 |
|
|
|