aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libs/backtrace/ya.make
blob: 202f54991f27792f1d375fb0665c169a5536bf5c (plain) (blame)
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
# Generated by devtools/yamaker from nixpkgs 22.11.

LIBRARY()

LICENSE(BSD-3-Clause)

LICENSE_TEXTS(.yandex_meta/licenses.list.txt)

VERSION(2024-07-16)

ORIGINAL_SOURCE(https://github.com/ianlancetaylor/libbacktrace/archive/1dd5c408fe6f5d9bccf870ec4e0e4bcabeb0664e.tar.gz)

ADDINCL(
    contrib/libs/backtrace
)

NO_COMPILER_WARNINGS()

NO_RUNTIME()

CFLAGS(
    -DHAVE_CONFIG_H
)

SRCS(
    atomic.c
    backtrace.c
    dwarf.c
    fileline.c
    mmap.c
    mmapio.c
    posix.c
    print.c
    simple.c
    sort.c
    state.c
)

IF (OS_DARWIN)
    SRCS(
        macho.c
    )
ELSEIF (OS_LINUX OR OS_ANDROID)
    SRCS(
        elf.c
    )
ENDIF()

END()