head	1.11;
access;
symbols
	netbsd-11-0-RC4:1.11
	netbsd-11-0-RC3:1.11
	netbsd-11-0-RC2:1.11
	netbsd-11-0-RC1:1.11
	perseant-exfatfs-base-20250801:1.11
	netbsd-11:1.11.0.4
	netbsd-11-base:1.11
	netbsd-10-1-RELEASE:1.10
	perseant-exfatfs-base-20240630:1.11
	perseant-exfatfs:1.11.0.2
	perseant-exfatfs-base:1.11
	netbsd-8-3-RELEASE:1.5
	netbsd-9-4-RELEASE:1.5
	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.2
	netbsd-10-base:1.10
	netbsd-9-3-RELEASE:1.5
	cjep_sun2x-base1:1.9
	cjep_sun2x:1.9.0.4
	cjep_sun2x-base:1.9
	cjep_staticlib_x-base1:1.9
	netbsd-9-2-RELEASE:1.5
	cjep_staticlib_x:1.9.0.2
	cjep_staticlib_x-base:1.9
	netbsd-9-1-RELEASE:1.5
	phil-wifi-20200421:1.6
	phil-wifi-20200411:1.6
	is-mlppp:1.6.0.2
	is-mlppp-base:1.6
	phil-wifi-20200406:1.6
	netbsd-8-2-RELEASE:1.5
	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.16
	netbsd-9-base:1.5
	phil-wifi-20190609:1.5
	netbsd-8-1-RELEASE:1.5
	netbsd-8-1-RC1:1.5
	pgoyette-compat-merge-20190127:1.5
	pgoyette-compat-20190127:1.5
	pgoyette-compat-20190118:1.5
	pgoyette-compat-1226:1.5
	pgoyette-compat-1126:1.5
	pgoyette-compat-1020:1.5
	pgoyette-compat-0930:1.5
	pgoyette-compat-0906:1.5
	netbsd-7-2-RELEASE:1.2
	pgoyette-compat-0728:1.5
	netbsd-8-0-RELEASE:1.5
	phil-wifi:1.5.0.14
	phil-wifi-base:1.5
	pgoyette-compat-0625:1.5
	netbsd-8-0-RC2:1.5
	pgoyette-compat-0521:1.5
	pgoyette-compat-0502:1.5
	pgoyette-compat-0422:1.5
	netbsd-8-0-RC1:1.5
	pgoyette-compat-0415:1.5
	pgoyette-compat-0407:1.5
	pgoyette-compat-0330:1.5
	pgoyette-compat-0322:1.5
	pgoyette-compat-0315:1.5
	netbsd-7-1-2-RELEASE:1.2
	pgoyette-compat:1.5.0.12
	pgoyette-compat-base:1.5
	netbsd-7-1-1-RELEASE:1.2
	matt-nb8-mediatek:1.5.0.10
	matt-nb8-mediatek-base:1.5
	perseant-stdc-iso10646:1.5.0.8
	perseant-stdc-iso10646-base:1.5
	netbsd-8:1.5.0.6
	netbsd-8-base:1.5
	prg-localcount2-base3:1.5
	prg-localcount2-base2:1.5
	prg-localcount2-base1:1.5
	prg-localcount2:1.5.0.4
	prg-localcount2-base:1.5
	pgoyette-localcount-20170426:1.5
	bouyer-socketcan-base1:1.5
	pgoyette-localcount-20170320:1.5
	netbsd-7-1:1.2.0.28
	netbsd-7-1-RELEASE:1.2
	netbsd-7-1-RC2:1.2
	netbsd-7-nhusb-base-20170116:1.2
	bouyer-socketcan:1.5.0.2
	bouyer-socketcan-base:1.5
	pgoyette-localcount-20170107:1.2
	netbsd-7-1-RC1:1.2
	pgoyette-localcount-20161104:1.2
	netbsd-7-0-2-RELEASE:1.2
	localcount-20160914:1.2
	netbsd-7-nhusb:1.2.0.26
	netbsd-7-nhusb-base:1.2
	pgoyette-localcount-20160806:1.2
	pgoyette-localcount-20160726:1.2
	pgoyette-localcount:1.2.0.24
	pgoyette-localcount-base:1.2
	netbsd-7-0-1-RELEASE:1.2
	netbsd-7-0:1.2.0.22
	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.2
	netbsd-6-1-5-RELEASE:1.2
	netbsd-7:1.2.0.20
	netbsd-7-base:1.2
	yamt-pagecache-base9:1.2
	yamt-pagecache-tag8:1.2
	netbsd-6-1-4-RELEASE:1.2
	netbsd-6-0-5-RELEASE:1.2
	tls-earlyentropy:1.2.0.18
	tls-earlyentropy-base:1.2
	riastradh-xf86-video-intel-2-7-1-pre-2-21-15:1.2
	riastradh-drm2-base3:1.2
	netbsd-6-1-3-RELEASE:1.2
	netbsd-6-0-4-RELEASE:1.2
	netbsd-6-1-2-RELEASE:1.2
	netbsd-6-0-3-RELEASE:1.2
	netbsd-6-1-1-RELEASE:1.2
	riastradh-drm2-base2:1.2
	riastradh-drm2-base1:1.2
	riastradh-drm2:1.2.0.12
	riastradh-drm2-base:1.2
	netbsd-6-1:1.2.0.16
	netbsd-6-0-2-RELEASE:1.2
	netbsd-6-1-RELEASE:1.2
	netbsd-6-1-RC4:1.2
	netbsd-6-1-RC3:1.2
	agc-symver:1.2.0.14
	agc-symver-base:1.2
	netbsd-6-1-RC2:1.2
	netbsd-6-1-RC1:1.2
	yamt-pagecache-base8:1.2
	netbsd-6-0-1-RELEASE:1.2
	yamt-pagecache-base7:1.2
	matt-nb6-plus-nbase:1.2
	yamt-pagecache-base6:1.2
	netbsd-6-0:1.2.0.10
	netbsd-6-0-RELEASE:1.2
	netbsd-6-0-RC2:1.2
	tls-maxphys:1.2.0.8
	tls-maxphys-base:1.2
	matt-nb6-plus:1.2.0.6
	matt-nb6-plus-base:1.2
	netbsd-6-0-RC1:1.2
	yamt-pagecache-base5:1.2
	yamt-pagecache-base4:1.2
	netbsd-6:1.2.0.4
	netbsd-6-base:1.2
	yamt-pagecache-base3:1.2
	yamt-pagecache-base2:1.2
	yamt-pagecache:1.2.0.2
	yamt-pagecache-base:1.2
	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.11
date	2023.04.24.20.35.49;	author uwe;	state Exp;
branches;
next	1.10;
commitid	kp2p7xZb7qPcYomE;

1.10
date	2021.07.07.11.51.45;	author martin;	state Exp;
branches;
next	1.9;
commitid	uaomVgnLuOgm930D;

1.9
date	2020.05.17.18.52.43;	author christos;	state Exp;
branches;
next	1.8;
commitid	XlzUAtJ9dyI5RC8C;

1.8
date	2020.05.17.18.25.11;	author christos;	state Exp;
branches;
next	1.7;
commitid	nNrSazGfKSiGHC8C;

1.7
date	2020.05.15.23.32.28;	author christos;	state Exp;
branches;
next	1.6;
commitid	fAVtpUcif04Upo8C;

1.6
date	2020.03.01.18.08.12;	author christos;	state Exp;
branches;
next	1.5;
commitid	M7sRI2w4ldl05JYB;

1.5
date	2017.01.14.01.33.32;	author christos;	state Exp;
branches
	1.5.14.1;
next	1.4;
commitid	T1vkWCw6pj60iSBz;

1.4
date	2017.01.14.00.33.19;	author christos;	state Exp;
branches;
next	1.3;
commitid	PJp5x1Ky21RlXRBz;

1.3
date	2017.01.13.21.30.39;	author christos;	state Exp;
branches;
next	1.2;
commitid	2n4CBHhMt60IWQBz;

1.2
date	2011.09.16.16.30.18;	author joerg;	state Exp;
branches
	1.2.24.1;
next	1.1;

1.1
date	2010.11.03.16.10.19;	author christos;	state Exp;
branches;
next	;

1.5.14.1
date	2020.04.08.14.09.05;	author martin;	state Exp;
branches;
next	;
commitid	Qli2aW9E74UFuA3C;

1.2.24.1
date	2017.03.20.06.57.54;	author pgoyette;	state Exp;
branches;
next	;
commitid	jjw7cAwgyKq7RfKz;


desc
@@


1.11
log
@tests: trim down the list of LIBRUMPBASE libraries

Now that cyclic dependencies are (mostly) broken, we can drop repeated
-l instances that worked around those cycles.  Links on sun2.
@
text
@# $NetBSD: Makefile.inc,v 1.10 2021/07/07 11:51:45 martin Exp $
WARNS ?= 4
CWARNFLAGS+= -Wno-missing-noreturn
TOOLSSRCDIR:= ${.PARSEDIR}
CPPFLAGS+= -I${TOOLSSRCDIR}
.if ${RUMPFIFO:Uno} == "yes"
LIBRUMPFIFO_PRE = -lrumpvfs_fifofs -lrumpnet_local -lrumpnet_net -lrumpnet
.endif
LIBRUMPFIFO = -lrumpvfs_nofifofs 
LIBRUMPBASE = ${LIBRUMPFIFO_PRE} -lrumpvfs -lrumpvfs_nofifofs -lrump -lrumpuser -lpthread

.if ${RUMP_SANITIZE:Uno} != "no"
LIBRUMPBASE+=	-fsanitize=${RUMP_SANITIZE}
.endif
@


1.10
log
@Allow to set sanitizer flags for the rump build from the
build.sh command line, like: -V RUMP_SANITIZE=address
@
text
@d1 1
a1 1
# $NetBSD: Makefile.inc,v 1.9 2020/05/17 18:52:43 christos Exp $
d10 1
a10 1
LIBRUMPBASE = ${LIBRUMPFIFO_PRE} -lrumpvfs -lrump -lrumpvfs -lrumpvfs_nofifofs -lrumpuser -lrump -lpthread
@


1.9
log
@Fix sun2 build. Still there are some duplicate symbols in the rump libraries
that make this awkward.
@
text
@d1 1
a1 1
# $NetBSD: Makefile.inc,v 1.8 2020/05/17 18:25:11 christos Exp $
d12 3
@


1.8
log
@put librumpvfs_nofifofs after librumpvfs for the benefit of sun2
@
text
@d1 1
a1 1
# $NetBSD: Makefile.inc,v 1.7 2020/05/15 23:32:28 christos Exp $
d7 2
a8 2
LIBRUMPFIFO = -lrumpvfs_fifofs -lrumpnet_local -lrumpnet_net -lrumpnet
.else
d10 1
a10 2
.endif
LIBRUMPBASE = -lrumpvfs -lrump -lrumpvfs ${LIBRUMPFIFO} -lrumpuser -lrump -lpthread
@


1.7
log
@PR/55102: Kamil Rytarowski: Duplicate fifo_vnodeop_entries,
fifo_vnodeop_opv_desc symbols.

Many filesystems ffs, lfs, ulfs, chfs, ext2fs etc. use fifofs
internally for their fifo vnops. NFS does too, but it also needs
networking anyway.  Unfortunately fifofs brings in a lot of the
networking code so that the rumpkernel is not well partition. In
addition the fifo code is rarely used.

The existing hack depended on duplicating the above symbols and
adding minimal functionality for the majority of the the tests
(except the ffs and the puffs one). In these two cases both symbols
were loaded and the symbol sizes clashed which broke the sanitizers.
While this can be fixed with weak symbols and other kinds of
indirection, it is more straight forward to select between the
minimal and the full fifofs implementation by introducing a new
shared library librumpvfs_nofifofs.
@
text
@d1 1
a1 1
# $NetBSD: Makefile.inc,v 1.6 2020/03/01 18:08:12 christos Exp $
d11 1
a11 1
LIBRUMPBASE = -lrumpvfs -lrump ${LIBRUMPFIFO} -lrumpvfs -lrumpuser -lrump -lpthread
@


1.6
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
@d1 1
a1 1
# $NetBSD: Makefile.inc,v 1.5 2017/01/14 01:33:32 christos Exp $
d6 6
a11 1
LIBRUMPBASE = -lrumpvfs -lrump -lrumpvfs -lrumpuser -lrump -lpthread
@


1.5
log
@better name
@
text
@d1 1
a1 1
# $NetBSD: Makefile.inc,v 1.4 2017/01/14 00:33:19 christos Exp $
d6 2
@


1.5.14.1
log
@Merge changes from current as of 20200406
@
text
@d1 1
a1 1
# $NetBSD$
a5 2
LIBRUMPBASE = -lrumpvfs -lrump -lrumpvfs -lrumpuser -lrump -lpthread

@


1.4
log
@Do things in a less intrusive way.
@
text
@d1 1
a1 1
# $NetBSD: Makefile.inc,v 1.3 2017/01/13 21:30:39 christos Exp $
d4 2
a5 2
TOPSRCDIR:= ${.PARSEDIR}
CPPFLAGS+= -I${TOPSRCDIR}
@


1.3
log
@Don't play with "../.." in includes for h_macros.h; deal with it centrally.
Minor fixes.
@
text
@d1 1
a1 1
# $NetBSD: Makefile.inc,v 1.2 2011/09/16 16:30:18 joerg Exp $
d4 2
a5 1
CPPFLAGS:= ${CPPFLAGS} -I${.PARSEDIR}
@


1.2
log
@Do not care about dead functions for test cases, in this case it is
often enough just noise.
@
text
@d1 1
a1 1
# $NetBSD: Makefile.inc,v 1.1 2010/11/03 16:10:19 christos Exp $
d4 1
@


1.2.24.1
log
@Sync with HEAD
@
text
@d1 1
a1 1
# $NetBSD: Makefile.inc,v 1.5 2017/01/14 01:33:32 christos Exp $
a3 2
TOOLSSRCDIR:= ${.PARSEDIR}
CPPFLAGS+= -I${TOOLSSRCDIR}
@


1.1
log
@add Makefile.inc everywhere so that we can set WARNS=4 by default. Amazing
how many bugs this found :-)
@
text
@d1 1
a1 1
# $NetBSD$
d3 1
@

