1 # $NetBSD: Makefile,v 1.4 2021/09/18 01:47:11 christos Exp $ 2 3 .include <bsd.hostinit.mk> 4 5 # 6 # Do *not* set HOSTPROG or HOSTLIB at this point otherwise 7 # it will create a loop trying to extract the object directory. 8 # 9 .include "Makefile.inc" 10 11 CONFIGURE_ARGS+= --enable-threads=no --disable-nls 12 .if ${MAKEVERBOSE} == 0 13 CONFIGURE_ARGS+= --silent 14 .endif 15 16 config.status: ${XZSRCDIR}/configure 17 ${HOST_SH} ${XZSRCDIR}/configure ${CONFIGURE_ARGS} \ 18 CC=${HOST_CC:Q} CPPFLAGS=${HOST_CPPFLAGS:Q} 19 20 CLEANFILES+= config.log config.status config.h libtool stamp-h1 21 22 realdepends realall: config.status 23 24 .include <bsd.hostprog.mk> 25