aboutsummaryrefslogtreecommitdiff
path: root/libexec
diff options
context:
space:
mode:
authorEnji Cooper <ngie@FreeBSD.org>2017-07-20 00:52:11 +0000
committerEnji Cooper <ngie@FreeBSD.org>2017-07-20 00:52:11 +0000
commit7730e4e7dc109e9be3a327d8407fdf9efea4b0ca (patch)
tree0b16be3010514c0bc5c106de73f7203542c7ba01 /libexec
parentea3e540ac75ef4adc55b7af2f2ae3db5787c6e0c (diff)
Notes
Diffstat (limited to 'libexec')
-rw-r--r--libexec/atrun/Makefile2
-rw-r--r--libexec/ftpd/Makefile5
-rw-r--r--libexec/hyperv/Makefile2
-rw-r--r--libexec/mail.local/Makefile2
-rw-r--r--libexec/smrsh/Makefile2
-rw-r--r--libexec/talkd/Makefile4
-rw-r--r--libexec/tcpd/Makefile2
-rw-r--r--libexec/telnetd/Makefile4
-rw-r--r--libexec/tftp-proxy/Makefile2
-rw-r--r--libexec/ypxfr/Makefile4
10 files changed, 14 insertions, 15 deletions
diff --git a/libexec/atrun/Makefile b/libexec/atrun/Makefile
index 273055997c0b..f2c11a5ffdee 100644
--- a/libexec/atrun/Makefile
+++ b/libexec/atrun/Makefile
@@ -1,6 +1,6 @@
# $FreeBSD$
-MAINSRC=${.CURDIR}/../../usr.bin/at
+MAINSRC=${SRCTOP}/usr.bin/at
.include "${MAINSRC}/Makefile.inc"
diff --git a/libexec/ftpd/Makefile b/libexec/ftpd/Makefile
index e415407fb9e6..88eb8a768ebe 100644
--- a/libexec/ftpd/Makefile
+++ b/libexec/ftpd/Makefile
@@ -20,10 +20,9 @@ LDADD= -lutil -lcrypt
DPADD+= ${LIBOPIE} ${LIBMD}
LDADD+= -lopie -lmd
-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
DPADD+= ${LIBM}
LDADD+= -lm
diff --git a/libexec/hyperv/Makefile b/libexec/hyperv/Makefile
index cea28f4836ff..64cfb365486f 100644
--- a/libexec/hyperv/Makefile
+++ b/libexec/hyperv/Makefile
@@ -1,6 +1,6 @@
# $FreeBSD$
-.PATH: ${.CURDIR}/../../contrib/hyperv/tools/scripts
+.PATH: ${SRCTOP}/contrib/hyperv/tools/scripts
BINDIR= ${LIBEXECDIR}/hyperv
diff --git a/libexec/mail.local/Makefile b/libexec/mail.local/Makefile
index 3e59609e893e..40a17169f85a 100644
--- a/libexec/mail.local/Makefile
+++ b/libexec/mail.local/Makefile
@@ -1,7 +1,7 @@
# @(#)Makefile 8.1 (Berkeley) 7/19/93
# $FreeBSD$
-SENDMAIL_DIR=${.CURDIR}/../../contrib/sendmail
+SENDMAIL_DIR=${SRCTOP}/contrib/sendmail
.PATH: ${SENDMAIL_DIR}/mail.local
PROG= mail.local
diff --git a/libexec/smrsh/Makefile b/libexec/smrsh/Makefile
index ae86155d0d00..ff2bad7f8eea 100644
--- a/libexec/smrsh/Makefile
+++ b/libexec/smrsh/Makefile
@@ -1,7 +1,7 @@
# @(#)Makefile 8.1 (Berkeley) 7/2/95
# $FreeBSD$
-SENDMAIL_DIR=${.CURDIR}/../../contrib/sendmail
+SENDMAIL_DIR=${SRCTOP}/contrib/sendmail
.PATH: ${SENDMAIL_DIR}/smrsh
PROG= smrsh
diff --git a/libexec/talkd/Makefile b/libexec/talkd/Makefile
index cc0c5977fb7d..280d828d5248 100644
--- a/libexec/talkd/Makefile
+++ b/libexec/talkd/Makefile
@@ -3,8 +3,8 @@
PROG= ntalkd
SRCS= talkd.c announce.c process.c table.c print.c ttymsg.c
-.PATH: ${.CURDIR}/../../usr.bin/wall
+.PATH: ${SRCTOP}/usr.bin/wall
MAN= talkd.8
-CFLAGS+=-I${.CURDIR}/../../usr.bin/wall
+CFLAGS+=-I${SRCTOP}/usr.bin/wall
.include <bsd.prog.mk>
diff --git a/libexec/tcpd/Makefile b/libexec/tcpd/Makefile
index a2d1cbe669d7..781fa72a96ad 100644
--- a/libexec/tcpd/Makefile
+++ b/libexec/tcpd/Makefile
@@ -2,7 +2,7 @@
.include <bsd.own.mk>
-.PATH: ${.CURDIR}/../../contrib/tcp_wrappers
+.PATH: ${SRCTOP}/contrib/tcp_wrappers
PROG= tcpd
MAN= tcpd.8
diff --git a/libexec/telnetd/Makefile b/libexec/telnetd/Makefile
index 75a33dbc88f2..fac8ec4829b3 100644
--- a/libexec/telnetd/Makefile
+++ b/libexec/telnetd/Makefile
@@ -5,7 +5,7 @@
.include <bsd.own.mk>
-TELNETDIR= ${.CURDIR}/../../contrib/telnet
+TELNETDIR= ${SRCTOP}/contrib/telnet
.PATH: ${TELNETDIR}/telnetd
PROG= telnetd
@@ -27,7 +27,7 @@ CFLAGS+= -DINET6
CFLAGS+= -I${TELNETDIR}
CFLAGS+= -I${TELNETDIR}/telnet
-LIBTELNET= ${.OBJDIR}/../../lib/libtelnet/libtelnet.a
+LIBTELNET= ${OBJTOP}/lib/libtelnet/libtelnet.a
DPADD= ${LIBUTIL} ${LIBTERMCAP} ${LIBTELNET}
LDADD= -lutil -ltermcap ${LIBTELNET}
diff --git a/libexec/tftp-proxy/Makefile b/libexec/tftp-proxy/Makefile
index d8541c4b818e..596ca26cb61c 100644
--- a/libexec/tftp-proxy/Makefile
+++ b/libexec/tftp-proxy/Makefile
@@ -1,6 +1,6 @@
# $FreeBSD$
-.PATH: ${.CURDIR}/../../contrib/pf/tftp-proxy
+.PATH: ${SRCTOP}/contrib/pf/tftp-proxy
PROG= tftp-proxy
SRCS= tftp-proxy.c filter.c
diff --git a/libexec/ypxfr/Makefile b/libexec/ypxfr/Makefile
index 476a296fa7f3..24683309efdb 100644
--- a/libexec/ypxfr/Makefile
+++ b/libexec/ypxfr/Makefile
@@ -7,7 +7,7 @@ SRCS= yp_dblookup.c yp_dbwrite.c yp_error.c \
${GENSRCS}
GENSRCS=yp.h yp_clnt.c ypxfr_clnt.c
-.PATH: ${.CURDIR}/../../usr.sbin/ypserv
+.PATH: ${SRCTOP}/usr.sbin/ypserv
MAN= ypxfr.8
@@ -21,7 +21,7 @@ LDADD= -lrpcsvc
CLEANFILES= ${GENSRCS}
-RPCDIR= ${.CURDIR}/../../include/rpcsvc
+RPCDIR= ${SRCTOP}/include/rpcsvc
RPCGEN= RPCGEN_CPP=${CPP:Q} rpcgen -I -C
ypxfr_clnt.c: ${RPCDIR}/yp.x