Expand PMF_FN_* macros.
[netbsd-mini2440.git] / regress / libexec / ld.elf_so / origin / prog / Makefile
blob892ebe06af52b566a9fd475c0bf84e3db6515adf
1 # $NetBSD: Makefile,v 1.4 2008/03/09 22:44:41 dholland Exp $
3 NOMAN=# defined (must be above bsd.own.mk)
5 .include <bsd.own.mk>
7 PROG=origin
8 LIBFOO != cd ${.CURDIR}/../lib && ${PRINTOBJDIR}
9 PROGDIR != cd ${.CURDIR} && ${PRINTOBJDIR}
10 LDFLAGS+=-Wl,-R'$${ORIGIN}' -Wl,-L${LIBFOO} -lfoo
11 CPPFLAGS+=-I${.CURDIR}/../lib
13 ${PROG}: libfoo.so.0
15 libfoo.so.0:
16 -@cp ${LIBFOO}/libfoo.so.0 .
18 CLEANFILES+=libfoo.so.0
20 # can't use ./${PROG} here because the kernel is still broken
21 # checkout the #ifdef notyet in kern_exec.c
22 regress: ${PROG}
23 ${PROGDIR}/${PROG}
25 .include <bsd.prog.mk>