# A simple SConscript for libneon that passes most of the work to
# make.  To make it work with a new neon, you just need to list all of
# the dependent files so that scons copies them over to the build
# directory.

# Copyright 2003 Walter Landry

# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License as
# published by the Free Software Foundation; either version 2 of the
# License, or (at your option) any later version.

# This program is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
# General Public License for more details.

# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
# USA

Import('env')

libneon=env.Command('libneon.a',Split('ne_207.c ne_basic.c ne_i18n.c \
ne_redirect.c ne_string.c sslcerts.c ne_acl.c ne_compress.c \
ne_locks.c ne_request.c ne_uri.c \
ne_alloc.c ne_cookies.c ne_md5.c ne_session.c \
ne_utils.c ne_auth.c ne_dates.c ne_props.c \
ne_socket.c ne_xml.c Makefile \
expat/xmltok/xmlrole.c expat/xmltok/xmltok.c \
expat/xmltok/xmltok_impl.c \
expat/xmltok/xmltok_ns.c \
expat/xmlparse/xmlparse.c \
expat/xmlparse/hashtable.c \
expat/gennmtab/gennmtab.c'),
                    '(cd ${TARGET.dir} ; make )')

Export('libneon')
