obj.uselib_local = 'katze'
obj.install_path = None
+if platform.architecture ()[0] == '64bit':
+ obj.env.append_value ('CCFLAGS', '-fPIC')
+
+obj = bld.new_task_gen ('cc', 'staticlib')
+obj.name = 'panels'
+obj.target = 'panels'
+obj.includes = '. ..'
+obj.find_sources_in_dirs ('../panels')
+obj.uselib = 'UNIQUE LIBSOUP GMODULE GTHREAD GIO GTK SQLITE WEBKIT LIBXML'
+obj.uselib_local = 'midori'
+obj.install_path = None
+
if platform.architecture ()[0] == '64bit':
obj.env.append_value ('CCFLAGS', '-fPIC')
obj.target = 'midori'
obj.includes = '. .. ../panels'
obj.source = 'main.c'
-obj.find_sources_in_dirs ('../panels')
obj.uselib = 'UNIQUE LIBSOUP GMODULE GTHREAD GIO GTK SQLITE WEBKIT LIBXML'
-obj.uselib_local = 'midori'
+obj.uselib_local = 'panels'
obj = bld.new_task_gen ('cc', 'program')
obj.target = 'test-' + target
- obj.includes = '.. ../midori'
+ obj.includes = '.. ../midori ../panels'
obj.source = source
obj.uselib = 'UNIQUE LIBSOUP GIO GTK SQLITE WEBKIT LIBXML'
- obj.uselib_local = 'midori'
+ obj.uselib_local = 'panels'
obj.unit_test = 1