1 1.3.4.1 matt # Makefile,v 1.3 2007/05/19 20:52:03 christos Exp 2 1.3.4.1 matt 3 1.3.4.1 matt NOMAN=# defined (must be above bsd.own.mk) 4 1.1 christos 5 1.1 christos .include <bsd.own.mk> 6 1.1 christos 7 1.1 christos PROG=origin 8 1.1 christos LIBFOO != cd ${.CURDIR}/../lib && ${PRINTOBJDIR} 9 1.1 christos LDFLAGS+=-Wl,-R'$${ORIGIN}' -Wl,-L${LIBFOO} -lfoo 10 1.1 christos CPPFLAGS+=-I${.CURDIR}/../lib 11 1.1 christos 12 1.1 christos ${PROG}: libfoo.so.0 13 1.1 christos 14 1.1 christos libfoo.so.0: 15 1.3 christos -@cp ${LIBFOO}/libfoo.so.0 . 16 1.1 christos 17 1.3 christos CLEANFILES+=libfoo.so.0 18 1.1 christos 19 1.1 christos regress: ${PROG} 20 1.1 christos ./${PROG} 21 1.1 christos 22 1.1 christos .include <bsd.prog.mk> 23