xref: /illumos-gate/usr/src/lib/libdwarf/Makefile.com (revision 78f846c0ab4f41678386d3e1b49c16cc8db07a8b)
1#
2# This file and its contents are supplied under the terms of the
3# Common Development and Distribution License ("CDDL"), version 1.0.
4# You may only use this file in accordance with the terms of version
5# 1.0 of the CDDL.
6#
7# A full copy of the text of the CDDL should have accompanied this
8# source.  A copy of the CDDL is also available via the Internet at
9# http://www.illumos.org/license/CDDL.
10#
11
12#
13# Copyright 2015 Joyent, Inc.
14#
15
16LIBRARY=	libdwarf.a
17VERS=		.1
18
19OBJECTS=dwarf_abbrev.o		\
20	dwarf_alloc.o		\
21	dwarf_arange.o		\
22	dwarf_debuglink.o	\
23	dwarf_die_deliv.o	\
24	dwarf_dnames.o		\
25	dwarf_dsc.o		\
26	dwarf_elf_access.o	\
27	dwarf_elf_load_headers.o \
28	dwarf_elf_rel_detector.o \
29	dwarf_elfread.o		\
30	dwarf_error.o		\
31	dwarf_form.o		\
32	dwarf_frame.o		\
33	dwarf_frame2.o		\
34	dwarf_funcs.o		\
35	dwarf_gdbindex.o	\
36	dwarf_generic_init.o	\
37	dwarf_global.o		\
38	dwarf_groups.o		\
39	dwarf_harmless.o	\
40	dwarf_init_finish.o	\
41	dwarf_leb.o		\
42	dwarf_line.o		\
43	dwarf_loc.o		\
44	dwarf_locationop_read.o \
45	dwarf_loclists.o	\
46	dwarf_machoread.o	\
47	dwarf_macro.o		\
48	dwarf_macro5.o		\
49	dwarf_names.o		\
50	dwarf_object_detector.o	\
51	dwarf_object_read_common.o \
52	dwarf_original_elf_init.o	\
53	dwarf_peread.o		\
54	dwarf_print_lines.o	\
55	dwarf_pubtypes.o	\
56	dwarf_query.o		\
57	dwarf_ranges.o		\
58	dwarf_rnglists.o	\
59	dwarf_str_offsets.o	\
60	dwarf_stringsection.o	\
61	dwarf_stubs.o		\
62	dwarf_tied.o		\
63	dwarf_tsearchhash.o	\
64	dwarf_types.o		\
65	dwarf_util.o		\
66	dwarf_vars.o		\
67	dwarf_weaks.o		\
68	dwarf_xu_index.o	\
69	dwarfstring.o		\
70	dwgetopt.o		\
71	gennames.o		\
72	malloc_check.o		\
73	pro_alloc.o		\
74	pro_arange.o		\
75	pro_die.o		\
76	pro_dnames.o		\
77	pro_encode_nm.o		\
78	pro_error.o		\
79	pro_expr.o		\
80	pro_finish.o		\
81	pro_forms.o		\
82	pro_frame.o		\
83	pro_funcs.o		\
84	pro_init.o		\
85	pro_line.o		\
86	pro_log_extra_flag_strings.o \
87	pro_macinfo.o		\
88	pro_pubnames.o		\
89	pro_reloc_stream.o	\
90	pro_reloc_symbolic.o	\
91	pro_reloc.o		\
92	pro_section.o		\
93	pro_types.o		\
94	pro_vars.o		\
95	pro_weaks.o
96
97include ../../Makefile.lib
98include ../../Makefile.rootfs
99
100LIBS =		$(DYNLIB)
101LDLIBS +=	-lelf -lc -lz
102NATIVE_LIBS +=	libz.so
103
104SRCDIR =	../common
105CFLAGS64 +=	$(C_BIGPICFLAGS)
106CPPFLAGS +=	-I$(SRCDIR) -DELF_TARGET_ALL=1
107CERRWARN +=	-_gcc=-Wno-unused
108CERRWARN +=	-_gcc=-Wno-implicit-function-declaration
109
110SMATCH =	off
111
112.KEEP_STATE:
113
114all:	$(LIBS)
115
116
117include ../../Makefile.targ
118