aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/tools/yasm/bin/ya.make
blob: fc7d195fc7d4bcdc8aa38868922c3962a377af79 (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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
OWNER( 
    somov 
    g:contrib 
    g:ymake 
) 
 
PROGRAM(yasm) 
 
IF (MUSL)
    PEERDIR(contrib/libs/musl_extra)
    PEERDIR(contrib/libs/jemalloc)
    DISABLE(USE_ASMLIB)
    NO_RUNTIME()
    ENABLE(MUSL_LITE)
ELSE()
    NO_PLATFORM()
ENDIF()

NO_CLANG_COVERAGE() 
NO_COMPILER_WARNINGS() 
NO_UTIL() 
 
ALLOCATOR(FAKE) 
 
ADDINCL( 
    contrib/tools/yasm 
    contrib/tools/yasm/frontends/yasm 
    contrib/tools/yasm/modules 
) 
 
CFLAGS( 
    -DHAVE_CONFIG_H 
    -DYASM_LIB_SOURCE 
) 
 
SRCDIR(contrib/tools/yasm) 
 
SRCS( 
    frontends/yasm/yasm-options.c 
    frontends/yasm/yasm.c 
    libyasm/assocdat.c 
    libyasm/bc-align.c 
    libyasm/bc-data.c 
    libyasm/bc-incbin.c 
    libyasm/bc-org.c 
    libyasm/bc-reserve.c 
    libyasm/bitvect.c 
    libyasm/bytecode.c 
    libyasm/cmake-module.c 
    libyasm/errwarn.c 
    libyasm/expr.c 
    libyasm/file.c 
    libyasm/floatnum.c 
    libyasm/hamt.c 
    libyasm/insn.c 
    libyasm/intnum.c 
    libyasm/inttree.c 
    libyasm/linemap.c 
    libyasm/md5.c 
    libyasm/mergesort.c 
    libyasm/phash.c 
    libyasm/replace_path.c 
    libyasm/section.c 
    libyasm/strcasecmp.c 
    libyasm/strsep.c 
    libyasm/symrec.c 
    libyasm/valparam.c 
    libyasm/value.c 
    libyasm/xmalloc.c 
    libyasm/xstrdup.c 
    modules/arch/lc3b/lc3barch.c 
    modules/arch/lc3b/lc3bbc.c 
    modules/arch/x86/x86arch.c 
    modules/arch/x86/x86bc.c 
    modules/arch/x86/x86expr.c 
    modules/arch/x86/x86id.c 
    modules/dbgfmts/codeview/cv-dbgfmt.c 
    modules/dbgfmts/codeview/cv-symline.c 
    modules/dbgfmts/codeview/cv-type.c 
    modules/dbgfmts/dwarf2/dwarf2-aranges.c 
    modules/dbgfmts/dwarf2/dwarf2-dbgfmt.c 
    modules/dbgfmts/dwarf2/dwarf2-info.c 
    modules/dbgfmts/dwarf2/dwarf2-line.c 
    modules/dbgfmts/null/null-dbgfmt.c 
    modules/dbgfmts/stabs/stabs-dbgfmt.c 
    modules/gas-token.c 
    modules/init_plugin.c 
    modules/lc3bid.c 
    modules/listfmts/nasm/nasm-listfmt.c 
    modules/nasm-token.c 
    modules/objfmts/bin/bin-objfmt.c 
    modules/objfmts/coff/coff-objfmt.c 
    modules/objfmts/coff/win64-except.c 
    modules/objfmts/dbg/dbg-objfmt.c 
    modules/objfmts/elf/elf-objfmt.c 
    modules/objfmts/elf/elf-x86-amd64.c 
    modules/objfmts/elf/elf-x86-x32.c 
    modules/objfmts/elf/elf-x86-x86.c 
    modules/objfmts/elf/elf.c 
    modules/objfmts/macho/macho-objfmt.c 
    modules/objfmts/rdf/rdf-objfmt.c 
    modules/objfmts/xdf/xdf-objfmt.c 
    modules/parsers/gas/gas-parse-intel.c 
    modules/parsers/gas/gas-parse.c 
    modules/parsers/gas/gas-parser.c 
    modules/parsers/nasm/nasm-parse.c 
    modules/parsers/nasm/nasm-parser.c 
    modules/preprocs/cpp/cpp-preproc.c 
    modules/preprocs/gas/gas-eval.c 
    modules/preprocs/gas/gas-preproc.c 
    modules/preprocs/nasm/nasm-eval.c 
    modules/preprocs/nasm/nasm-pp.c 
    modules/preprocs/nasm/nasm-preproc.c 
    modules/preprocs/nasm/nasmlib.c 
    modules/preprocs/raw/raw-preproc.c 
    modules/x86cpu.c 
    modules/x86regtmod.c 
) 
 
END()