summaryrefslogtreecommitdiffstats
path: root/libexec/ftpd/Makefile
diff options
context:
space:
mode:
authorngie <ngie@FreeBSD.org>2017-07-20 00:58:19 +0000
committerngie <ngie@FreeBSD.org>2017-07-20 00:58:19 +0000
commit4332c2b3682711c4c9a5f87a21248319033b7ecb (patch)
treea5a703e478af2a17c939258d4da3e22ce7b51ea3 /libexec/ftpd/Makefile
parent97c764f8c94a61ea9c29267d332a2cacf2bd893c (diff)
downloadFreeBSD-src-4332c2b3682711c4c9a5f87a21248319033b7ecb.zip
FreeBSD-src-4332c2b3682711c4c9a5f87a21248319033b7ecb.tar.gz
MFC r314653:
libexec: normalize paths using SRCTOP-relative paths or :H when possible This simplifies make logic/output
Diffstat (limited to 'libexec/ftpd/Makefile')
-rw-r--r--libexec/ftpd/Makefile5
1 files changed, 2 insertions, 3 deletions
diff --git a/libexec/ftpd/Makefile b/libexec/ftpd/Makefile
index b945e55..7d6f5bd 100644
--- a/libexec/ftpd/Makefile
+++ b/libexec/ftpd/Makefile
@@ -18,10 +18,9 @@ LIBADD= crypt xo util
# XXX Kluge! Conversation mechanism needs to be fixed.
LIBADD+= opie md
-LSDIR= ../../bin/ls
-.PATH: ${.CURDIR}/${LSDIR}
+.PATH: ${SRCTOP}/bin/ls
SRCS+= ls.c cmp.c print.c util.c
-CFLAGS+=-Dmain=ls_main -I${.CURDIR}/${LSDIR}
+CFLAGS+=-Dmain=ls_main -I${SRCTOP}/bin/ls
LIBADD+= m
.if ${MK_BLACKLIST_SUPPORT} != "no"
OpenPOWER on IntegriCloud