2021-09-18 04:47:07 +03:00
|
|
|
# $NetBSD: Makefile,v 1.4 2021/09/18 01:47:11 christos Exp $
|
2018-09-25 08:42:08 +03:00
|
|
|
|
|
|
|
.include <bsd.hostinit.mk>
|
|
|
|
|
|
|
|
#
|
|
|
|
# Do *not* set HOSTPROG or HOSTLIB at this point otherwise
|
|
|
|
# it will create a loop trying to extract the object directory.
|
|
|
|
#
|
|
|
|
.include "Makefile.inc"
|
|
|
|
|
2018-09-25 14:41:35 +03:00
|
|
|
CONFIGURE_ARGS+= --enable-threads=no --disable-nls
|
2020-06-13 13:49:17 +03:00
|
|
|
.if ${MAKEVERBOSE} == 0
|
|
|
|
CONFIGURE_ARGS+= --silent
|
|
|
|
.endif
|
2018-09-25 08:42:08 +03:00
|
|
|
|
|
|
|
config.status: ${XZSRCDIR}/configure
|
|
|
|
${HOST_SH} ${XZSRCDIR}/configure ${CONFIGURE_ARGS} \
|
2021-09-18 04:47:07 +03:00
|
|
|
CC=${HOST_CC:Q} CPPFLAGS=${HOST_CPPFLAGS:Q}
|
2018-09-25 08:42:08 +03:00
|
|
|
|
|
|
|
CLEANFILES+= config.log config.status config.h libtool stamp-h1
|
|
|
|
|
|
|
|
realdepends realall: config.status
|
|
|
|
|
|
|
|
.include <bsd.hostprog.mk>
|