|
|
@ -4,7 +4,6 @@ |
|
|
|
|
|
|
|
|
|
|
|
from waflib import Logs |
|
|
|
from waflib import Logs |
|
|
|
import os |
|
|
|
import os |
|
|
|
from fwgslib import get_subproject_name |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
top = '.' |
|
|
|
top = '.' |
|
|
|
|
|
|
|
|
|
|
@ -26,10 +25,6 @@ def build(bld): |
|
|
|
if bld.env.DEDICATED: |
|
|
|
if bld.env.DEDICATED: |
|
|
|
return |
|
|
|
return |
|
|
|
|
|
|
|
|
|
|
|
bld.load_envs() |
|
|
|
|
|
|
|
name = get_subproject_name(bld) |
|
|
|
|
|
|
|
bld.env = bld.all_envs[name] |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
libs = [ 'public', 'M' ] |
|
|
|
libs = [ 'public', 'M' ] |
|
|
|
|
|
|
|
|
|
|
|
source = bld.path.ant_glob(['*.c']) |
|
|
|
source = bld.path.ant_glob(['*.c']) |
|
|
@ -45,7 +40,7 @@ def build(bld): |
|
|
|
|
|
|
|
|
|
|
|
bld.shlib( |
|
|
|
bld.shlib( |
|
|
|
source = source, |
|
|
|
source = source, |
|
|
|
target = name, |
|
|
|
target = 'ref_soft', |
|
|
|
features = 'c', |
|
|
|
features = 'c', |
|
|
|
includes = includes, |
|
|
|
includes = includes, |
|
|
|
use = libs, |
|
|
|
use = libs, |
|
|
|