Commit 89ee2485 authored by Ricardo Cosme's avatar Ricardo Cosme Committed by root

OPENBUS-2753 Suporte ao Boost Build para compilação do barramento

Remoção do Jamroot da raiz.
parent 73744caa
# -*- coding: iso-8859-1-unix -*-
import os ;
import modules ;
path-constant here : . ;
local lua-jam-path = [ os.environ LUA_JAM_PATH ] ;
if ! $(lua-jam-path)
{
lua-jam-path = "$(here)/../lua.jam" ;
}
use-project lua : $(lua-jam-path) ;
local luuid-root-path = [ os.environ LUUID_ROOT_PATH ] ;
if ! $(luuid-root-path)
{
luuid-root-path = "$(here)/../luuid" ;
}
use-project luuid : $(luuid-root-path) ;
local openssl-jam-path = [ os.environ OPENSSL_JAM_PATH ] ;
if ! $(openssl-jam-path)
{
openssl-jam-path = "$(here)/../openssl.jam" ;
}
use-project openssl : $(openssl-jam-path) ;
local lce-root-path = [ os.environ LCE_ROOT_PATH ] ;
if ! $(lce-root-path)
{
lce-root-path = "$(here)/../lce" ;
}
use-project lce : $(lce-root-path) ;
local lfs-root-path = [ os.environ LFS_ROOT_PATH ] ;
if ! $(lfs-root-path)
{
lfs-root-path = "$(here)/../luafilesystem" ;
}
use-project lfs : $(lfs-root-path) ;
local luavararg-root-path = [ os.environ LUAVARARG_ROOT_PATH ] ;
if ! $(luavararg-root-path)
{
luavararg-root-path = "$(here)/../luavararg" ;
}
use-project luavararg : $(luavararg-root-path) ;
local luastruct-root-path = [ os.environ LUASTRUCT_ROOT_PATH ] ;
if ! $(luastruct-root-path)
{
luastruct-root-path = "$(here)/../luastruct" ;
}
use-project luastruct : $(luastruct-root-path) ;
local luasocket-root-path = [ os.environ LUASOCKET_ROOT_PATH ] ;
if ! $(luasocket-root-path)
{
luasocket-root-path = "$(here)/../luasocket" ;
}
use-project luasocket : $(luasocket-root-path) ;
local loop-root-path = [ os.environ LOOP_ROOT_PATH ] ;
if ! $(loop-root-path)
{
loop-root-path = "$(here)/../loop" ;
}
use-project loop : $(loop-root-path) ;
local oil-root-path = [ os.environ OIL_ROOT_PATH ] ;
if ! $(oil-root-path)
{
oil-root-path = "$(here)/../oil" ;
}
use-project oil : $(oil-root-path) ;
local luascs-root-path = [ os.environ LUASCS_ROOT_PATH ] ;
if ! $(luascs-root-path)
{
luascs-root-path = "$(here)/../scs-lua" ;
}
use-project luascs : $(luascs-root-path) ;
local luasec-root-path = [ os.environ LUASEC_ROOT_PATH ] ;
if ! $(luasec-root-path)
{
luasec-root-path = "$(here)/../luasec" ;
}
use-project luasec : $(luasec-root-path) ;
scs-idl-path = [ os.environ SCS_IDL_PATH ] ;
if ! $(scs-idl-path)
{
scs-idl-path = "$(here)/../scs-idl" ;
}
openbus-idl-path = [ os.environ OPENBUS_IDL_PATH ] ;
if ! $(openbus-idl-path)
{
openbus-idl-path = "$(here)/../openbus-idl" ;
}
openbus-legacy-idl-path = [ os.environ OPENBUS_LEGACY_IDL_PATH ] ;
if ! $(openbus-legacy-idl-path)
{
openbus-legacy-idl-path = "$(here)/../openbus-legacy-idl" ;
}
openbus-lib-idl-path = [ os.environ OPENBUS_LIB_IDL_PATH ] ;
if ! $(openbus-lib-idl-path)
{
openbus-lib-idl-path = "$(here)/../openbus-lib-idl" ;
}
modules.load preloader : : $(loop-root-path) ;
import preloader ;
using preloader ;
project luaopenbus
: requirements
<target-os>windows:<pch>off
<target-os>windows,<link>shared:<runtime-link>shared
<target-os>windows,<link>static:<runtime-link>static
<target-os>windows:<debug-store>database
<target-os>windows:<define>_CRT_SECURE_NO_WARNINGS
<toolset>msvc-12.0:<cxxflags>/FS
<debug-symbols>on
: default-build
<variant>release
<link>static
;
make luaopenbus.c
: lua/openbus/assistant.lua
lua/openbus/assistant2.lua
lua/openbus/core/Access.lua
lua/openbus/core/idl/makeaux.lua
lua/openbus/core/idl/parsed.lua
lua/openbus/core/idl.lua
lua/openbus/core/legacy/idl.lua
lua/openbus/core/legacy/parsed.lua
lua/openbus/core/messages.lua
lua/openbus/console/costdin.lua
lua/openbus/console/utils.lua
lua/openbus/idl/parsed.lua
lua/openbus/idl.lua
lua/openbus/util/argcheck.lua
lua/openbus/util/autotable.lua
lua/openbus/util/database.lua
lua/openbus/util/except.lua
lua/openbus/util/logger.lua
lua/openbus/util/messages.lua
lua/openbus/util/oo.lua
lua/openbus/util/sandbox.lua
lua/openbus/util/server.lua
lua/openbus/util/sysex.lua
lua/openbus/util/tickets.lua
lua/openbus.lua
src/lthreadlib.c
src/lecholib.c
: preloader.pre-compile
: <search>$(here)
;
make luaconsole.c
: lua/openbus/console.lua
: preloader.pre-compile
: <search>$(here)
;
modules.load idl2lua : : $(oil-root-path) ;
import idl2lua ;
using idl2lua ;
make lua/openbus/idl/parsed.lua
: $(openbus-lib-idl-path)/src/openbus.idl
$(openbus-lib-idl-path)/src/corba.idl
$(openbus-idl-path)/src/openbus_access-2.1.idl
$(openbus-idl-path)/src/openbus_offers-2.1.idl
$(openbus-idl-path)/src/openbus_export-2.1.idl
$(openbus-idl-path)/src/openbus_core-2.1.idl
$(openbus-idl-path)/src/openbus_creden-2.1.idl
$(scs-idl-path)/src/scs.idl
: idl2lua.compile
: <include>$(openbus-lib-idl-path)/src
<include>$(openbus-idl-path)/src
<include>$(scs-idl-path)/src
;
make lua/openbus/core/idl/parsed.lua
: $(openbus-idl-path)/src/openbus_access-2.1.idl
$(openbus-idl-path)/src/openbus_offers-2.1.idl
$(openbus-idl-path)/src/openbus_export-2.1.idl
$(openbus-idl-path)/src/openbus_core-2.1.idl
$(openbus-idl-path)/src/openbus_creden-2.1.idl
$(scs-idl-path)/src/scs.idl
: idl2lua.compile
: <include>$(openbus-idl-path)/src
<include>$(openbus-legacy-idl-path)/src
<include>$(scs-idl-path)/src
;
make lua/openbus/core/legacy/parsed.lua
: $(openbus-legacy-idl-path)/src/access_control.idl
$(openbus-legacy-idl-path)/src/offer_registry.idl
$(openbus-legacy-idl-path)/src/data_export.idl
$(openbus-legacy-idl-path)/src/core.idl
$(openbus-legacy-idl-path)/src/credential.idl
$(scs-idl-path)/src/scs.idl
$(openbus-idl-path)/src/openbus_legacy-2.1.idl
$(openbus-idl-path)/src/openbus_access-2.1.idl
$(openbus-idl-path)/src/openbus_core-2.1.idl
$(openbus-idl-path)/src/openbus_creden-2.1.idl
: idl2lua.compile
: <include>$(openbus-legacy-idl-path)/src
<include>$(openbus-idl-path)/src
<include>$(scs-idl-path)/src
;
lib luaopenbus
: luaopenbus.c
src/openbuslua.c
src/lthreadlib.c
src/lecholib.c
/lua//lua
/luuid//luuid
/lce//lce
/luafilesystem//lfs
/luavararg//luavararg
/luastruct//luastruct
/luasocket//luasocket
/loop//loop
/loop//luatuple
/loop//luacothread
/oil//oil
/oil//luaidl
/luascs//luascs
/luasec//luasec
: <dependency>/lce//lce
<dependency>/luasec//luasec
<dependency>/loop//loop
<dependency>/loop//luacothread
<dependency>/loop//luatuple
<dependency>/oil//oil
<dependency>/oil//luaidl
<dependency>/luascs//luascs
<dependency>/luasocket//luasocket
<dependency>/luastruct//luastruct
<dependency>/luavararg//luavararg
<dependency>luaopenbus.c
<include>src
<include>.
<target-os>windows,<link>shared:<linkflags>"/def:$(here)/luaopenbus.def"
:
: <include>.
<include>src
;
explicit luaopenbus ;
exe busconsole
: src/launcher.c
src/consolelibs.c
luaconsole.c
/lua//lua
/luuid//luuid
/lce//lce
/luafilesystem//lfs
/luavararg//luavararg
/luastruct//luastruct
/luasocket//luasocket
/loop//loop
/loop//luatuple
/loop//luacothread
/oil//oil
/oil//luaidl
/luascs//luascs
/luaopenbus//luaopenbus
: <dependency>/loop//loop
<dependency>/loop//luatuple
<dependency>/loop//luacothread
<dependency>/oil//oil
<dependency>/oil//luaidl
<dependency>/lce//lce
<dependency>/luascs//luascs
<dependency>/luaopenbus//luaopenbus
<define>OPENBUS_PROGNAME=\\\""busconsole\\\""
;
explicit busconsole ;
install stage
: luaopenbus
busconsole
: <location>install
;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment