summaryrefslogtreecommitdiff
path: root/usr/src/tools/ctf
diff options
context:
space:
mode:
authorKeith M Wesolowski <wesolows@foobazco.org>2013-07-17 17:05:07 -0700
committerRobert Mustacchi <rm@joyent.com>2013-08-16 08:31:32 -0700
commit494f7e12a62129ef191a15f9dfde6b7abe3bf510 (patch)
tree786fce65f889c5fa2b64671a6c7c84f09b9d6dfb /usr/src/tools/ctf
parentcf7e209d5f01e9f5fe052b444899ba9cba0e9877 (diff)
downloadillumos-joyent-494f7e12a62129ef191a15f9dfde6b7abe3bf510.tar.gz
3915 Add adjuncts support to the build
Reviewed by: Robert Mustacchi <rm@joyent.com> Reviewed by: Richard Lowe <richlowe@richlowe.net> Approved by: Dan McDonald <danmcd@nexenta.com>
Diffstat (limited to 'usr/src/tools/ctf')
-rw-r--r--usr/src/tools/ctf/Makefile.ctf3
-rw-r--r--usr/src/tools/ctf/cvt/Makefile.com1
-rw-r--r--usr/src/tools/ctf/dump/Makefile.com1
3 files changed, 4 insertions, 1 deletions
diff --git a/usr/src/tools/ctf/Makefile.ctf b/usr/src/tools/ctf/Makefile.ctf
index ace863e89b..7c5b041746 100644
--- a/usr/src/tools/ctf/Makefile.ctf
+++ b/usr/src/tools/ctf/Makefile.ctf
@@ -40,7 +40,8 @@ HDRDIRS= \
-I../../common \
-I$(SRC) \
-I/usr/include \
- -I$(SRC)/uts/common
+ -I$(SRC)/uts/common \
+ -I$(NATIVE_ADJUNCT)/include
CPPFLAGS += $(HDRDIRS)
CFLAGS += $(CCVERBOSE)
diff --git a/usr/src/tools/ctf/cvt/Makefile.com b/usr/src/tools/ctf/cvt/Makefile.com
index fb35379c3a..5385b3769f 100644
--- a/usr/src/tools/ctf/cvt/Makefile.com
+++ b/usr/src/tools/ctf/cvt/Makefile.com
@@ -73,6 +73,7 @@ DWARFLDFLAGS = \
-ldwarf
DWARFCPPFLAGS = -I../../dwarf/common
+LDFLAGS += -L$(NATIVE_ADJUNCT)/lib
LDLIBS += -lz -lelf
CPPFLAGS += -D_REENTRANT
CFLAGS += $(CTF_FLAGS)
diff --git a/usr/src/tools/ctf/dump/Makefile.com b/usr/src/tools/ctf/dump/Makefile.com
index ca3e925d01..9877fa06a3 100644
--- a/usr/src/tools/ctf/dump/Makefile.com
+++ b/usr/src/tools/ctf/dump/Makefile.com
@@ -31,6 +31,7 @@ SRCS = dump.c utils.c symbol.c
include ../../Makefile.ctf
+LDFLAGS += -L$(NATIVE_ADJUNCT)/lib
LDLIBS += -lelf -lz
OBJS = $(SRCS:%.c=%.o)