xref: /illumos-gate/usr/src/lib/libdwarf/Makefile.com (revision 66582b606a8194f7f3ba5b3a3a6dca5b0d346361)
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_addr_finder.o	\
21	dwarf_alloc.o		\
22	dwarf_arange.o		\
23	dwarf_die_deliv.o	\
24	dwarf_elf_access.o	\
25	dwarf_error.o		\
26	dwarf_form.o		\
27	dwarf_frame.o		\
28	dwarf_frame2.o		\
29	dwarf_frame3.o		\
30	dwarf_funcs.o		\
31	dwarf_global.o		\
32	dwarf_harmless.o	\
33	dwarf_init_finish.o	\
34	dwarf_leb.o		\
35	dwarf_line.o		\
36	dwarf_line2.o		\
37	dwarf_loc.o		\
38	dwarf_macro.o		\
39	dwarf_names.o		\
40	dwarf_original_elf_init.o	\
41	dwarf_print_lines.o	\
42	dwarf_pubtypes.o	\
43	dwarf_query.o		\
44	dwarf_ranges.o		\
45	dwarf_sort_line.o	\
46	dwarf_string.o		\
47	dwarf_stubs.o		\
48	dwarf_types.o		\
49	dwarf_util.o		\
50	dwarf_vars.o		\
51	dwarf_weaks.o		\
52	malloc_check.o		\
53	pro_alloc.o		\
54	pro_arange.o		\
55	pro_die.o		\
56	pro_encode_nm.o		\
57	pro_error.o		\
58	pro_expr.o		\
59	pro_finish.o		\
60	pro_forms.o		\
61	pro_frame.o		\
62	pro_funcs.o		\
63	pro_init.o		\
64	pro_line.o		\
65	pro_macinfo.o		\
66	pro_pubnames.o		\
67	pro_reloc.o		\
68	pro_reloc_stream.o	\
69	pro_reloc_symbolic.o	\
70	pro_section.o		\
71	pro_types.o		\
72	pro_vars.o		\
73	pro_weaks.o
74
75include ../../Makefile.lib
76include ../../Makefile.rootfs
77
78LIBS =		$(DYNLIB)
79LDLIBS +=	-lelf -lc
80
81SRCDIR =	../common
82CPPFLAGS +=	-I$(SRCDIR) -DELF_TARGET_ALL=1
83CERRWARN +=	-_gcc=-Wno-unused
84CERRWARN +=	-_gcc=-Wno-implicit-function-declaration
85
86SMATCH =	off
87
88.KEEP_STATE:
89
90all:	$(LIBS)
91
92lint:	lintcheck
93
94include ../../Makefile.targ
95