1 1.1 christos 2 1.1 christos .include <bsd.own.mk> 3 1.1 christos 4 1.1 christos NOMAN=1 5 1.1 christos PROG=origin 6 1.1 christos LIBFOO != cd ${.CURDIR}/../lib && ${PRINTOBJDIR} 7 1.1 christos LDFLAGS+=-Wl,-R'$${ORIGIN}' -Wl,-L${LIBFOO} -lfoo 8 1.1 christos CPPFLAGS+=-I${.CURDIR}/../lib 9 1.1 christos 10 1.1 christos ${PROG}: libfoo.so.0 11 1.1 christos 12 1.1 christos libfoo.so.0: 13 1.1 christos cp ${LIBFOO}/libfoo.so.0 . 14 1.1 christos 15 1.1 christos CLEANFILES+=libfoo.so 16 1.1 christos 17 1.1 christos regress: ${PROG} 18 1.1 christos ./${PROG} 19 1.1 christos 20 1.1 christos .include <bsd.prog.mk> 21