File: SConscript

package info (click to toggle)
ori 0.8.1%2Bds1-3
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 2,204 kB
  • ctags: 2,659
  • sloc: cpp: 22,383; ansic: 5,870; sh: 451; python: 205; makefile: 21
file content (59 lines) | stat: -rw-r--r-- 1,044 bytes parent folder | download | duplicates (2)
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
51
52
53
54
55
56
57
58
59
import sys

Import('env')

ori_env = env.Clone()

src = [
    "cmd_addkey.cc",
    "cmd_branches.cc",
    "cmd_catobj.cc",
    "cmd_dumpindex.cc",
    "cmd_dumpmeta.cc",
    "cmd_dumpobj.cc",
    "cmd_dumppackfile.cc",
    "cmd_dumprefs.cc",
    "cmd_filelog.cc",
    "cmd_findheads.cc",
    "cmd_gc.cc",
    "cmd_listkeys.cc",
    "cmd_listobj.cc",
    "cmd_log.cc",
    "cmd_purgeobj.cc",
    "cmd_purgesnapshot.cc",
    "cmd_rebuildindex.cc",
    "cmd_rebuildrefs.cc",
    "cmd_refcount.cc",
    "cmd_remote.cc",
    "cmd_removekey.cc",
    "cmd_setkey.cc",
    "cmd_show.cc",
    "cmd_snapshots.cc",
    "cmd_stats.cc",
    "cmd_stripmetadata.cc",
    "cmd_tip.cc",
    "cmd_treediff.cc",
    "cmd_udsserver.cc",
    "cmd_verify.cc",
    "main.cc",
]

libs = [
	"crypto",
	"stdc++",
	"event_core",
	"event_extra",
]

if sys.platform != "darwin":
    libs += ['rt']
    if env["WITH_MDNS"]:
        libs += ['dns_sd']

if sys.platform == "linux2":
    libs += ['uuid', 'resolv']

ori_env.Append(LIBS = libs)

ori_env.Program("oridbg", src)