aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libs/backtrace/ya.make
blob: eb621aaaa655a6444e904f19b55d85e0341977bc (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-05-03)

ORIGINAL_SOURCE(https://github.com/ianlancetaylor/libbacktrace/archive/11427f31a64b11583fec94b4c2a265c7dafb1ab3.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()