aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/ctld/Makefile
diff options
context:
space:
mode:
authorEnji Cooper <ngie@FreeBSD.org>2017-03-04 11:38:03 +0000
committerEnji Cooper <ngie@FreeBSD.org>2017-03-04 11:38:03 +0000
commit64a0982bee3db2236df43357e70ce8dddbc21d48 (patch)
tree76664a67496ac3cd9e3d5d272a5a6e430068848a /usr.sbin/ctld/Makefile
parentb71fb1a4aa198495970831c748fa2d132621fe3d (diff)
downloadsrc-64a0982bee3db2236df43357e70ce8dddbc21d48.tar.gz
src-64a0982bee3db2236df43357e70ce8dddbc21d48.zip
usr.sbin: normalize paths using SRCTOP-relative paths or :H when possible
This simplifies make logic/output MFC after: 1 month Sponsored by: Dell EMC Isilon
Notes
Notes: svn path=/head/; revision=314659
Diffstat (limited to 'usr.sbin/ctld/Makefile')
-rw-r--r--usr.sbin/ctld/Makefile10
1 files changed, 5 insertions, 5 deletions
diff --git a/usr.sbin/ctld/Makefile b/usr.sbin/ctld/Makefile
index 664dc22efbb1..0b113667ca3b 100644
--- a/usr.sbin/ctld/Makefile
+++ b/usr.sbin/ctld/Makefile
@@ -1,15 +1,15 @@
# $FreeBSD$
-CFLAGS+=-I${.CURDIR}/../../contrib/libucl/include
-.PATH: ${.CURDIR}/../../contrib/libucl/include
+CFLAGS+=-I${SRCTOP}/contrib/libucl/include
+.PATH: ${SRCTOP}/contrib/libucl/include
PROG= ctld
SRCS= chap.c ctld.c discovery.c isns.c kernel.c keys.c log.c
SRCS+= login.c parse.y pdu.c token.l y.tab.h uclparse.c
CFLAGS+= -I${.CURDIR}
-CFLAGS+= -I${.CURDIR}/../../sys
-CFLAGS+= -I${.CURDIR}/../../sys/cam/ctl
-CFLAGS+= -I${.CURDIR}/../../sys/dev/iscsi
+CFLAGS+= -I${SRCTOP}/sys
+CFLAGS+= -I${SRCTOP}/sys/cam/ctl
+CFLAGS+= -I${SRCTOP}/sys/dev/iscsi
#CFLAGS+= -DICL_KERNEL_PROXY
MAN= ctld.8 ctl.conf.5