head	1.5;
access;
symbols
	netbsd-11-0-RC4:1.5
	netbsd-11-0-RC3:1.5
	netbsd-11-0-RC2:1.5
	netbsd-11-0-RC1:1.5
	perseant-exfatfs-base-20250801:1.5
	netbsd-11:1.5.0.12
	netbsd-11-base:1.5
	netbsd-10-1-RELEASE:1.5
	perseant-exfatfs-base-20240630:1.5
	perseant-exfatfs:1.5.0.10
	perseant-exfatfs-base:1.5
	netbsd-8-3-RELEASE:1.4
	netbsd-9-4-RELEASE:1.4
	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.8
	netbsd-10-base:1.5
	netbsd-9-3-RELEASE:1.4
	cjep_sun2x-base1:1.5
	cjep_sun2x:1.5.0.6
	cjep_sun2x-base:1.5
	cjep_staticlib_x-base1:1.5
	netbsd-9-2-RELEASE:1.4
	cjep_staticlib_x:1.5.0.4
	cjep_staticlib_x-base:1.5
	netbsd-9-1-RELEASE:1.4
	phil-wifi-20200421:1.5
	phil-wifi-20200411:1.5
	is-mlppp:1.5.0.2
	is-mlppp-base:1.5
	phil-wifi-20200406:1.5
	netbsd-8-2-RELEASE:1.4
	netbsd-9-0-RELEASE:1.4
	netbsd-9-0-RC2:1.4
	netbsd-9-0-RC1:1.4
	phil-wifi-20191119:1.4
	netbsd-9:1.4.0.26
	netbsd-9-base:1.4
	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.4
	pgoyette-compat-0728:1.4
	netbsd-8-0-RELEASE:1.4
	phil-wifi:1.4.0.24
	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.4
	pgoyette-compat:1.4.0.22
	pgoyette-compat-base:1.4
	netbsd-7-1-1-RELEASE:1.4
	matt-nb8-mediatek:1.4.0.20
	matt-nb8-mediatek-base:1.4
	perseant-stdc-iso10646:1.4.0.18
	perseant-stdc-iso10646-base:1.4
	netbsd-8:1.4.0.16
	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.14
	prg-localcount2-base:1.4
	pgoyette-localcount-20170426:1.4
	bouyer-socketcan-base1:1.4
	pgoyette-localcount-20170320:1.4
	netbsd-7-1:1.4.0.12
	netbsd-7-1-RELEASE:1.4
	netbsd-7-1-RC2:1.4
	netbsd-7-nhusb-base-20170116:1.4
	bouyer-socketcan:1.4.0.10
	bouyer-socketcan-base:1.4
	pgoyette-localcount-20170107:1.4
	netbsd-7-1-RC1:1.4
	pgoyette-localcount-20161104:1.4
	netbsd-7-0-2-RELEASE:1.4
	localcount-20160914:1.4
	netbsd-7-nhusb:1.4.0.8
	netbsd-7-nhusb-base:1.4
	pgoyette-localcount-20160806:1.4
	pgoyette-localcount-20160726:1.4
	pgoyette-localcount:1.4.0.6
	pgoyette-localcount-base:1.4
	netbsd-7-0-1-RELEASE:1.4
	netbsd-7-0:1.4.0.4
	netbsd-7-0-RELEASE:1.4
	netbsd-7-0-RC3:1.4
	netbsd-7-0-RC2:1.4
	netbsd-7-0-RC1:1.4
	netbsd-6-0-6-RELEASE:1.3
	netbsd-6-1-5-RELEASE:1.3
	netbsd-7:1.4.0.2
	netbsd-7-base:1.4
	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.22
	tls-earlyentropy-base:1.4
	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-6-1-2-RELEASE:1.3
	netbsd-6-0-3-RELEASE:1.3
	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.20
	netbsd-6-0-2-RELEASE:1.3
	netbsd-6-1-RELEASE:1.3
	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-6-0-1-RELEASE:1.3
	yamt-pagecache-base7:1.3
	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.4
	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
	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;
locks; strict;
comment	@# @;


1.5
date	2020.03.01.18.08.13;	author christos;	state Exp;
branches;
next	1.4;
commitid	M7sRI2w4ldl05JYB;

1.4
date	2014.06.10.04.28.39;	author he;	state Exp;
branches
	1.4.24.1;
next	1.3;
commitid	SD1EI7Ajtwu4LVDx;

1.3
date	2010.06.08.10.43.40;	author pooka;	state Exp;
branches
	1.3.12.1
	1.3.22.1;
next	1.2;

1.2
date	2010.04.26.23.47.25;	author pooka;	state Exp;
branches;
next	1.1;

1.1
date	2010.03.31.19.14.30;	author pooka;	state Exp;
branches;
next	;

1.4.24.1
date	2020.04.08.14.09.06;	author martin;	state Exp;
branches;
next	;
commitid	Qli2aW9E74UFuA3C;

1.3.12.1
date	2014.08.20.00.04.47;	author tls;	state Exp;
branches;
next	;
commitid	jTnpym9Qu0o4R1Nx;

1.3.22.1
date	2014.08.10.06.57.07;	author tls;	state Exp;
branches;
next	;
commitid	fDufvgpllf0MCMLx;


desc
@@


1.5
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.4 2014/06/10 04:28:39 he Exp $
#

.include <bsd.own.mk>

TESTSDIR=	${TESTSBASE}/fs/kernfs
WARNS=		4

TESTS_C=	t_basic


LDADD+=	-lrumpfs_kernfs						# fs driver
LDADD+=	${LIBRUMPBASE}

.include <bsd.test.mk>
@


1.4
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.3 2010/06/08 10:43:40 pooka Exp $
d4 2
a10 1
.include <bsd.own.mk>
d13 1
a13 1
LDADD+=	-lrumpvfs -lrump -lrumpuser -lrump -lpthread		# base
@


1.4.24.1
log
@Merge changes from current as of 20200406
@
text
@d1 1
a1 1
#	$NetBSD$
a3 2
.include <bsd.own.mk>

d9 1
d12 1
a12 1
LDADD+=	${LIBRUMPBASE}
@


1.3
log
@Use rump component libs on all platforms.  I'll add kernel module
autoloading as a separate test later.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.2 2010/04/26 23:47:25 pooka Exp $
d12 1
a12 1
LDADD+=	-lrumpvfs -lrump -lrumpuser -lpthread			# base
@


1.3.12.1
log
@Rebase to HEAD as of a few days ago.
@
text
@d1 1
a1 1
#	$NetBSD$
d12 1
a12 1
LDADD+=	-lrumpvfs -lrump -lrumpuser -lrump -lpthread		# base
@


1.3.22.1
log
@Rebase.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.4 2014/06/10 04:28:39 he Exp $
d12 1
a12 1
LDADD+=	-lrumpvfs -lrump -lrumpuser -lrump -lpthread		# base
@


1.2
log
@Undo infamous "mad \"scientist\"" experiment.  There is no need
for complicated application frobbing to get a kernel module loaded
into rump -- it will be loaded from the host automatically now.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.1 2010/03/31 19:14:30 pooka Exp $
a10 1
.ifndef RUMPKMOD
a11 1
.endif
@


1.1
log
@Add some basic tests for kernfs (getdents & changing hostname).

Per a "mad \"scientist\"" experiment, on i386 load kernfs support
from the installed kernel module instead of linking the driver in.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.2 2010/03/30 01:40:29 pooka Exp $
d9 3
a11 6
# use kernel module binary on i386
.if ${MACHINE} == "i386"
OSRELEASE!=	${HOST_SH} ${NETBSDSRCDIR}/sys/conf/osrelease.sh
CPPFLAGS+=	-DMODDIR=\"/stand/${MACHINE}/${OSRELEASE}/modules/kernfs/\"
CPPFLAGS+=	-DMODBASE=\"kernfs.kmod\"
.else
@

