summaryrefslogtreecommitdiff
path: root/usr/src/tools/ctf/libctf/Makefile.com
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/tools/ctf/libctf/Makefile.com')
-rw-r--r--usr/src/tools/ctf/libctf/Makefile.com15
1 files changed, 13 insertions, 2 deletions
diff --git a/usr/src/tools/ctf/libctf/Makefile.com b/usr/src/tools/ctf/libctf/Makefile.com
index e47bde3e3b..0444b975d5 100644
--- a/usr/src/tools/ctf/libctf/Makefile.com
+++ b/usr/src/tools/ctf/libctf/Makefile.com
@@ -16,10 +16,21 @@
include $(SRC)/lib/libctf/Makefile.shared.com
include ../../Makefile.ctf
-CPPFLAGS += -include ../../common/ctf_headers.h \
+#
+# For some reason LDFLAGS doesn't seem to be taking effect at the
+# moment. Therefore add what we need to LDLIBS for now.
+#
+LDLIBS += \
+ -L$(ROOTONBLDLIBMACH) \
+ '-R$$ORIGIN/../../lib/$(MACH)' \
+
+CPPFLAGS += -I$(SRC)/lib/libctf/common/ \
+ -I$(SRC)/lib/libdwarf/common/ \
+ -I$(SRC)/lib/mergeq \
+ -include ../../common/ctf_headers.h \
-DCTF_OLD_VERSIONS \
-DCTF_TOOLS_BUILD
-LDLIBS += -lc -lelf
+LDLIBS += -lc -lelf -ldwarf -lavl
.KEEP_STATE: