Add the atf shell subroutines
This adds the atf shell subroutines: i.e. the code that implements test programs and is shared among all of them to avoid duplication.
This commit is contained in:
parent
096ebe7672
commit
fa5c7fcfae
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: mi,v 1.726 2007/11/09 21:18:22 plunky Exp $
|
||||
# $NetBSD: mi,v 1.727 2007/11/12 14:57:35 jmmv Exp $
|
||||
. base-sys-root
|
||||
./altroot base-sys-root
|
||||
./bin base-sys-root
|
||||
|
@ -1324,6 +1324,11 @@
|
|||
./usr/sbin/zdump base-sysutil-bin
|
||||
./usr/sbin/zic base-sysutil-bin
|
||||
./usr/share base-sys-share
|
||||
./usr/share/atf base-atf-share
|
||||
./usr/share/atf/atf.config.subr base-atf-share
|
||||
./usr/share/atf/atf.footer.subr base-atf-share
|
||||
./usr/share/atf/atf.header.subr base-atf-share
|
||||
./usr/share/atf/atf.init.subr base-atf-share
|
||||
./usr/share/calendar base-calendar-share
|
||||
./usr/share/calendar/calendar.birthday base-calendar-share share
|
||||
./usr/share/calendar/calendar.christian base-calendar-share share
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: NetBSD.dist,v 1.343 2007/11/12 14:56:25 jmmv Exp $
|
||||
# $NetBSD: NetBSD.dist,v 1.344 2007/11/12 14:57:35 jmmv Exp $
|
||||
# @(#)4.4BSD.dist 8.1 (Berkeley) 6/13/93
|
||||
|
||||
# Do not customize this file as it may be overwritten on upgrades.
|
||||
|
@ -339,6 +339,7 @@
|
|||
./usr/pkg ignore optional
|
||||
./usr/sbin
|
||||
./usr/share
|
||||
./usr/share/atf
|
||||
./usr/share/calendar
|
||||
./usr/share/dhcpd
|
||||
./usr/share/dict
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.25 2006/08/30 03:20:46 yamt Exp $
|
||||
# $NetBSD: Makefile,v 1.26 2007/11/12 14:57:34 jmmv Exp $
|
||||
# from @(#)Makefile 8.1 (Berkeley) 6/5/93
|
||||
|
||||
# Missing: ms
|
||||
|
@ -7,7 +7,7 @@
|
|||
|
||||
.if ${MKSHARE} != "no" || \
|
||||
make(clean) || make(cleandir) || make(distclean) || make(obj)
|
||||
SUBDIR= dict doc examples legal man me misc mk \
|
||||
SUBDIR= atf dict doc examples legal man me misc mk \
|
||||
tabset termcap tmac wscons zoneinfo
|
||||
.if ${MKNLS} != "no"
|
||||
SUBDIR+=i18n locale nls
|
||||
|
|
|
@ -0,0 +1,23 @@
|
|||
# $NetBSD: Makefile,v 1.1 2007/11/12 14:57:35 jmmv Exp $
|
||||
|
||||
.include <bsd.own.mk>
|
||||
|
||||
SRCDIR= ${NETBSDSRCDIR}/dist/atf
|
||||
.PATH: ${SRCDIR}/subrs
|
||||
|
||||
.if ${MKSHARE} != "no"
|
||||
FILESDIR= /usr/share/atf
|
||||
FILESMODE= 444
|
||||
FILES= atf.config.subr \
|
||||
atf.footer.subr \
|
||||
atf.header.subr \
|
||||
atf.init.subr
|
||||
.endif
|
||||
|
||||
realall: atf.config.subr
|
||||
atf.config.subr: atf.config.subr.in
|
||||
sed -e 's,@SH_TRAP_DASH@,yes,g' \
|
||||
<${SRCDIR}/subrs/atf.config.subr.in >atf.config.subr
|
||||
CLEANFILES+= atf.config.subr
|
||||
|
||||
.include <bsd.prog.mk>
|
Loading…
Reference in New Issue