2008-05-31 09:55:54 +00:00
|
|
|
#! /usr/bin/env python
|
|
|
|
# WAF build script for midori
|
2008-10-11 05:27:52 +00:00
|
|
|
# This file is licensed under the terms of the expat license, see the file EXPAT.
|
2008-05-31 09:55:54 +00:00
|
|
|
|
2008-11-18 01:07:53 +00:00
|
|
|
import platform
|
|
|
|
|
2009-01-04 20:38:06 +00:00
|
|
|
obj = bld.new_task_gen ('cc', 'staticlib')
|
2008-05-31 09:55:54 +00:00
|
|
|
obj.name = 'katze'
|
|
|
|
obj.target = 'katze'
|
2009-01-05 19:23:56 +00:00
|
|
|
obj.includes = '. ../.'
|
2008-05-31 09:55:54 +00:00
|
|
|
obj.find_sources_in_dirs ('.')
|
2009-03-24 22:53:50 +00:00
|
|
|
obj.add_marshal_file ('marshal.list', 'katze_cclosure_marshal')
|
2009-03-12 17:20:14 +00:00
|
|
|
obj.uselib = 'M GMODULE LIBSOUP GTK LIBXML'
|
2009-01-04 20:38:06 +00:00
|
|
|
obj.install_path = None
|
2008-05-31 09:55:54 +00:00
|
|
|
|
2008-11-18 01:07:53 +00:00
|
|
|
if platform.architecture ()[0] == '64bit':
|
|
|
|
obj.env.append_value ('CCFLAGS', '-fPIC')
|