2 # Copyright 2004 Sun Microsystems, Inc. All rights reserved.
3 # Use is subject to license terms.
5 # Copyright 2011, Richard Lowe.
7 include ../../Makefile.ctf
12 OBJECTS=dwarf_abbrev.o \
33 dwarf_original_elf_init.o \
62 pro_reloc_symbolic.o \
68 include $(SRC)/lib/Makefile.lib
72 SRCDIR = $(SRC)/lib/libdwarf/common/
73 SRCS = $(PICS:%.o=$(SRCDIR)/%.c)
75 CPPFLAGS += -I$(SRCDIR) -DELF_TARGET_ALL=1
76 CERRWARN += -Wno-unused
77 CERRWARN += -Wno-implicit-function-declaration
86 install: all $(ROOTONBLDLIBMACH)/libdwarf.so.1 $(ROOTONBLDLIBMACH)/libdwarf.so
88 $(ROOTONBLDLIBMACH)/%: %
91 $(ROOTONBLDLIBMACH)/$(LIBLINKS): $(ROOTONBLDLIBMACH)/$(LIBLINKS)$(VERS)
96 # We can't provide CTF information for libdwarf, as the CTF tools themselves
97 # depond upon it, and so aren't built yet.
98 $(DYNLIB) := CTFMERGE_POST= :
101 include $(SRC)/lib/Makefile.targ