ctdb-scripts: Support storing statd-callout state in cluster filesystem
[samba4-gss.git] / third_party / waf / waflib / extras / fc_bgxlf.py
blobcca18101eadbce02ce10c3c3fe5a65c7d1542ba7
1 #! /usr/bin/env python
2 # encoding: utf-8
3 # harald at klimachs.de
5 from waflib.Tools import fc, fc_config, fc_scan
6 from waflib.Configure import conf
8 from waflib.Tools.compiler_fc import fc_compiler
9 fc_compiler['linux'].insert(0, 'fc_bgxlf')
11 @conf
12 def find_bgxlf(conf):
13 fc = conf.find_program(['bgxlf2003_r','bgxlf2003'], var='FC')
14 conf.get_xlf_version(fc)
15 conf.env.FC_NAME = 'BGXLF'
17 @conf
18 def bg_flags(self):
19 self.env.SONAME_ST = ''
20 self.env.FCSHLIB_MARKER = ''
21 self.env.FCSTLIB_MARKER = ''
22 self.env.FCFLAGS_fcshlib = ['-fPIC']
23 self.env.LINKFLAGS_fcshlib = ['-G', '-Wl,-bexpfull']
25 def configure(conf):
26 conf.find_bgxlf()
27 conf.find_ar()
28 conf.fc_flags()
29 conf.fc_add_flags()
30 conf.xlf_flags()
31 conf.bg_flags()