head	1.10;
access;
symbols
	netbsd-11-0-RC4:1.10
	netbsd-11-0-RC3:1.10
	netbsd-11-0-RC2:1.10
	netbsd-11-0-RC1:1.10
	perseant-exfatfs-base-20250801:1.10
	netbsd-11:1.10.0.12
	netbsd-11-base:1.10
	netbsd-10-1-RELEASE:1.10
	perseant-exfatfs-base-20240630:1.10
	perseant-exfatfs:1.10.0.10
	perseant-exfatfs-base:1.10
	netbsd-8-3-RELEASE:1.7
	netbsd-9-4-RELEASE:1.9
	netbsd-10-0-RELEASE:1.10
	netbsd-10-0-RC6:1.10
	netbsd-10-0-RC5:1.10
	netbsd-10-0-RC4:1.10
	netbsd-10-0-RC3:1.10
	netbsd-10-0-RC2:1.10
	netbsd-10-0-RC1:1.10
	netbsd-10:1.10.0.8
	netbsd-10-base:1.10
	netbsd-9-3-RELEASE:1.9
	cjep_sun2x-base1:1.10
	cjep_sun2x:1.10.0.6
	cjep_sun2x-base:1.10
	cjep_staticlib_x-base1:1.10
	netbsd-9-2-RELEASE:1.9
	cjep_staticlib_x:1.10.0.4
	cjep_staticlib_x-base:1.10
	netbsd-9-1-RELEASE:1.9
	phil-wifi-20200421:1.10
	phil-wifi-20200411:1.10
	is-mlppp:1.10.0.2
	is-mlppp-base:1.10
	phil-wifi-20200406:1.10
	netbsd-8-2-RELEASE:1.7
	netbsd-9-0-RELEASE:1.9
	netbsd-9-0-RC2:1.9
	netbsd-9-0-RC1:1.9
	phil-wifi-20191119:1.9
	netbsd-9:1.9.0.2
	netbsd-9-base:1.9
	phil-wifi-20190609:1.9
	netbsd-8-1-RELEASE:1.7
	netbsd-8-1-RC1:1.7
	pgoyette-compat-merge-20190127:1.7
	pgoyette-compat-20190127:1.7
	pgoyette-compat-20190118:1.7
	pgoyette-compat-1226:1.7
	pgoyette-compat-1126:1.7
	pgoyette-compat-1020:1.7
	pgoyette-compat-0930:1.7
	pgoyette-compat-0906:1.7
	netbsd-7-2-RELEASE:1.2
	pgoyette-compat-0728:1.7
	netbsd-8-0-RELEASE:1.7
	phil-wifi:1.7.0.12
	phil-wifi-base:1.7
	pgoyette-compat-0625:1.7
	netbsd-8-0-RC2:1.7
	pgoyette-compat-0521:1.7
	pgoyette-compat-0502:1.7
	pgoyette-compat-0422:1.7
	netbsd-8-0-RC1:1.7
	pgoyette-compat-0415:1.7
	pgoyette-compat-0407:1.7
	pgoyette-compat-0330:1.7
	pgoyette-compat-0322:1.7
	pgoyette-compat-0315:1.7
	netbsd-7-1-2-RELEASE:1.2
	pgoyette-compat:1.7.0.10
	pgoyette-compat-base:1.7
	netbsd-7-1-1-RELEASE:1.2
	matt-nb8-mediatek:1.7.0.8
	matt-nb8-mediatek-base:1.7
	perseant-stdc-iso10646:1.7.0.6
	perseant-stdc-iso10646-base:1.7
	netbsd-8:1.7.0.4
	netbsd-8-base:1.7
	prg-localcount2-base3:1.7
	prg-localcount2-base2:1.7
	prg-localcount2-base1:1.7
	prg-localcount2:1.7.0.2
	prg-localcount2-base:1.7
	pgoyette-localcount-20170426:1.7
	bouyer-socketcan-base1:1.7
	pgoyette-localcount-20170320:1.7
	netbsd-7-1:1.2.0.8
	netbsd-7-1-RELEASE:1.2
	netbsd-7-1-RC2:1.2
	netbsd-7-nhusb-base-20170116:1.2
	bouyer-socketcan:1.6.0.2
	bouyer-socketcan-base:1.6
	pgoyette-localcount-20170107:1.6
	netbsd-7-1-RC1:1.2
	pgoyette-localcount-20161104:1.6
	netbsd-7-0-2-RELEASE:1.2
	localcount-20160914:1.6
	netbsd-7-nhusb:1.2.0.6
	netbsd-7-nhusb-base:1.2
	pgoyette-localcount-20160806:1.5
	pgoyette-localcount-20160726:1.5
	pgoyette-localcount:1.5.0.2
	pgoyette-localcount-base:1.5
	netbsd-7-0-1-RELEASE:1.2
	netbsd-7-0:1.2.0.4
	netbsd-7-0-RELEASE:1.2
	netbsd-7-0-RC3:1.2
	netbsd-7-0-RC2:1.2
	netbsd-7-0-RC1:1.2
	netbsd-6-0-6-RELEASE:1.1
	netbsd-6-1-5-RELEASE:1.1
	netbsd-7:1.2.0.2
	netbsd-7-base:1.2
	yamt-pagecache-base9:1.1
	yamt-pagecache-tag8:1.1
	netbsd-6-1-4-RELEASE:1.1
	netbsd-6-0-5-RELEASE:1.1
	tls-earlyentropy:1.1.0.22
	tls-earlyentropy-base:1.2
	riastradh-xf86-video-intel-2-7-1-pre-2-21-15:1.1
	riastradh-drm2-base3:1.1
	netbsd-6-1-3-RELEASE:1.1
	netbsd-6-0-4-RELEASE:1.1
	netbsd-6-1-2-RELEASE:1.1
	netbsd-6-0-3-RELEASE:1.1
	netbsd-6-1-1-RELEASE:1.1
	riastradh-drm2-base2:1.1
	riastradh-drm2-base1:1.1
	riastradh-drm2:1.1.0.16
	riastradh-drm2-base:1.1
	netbsd-6-1:1.1.0.20
	netbsd-6-0-2-RELEASE:1.1
	netbsd-6-1-RELEASE:1.1
	netbsd-6-1-RC4:1.1
	netbsd-6-1-RC3:1.1
	agc-symver:1.1.0.18
	agc-symver-base:1.1
	netbsd-6-1-RC2:1.1
	netbsd-6-1-RC1:1.1
	yamt-pagecache-base8:1.1
	netbsd-6-0-1-RELEASE:1.1
	yamt-pagecache-base7:1.1
	matt-nb6-plus-nbase:1.1
	yamt-pagecache-base6:1.1
	netbsd-6-0:1.1.0.14
	netbsd-6-0-RELEASE:1.1
	netbsd-6-0-RC2:1.1
	tls-maxphys:1.1.0.12
	tls-maxphys-base:1.2
	matt-nb6-plus:1.1.0.10
	matt-nb6-plus-base:1.1
	netbsd-6-0-RC1:1.1
	yamt-pagecache-base5:1.1
	yamt-pagecache-base4:1.1
	netbsd-6:1.1.0.8
	netbsd-6-base:1.1
	yamt-pagecache-base3:1.1
	yamt-pagecache-base2:1.1
	yamt-pagecache:1.1.0.6
	yamt-pagecache-base:1.1
	cherry-xenmp:1.1.0.4
	cherry-xenmp-base:1.1
	bouyer-quota2-nbase:1.1
	bouyer-quota2:1.1.0.2
	bouyer-quota2-base:1.1
	matt-mips64-premerge-20101231:1.1;
locks; strict;
comment	@# @;


1.10
date	2020.03.01.18.08.16;	author christos;	state Exp;
branches;
next	1.9;
commitid	M7sRI2w4ldl05JYB;

1.9
date	2019.06.01.06.59.17;	author kre;	state Exp;
branches;
next	1.8;
commitid	o9grrG2qSKUYbspB;

1.8
date	2019.05.13.17.55.08;	author bad;	state Exp;
branches;
next	1.7;
commitid	qhcRKCD9dFQdq4nB;

1.7
date	2017.02.14.08.43.06;	author ozaki-r;	state Exp;
branches
	1.7.12.1;
next	1.6;
commitid	pizWiOpoIHAAFTFz;

1.6
date	2016.08.08.14.54.27;	author pgoyette;	state Exp;
branches
	1.6.2.1;
next	1.5;
commitid	bRkLKG1xDKDAPvhz;

1.5
date	2015.07.01.08.33.31;	author ozaki-r;	state Exp;
branches
	1.5.2.1;
next	1.4;
commitid	SEvMuUbuBDDHHyry;

1.4
date	2014.12.08.07.34.31;	author ozaki-r;	state Exp;
branches;
next	1.3;
commitid	1UvHETMzqLqHXc1y;

1.3
date	2014.12.08.04.23.03;	author ozaki-r;	state Exp;
branches;
next	1.2;
commitid	qSjji8YJ4miwTb1y;

1.2
date	2014.06.10.04.28.40;	author he;	state Exp;
branches;
next	1.1;
commitid	SD1EI7Ajtwu4LVDx;

1.1
date	2010.11.07.19.53.42;	author pooka;	state Exp;
branches
	1.1.12.1
	1.1.22.1;
next	;

1.7.12.1
date	2019.06.10.22.10.09;	author christos;	state Exp;
branches;
next	1.7.12.2;
commitid	jtc8rnCzWiEEHGqB;

1.7.12.2
date	2020.04.08.14.09.11;	author martin;	state Exp;
branches;
next	;
commitid	Qli2aW9E74UFuA3C;

1.6.2.1
date	2017.04.21.16.54.12;	author bouyer;	state Exp;
branches;
next	;
commitid	dUG7nkTKALCadqOz;

1.5.2.1
date	2017.03.20.06.58.01;	author pgoyette;	state Exp;
branches;
next	;
commitid	jjw7cAwgyKq7RfKz;

1.1.12.1
date	2014.08.20.00.04.52;	author tls;	state Exp;
branches;
next	;
commitid	jTnpym9Qu0o4R1Nx;

1.1.22.1
date	2014.08.10.06.57.30;	author tls;	state Exp;
branches;
next	;
commitid	4CgYGdNwHDWTCMLx;


desc
@@


1.10
log
@Centralize the base rump libraries into a variable used by all the other
Makefiles so that we can make changes to it centrally as needed and have
less mess. Fixes the sun2 build that needs rumpvfs after librump after
the latest changes.
@
text
@# $NetBSD: Makefile,v 1.9 2019/06/01 06:59:17 kre Exp $
#

.include <bsd.own.mk>

TESTSDIR=	${TESTSBASE}/net/if

TESTS_C=	t_compat
.for name in ifconf ifconfig
TESTS_SH+=		t_${name}
TESTS_SH_SRC_t_${name}=	../net_common.sh t_${name}.sh
.endfor

PROGS=		ifconf
MAN.ifconf=	# empty
BINDIR.ifconf=	${TESTSDIR}

LDADD.t_compat=		-lrumpnet_shmif -lrumpnet_netinet -lrumpnet_net -lrumpnet
LDADD.t_compat+=	${LIBRUMPBASE}

.include <bsd.test.mk>
@


1.9
log
@Deal with fallout from the addition of
	KERN_PROC_CWD in sysctl(3)
That is kern.proc.$$.KERN_PROC_CWD (I think - not that it matters here)

The effect is that -lrump now requires -lrumpvfs

This set of changes fixes (I believe) regular dynamic builds,
more might be required for static builds (will be verified soon).
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.8 2019/05/13 17:55:08 bad Exp $
d18 2
a19 2
LDADD.t_compat=		-lrumpnet_shmif -lrumpnet_netinet -lrumpnet_net -lrumpnet -lrump
LDADD.t_compat+=	-lrumpuser -lrump -lrumpvfs -lpthread
@


1.8
log
@Get rid of all the -lrumpdev and -lrumpvfs that are no longer needed
after moving rump's mainbus from rumpdev to rumpkern.

Produces the same atf-run results as before.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.7 2017/02/14 08:43:06 ozaki-r Exp $
d19 1
a19 1
LDADD.t_compat+=	-lrumpuser -lrump -lpthread
@


1.7
log
@Add tests for ifconfig up/down
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.6 2016/08/08 14:54:27 pgoyette Exp $
d19 1
a19 1
LDADD.t_compat+=	-lrumpuser -lrump -lpthread -lrumpdev -lrumpvfs
@


1.7.12.1
log
@Sync with HEAD
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.9 2019/06/01 06:59:17 kre Exp $
d19 1
a19 1
LDADD.t_compat+=	-lrumpuser -lrump -lrumpvfs -lpthread
@


1.7.12.2
log
@Merge changes from current as of 20200406
@
text
@d1 1
a1 1
# $NetBSD$
d18 2
a19 2
LDADD.t_compat=		-lrumpnet_shmif -lrumpnet_netinet -lrumpnet_net -lrumpnet
LDADD.t_compat+=	${LIBRUMPBASE}
@


1.6
log
@This one needs librump dev (and librumpvfs) too
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.5 2015/07/01 08:33:31 ozaki-r Exp $
d9 4
a12 2
TESTS_SH=	t_ifconf
TESTS_SH+=	t_ifconfig
@


1.6.2.1
log
@Sync with HEAD
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.7 2017/02/14 08:43:06 ozaki-r Exp $
d9 2
a10 4
.for name in ifconf ifconfig
TESTS_SH+=		t_${name}
TESTS_SH_SRC_t_${name}=	../net_common.sh t_${name}.sh
.endfor
@


1.5
log
@Add tests of interface creation/destruction
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.4 2014/12/08 07:34:31 ozaki-r Exp $
d17 1
a17 1
LDADD.t_compat+=	-lrumpuser -lrump -lpthread
@


1.5.2.1
log
@Sync with HEAD
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.7 2017/02/14 08:43:06 ozaki-r Exp $
d9 2
a10 4
.for name in ifconf ifconfig
TESTS_SH+=		t_${name}
TESTS_SH_SRC_t_${name}=	../net_common.sh t_${name}.sh
.endfor
@


1.4
log
@Fix LDADD.t_compat

This unbreaks the build.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.3 2014/12/08 04:23:03 ozaki-r Exp $
d10 1
@


1.3
log
@Add basic tests for ifconf (SIOCGIFCONF)
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.2 2014/06/10 04:28:40 he Exp $
d15 2
a16 2
LDADD.t_compat=	-lrumpnet_shmif -lrumpnet_netinet -lrumpnet_net -lrumpnet -lrump
LDADD.t_compat=	-lrumpuser -lrump -lpthread
@


1.2
log
@Fix static linking for the tests: -lrump is also used by -lrumpuser,
so we also need -lrump after -lrumpuser.  Fixes build for sun2.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.1 2010/11/07 19:53:42 pooka Exp $
d9 1
d11 6
a16 2
LDADD+=		-lrumpnet_shmif -lrumpnet_netinet -lrumpnet_net -lrumpnet -lrump
LDADD+=		-lrumpuser -lrump -lpthread
@


1.1
log
@convert program in PR kern/44054 to an atf test case
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.1 2010/04/21 11:07:34 pooka Exp $
d11 1
a11 1
LDADD+=		-lrumpuser -lpthread
@


1.1.12.1
log
@Rebase to HEAD as of a few days ago.
@
text
@d1 1
a1 1
# $NetBSD$
d11 1
a11 1
LDADD+=		-lrumpuser -lrump -lpthread
@


1.1.22.1
log
@Rebase.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.2 2014/06/10 04:28:40 he Exp $
d11 1
a11 1
LDADD+=		-lrumpuser -lrump -lpthread
@


