NetBSD/external/mit/expat/Makefile.inc

15 lines
413 B
Makefile

# $NetBSD: Makefile.inc,v 1.1 2012/02/29 20:07:56 tron Exp $
.include <bsd.own.mk>
EXPATDIR= ${NETBSDSRCDIR}/external/mit/expat
EXPATSRCDIR= ${NETBSDSRCDIR}/external/mit/expat/dist
.for _LIB in expat
.if !defined(EXPATOBJDIR.${_LIB})
EXPATOBJDIR.${_LIB}!= cd ${EXPATDIR}/lib/lib${_LIB} && ${PRINTOBJDIR}
.MAKEOVERRIDES+= EXPATOBJDIR.${_LIB}
.endif
EXPATLIB.${_LIB}= ${EXPATOBJDIR.${_LIB}}/lib${_LIB}.a
.endfor