head	1.6;
access;
symbols
	netbsd-11-0-RC4:1.4
	netbsd-11-0-RC3:1.4
	netbsd-11-0-RC2:1.4
	netbsd-11-0-RC1:1.4
	perseant-exfatfs-base-20250801:1.4
	netbsd-11:1.4.0.6
	netbsd-11-base:1.4
	netbsd-10-1-RELEASE:1.4
	perseant-exfatfs-base-20240630:1.4
	perseant-exfatfs:1.4.0.4
	perseant-exfatfs-base:1.4
	netbsd-9-4-RELEASE:1.2
	netbsd-10-0-RELEASE:1.4
	netbsd-10-0-RC6:1.4
	netbsd-10-0-RC5:1.4
	netbsd-10-0-RC4:1.4
	netbsd-10-0-RC3:1.4
	netbsd-10-0-RC2:1.4
	netbsd-10-0-RC1:1.4
	netbsd-10:1.4.0.2
	netbsd-10-base:1.4
	netbsd-9-3-RELEASE:1.2
	cjep_sun2x-base1:1.3
	cjep_sun2x:1.3.0.4
	cjep_sun2x-base:1.3
	cjep_staticlib_x-base1:1.3
	netbsd-9-2-RELEASE:1.2
	cjep_staticlib_x:1.3.0.2
	cjep_staticlib_x-base:1.3
	netbsd-9-1-RELEASE:1.2
	phil-wifi-20200421:1.2
	phil-wifi-20200411:1.2
	is-mlppp:1.2.0.8
	is-mlppp-base:1.2
	phil-wifi-20200406:1.2
	netbsd-9-0-RELEASE:1.2
	netbsd-9-0-RC2:1.2
	netbsd-9-0-RC1:1.2
	phil-wifi-20191119:1.2
	netbsd-9:1.2.0.6
	netbsd-9-base:1.2
	phil-wifi:1.2.0.4
	phil-wifi-20190609:1.2
	pgoyette-compat-merge-20190127:1.2.2.2
	pgoyette-compat-20190127:1.2
	pgoyette-compat-20190118:1.2
	pgoyette-compat-1226:1.2
	pgoyette-compat-1126:1.2
	pgoyette-compat-1020:1.2
	pgoyette-compat:1.2.0.2
	pgoyette-compat-0930:1.2;
locks; strict;
comment	@# @;


1.6
date	2026.04.28.15.21.14;	author tsutsui;	state Exp;
branches;
next	1.5;
commitid	W5pA6XIsbdORRJDG;

1.5
date	2026.04.12.18.58.47;	author jakllsch;	state Exp;
branches;
next	1.4;
commitid	HtkWa0S5HgNjAHBG;

1.4
date	2021.09.18.01.47.11;	author christos;	state Exp;
branches
	1.4.6.1;
next	1.3;
commitid	NKw39S32w03lsn9D;

1.3
date	2020.06.13.10.49.17;	author lukem;	state Exp;
branches;
next	1.2;
commitid	QOtnkhd7wV5oj3cC;

1.2
date	2018.09.25.11.41.35;	author joerg;	state Exp;
branches
	1.2.2.1
	1.2.4.1;
next	1.1;
commitid	fqBmhyB5HUNZKtTA;

1.1
date	2018.09.25.05.42.08;	author joerg;	state Exp;
branches;
next	;
commitid	7wDgCCvPFfFELrTA;

1.4.6.1
date	2026.05.15.09.29.11;	author martin;	state Exp;
branches;
next	;
commitid	qgA6tw3dt9TrnTFG;

1.2.2.1
date	2018.09.25.11.41.35;	author pgoyette;	state dead;
branches;
next	1.2.2.2;
commitid	SQ44grEPCeKPh4UA;

1.2.2.2
date	2018.09.30.01.45.59;	author pgoyette;	state Exp;
branches;
next	;
commitid	SQ44grEPCeKPh4UA;

1.2.4.1
date	2018.09.25.11.41.35;	author christos;	state dead;
branches;
next	1.2.4.2;
commitid	jtc8rnCzWiEEHGqB;

1.2.4.2
date	2019.06.10.22.10.16;	author christos;	state Exp;
branches;
next	;
commitid	jtc8rnCzWiEEHGqB;


desc
@@


1.6
log
@tools/xz: fix tools build errors on NetBSD/i386 hosts
@
text
@#	$NetBSD: Makefile,v 1.5 2026/04/12 18:58:47 jakllsch Exp $

.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"

CONFIGURE_ARGS+=	--enable-threads=no --disable-nls --disable-sandbox
CONFIGURE_ARGS+=	--disable-assembler
.if ${MAKEVERBOSE} == 0
CONFIGURE_ARGS+=	--silent
.endif

config.status: ${XZSRCDIR}/configure
	${HOST_SH} ${XZSRCDIR}/configure ${CONFIGURE_ARGS} \
	    CC=${HOST_CC:Q} CPPFLAGS=${HOST_CPPFLAGS:Q}

CLEANFILES+=	config.log config.status config.h libtool stamp-h1

realdepends realall: config.status

.include <bsd.hostprog.mk>
@


1.5
log
@Avoid "sandbox" features in tools xz; fixes tools build failure on Linux
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.4 2021/09/18 01:47:11 christos Exp $
d12 1
@


1.4
log
@Patch the build script and toolchain to allow passing through
HOST_CPPFLAGS, HOST_CXXFLAGS, but not LIBRARY_PATH because it breaks
the build. These variables are necessary to support building NetBSD
from a GNU Guix or NixOS host, where /usr/include, /lib, and all
but /bin/sh do not exist.  In many cases, support for HOST_CPPFLAGS
was incomplete. From Ryan Sundberg
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.3 2020/06/13 10:49:17 lukem Exp $
d11 1
a11 1
CONFIGURE_ARGS+=	--enable-threads=no --disable-nls
@


1.4.6.1
log
@Pull up following revision(s) (requested by hgutch in ticket #287):

	tools/xz-include/Makefile: revision 1.5
	tools/xz-include/Makefile: revision 1.6

Avoid "sandbox" features in tools xz; fixes tools build failure on Linux

tools/xz: fix tools build errors on NetBSD/i386 hosts
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.4 2021/09/18 01:47:11 christos Exp $
d11 1
a11 2
CONFIGURE_ARGS+=	--enable-threads=no --disable-nls --disable-sandbox
CONFIGURE_ARGS+=	--disable-assembler
@


1.3
log
@tools: configure --silent if MAKEVERBOSE == 0
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.2 2018/09/25 11:41:35 joerg Exp $
d18 1
a18 1
	    CC=${HOST_CC:Q}
@


1.2
log
@Don't include NLS for the tools build of xz.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.1 2018/09/25 05:42:08 joerg Exp $
d12 3
@


1.2.4.1
log
@file Makefile was added on branch phil-wifi on 2019-06-10 22:10:16 +0000
@
text
@d1 21
@


1.2.4.2
log
@Sync with HEAD
@
text
@a0 21
#	$NetBSD: Makefile,v 1.2 2018/09/25 11:41:35 joerg Exp $

.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"

CONFIGURE_ARGS+=	--enable-threads=no --disable-nls

config.status: ${XZSRCDIR}/configure
	${HOST_SH} ${XZSRCDIR}/configure ${CONFIGURE_ARGS} \
	    CC=${HOST_CC:Q}

CLEANFILES+=	config.log config.status config.h libtool stamp-h1

realdepends realall: config.status

.include <bsd.hostprog.mk>
@


1.2.2.1
log
@file Makefile was added on branch pgoyette-compat on 2018-09-30 01:45:59 +0000
@
text
@d1 21
@


1.2.2.2
log
@Ssync with HEAD
@
text
@a0 21
#	$NetBSD: Makefile,v 1.2 2018/09/25 11:41:35 joerg Exp $

.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"

CONFIGURE_ARGS+=	--enable-threads=no --disable-nls

config.status: ${XZSRCDIR}/configure
	${HOST_SH} ${XZSRCDIR}/configure ${CONFIGURE_ARGS} \
	    CC=${HOST_CC:Q}

CLEANFILES+=	config.log config.status config.h libtool stamp-h1

realdepends realall: config.status

.include <bsd.hostprog.mk>
@


1.1
log
@Update build glue for xz-5.2.4. Hook up tools version.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.22 2018/05/01 19:59:47 christos Exp $
d11 1
a11 1
CONFIGURE_ARGS+=	--enable-threads=no
@

