2009-08-18 20:57:23 +00:00
|
|
|
|
|
|
|
#!/usr/bin/env python
|
|
|
|
# encoding: utf-8
|
|
|
|
|
|
|
|
"""
|
|
|
|
waf build script for Lighttpd 2.x
|
|
|
|
License and Copyright: see COPYING file
|
|
|
|
"""
|
|
|
|
|
|
|
|
import Options, sys, Utils
|
|
|
|
|
|
|
|
def configure(conf):
|
|
|
|
pass
|
|
|
|
|
|
|
|
|
|
|
|
def build(bld):
|
2009-09-09 08:55:03 +00:00
|
|
|
source = '''
|
|
|
|
angel_connection.c
|
|
|
|
angel_data.c
|
|
|
|
encoding.c
|
|
|
|
idlist.c
|
|
|
|
ip_parsers.rl
|
|
|
|
module.c
|
|
|
|
radix.c
|
|
|
|
utils.c
|
|
|
|
waitqueue.c
|
|
|
|
'''
|
|
|
|
|
2009-08-18 20:57:23 +00:00
|
|
|
libcommon = bld.new_task_gen(
|
2009-09-09 08:55:03 +00:00
|
|
|
features = 'cc cshlib',
|
2009-08-18 20:57:23 +00:00
|
|
|
source = source,
|
2009-08-20 15:48:37 +00:00
|
|
|
defines = ['HAVE_CONFIG_H=1'],
|
2009-08-18 20:57:23 +00:00
|
|
|
uselib = ['glib', 'gthread', 'gmodule', 'ev'],
|
2009-08-19 11:17:18 +00:00
|
|
|
includes = ['#/include/'],
|
2009-08-18 20:57:23 +00:00
|
|
|
target = 'common')
|