Debian Codegraph @

lldb/test/API/macosx/ctf/Makefile

raw
1 C_SOURCES := test.c
2 MAKE_DSYM := YES
3
4 ifeq "$(COMPRESS_CTF)" "YES"
5 COMPRESS := -c
6 else
7 COMPRESS :=
8 endif
9
10 all: a.out a.ctf
11
12 include Makefile.rules
13
14 a.ctf: a.out.dSYM
15 ctfconvert $(COMPRESS) \
16 -l a \
17 -o a.ctf \
18 a.out.dSYM/Contents/Resources/DWARF/a.out
19 $(OBJCOPY) \
20 -R __DWARF,__apple_names \
21 -R __DWARF,__apple_namespac \
22 -R __DWARF,__apple_objc \
23 -R __DWARF,__apple_types \
24 -R __DWARF,__debug_abbrev \
25 -R __DWARF,__debug_addr \
26 -R __DWARF,__debug_aranges \
27 -R __DWARF,__debug_info \
28 -R __DWARF,__debug_line \
29 -R __DWARF,__debug_line_str \
30 -R __DWARF,__debug_names \
31 -R __DWARF,__debug_str \
32 -R __DWARF,__debug_str_offs \
33 a.ctf a.ctf
34 rm -rf a.out.dSYM
35 rm -rf test.o