Sophie

Sophie

distrib > Fedora > 14 > i386 > by-pkgid > 42620103d8ee8a2d972d3103bad0ab73 > files > 151

waf-1.5.19-1.fc14.noarch.rpm

#! /usr/bin/env python
# encoding: utf-8
# Thomas Nagy, 2006-2009 (ita)

# A c program that links using the GLIB library, defined in the configuration
# the only change is that gnome is replaced by cc or cpp (as usual)
obj = bld(
	features = 'cc cprogram',
	includes = '# .', # top-level and current directory
	uselib = 'GTK GNOME GNOMEUI DBUSGLIB',
	target = 'gnome-hello')

obj.find_sources_in_dirs('.') # take the sources in the current folder

obj.add_dbus_file('manager.xml', 'test_prefix', 'glib-server')
obj.add_marshal_file('marshal.list', 'test_prefix')

# it is also possible to add tons if libraries
#obj.uselib='GTK GNOME GNOMEUI GLIB BONOBO BONOBOUI PRINT PRINTUI GLADE CANVAS XML GDK'