blob: d4f3289e97c4564c7eda9d4fec2b545beab22e90 (
plain)
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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
|
# file : butl/buildfile
# copyright : Copyright (c) 2014-2016 Code Synthesis Ltd
# license : MIT; see accompanying LICENSE file
lib{butl}: \
{hxx cxx}{ base64 } \
{hxx cxx}{ char-scanner } \
{hxx }{ export } \
{hxx ixx cxx}{ fdstream } \
{hxx ixx cxx}{ filesystem } \
{hxx }{ multi-index } \
{hxx }{ optional } \
{hxx cxx}{ pager } \
{hxx ixx txx cxx}{ path } \
{hxx }{ path-io } \
{hxx }{ path-map } \
{hxx txx }{ prefix-map } \
{hxx ixx cxx}{ process } \
{hxx cxx}{ sha256 } \
{hxx txx }{ string-table } \
{hxx cxx}{ timestamp } \
{hxx cxx}{ triplet } \
{hxx ixx }{ utility } \
{hxx }{ vector-view } \
{hxx }{ version } \
{hxx cxx}{ win32-utility }
# This one is included into sha256.cxx so treat it as file to exclude
# from the compilation.
#
lib{butl}: file{sha256c.c}
# These ones are included into timestamp.cxx so treat them as files to exclude
# from the compilation.
#
lib{butl}: file{strptime.c timelocal.h timelocal.c}
cxx.poptions =+ -I$src_root
lib{butl}: cxx.export.poptions = -I$src_root
liba{butl}: cxx.export.poptions += -DLIBBUTL_STATIC
libs{butl}: cxx.export.poptions += -DLIBBUTL_SHARED
obja{*}: cxx.poptions += -DLIBBUTL_STATIC_BUILD
objs{*}: cxx.poptions += -DLIBBUTL_SHARED_BUILD
# Install into the butl/ subdirectory of, say, /usr/include/.
#
install.include = $install.include/butl
|