Home | History | Annotate | Line # | Download | only in xz-include
      1 #	$NetBSD: Makefile,v 1.6 2026/04/28 15:21:14 tsutsui 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 --disable-sandbox
     12 CONFIGURE_ARGS+=	--disable-assembler
     13 .if ${MAKEVERBOSE} == 0
     14 CONFIGURE_ARGS+=	--silent
     15 .endif
     16 
     17 config.status: ${XZSRCDIR}/configure
     18 	${HOST_SH} ${XZSRCDIR}/configure ${CONFIGURE_ARGS} \
     19 	    CC=${HOST_CC:Q} CPPFLAGS=${HOST_CPPFLAGS:Q}
     20 
     21 CLEANFILES+=	config.log config.status config.h libtool stamp-h1
     22 
     23 realdepends realall: config.status
     24 
     25 .include <bsd.hostprog.mk>
     26