Remove non-siahsd sources
These fail to compile and are not required for the space.
This commit is contained in:
parent
02a670fc49
commit
c09d87c6e4
10 changed files with 1 additions and 2168 deletions
53
wscript
53
wscript
|
@ -1,30 +1,5 @@
|
|||
#! /usr/bin/env python
|
||||
# encoding: utf-8
|
||||
from waflib.Task import Task
|
||||
from waflib.TaskGen import extension
|
||||
|
||||
class idl_header(Task):
|
||||
run_str = '../bin/pidl/pidl --header ${TGT[0].abspath()} ${SRC}'
|
||||
color = 'BLUE'
|
||||
ext_out = ['.h']
|
||||
|
||||
class idl_parser(Task):
|
||||
run_str = '../bin/pidl/pidl --ndr-parser ${TGT[0].abspath()} ${SRC}'
|
||||
color = 'BLUE'
|
||||
ext_out = ['.h']
|
||||
|
||||
@extension('.idl')
|
||||
def process_idl(self, node):
|
||||
header_node = node.change_ext('.h')
|
||||
self.create_task('idl_header', node, [header_node ])
|
||||
|
||||
c_node = node.change_ext('.c')
|
||||
|
||||
if c_node.name[:len('ndr_')] != 'ndr_':
|
||||
c_node.name = 'ndr_' + c_node.name
|
||||
|
||||
self.create_task('idl_parser', node, [ c_node ])
|
||||
self.source.append(c_node)
|
||||
|
||||
def dist(ctx):
|
||||
ctx.base_name = 'siahsd'
|
||||
|
@ -45,18 +20,9 @@ def configure(conf):
|
|||
args=['--cflags', '--libs' ])
|
||||
|
||||
# Check for tevent
|
||||
conf.check_cfg(package='tevent', uselib_store='samba',
|
||||
conf.check_cfg(package='tevent', uselib_store='tevent',
|
||||
args=['--cflags', '--libs' ])
|
||||
|
||||
# Check for samba-4.0
|
||||
conf.check_cfg(package='samba-util', uselib_store='samba',
|
||||
args=['--cflags', '--libs' ])
|
||||
|
||||
# Check for ndr
|
||||
conf.check_cfg(package='ndr', uselib_store='samba',
|
||||
args=['--cflags', '--libs'])
|
||||
|
||||
|
||||
# Check for headers
|
||||
conf.check(header_name='stdio.h', features='c cprogram')
|
||||
conf.check(header_name='stdlib.h', features='c cprogram')
|
||||
|
@ -72,20 +38,13 @@ def configure(conf):
|
|||
conf.check(header_name='fcntl.h', features='c cprogram')
|
||||
conf.check(header_name='errno.h', features='c cprogram')
|
||||
|
||||
|
||||
# Used libraries
|
||||
conf.check(header_name='talloc.h', use='samba', features='c cprogram')
|
||||
conf.check(header_name='glib.h', use='glib-2.0', features='c cprogram')
|
||||
|
||||
conf.check(header_name='dbi/dbi.h', features='c cprogram')
|
||||
conf.check(header_name='util/data_blob.h', use='samba', features='c cprogram')
|
||||
#conf.check(header_name='core/ntstatus.h', use='samba', features='c cprogram')
|
||||
#conf.check(header_name='charset.h', use='samba', features='c cprogram')
|
||||
|
||||
conf.check_cc(lib='dbi', uselib_store='dbi')
|
||||
conf.check_cc(lib='talloc', uselib_store='samba')
|
||||
conf.check_cc(lib='ndr', uselib_store='ndr')
|
||||
conf.check_cc(lib='gmp', uselib_store='nettle')
|
||||
conf.check_cc(lib='hogweed', uselib_store='nettle')
|
||||
conf.check_cc(lib='nettle', uselib_store='nettle')
|
||||
|
||||
|
@ -110,15 +69,5 @@ def build(bld):
|
|||
target = 'siahsd',
|
||||
use = [ 'database', 'config', 'status', 'sia', 'siahs', 'jsonbot', 'hook_script', 'dbi', 'talloc', 'glib-2.0', 'nettle' ])
|
||||
|
||||
bld.program(
|
||||
source = 'secip.idl secipd.c crc16.c',
|
||||
target = 'secipd',
|
||||
use = [ 'database', 'config', 'status', 'sia', 'siahs', 'jsonbot', 'hook_script', 'dbi', 'samba', 'glib-2.0', 'nettle', 'ndr' ])
|
||||
bld.program(
|
||||
source = 'chiron.idl chirond.c',
|
||||
target = 'chirond',
|
||||
use = [ 'database', 'config', 'status', 'sia', 'jsonbot', 'dbi', 'samba', 'glib-2.0', 'nettle', 'ndr' ])
|
||||
pass
|
||||
|
||||
def clean(ctx):
|
||||
pass
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue