head	1.7;
access;
symbols
	netbsd-11-0-RC4:1.7
	netbsd-11-0-RC3:1.7
	netbsd-11-0-RC2:1.7
	netbsd-11-0-RC1:1.7
	perseant-exfatfs-base-20250801:1.7
	netbsd-11:1.7.0.2
	netbsd-11-base:1.7
	netbsd-10-1-RELEASE:1.5
	perseant-exfatfs-base-20240630:1.5
	perseant-exfatfs:1.5.0.12
	perseant-exfatfs-base:1.5
	netbsd-8-3-RELEASE:1.4
	netbsd-9-4-RELEASE:1.5
	netbsd-10-0-RELEASE:1.5
	netbsd-10-0-RC6:1.5
	netbsd-10-0-RC5:1.5
	netbsd-10-0-RC4:1.5
	netbsd-10-0-RC3:1.5
	netbsd-10-0-RC2:1.5
	netbsd-10-0-RC1:1.5
	netbsd-10:1.5.0.10
	netbsd-10-base:1.5
	netbsd-9-3-RELEASE:1.5
	cjep_sun2x-base1:1.5
	cjep_sun2x:1.5.0.8
	cjep_sun2x-base:1.5
	cjep_staticlib_x-base1:1.5
	netbsd-9-2-RELEASE:1.5
	cjep_staticlib_x:1.5.0.6
	cjep_staticlib_x-base:1.5
	netbsd-9-1-RELEASE:1.5
	phil-wifi-20200421:1.5
	phil-wifi-20200411:1.5
	is-mlppp:1.5.0.4
	is-mlppp-base:1.5
	phil-wifi-20200406:1.5
	netbsd-8-2-RELEASE:1.4
	netbsd-9-0-RELEASE:1.5
	netbsd-9-0-RC2:1.5
	netbsd-9-0-RC1:1.5
	phil-wifi-20191119:1.5
	netbsd-9:1.5.0.2
	netbsd-9-base:1.5
	phil-wifi-20190609:1.4
	netbsd-8-1-RELEASE:1.4
	netbsd-8-1-RC1:1.4
	pgoyette-compat-merge-20190127:1.4
	pgoyette-compat-20190127:1.4
	pgoyette-compat-20190118:1.4
	pgoyette-compat-1226:1.4
	pgoyette-compat-1126:1.4
	pgoyette-compat-1020:1.4
	pgoyette-compat-0930:1.4
	pgoyette-compat-0906:1.4
	netbsd-7-2-RELEASE:1.3
	pgoyette-compat-0728:1.4
	netbsd-8-0-RELEASE:1.4
	phil-wifi:1.4.0.12
	phil-wifi-base:1.4
	pgoyette-compat-0625:1.4
	netbsd-8-0-RC2:1.4
	pgoyette-compat-0521:1.4
	pgoyette-compat-0502:1.4
	pgoyette-compat-0422:1.4
	netbsd-8-0-RC1:1.4
	pgoyette-compat-0415:1.4
	pgoyette-compat-0407:1.4
	pgoyette-compat-0330:1.4
	pgoyette-compat-0322:1.4
	pgoyette-compat-0315:1.4
	netbsd-7-1-2-RELEASE:1.3
	pgoyette-compat:1.4.0.10
	pgoyette-compat-base:1.4
	netbsd-7-1-1-RELEASE:1.3
	matt-nb8-mediatek:1.4.0.8
	matt-nb8-mediatek-base:1.4
	perseant-stdc-iso10646:1.4.0.6
	perseant-stdc-iso10646-base:1.4
	netbsd-8:1.4.0.4
	netbsd-8-base:1.4
	prg-localcount2-base3:1.4
	prg-localcount2-base2:1.4
	prg-localcount2-base1:1.4
	prg-localcount2:1.4.0.2
	prg-localcount2-base:1.4
	pgoyette-localcount-20170426:1.4
	bouyer-socketcan-base1:1.4
	pgoyette-localcount-20170320:1.3
	netbsd-7-1:1.3.0.36
	netbsd-7-1-RELEASE:1.3
	netbsd-7-1-RC2:1.3
	netbsd-7-nhusb-base-20170116:1.3
	bouyer-socketcan:1.3.0.34
	bouyer-socketcan-base:1.3
	pgoyette-localcount-20170107:1.3
	netbsd-7-1-RC1:1.3
	pgoyette-localcount-20161104:1.3
	netbsd-7-0-2-RELEASE:1.3
	localcount-20160914:1.3
	netbsd-7-nhusb:1.3.0.32
	netbsd-7-nhusb-base:1.3
	pgoyette-localcount-20160806:1.3
	pgoyette-localcount-20160726:1.3
	pgoyette-localcount:1.3.0.30
	pgoyette-localcount-base:1.3
	netbsd-7-0-1-RELEASE:1.3
	netbsd-7-0:1.3.0.28
	netbsd-7-0-RELEASE:1.3
	netbsd-7-0-RC3:1.3
	netbsd-7-0-RC2:1.3
	netbsd-7-0-RC1:1.3
	netbsd-5-2-3-RELEASE:1.1
	netbsd-5-1-5-RELEASE:1.1
	netbsd-6-0-6-RELEASE:1.3
	netbsd-6-1-5-RELEASE:1.3
	netbsd-7:1.3.0.26
	netbsd-7-base:1.3
	yamt-pagecache-base9:1.3
	yamt-pagecache-tag8:1.3
	netbsd-6-1-4-RELEASE:1.3
	netbsd-6-0-5-RELEASE:1.3
	tls-earlyentropy:1.3.0.24
	tls-earlyentropy-base:1.3
	riastradh-xf86-video-intel-2-7-1-pre-2-21-15:1.3
	riastradh-drm2-base3:1.3
	netbsd-6-1-3-RELEASE:1.3
	netbsd-6-0-4-RELEASE:1.3
	netbsd-5-2-2-RELEASE:1.1
	netbsd-5-1-4-RELEASE:1.1
	netbsd-6-1-2-RELEASE:1.3
	netbsd-6-0-3-RELEASE:1.3
	netbsd-5-2-1-RELEASE:1.1
	netbsd-5-1-3-RELEASE:1.1
	netbsd-6-1-1-RELEASE:1.3
	riastradh-drm2-base2:1.3
	riastradh-drm2-base1:1.3
	riastradh-drm2:1.3.0.16
	riastradh-drm2-base:1.3
	netbsd-6-1:1.3.0.22
	netbsd-6-0-2-RELEASE:1.3
	netbsd-6-1-RELEASE:1.3
	khorben-n900:1.3.0.20
	netbsd-6-1-RC4:1.3
	netbsd-6-1-RC3:1.3
	agc-symver:1.3.0.18
	agc-symver-base:1.3
	netbsd-6-1-RC2:1.3
	netbsd-6-1-RC1:1.3
	yamt-pagecache-base8:1.3
	netbsd-5-2:1.1.0.2
	netbsd-6-0-1-RELEASE:1.3
	yamt-pagecache-base7:1.3
	netbsd-5-2-RELEASE:1.1
	netbsd-5-2-RC1:1.1
	matt-nb6-plus-nbase:1.3
	yamt-pagecache-base6:1.3
	netbsd-6-0:1.3.0.14
	netbsd-6-0-RELEASE:1.3
	netbsd-6-0-RC2:1.3
	tls-maxphys:1.3.0.12
	tls-maxphys-base:1.3
	matt-nb6-plus:1.3.0.10
	matt-nb6-plus-base:1.3
	netbsd-6-0-RC1:1.3
	yamt-pagecache-base5:1.3
	yamt-pagecache-base4:1.3
	netbsd-6:1.3.0.8
	netbsd-6-base:1.3
	netbsd-5-1-2-RELEASE:1.1
	netbsd-5-1-1-RELEASE:1.1
	yamt-pagecache-base3:1.3
	yamt-pagecache-base2:1.3
	yamt-pagecache:1.3.0.6
	yamt-pagecache-base:1.3
	cherry-xenmp:1.3.0.4
	cherry-xenmp-base:1.3
	bouyer-quota2-nbase:1.3
	bouyer-quota2:1.3.0.2
	bouyer-quota2-base:1.3
	matt-mips64-premerge-20101231:1.3
	matt-nb5-mips64-premerge-20101231:1.1
	matt-nb5-pq3:1.1.0.20
	matt-nb5-pq3-base:1.1
	netbsd-5-1:1.1.0.18
	netbsd-5-1-RELEASE:1.1
	netbsd-5-1-RC4:1.1
	matt-nb5-mips64-k15:1.1
	netbsd-5-1-RC3:1.1
	netbsd-5-1-RC2:1.1
	netbsd-5-1-RC1:1.1
	netbsd-5-0-2-RELEASE:1.1
	matt-nb5-mips64-premerge-20091211:1.1
	matt-premerge-20091211:1.1
	matt-nb5-mips64-u2-k2-k4-k7-k8-k9:1.1
	matt-nb4-mips64-k7-u2a-k9b:1.1
	matt-nb5-mips64-u1-k1-k5:1.1
	matt-nb5-mips64:1.1.0.16
	netbsd-5-0-1-RELEASE:1.1
	netbsd-4:1.1.0.14
	netbsd-4-0:1.1.0.12
	jym-xensuspend-nbase:1.1
	netbsd-5-0:1.1.0.10
	netbsd-5-0-RELEASE:1.1
	netbsd-5-0-RC4:1.1
	netbsd-5-0-RC3:1.1
	netbsd-5-0-RC2:1.1
	jym-xensuspend:1.1.0.8
	jym-xensuspend-base:1.1
	netbsd-5-0-RC1:1.1
	haad-dm-base:1.1
	haad-dm-base2:1.1
	haad-nbase2:1.1
	netbsd-5:1.1.0.6
	netbsd-5-base:1.1
	matt-mips64-base2:1.1
	haad-dm:1.1.0.4
	haad-dm-base1:1.1;
locks; strict;
comment	@# @;


1.7
date	2024.11.02.22.02.39;	author christos;	state Exp;
branches;
next	1.6;
commitid	5LzZxYwm1XzUv7wF;

1.6
date	2024.11.01.00.00.14;	author christos;	state Exp;
branches;
next	1.5;
commitid	kf8rG8YSSuEFdSvF;

1.5
date	2019.07.30.08.05.22;	author martin;	state Exp;
branches
	1.5.12.1;
next	1.4;
commitid	4x6jGjcbW30UE2xB;

1.4
date	2017.04.20.13.11.04;	author joerg;	state Exp;
branches
	1.4.12.1;
next	1.3;
commitid	2hEeS4gSOfFW3hOz;

1.3
date	2010.11.02.19.14.53;	author joerg;	state Exp;
branches
	1.3.30.1
	1.3.34.1;
next	1.2;

1.2
date	2010.02.20.02.55.53;	author joerg;	state Exp;
branches;
next	1.1;

1.1
date	2008.09.19.22.01.25;	author joerg;	state Exp;
branches
	1.1.4.1
	1.1.12.1
	1.1.14.1;
next	;

1.5.12.1
date	2025.08.02.05.21.37;	author perseant;	state Exp;
branches;
next	;
commitid	23j6GFaDws3O875G;

1.4.12.1
date	2020.04.13.07.46.02;	author martin;	state Exp;
branches;
next	;
commitid	X01YhRUPVUDaec4C;

1.3.30.1
date	2017.04.26.02.52.25;	author pgoyette;	state Exp;
branches;
next	;
commitid	ojV02aOSdzvBqZOz;

1.3.34.1
date	2017.04.21.16.51.25;	author bouyer;	state Exp;
branches;
next	;
commitid	dUG7nkTKALCadqOz;

1.1.4.1
date	2008.09.19.22.01.25;	author haad;	state dead;
branches;
next	1.1.4.2;

1.1.4.2
date	2008.10.19.22.39.50;	author haad;	state Exp;
branches;
next	;

1.1.12.1
date	2008.09.19.22.01.25;	author snj;	state dead;
branches;
next	1.1.12.2;

1.1.12.2
date	2009.06.05.17.01.46;	author snj;	state Exp;
branches;
next	;

1.1.14.1
date	2008.09.19.22.01.25;	author snj;	state dead;
branches;
next	1.1.14.2;

1.1.14.2
date	2009.06.05.17.19.29;	author snj;	state Exp;
branches;
next	;


desc
@@


1.7
log
@make zstd a private library (for now)
@
text
@# $NetBSD: Makefile.inc,v 1.6 2024/11/01 00:00:14 christos Exp $

.include "../Makefile.inc"

BINDIR=		/bin

.if (${MKDYNAMICROOT} == "no")
LDSTATIC?=	-static
.endif

DPADD+=	${LIBARCHIVE_FE} ${LIBARCHIVE} ${LIBEXPAT} ${LIBZSTD}
DPADD+=	${LIBBZ2} ${LIBLZMA} ${LIBZ} ${LIBCRYPTO} ${LIBPTHREAD}
LDADD+=	-L${LIBARCHIVE_FE_DIR} -larchive_fe -larchive -lexpat -lzstd
LDADD+=	-lbz2 -llzma -lz -lcrypto -lpthread
PROGDPLIBS+= ${ZSTDDPLIBS}

CPPFLAGS+=	-I${LIBARCHIVEDIR}/libarchive_fe
@


1.6
log
@fix static build
@
text
@d1 1
a1 1
# $NetBSD: Makefile.inc,v 1.5 2019/07/30 08:05:22 martin Exp $
d15 1
@


1.5
log
@Add libpthread to DPADD and LDADD, as libarchive now references it
@
text
@d1 1
a1 1
# $NetBSD: Makefile.inc,v 1.4 2017/04/20 13:11:04 joerg Exp $
d11 4
a14 4
DPADD=	${LIBARCHIVE_FE} ${LIBARCHIVE} ${LIBEXPAT} ${LIBBZ2} ${LIBLZMA} ${LIBZ} \
	${LIBCRYPTO} ${LIBPTHREAD}
LDADD=	-L${LIBARCHIVE_FE_DIR} -larchive_fe -larchive -lexpat -lbz2 -llzma -lz \
	-lcrypto -lpthread
@


1.5.12.1
log
@Sync with HEAD
@
text
@d1 1
a1 1
# $NetBSD: Makefile.inc,v 1.7 2024/11/02 22:02:39 christos Exp $
d11 4
a14 5
DPADD+=	${LIBARCHIVE_FE} ${LIBARCHIVE} ${LIBEXPAT} ${LIBZSTD}
DPADD+=	${LIBBZ2} ${LIBLZMA} ${LIBZ} ${LIBCRYPTO} ${LIBPTHREAD}
LDADD+=	-L${LIBARCHIVE_FE_DIR} -larchive_fe -larchive -lexpat -lzstd
LDADD+=	-lbz2 -llzma -lz -lcrypto -lpthread
PROGDPLIBS+= ${ZSTDDPLIBS}
@


1.4
log
@Update build system for libarchive-3.3.2pre.
@
text
@d1 1
a1 1
# $NetBSD: Makefile.inc,v 1.3 2010/11/02 19:14:53 joerg Exp $
d11 5
a15 2
DPADD=	${LIBARCHIVE_FE} ${LIBARCHIVE} ${LIBEXPAT} ${LIBBZ2} ${LIBLZMA} ${LIBZ} ${LIBCRYPTO}
LDADD=	-L${LIBARCHIVE_FE_DIR} -larchive_fe -larchive -lexpat -lbz2 -llzma -lz -lcrypto
@


1.4.12.1
log
@Mostly merge changes from HEAD upto 20200411
@
text
@d1 1
a1 1
# $NetBSD$
d11 2
a12 5
DPADD=	${LIBARCHIVE_FE} ${LIBARCHIVE} ${LIBEXPAT} ${LIBBZ2} ${LIBLZMA} ${LIBZ} \
	${LIBCRYPTO} ${LIBPTHREAD}
LDADD=	-L${LIBARCHIVE_FE_DIR} -larchive_fe -larchive -lexpat -lbz2 -llzma -lz \
	-lcrypto -lpthread

@


1.3
log
@Enable direct XZ support
@
text
@d1 1
a1 1
# $NetBSD: Makefile.inc,v 1.2 2010/02/20 02:55:53 joerg Exp $
d11 2
a12 2
DPADD=	${LIBARCHIVE_FE} ${LIBARCHIVE} ${LIBBZ2} ${LIBLZMA} ${LIBZ}
LDADD=	-L${LIBARCHIVE_FE_DIR} -larchive_fe -larchive -lbz2 -llzma -lz
@


1.3.30.1
log
@Sync with HEAD
@
text
@d1 1
a1 1
# $NetBSD: Makefile.inc,v 1.4 2017/04/20 13:11:04 joerg Exp $
d11 2
a12 2
DPADD=	${LIBARCHIVE_FE} ${LIBARCHIVE} ${LIBEXPAT} ${LIBBZ2} ${LIBLZMA} ${LIBZ} ${LIBCRYPTO}
LDADD=	-L${LIBARCHIVE_FE_DIR} -larchive_fe -larchive -lexpat -lbz2 -llzma -lz -lcrypto
@


1.3.34.1
log
@Sync with HEAD
@
text
@d1 1
a1 1
# $NetBSD: Makefile.inc,v 1.4 2017/04/20 13:11:04 joerg Exp $
d11 2
a12 2
DPADD=	${LIBARCHIVE_FE} ${LIBARCHIVE} ${LIBEXPAT} ${LIBBZ2} ${LIBLZMA} ${LIBZ} ${LIBCRYPTO}
LDADD=	-L${LIBARCHIVE_FE_DIR} -larchive_fe -larchive -lexpat -lbz2 -llzma -lz -lcrypto
@


1.2
log
@Update build infrastructure for libarchive 2.8.0.
@
text
@d1 1
a1 1
# $NetBSD: Makefile.inc,v 1.1 2008/09/19 22:01:25 joerg Exp $
d11 2
a12 2
DPADD=	${LIBARCHIVE_FE} ${LIBARCHIVE} ${LIBBZ2} ${LIBZ}
LDADD=	-L${LIBARCHIVE_FE_DIR} -larchive_fe -larchive -lbz2 -lz
@


1.1
log
@Add build glue for libarchive and the frontends. cpio and tar are still
disabled.
@
text
@d1 1
a1 1
# $NetBSD: Makefile.inc,v 1.1 2008/07/27 19:31:03 joerg Exp $
d10 4
@


1.1.14.1
log
@file Makefile.inc was added on branch netbsd-4 on 2009-06-05 17:19:29 +0000
@
text
@d1 9
@


1.1.14.2
log
@Pull up pkg_install-20090528, libarchive-2.5.5 and libfetch-2.23
with the associated build infrastructure as of 20090929 from HEAD.
@
text
@a0 9
# $NetBSD: Makefile.inc,v 1.1 2008/09/19 22:01:25 joerg Exp $

.include "../Makefile.inc"

BINDIR=		/bin

.if (${MKDYNAMICROOT} == "no")
LDSTATIC?=	-static
.endif
@


1.1.12.1
log
@file Makefile.inc was added on branch netbsd-4-0 on 2009-06-05 17:01:46 +0000
@
text
@d1 9
@


1.1.12.2
log
@Apply patch (requested by joerg in ticket #1322):
Pull up pkg_install-20090528, libarchive-2.5.5 and libfetch-2.23
with the associated build infrastructure as of 20090529 from HEAD.
@
text
@a0 9
# $NetBSD: Makefile.inc,v 1.1 2008/09/19 22:01:25 joerg Exp $

.include "../Makefile.inc"

BINDIR=		/bin

.if (${MKDYNAMICROOT} == "no")
LDSTATIC?=	-static
.endif
@


1.1.4.1
log
@file Makefile.inc was added on branch haad-dm on 2008-10-19 22:39:50 +0000
@
text
@d1 9
@


1.1.4.2
log
@Sync with HEAD.
@
text
@a0 9
# $NetBSD: Makefile.inc,v 1.1 2008/09/19 22:01:25 joerg Exp $

.include "../Makefile.inc"

BINDIR=		/bin

.if (${MKDYNAMICROOT} == "no")
LDSTATIC?=	-static
.endif
@
