~ubuntu-branches/ubuntu/trusty/glbsp/trusty

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#
# SConscript file, builds GLBSP for EDGE
#
import os

Import('build_info')
Import('base_env')

env = base_env.Copy()

env.Append(CCFLAGS = ['-DGLBSP_PLUGIN'])
env.Append(CCFLAGS = ['-DINLINE_G=inline'])

#FIXME: ZLIB include directory

glbsp_sources = [
    'src/analyze.c', 'src/blockmap.c', 'src/glbsp.c',
    'src/level.c', 'src/node.c', 'src/reject.c',
    'src/seg.c', 'src/system.c', 'src/util.c',
    'src/wad.c' ]

env.Prepend(CPPPATH = './src')

env.StaticLibrary('glbsp', glbsp_sources)

##--- editor settings ---
## vi:ts=4:sw=4:expandtab