aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libs/backtrace/ya.make
blob: ce9fc66fb3abb4f6c6efb15588cc536b0e9fe115 (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-10-25)

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