NetBSD/lib/Makefile.inc

19 lines
436 B
PHP
Raw Normal View History

# $NetBSD: Makefile.inc,v 1.4 2004/07/30 07:02:53 lukem Exp $
2001-11-05 18:23:49 +03:00
WARNS?= 2
WFORMAT?= 2
.if ${MKPIC:Uno} != "no"
.if defined(DEPLIBS)
.for _lib in ${DEPLIBS}
.if !defined(DEPLIBOD.${_lib})
DEPLIBOD.${_lib}!= cd ${.CURDIR}/../lib${_lib} && ${PRINTOBJDIR}
.MAKEOVERRIDES+= DEPLIBOD.${_lib}
.endif
LDADD+= -L${DEPLIBOD.${_lib}} -l${_lib}
DPADD+= ${DEPLIBOD.${_lib}}/lib${_lib}.so
.endfor
.endif # defined(DEPLIBS)
.endif # MKPIC != no