make this work with an absolute path and explain why.

This commit is contained in:
christos 2009-01-28 16:11:23 +00:00
parent 69f4b23bdc
commit 687caca4de
1 changed files with 5 additions and 2 deletions

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.4 2008/03/09 22:44:41 dholland Exp $
# $NetBSD: Makefile,v 1.5 2009/01/28 16:11:23 christos Exp $
NOMAN=# defined (must be above bsd.own.mk)
@ -6,6 +6,7 @@ NOMAN=# defined (must be above bsd.own.mk)
PROG=origin
LIBFOO != cd ${.CURDIR}/../lib && ${PRINTOBJDIR}
PROGDIR != cd ${.CURDIR} && ${PRINTOBJDIR}
LDFLAGS+=-Wl,-R'$${ORIGIN}' -Wl,-L${LIBFOO} -lfoo
CPPFLAGS+=-I${.CURDIR}/../lib
@ -16,7 +17,9 @@ libfoo.so.0:
CLEANFILES+=libfoo.so.0
# can't use ./${PROG} here because the kernel is still broken
# checkout the #ifdef notyet in kern_exec.c
regress: ${PROG}
./${PROG}
${PROGDIR}/${PROG}
.include <bsd.prog.mk>