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,__debug_line \
21 -R __DWARF,__debug_aranges \
22 -R __DWARF,__debug_info \
23 -R __DWARF,__debug_abbrev \
24 -R __DWARF,__debug_str \
25 -R __DWARF,__apple_names \
26 -R __DWARF,__apple_namespac \
27 -R __DWARF,__apple_types \
28 -R __DWARF,__apple_objc \
29 a.ctf a.ctf
30 rm -rf a.out.dSYM
31 rm -rf test.o