aboutsummaryrefslogtreecommitdiffstats
path: root/rescue/librescue/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'rescue/librescue/Makefile')
-rw-r--r--rescue/librescue/Makefile10
1 files changed, 5 insertions, 5 deletions
diff --git a/rescue/librescue/Makefile b/rescue/librescue/Makefile
index 4ca6db923c88..e7147d8e67ce 100644
--- a/rescue/librescue/Makefile
+++ b/rescue/librescue/Makefile
@@ -13,10 +13,10 @@ MK_SSP= no
# This library should never be installed, and isn't even linked
# with in the normal way. (See ../rescue/Makefile for details.)
-.PATH: ${.CURDIR}/../../lib/libc/gen \
- ${.CURDIR}/../../lib/libc/net \
- ${.CURDIR}/../../lib/libc/stdlib \
- ${.CURDIR}/../../lib/libutil
+.PATH: ${SRCTOP}/lib/libc/gen \
+ ${SRCTOP}/lib/libc/net \
+ ${SRCTOP}/lib/libc/stdlib \
+ ${SRCTOP}/lib/libutil
LIB= rescue
INTERNALLIB= # Don't install this library
@@ -42,6 +42,6 @@ CFLAGS+= -DYP
.if ${MK_HESIOD} != "no"
CFLAGS+= -DHESIOD
.endif
-CFLAGS+= -I${.CURDIR}/../../lib/libc/include
+CFLAGS+= -I${SRCTOP}/lib/libc/include
.include <bsd.lib.mk>