Home | History | Annotate | Line # | Download | only in prog
Makefile revision 1.4
      1  1.4  dholland # $NetBSD: Makefile,v 1.4 2008/03/09 22:44:41 dholland Exp $
      2  1.4  dholland 
      3  1.4  dholland 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