head	1.12;
access;
symbols
	perseant-exfatfs-base-20250801:1.12
	perseant-exfatfs-base-20240630:1.12
	perseant-exfatfs:1.12.0.122
	perseant-exfatfs-base:1.12
	bouyer-sunxi-drm:1.12.0.120
	bouyer-sunxi-drm-base:1.12
	cjep_sun2x:1.12.0.118
	cjep_sun2x-base:1.12
	cjep_staticlib_x-base1:1.12
	cjep_staticlib_x:1.12.0.116
	cjep_staticlib_x-base:1.12
	thorpej-futex-base:1.12
	bouyer-xenpvh-base2:1.12
	phil-wifi-20200421:1.12
	bouyer-xenpvh-base1:1.12
	phil-wifi-20200411:1.12
	bouyer-xenpvh:1.12.0.114
	bouyer-xenpvh-base:1.12
	phil-wifi-20200406:1.12
	ad-namecache-base3:1.12
	ad-namecache-base2:1.12
	ad-namecache-base1:1.12
	ad-namecache:1.12.0.112
	ad-namecache-base:1.12
	isaki-audio2:1.12.0.110
	isaki-audio2-base:1.12
	pgoyette-compat-merge-20190127:1.12
	pgoyette-compat-20190127:1.12
	pgoyette-compat-20190118:1.12
	pgoyette-compat-1226:1.12
	pgoyette-compat-1126:1.12
	pgoyette-compat-1020:1.12
	pgoyette-compat-0930:1.12
	pgoyette-compat-0906:1.12
	pgoyette-compat-0728:1.12
	pgoyette-compat-0625:1.12
	pgoyette-compat-0521:1.12
	pgoyette-compat-0502:1.12
	pgoyette-compat-0422:1.12
	pgoyette-compat-0415:1.12
	pgoyette-compat-0407:1.12
	pgoyette-compat-0330:1.12
	pgoyette-compat-0322:1.12
	pgoyette-compat-0315:1.12
	pgoyette-compat:1.12.0.108
	pgoyette-compat-base:1.12
	perseant-stdc-iso10646:1.12.0.106
	perseant-stdc-iso10646-base:1.12
	prg-localcount2-base3:1.12
	prg-localcount2-base2:1.12
	prg-localcount2-base1:1.12
	prg-localcount2:1.12.0.104
	prg-localcount2-base:1.12
	pgoyette-localcount-20170426:1.12
	bouyer-socketcan-base1:1.12
	pgoyette-localcount-20170320:1.12
	bouyer-socketcan:1.12.0.102
	bouyer-socketcan-base:1.12
	pgoyette-localcount-20170107:1.12
	pgoyette-localcount-20161104:1.12
	localcount-20160914:1.12
	pgoyette-localcount-20160806:1.12
	pgoyette-localcount-20160726:1.12
	pgoyette-localcount:1.12.0.100
	pgoyette-localcount-base:1.12
	netbsd-5-2-3-RELEASE:1.12
	netbsd-5-1-5-RELEASE:1.12
	yamt-pagecache-base9:1.12
	yamt-pagecache-tag8:1.12
	tls-earlyentropy:1.12.0.98
	tls-earlyentropy-base:1.12
	riastradh-xf86-video-intel-2-7-1-pre-2-21-15:1.12
	riastradh-drm2-base3:1.12
	netbsd-5-2-2-RELEASE:1.12
	netbsd-5-1-4-RELEASE:1.12
	netbsd-5-2-1-RELEASE:1.12
	netbsd-5-1-3-RELEASE:1.12
	rmind-smpnet-nbase:1.12
	rmind-smpnet:1.12.0.94
	rmind-smpnet-base:1.12
	agc-symver:1.12.0.96
	agc-symver-base:1.12
	tls-maxphys-base:1.12
	yamt-pagecache-base8:1.12
	netbsd-5-2:1.12.0.92
	yamt-pagecache-base7:1.12
	netbsd-5-2-RELEASE:1.12
	netbsd-5-2-RC1:1.12
	yamt-pagecache-base6:1.12
	yamt-pagecache-base5:1.12
	yamt-pagecache-base4:1.12
	netbsd-5-1-2-RELEASE:1.12
	netbsd-5-1-1-RELEASE:1.12
	jmcneill-usbmp:1.12.0.90
	jmcneill-usbmp-base:1.12
	jmcneill-audiomp3:1.12.0.88
	jmcneill-audiomp3-base:1.12
	yamt-pagecache-base3:1.12
	yamt-pagecache-base2:1.12
	yamt-pagecache:1.12.0.86
	yamt-pagecache-base:1.12
	rmind-uvmplock-nbase:1.12
	jym-xensuspend-nbase:1.12
	bouyer-quota2-nbase:1.12
	bouyer-quota2:1.12.0.84
	bouyer-quota2-base:1.12
	jruoho-x86intr:1.12.0.82
	jruoho-x86intr-base:1.12
	matt-nb5-pq3:1.12.0.80
	matt-nb5-pq3-base:1.12
	netbsd-5-1:1.12.0.78
	netbsd-5-1-RELEASE:1.12
	yamt-nfs-mp-base11:1.12
	netbsd-5-1-RC4:1.12
	uebayasi-xip-base2:1.12
	yamt-nfs-mp-base10:1.12
	netbsd-5-1-RC3:1.12
	netbsd-5-1-RC2:1.12
	netbsd-5-1-RC1:1.12
	rmind-uvmplock:1.12.0.76
	rmind-uvmplock-base:1.12
	yamt-nfs-mp-base9:1.12
	uebayasi-xip:1.12.0.74
	uebayasi-xip-base:1.12
	netbsd-5-0-2-RELEASE:1.12
	yamt-nfs-mp-base8:1.12
	yamt-nfs-mp-base7:1.12
	netbsd-5-0-1-RELEASE:1.12
	jymxensuspend-base:1.12
	yamt-nfs-mp-base6:1.12
	yamt-nfs-mp-base5:1.12
	yamt-nfs-mp-base4:1.12
	yamt-nfs-mp-base3:1.12
	netbsd-5-0:1.12.0.72
	netbsd-5-0-RELEASE:1.12
	netbsd-5-0-RC4:1.12
	netbsd-5-0-RC3:1.12
	netbsd-5-0-RC2:1.12
	jym-xensuspend:1.12.0.70
	jym-xensuspend-base:1.12
	netbsd-5-0-RC1:1.12
	haad-dm-base2:1.12
	haad-nbase2:1.12
	ad-audiomp2:1.12.0.68
	ad-audiomp2-base:1.12
	netbsd-5:1.12.0.66
	netbsd-5-base:1.12
	haad-dm-base1:1.12
	haad-dm:1.12.0.64
	haad-dm-base:1.12
	simonb-wapbl-nbase:1.12
	yamt-pf42-base4:1.12
	simonb-wapbl:1.12.0.62
	simonb-wapbl-base:1.12
	yamt-pf42-base3:1.12
	hpcarm-cleanup-nbase:1.12
	yamt-pf42-base2:1.12
	yamt-nfs-mp-base2:1.12
	yamt-nfs-mp:1.12.0.60
	yamt-nfs-mp-base:1.12
	yamt-pf42:1.12.0.58
	yamt-pf42-base:1.12
	ad-socklock-base1:1.12
	yamt-lazymbuf-base15:1.12
	yamt-lazymbuf-base14:1.12
	keiichi-mipv6-nbase:1.12
	mjf-devfs2:1.12.0.56
	mjf-devfs2-base:1.12
	keiichi-mipv6:1.12.0.54
	keiichi-mipv6-base:1.12
	bouyer-xeni386-merge1:1.12
	vmlocking2-base3:1.12
	bouyer-xeni386-nbase:1.12
	yamt-kmem-base3:1.12
	cube-autoconf:1.12.0.52
	cube-autoconf-base:1.12
	yamt-kmem-base2:1.12
	bouyer-xeni386:1.12.0.50
	bouyer-xeni386-base:1.12
	yamt-kmem:1.12.0.48
	yamt-kmem-base:1.12
	vmlocking2-base2:1.12
	reinoud-bufcleanup-nbase:1.12
	vmlocking2:1.12.0.46
	vmlocking2-base1:1.12
	jmcneill-base:1.12
	mjf-devfs:1.12.0.44
	mjf-devfs-base:1.12
	bouyer-xenamd64-base2:1.12
	vmlocking-nbase:1.12
	yamt-x86pmap-base4:1.12
	bouyer-xenamd64:1.12.0.42
	bouyer-xenamd64-base:1.12
	yamt-x86pmap-base3:1.12
	yamt-x86pmap-base2:1.12
	yamt-x86pmap:1.12.0.40
	yamt-x86pmap-base:1.12
	jmcneill-pm:1.12.0.38
	jmcneill-pm-base:1.12
	hpcarm-cleanup:1.12.0.36
	hpcarm-cleanup-base:1.12
	mjf-ufs-trans-base:1.12
	yamt-idlelwp-base8:1.12
	ppcoea-renovation:1.12.0.34
	ppcoea-renovation-base:1.12
	reinoud-bufcleanup-base:1.12
	vmlocking:1.12.0.32
	vmlocking-base:1.12
	ad-audiomp:1.12.0.30
	ad-audiomp-base:1.12
	yamt-idlelwp:1.12.0.28
	post-newlock2-merge:1.12
	newlock2-nbase:1.12
	yamt-splraiseipl-base5:1.12
	yamt-splraiseipl-base4:1.12
	yamt-splraiseipl-base3:1.12
	yamt-splraiseipl-base2:1.12
	yamt-splraiseipl:1.12.0.26
	yamt-splraiseipl-base:1.12
	newlock2:1.12.0.24
	newlock2-base:1.12
	yamt-pdpolicy-base8:1.12
	yamt-pdpolicy-base7:1.12
	yamt-pdpolicy-base6:1.12
	gdamore-uart:1.12.0.22
	gdamore-uart-base:1.12
	simonb-timcounters-final:1.12
	yamt-pdpolicy-base5:1.12
	elad-kernelauth-nbase:1.12
	yamt-pdpolicy-base4:1.12
	yamt-pdpolicy-base3:1.12
	yamt-pdpolicy-base2:1.12
	yamt-pdpolicy:1.12.0.20
	yamt-pdpolicy-base:1.12
	yamt-uio_vmspace-base5:1.12
	simonb-timecounters:1.12.0.18
	simonb-timecounters-base:1.12
	rpaulo-netinet-merge-pcb:1.12.0.16
	rpaulo-netinet-merge-pcb-base:1.12
	yamt-uio_vmspace:1.12.0.14
	yamt-readahead-base3:1.12
	yamt-readahead-base2:1.12
	yamt-readahead:1.12.0.12
	yamt-readahead-base:1.12
	yamt-vop-base3:1.12
	netbsd-2-0-3-RELEASE:1.10
	netbsd-2-1:1.10.4.1.0.2
	yamt-vop-base2:1.12
	thorpej-vnode-attr:1.12.0.10
	thorpej-vnode-attr-base:1.12
	netbsd-2-1-RELEASE:1.10.4.1
	yamt-vop:1.12.0.8
	yamt-vop-base:1.12
	netbsd-2-1-RC6:1.10.4.1
	netbsd-2-1-RC5:1.10.4.1
	netbsd-2-1-RC4:1.10.4.1
	netbsd-2-1-RC3:1.10.4.1
	netbsd-2-1-RC2:1.10.4.1
	netbsd-2-1-RC1:1.10.4.1
	yamt-lazymbuf:1.12.0.6
	yamt-km-base4:1.12
	netbsd-2-0-2-RELEASE:1.10
	yamt-km-base3:1.12
	yamt-km-base2:1.12
	yamt-km:1.12.0.4
	yamt-km-base:1.12
	kent-audio2:1.12.0.2
	kent-audio2-base:1.12
	netbsd-2-0-1-RELEASE:1.10
	netbsd-2:1.10.0.4
	netbsd-2-base:1.10
	kent-audio1:1.11.0.2
	kent-audio1-base:1.11
	netbsd-2-0-RELEASE:1.10
	netbsd-2-0-RC5:1.10
	ktrace-lwp-newbase:1.11
	netbsd-2-0-RC4:1.10
	netbsd-2-0-RC3:1.10
	netbsd-2-0-RC2:1.10
	netbsd-2-0-RC1:1.10
	netbsd-2-0:1.10.0.2
	netbsd-2-0-base:1.10
	netbsd-1-6-PATCH002-RELEASE:1.8
	netbsd-1-6-PATCH002:1.8
	netbsd-1-6-PATCH002-RC4:1.8
	netbsd-1-6-PATCH002-RC3:1.8
	netbsd-1-6-PATCH002-RC2:1.8
	netbsd-1-6-PATCH002-RC1:1.8
	ktrace-lwp:1.9.0.2
	ktrace-lwp-base:1.11
	netbsd-1-6-PATCH001:1.8
	netbsd-1-6-PATCH001-RELEASE:1.8
	netbsd-1-6-PATCH001-RC3:1.8
	netbsd-1-6-PATCH001-RC2:1.8
	netbsd-1-6-PATCH001-RC1:1.8
	nathanw_sa_before_merge:1.9
	fvdl_fs64_base:1.8
	gmcgarry_ctxsw:1.8.0.14
	gmcgarry_ctxsw_base:1.8
	gmcgarry_ucred:1.8.0.12
	gmcgarry_ucred_base:1.8
	kqueue-aftermerge:1.8
	kqueue-beforemerge:1.8
	netbsd-1-6-RELEASE:1.8
	netbsd-1-6-RC3:1.8
	netbsd-1-6-RC2:1.8
	netbsd-1-6-RC1:1.8
	netbsd-1-6:1.8.0.10
	netbsd-1-6-base:1.8
	gehenna-devsw:1.8.0.8
	gehenna-devsw-base:1.8
	netbsd-1-5-PATCH003:1.1
	eeh-devprop:1.8.0.6
	eeh-devprop-base:1.8
	newlock:1.8.0.4
	newlock-base:1.8
	ifpoll-base:1.8
	thorpej-mips-cache:1.4.0.2
	thorpej-mips-cache-base:1.5
	thorpej-devvp-base3:1.3
	thorpej-devvp-base2:1.3
	post-chs-ubcperf:1.3
	pre-chs-ubcperf:1.3
	thorpej-devvp:1.3.0.4
	thorpej-devvp-base:1.3
	netbsd-1-5-PATCH002:1.1
	kqueue:1.3.0.2
	kqueue-base:1.8
	netbsd-1-5-PATCH001:1.1
	thorpej_scsipi_beforemerge:1.2
	thorpej_scsipi_nbase:1.2
	thorpej_scsipi_base:1.2
	thorpej_scsipi:1.1.0.6
	netbsd-1-5-RELEASE:1.1
	netbsd-1-5-BETA2:1.1
	netbsd-1-5-BETA:1.1
	netbsd-1-5-ALPHA2:1.1
	netbsd-1-5:1.1.0.4
	netbsd-1-5-base:1.1
	minoura-xpg4dl:1.1.0.2
	minoura-xpg4dl-base:1.1;
locks; strict;
comment	@# @;


1.12
date	2004.12.16.21.51.04;	author is;	state dead;
branches;
next	1.11;

1.11
date	2004.06.04.04.45.50;	author thorpej;	state Exp;
branches;
next	1.10;

1.10
date	2003.09.27.21.32.12;	author is;	state Exp;
branches
	1.10.4.1;
next	1.9;

1.9
date	2003.01.06.13.04.59;	author wiz;	state Exp;
branches
	1.9.2.1;
next	1.8;

1.8
date	2001.12.09.05.00.41;	author atatat;	state Exp;
branches;
next	1.7;

1.7
date	2001.12.01.14.12.58;	author aymeric;	state Exp;
branches;
next	1.6;

1.6
date	2001.11.20.12.56.21;	author lukem;	state Exp;
branches;
next	1.5;

1.5
date	2001.10.26.06.45.34;	author jmc;	state Exp;
branches;
next	1.4;

1.4
date	2001.10.23.19.26.42;	author thorpej;	state Exp;
branches
	1.4.2.1;
next	1.3;

1.3
date	2001.05.29.02.20.21;	author mrg;	state Exp;
branches
	1.3.2.1;
next	1.2;

1.2
date	2000.12.17.15.52.40;	author jdolecek;	state Exp;
branches
	1.2.2.1;
next	1.1;

1.1
date	2000.05.25.22.11.58;	author is;	state Exp;
branches
	1.1.6.1;
next	;

1.10.4.1
date	2005.02.06.07.45.24;	author jmc;	state Exp;
branches;
next	;

1.9.2.1
date	2004.08.03.10.32.09;	author skrll;	state Exp;
branches;
next	1.9.2.2;

1.9.2.2
date	2004.09.18.14.31.56;	author skrll;	state Exp;
branches;
next	1.9.2.3;

1.9.2.3
date	2004.09.21.13.12.47;	author skrll;	state Exp;
branches;
next	1.9.2.4;

1.9.2.4
date	2004.12.18.09.31.01;	author skrll;	state dead;
branches;
next	;

1.4.2.1
date	2001.11.12.21.16.23;	author thorpej;	state Exp;
branches;
next	;

1.3.2.1
date	2002.01.10.19.37.35;	author thorpej;	state Exp;
branches;
next	;

1.2.2.1
date	2001.06.21.19.17.48;	author nathanw;	state Exp;
branches;
next	;

1.1.6.1
date	2000.05.25.22.11.58;	author bouyer;	state dead;
branches;
next	1.1.6.2;

1.1.6.2
date	2000.11.20.19.59.36;	author bouyer;	state Exp;
branches;
next	1.1.6.3;

1.1.6.3
date	2001.01.05.17.33.52;	author bouyer;	state Exp;
branches;
next	;


desc
@@


1.12
log
@new world order
@
text
@#	$NetBSD: Makefile.amigappc,v 1.11 2004/06/04 04:45:50 thorpej Exp $

# Makefile for NetBSD
#
# This makefile is constructed from a machine description:
#	config machineid
# Most changes should be made in the machine description
#	/sys/arch/amiga/conf/``machineid''
# after which you should do
#	config machineid
# Machine generic makefile changes should be made in
#	/sys/arch/amiga/conf/Makefile.amiga
# after which config should be rerun for all machines of that type.
#
# To specify debugging, add the config line: makeoptions DEBUG="-g"
# A better way is to specify -g only for a few files.
#
#	makeoptions DEBUGLIST="uvm* trap if_*"

MACHINE_ARCH=powerpc
USETOOLS?=	yes
NEED_OWN_INSTALL_TARGET?=no
.include <bsd.own.mk>

AR?=		ar
AS?=		as
CC?=		cc
CPP?=		cpp
LD?=		ld
NM?=		nm
RANLIB?=	ranlib
SIZE?=		size
STRIP?=		strip

##
## (1) port identification
##
MACHTYPE=	powerpc
AMIGA=		$S/arch/amigappc
GENASSYM=	${AMIGA}/amigappc/genassym.cf

##
## (2) compile settings
##
CPPFLAGS+=	-Damiga -DFPCOPROC
.if empty(IDENT:M-DPPC604E)
CMACHFLAGS=	-mcpu=603e
.else
CMACHFLAGS=	-mcpu=604e
.endif
DEFWARNINGS=	no
CWARNFLAGS=	-Werror -Wno-main -Wpointer-arith -Wreturn-type
CFLAGS+=	${CMACHFLAGS} -msoft-float
AFLAGS+=	-x assembler-with-cpp -traditional-cpp

.SUFFIXES: .o .g

.g.o: ; echo This is a dummy rule and should not be executed.

NORMAL_G=	gspa < $< | gspahextoc > $*.c; ${CC} -c ${CFLAGS} ${PROF} $*.c

##
## (3) libkern and compat
##
KERN_AS=	obj

##
## (4) local objects, compile rules, and dependencies
##
MD_OBJS=	locore.o
MD_CFILES=
MD_SFILES=	${AMIGA}/amigappc/locore.S

locore.o: ${AMIGA}/amigappc/locore.S assym.h
	${NORMAL_S}

##
## (5) link settings
##
LINKFORMAT=	-N
TEXTADDR?=	0x7c00000
ENTRYPOINT=	__start
LINKFLAGS_NORMAL=	-x

##
## (6) port specific target dependencies
##

# depend on CPU configuration
amiga_init.o locore.o pmap.o sys_machdep.o: Makefile
bzsc.o bztzsc.o cbiisc.o cbsc.o flsc.o sbic.o: Makefile

# depends on defined(DRACO)
a2kbbc.o: Makefile

# LEV6_DEFER blocks usage of audio interrupt 3:
aucc.o cc.o: Makefile

##
## (7) misc settings
##

##
## (8) config(8) generated machinery
##
%INCLUDES

%OBJS

%CFILES

%SFILES

%LOAD

%RULES

##
## (9) port independent kernel machinery
##
.include "$S/conf/Makefile.kern.inc"

##
## (10) Appending make options.
##
%MAKEOPTIONSAPPEND
@


1.11
log
@Add the %MAKEOPTIONSAPPEND token at the end of the file, after the
common Makefile.kern.inc has been included.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.amigappc,v 1.10 2003/09/27 21:32:12 is Exp $
@


1.10
log
@Bring some stuff up-to-date. To be continued.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.amigappc,v 1.9 2003/01/06 13:04:59 wiz Exp $
d122 5
@


1.10.4.1
log
@Pull up patch (requested by martti in ticket #1086)
Move ipf to sys/dist/ipf and sync w. trunk
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.amigappc,v 1.10 2003/09/27 21:32:12 is Exp $
a121 5

##
## (10) IPF source directory
##
CPPFLAGS+=	-I$S/dist/ipf
@


1.9
log
@interrupt with two rs.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.amigappc,v 1.8 2001/12/09 05:00:41 atatat Exp $
d21 1
a21 1
USETOOLS?=	no
d25 9
a33 9
AR?=		/usr/pkg/cross/powerpc-netbsd/bin/ar
AS?=		/usr/pkg/cross/powerpc-netbsd/bin/as
CC?=		/usr/pkg/cross/powerpc-netbsd/bin/cc
CPP?=		/usr/pkg/cross/lib/gcc-lib/powerpc-netbsd/egcs-2.91.60/cpp
LD?=		/usr/pkg/cross/powerpc-netbsd/bin/ld
NM?=		/usr/pkg/cross/powerpc-netbsd/bin/nm
RANLIB?=	/usr/pkg/cross/powerpc-netbsd/bin/ranlib
SIZE?=		/usr/pkg/cross/powerpc-netbsd/bin/size
STRIP?=		/usr/pkg/cross/powerpc-netbsd/bin/strip
@


1.9.2.1
log
@Sync with HEAD
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.amigappc,v 1.11 2004/06/04 04:45:50 thorpej Exp $
d21 1
a21 1
USETOOLS?=	yes
d25 9
a33 9
AR?=		ar
AS?=		as
CC?=		cc
CPP?=		cpp
LD?=		ld
NM?=		nm
RANLIB?=	ranlib
SIZE?=		size
STRIP?=		strip
a121 5

##
## (10) Appending make options.
##
%MAKEOPTIONSAPPEND
@


1.9.2.2
log
@Sync with HEAD.
@
text
@@


1.9.2.3
log
@Fix the sync with head I botched.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.amigappc,v 1.9.2.1 2004/08/03 10:32:09 skrll Exp $
@


1.9.2.4
log
@Sync with HEAD.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.amigappc,v 1.9.2.3 2004/09/21 13:12:47 skrll Exp $
@


1.8
log
@Roll the rest of the ports over to the new MI kernel build machinery.
Any problems reported by testers have been fixed, and massive
cross-compiling of kernels has shown that any problems that remain
with actually building kernels are not related to this.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.amigappc,v 1.7 2001/12/01 14:12:58 aymeric Exp $
d96 1
a96 1
# LEV6_DEFER blocks usage of audio interupt 3:
@


1.7
log
@catch up with "recent" new egcs check
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.amigappc,v 1.6 2001/11/20 12:56:21 lukem Exp $
d14 5
d22 1
a22 1

d25 6
a30 13
# DEBUG is set to -g if debugging.
# PROF is set to -pg if profiling.

MACHTYPE=powerpc

AR?=	/usr/pkg/cross/powerpc-netbsd/bin/ar
AS?=	/usr/pkg/cross/powerpc-netbsd/bin/as
CC?=	/usr/pkg/cross/powerpc-netbsd/bin/cc
CPP?=	/usr/pkg/cross/lib/gcc-lib/powerpc-netbsd/egcs-2.91.60/cpp
LD?=	/usr/pkg/cross/powerpc-netbsd/bin/ld
LORDER?=lorder
MKDEP?=	mkdep
NM?=	/usr/pkg/cross/powerpc-netbsd/bin/nm
d32 2
a33 11
SIZE?=	/usr/pkg/cross/powerpc-netbsd/bin/size
STRIP?=	/usr/pkg/cross/powerpc-netbsd/bin/strip
TSORT?=	tsort -q

COPTS?=	-O2

# source tree is located via $S relative to the compilation directory
.ifndef S
S!=	cd ../../../..; pwd
.endif
AMIGA=	$S/arch/amigappc
d35 11
a45 7
HAVE_EGCS!=	${CC} --version | egrep "^(2\.[89]|egcs)" ; echo
INCLUDES=	-I. -I$S/arch -I$S -nostdinc
CPPFLAGS=	${INCLUDES} ${IDENT} ${PARAM} -D_KERNEL -D_KERNEL_OPT -Damiga -DFPCOPROC
CWARNFLAGS?=	 -Werror -Wreturn-type -Wpointer-arith
.if (${HAVE_EGCS} != "")
CWARNFLAGS+=	-Wno-main
.endif
d51 4
a54 30
CFLAGS=		${DEBUG} ${CWARNFLAGS} ${COPTS} ${CMACHFLAGS} -msoft-float
AFLAGS=		-x assembler-with-cpp -traditional-cpp -D_LOCORE
LINKFLAGS=	-N -Ttext 0x7c00000 -e __start
STRIPFLAGS=	--strip-debug

%INCLUDES

### find out what to use for libkern
KERN_AS=	obj
.include "$S/lib/libkern/Makefile.inc"
.ifndef PROF
LIBKERN=	${KERNLIB}
.else
LIBKERN=	${KERNLIB_PROF}
.endif

### find out what to use for libcompat
.include "$S/compat/common/Makefile.inc"
.ifndef PROF
LIBCOMPAT=	${COMPATLIB}
.else
LIBCOMPAT=	${COMPATLIB_PROF}
.endif

# compile rules: rules are named ${TYPE}_${SUFFIX} where TYPE is NORMAL or
# HOSTED}, and SUFFIX is the file suffix, capitalized (e.g. C for a .c file).

NORMAL_C=	${CC} ${CFLAGS} ${CPPFLAGS} ${PROF} -c $<
NOPROF_C=	${CC} ${CFLAGS} ${CPPFLAGS} -c $<
NORMAL_S=	${CC} ${AFLAGS} ${CPPFLAGS} -c $<
d62 4
a65 1
%OBJS
d67 6
a72 1
%CFILES
d74 2
a75 27
%SFILES

# load lines for config "xxx" will be emitted as:
# xxx: ${SYSTEM_DEP} swapxxx.o
#	${SYSTEM_LD_HEAD}
#	${SYSTEM_LD} swapxxx.o
#	${SYSTEM_LD_TAIL}
SYSTEM_OBJ=	locore.o \
		param.o ioconf.o ${OBJS} ${LIBCOMPAT} ${LIBKERN}
SYSTEM_DEP=	Makefile ${SYSTEM_OBJ}
SYSTEM_LD_HEAD=	@@rm -f $@@
SYSTEM_LD=	@@echo ${LD} ${LINKFLAGS} -o $@@ '$${SYSTEM_OBJ}' vers.o; \
		${LD} ${LINKFLAGS} -o $@@ ${SYSTEM_OBJ} vers.o
SYSTEM_LD_TAIL=	@@${SIZE} $@@; chmod 755 $@@

DEBUG?=
.if ${DEBUG} == "-g"
LINKFLAGS+=	-X
SYSTEM_LD_TAIL+=; \
		echo mv -f $@@ $@@.gdb; mv -f $@@ $@@.gdb; \
		echo ${STRIP} ${STRIPFLAGS} -o $@@ $@@.gdb; \
		${STRIP} ${STRIPFLAGS} -o $@@ $@@.gdb
.else
LINKFLAGS+=	-x
.endif

%LOAD
d77 11
a87 68
assym.h: ${AMIGA}/amigappc/genassym.cf $S/kern/genassym.sh
	sh $S/kern/genassym.sh ${CC} ${CFLAGS} ${CPPFLAGS} ${PROF} \
	    < ${AMIGA}/amigappc/genassym.cf > assym.h.tmp && \
	mv -f assym.h.tmp assym.h

param.c: $S/conf/param.c
	rm -f param.c
	cp $S/conf/param.c .

param.o: param.c Makefile
	${NORMAL_C}

ioconf.o: ioconf.c
	${NORMAL_C}

newvers: ${SYSTEM_DEP} ${SYSTEM_SWAP_DEP}
	sh $S/conf/newvers.sh
	${CC} ${CFLAGS} ${CPPFLAGS} ${PROF} -c vers.c

__CLEANKERNEL: .USE
	@@echo "${.TARGET}ing the kernel objects"
	rm -f eddep *netbsd netbsd.gdb tags *.[io] [a-z]*.s \
	    [Ee]rrs linterrs makelinks assym.h.tmp assym.h

__CLEANDEPEND: .USE
	rm -f .depend

clean: __CLEANKERNEL

cleandir distclean: __CLEANKERNEL __CLEANDEPEND

lint:
	@@lint -hbxncez -Dvolatile= ${CPPFLAGS} -UKGDB \
	    ${CFILES} ioconf.c param.c | \
	    grep -v 'static function .* unused'

tags:
	@@echo "see $S/kern/Makefile for tags"

links:
	egrep '#if' ${CFILES} | sed -f $S/conf/defines | \
	  sed -e 's/:.*//' -e 's/\.c/.o/' | sort -u > dontlink
	echo ${CFILES} | tr -s ' ' '\12' | sed 's/\.c/.o/' | \
	  sort -u | comm -23 - dontlink | \
	  sed 's,../.*/\(.*.o\),rm -f \1; ln -s ../GENERIC/\1 \1,' > makelinks
	sh makelinks && rm -f dontlink

SRCS=	${AMIGA}/amigappc/locore.S \
	param.c ioconf.c ${CFILES} ${SFILES}
depend: .depend
.depend: ${SRCS} assym.h param.c
	${MKDEP} ${AFLAGS} ${CPPFLAGS} ${AMIGA}/amigappc/locore.S
	${MKDEP} -a ${CFLAGS} ${CPPFLAGS} param.c ioconf.c ${CFILES}
#	${MKDEP} -a ${AFLAGS} ${CPPFLAGS} ${SFILES}
	sh $S/kern/genassym.sh ${MKDEP} -f assym.dep ${CFLAGS} \
	  ${CPPFLAGS} < ${AMIGA}/amigappc/genassym.cf
	@@sed -e 's/.*\.o:.*\.c/assym.h:/' < assym.dep >> .depend
	@@rm -f assym.dep


# depend on root or device configuration
autoconf.o conf.o: Makefile

# depend on network configuration
uipc_proto.o: Makefile

# depend on maxusers
machdep.o: Makefile
d99 16
a114 2
locore.o: ${AMIGA}/amigappc/locore.S assym.h
	${NORMAL_S}
d117 5
@


1.6
log
@cleanup:
	options SPACE TAB
	makeoptions TAB
	psuedo-device TAB
	remove trailing whitespace
	replace multiple spaces -> tabs
	options "FOO" -> options FOO
	options "FOO=bar" -> options FOO=bar
	options "FOO=\"bar\"" -> options FOO="\"bar\""
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.amigappc,v 1.5 2001/10/26 06:45:34 jmc Exp $
d46 1
a46 1
HAVE_GCC28!=	${CC} --version | egrep "^(2\.8|egcs)" ; echo
d50 1
a50 1
.if (${HAVE_GCC28} != "")
@


1.5
log
@Change defaults for kernel compiles. Default all to USETOOLS?=no and have
the etc Makefile override that by putting USETOOLS into $.MAKEOVERRIDES
This way the default for kernel compiles is still to use the installed
toolchain instead of depending on $TOOLDIR. $TOOLDIR can be used by
simply adding USETOOLS=yes to the command line as usual.

Adjust each ports template to set the default no setting and also pull in
bsd.own.mk if they weren't already to ensure they'll build correctly
with the new toolchain setup.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.amigappc,v 1.4 2001/10/23 19:26:42 thorpej Exp $
d46 1
a46 1
HAVE_GCC28!=	${CC} --version | egrep "^(2\.8|egcs)" ; echo 
d58 1
a58 1
CFLAGS=		${DEBUG} ${CWARNFLAGS} ${COPTS} ${CMACHFLAGS} -msoft-float 
d185 1
a185 1
 
d189 3
a191 3
 
# depend on network configuration 
uipc_proto.o: Makefile 
d196 1
a196 1
# depend on CPU configuration 
@


1.4
log
@Set MACHINE_ARCH explicitly in Makefiles for which it is constant.
Also, since config(8) now explcitly sets MACHINE, there is no need
to do it here in the Makefile.
@
text
@d1 1
a1 1
#	$NetBSD$
d16 3
d25 5
a29 5
AR=	/usr/pkg/cross/powerpc-netbsd/bin/ar
AS=	/usr/pkg/cross/powerpc-netbsd/bin/as
CC=	/usr/pkg/cross/powerpc-netbsd/bin/cc
CPP=	/usr/pkg/cross/lib/gcc-lib/powerpc-netbsd/egcs-2.91.60/cpp
LD=	/usr/pkg/cross/powerpc-netbsd/bin/ld
d32 4
a35 4
NM=	/usr/pkg/cross/powerpc-netbsd/bin/nm
RANLIB=	/usr/pkg/cross/powerpc-netbsd/bin/ranlib
SIZE=	/usr/pkg/cross/powerpc-netbsd/bin/size
STRIP=	/usr/pkg/cross/powerpc-netbsd/bin/strip
@


1.4.2.1
log
@Sync the thorpej-mips-cache branch with -current.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.amigappc,v 1.5 2001/10/26 06:45:34 jmc Exp $
a15 3
USETOOLS?=	no

.include <bsd.own.mk>
d22 5
a26 5
AR?=	/usr/pkg/cross/powerpc-netbsd/bin/ar
AS?=	/usr/pkg/cross/powerpc-netbsd/bin/as
CC?=	/usr/pkg/cross/powerpc-netbsd/bin/cc
CPP?=	/usr/pkg/cross/lib/gcc-lib/powerpc-netbsd/egcs-2.91.60/cpp
LD?=	/usr/pkg/cross/powerpc-netbsd/bin/ld
d29 4
a32 4
NM?=	/usr/pkg/cross/powerpc-netbsd/bin/nm
RANLIB?=	/usr/pkg/cross/powerpc-netbsd/bin/ranlib
SIZE?=	/usr/pkg/cross/powerpc-netbsd/bin/size
STRIP?=	/usr/pkg/cross/powerpc-netbsd/bin/strip
@


1.3
log
@define _KERNEL_OPT as well as _KERNEL. we will use this in the future to
get kernel "opt_foo.h" headers, rather than _KERNEL && !_LKM.
@
text
@d1 1
a1 3
MACHTYPE=powerpc
MACHINE_ARCH=powerpc
MACHINE=amigappc
d15 2
d19 2
@


1.3.2.1
log
@Sync kqueue branch with -current.
@
text
@d1 3
a3 1
#	$NetBSD: Makefile.amigappc,v 1.8 2001/12/09 05:00:41 atatat Exp $
a15 5
#
# To specify debugging, add the config line: makeoptions DEBUG="-g"
# A better way is to specify -g only for a few files.
#
#	makeoptions DEBUGLIST="uvm* trap if_*"
d17 31
a47 26
MACHINE_ARCH=powerpc
USETOOLS?=	no
NEED_OWN_INSTALL_TARGET?=no
.include <bsd.own.mk>

AR?=		/usr/pkg/cross/powerpc-netbsd/bin/ar
AS?=		/usr/pkg/cross/powerpc-netbsd/bin/as
CC?=		/usr/pkg/cross/powerpc-netbsd/bin/cc
CPP?=		/usr/pkg/cross/lib/gcc-lib/powerpc-netbsd/egcs-2.91.60/cpp
LD?=		/usr/pkg/cross/powerpc-netbsd/bin/ld
NM?=		/usr/pkg/cross/powerpc-netbsd/bin/nm
RANLIB?=	/usr/pkg/cross/powerpc-netbsd/bin/ranlib
SIZE?=		/usr/pkg/cross/powerpc-netbsd/bin/size
STRIP?=		/usr/pkg/cross/powerpc-netbsd/bin/strip

##
## (1) port identification
##
MACHTYPE=	powerpc
AMIGA=		$S/arch/amigappc
GENASSYM=	${AMIGA}/amigappc/genassym.cf

##
## (2) compile settings
##
CPPFLAGS+=	-Damiga -DFPCOPROC
d53 30
a82 4
DEFWARNINGS=	no
CWARNFLAGS=	-Werror -Wno-main -Wpointer-arith -Wreturn-type
CFLAGS+=	${CMACHFLAGS} -msoft-float
AFLAGS+=	-x assembler-with-cpp -traditional-cpp
d90 5
a94 4
##
## (3) libkern and compat
##
KERN_AS=	obj
d96 23
a118 6
##
## (4) local objects, compile rules, and dependencies
##
MD_OBJS=	locore.o
MD_CFILES=
MD_SFILES=	${AMIGA}/amigappc/locore.S
d120 67
a186 2
locore.o: ${AMIGA}/amigappc/locore.S assym.h
	${NORMAL_S}
d188 2
a189 11
##
## (5) link settings
##
LINKFORMAT=	-N
TEXTADDR?=	0x7c00000
ENTRYPOINT=	__start
LINKFLAGS_NORMAL=	-x

##
## (6) port specific target dependencies
##
d191 1
a191 1
# depend on CPU configuration
d201 2
a202 16
##
## (7) misc settings
##

##
## (8) config(8) generated machinery
##
%INCLUDES

%OBJS

%CFILES

%SFILES

%LOAD
a204 5

##
## (9) port independent kernel machinery
##
.include "$S/conf/Makefile.kern.inc"
@


1.2
log
@delete obsolete comment
@
text
@d43 1
a43 1
CPPFLAGS=	${INCLUDES} ${IDENT} ${PARAM} -D_KERNEL -Damiga -DFPCOPROC
@


1.2.2.1
log
@Catch up to -current.
@
text
@d43 1
a43 1
CPPFLAGS=	${INCLUDES} ${IDENT} ${PARAM} -D_KERNEL -D_KERNEL_OPT -Damiga -DFPCOPROC
@


1.1
log
@Initial AmigaPPC commit.

Lots of the work was done by Adam Ciarcinsky.

Currently, this only supports CyberPPC boards by Phase 5. Blizzard PPC
expected later.

The kernel is useless but for demonstrating that it starts... especially
interupts, and most of MMU support, is not in yet. Builtin console works,
however, and you can look at the kernel startup messages.
@
text
@a15 6
#
# N.B.: NO DEPENDENCIES ON FOLLOWING FLAGS ARE VISIBLE TO MAKEFILE
#	IF YOU CHANGE THE DEFINITION OF ANY OF THESE RECOMPILE EVERYTHING
#
# -DTRACE	compile in kernel tracing hooks
# -DQUOTA	compile in file system quotas
@


1.1.6.1
log
@file Makefile.amigappc was added on branch thorpej_scsipi on 2000-11-20 19:59:36 +0000
@
text
@d1 210
@


1.1.6.2
log
@Update thorpej_scsipi to -current as of a month ago
A i386 GENERIC kernel compiles without the siop, ahc and bha drivers
(will be updated later). i386 IDE/ATAPI and ncr work, as well as
sparc/esp_sbus. alpha should work as well (untested yet).
siop, ahc and bha will be updated once I've updated the branch to current
-current, as well as machine-dependant code.
@
text
@a0 210
MACHTYPE=powerpc
MACHINE_ARCH=powerpc
MACHINE=amigappc

# Makefile for NetBSD
#
# This makefile is constructed from a machine description:
#	config machineid
# Most changes should be made in the machine description
#	/sys/arch/amiga/conf/``machineid''
# after which you should do
#	config machineid
# Machine generic makefile changes should be made in
#	/sys/arch/amiga/conf/Makefile.amiga
# after which config should be rerun for all machines of that type.
#
# N.B.: NO DEPENDENCIES ON FOLLOWING FLAGS ARE VISIBLE TO MAKEFILE
#	IF YOU CHANGE THE DEFINITION OF ANY OF THESE RECOMPILE EVERYTHING
#
# -DTRACE	compile in kernel tracing hooks
# -DQUOTA	compile in file system quotas

# DEBUG is set to -g if debugging.
# PROF is set to -pg if profiling.

AR=	/usr/pkg/cross/powerpc-netbsd/bin/ar
AS=	/usr/pkg/cross/powerpc-netbsd/bin/as
CC=	/usr/pkg/cross/powerpc-netbsd/bin/cc
CPP=	/usr/pkg/cross/lib/gcc-lib/powerpc-netbsd/egcs-2.91.60/cpp
LD=	/usr/pkg/cross/powerpc-netbsd/bin/ld
LORDER?=lorder
MKDEP?=	mkdep
NM=	/usr/pkg/cross/powerpc-netbsd/bin/nm
RANLIB=	/usr/pkg/cross/powerpc-netbsd/bin/ranlib
SIZE=	/usr/pkg/cross/powerpc-netbsd/bin/size
STRIP=	/usr/pkg/cross/powerpc-netbsd/bin/strip
TSORT?=	tsort -q

COPTS?=	-O2

# source tree is located via $S relative to the compilation directory
.ifndef S
S!=	cd ../../../..; pwd
.endif
AMIGA=	$S/arch/amigappc

HAVE_GCC28!=	${CC} --version | egrep "^(2\.8|egcs)" ; echo 
INCLUDES=	-I. -I$S/arch -I$S -nostdinc
CPPFLAGS=	${INCLUDES} ${IDENT} ${PARAM} -D_KERNEL -Damiga -DFPCOPROC
CWARNFLAGS?=	 -Werror -Wreturn-type -Wpointer-arith
.if (${HAVE_GCC28} != "")
CWARNFLAGS+=	-Wno-main
.endif
.if empty(IDENT:M-DPPC604E)
CMACHFLAGS=	-mcpu=603e
.else
CMACHFLAGS=	-mcpu=604e
.endif
CFLAGS=		${DEBUG} ${CWARNFLAGS} ${COPTS} ${CMACHFLAGS} -msoft-float 
AFLAGS=		-x assembler-with-cpp -traditional-cpp -D_LOCORE
LINKFLAGS=	-N -Ttext 0x7c00000 -e __start
STRIPFLAGS=	--strip-debug

%INCLUDES

### find out what to use for libkern
KERN_AS=	obj
.include "$S/lib/libkern/Makefile.inc"
.ifndef PROF
LIBKERN=	${KERNLIB}
.else
LIBKERN=	${KERNLIB_PROF}
.endif

### find out what to use for libcompat
.include "$S/compat/common/Makefile.inc"
.ifndef PROF
LIBCOMPAT=	${COMPATLIB}
.else
LIBCOMPAT=	${COMPATLIB_PROF}
.endif

# compile rules: rules are named ${TYPE}_${SUFFIX} where TYPE is NORMAL or
# HOSTED}, and SUFFIX is the file suffix, capitalized (e.g. C for a .c file).

NORMAL_C=	${CC} ${CFLAGS} ${CPPFLAGS} ${PROF} -c $<
NOPROF_C=	${CC} ${CFLAGS} ${CPPFLAGS} -c $<
NORMAL_S=	${CC} ${AFLAGS} ${CPPFLAGS} -c $<

.SUFFIXES: .o .g

.g.o: ; echo This is a dummy rule and should not be executed.

NORMAL_G=	gspa < $< | gspahextoc > $*.c; ${CC} -c ${CFLAGS} ${PROF} $*.c

%OBJS

%CFILES

%SFILES

# load lines for config "xxx" will be emitted as:
# xxx: ${SYSTEM_DEP} swapxxx.o
#	${SYSTEM_LD_HEAD}
#	${SYSTEM_LD} swapxxx.o
#	${SYSTEM_LD_TAIL}
SYSTEM_OBJ=	locore.o \
		param.o ioconf.o ${OBJS} ${LIBCOMPAT} ${LIBKERN}
SYSTEM_DEP=	Makefile ${SYSTEM_OBJ}
SYSTEM_LD_HEAD=	@@rm -f $@@
SYSTEM_LD=	@@echo ${LD} ${LINKFLAGS} -o $@@ '$${SYSTEM_OBJ}' vers.o; \
		${LD} ${LINKFLAGS} -o $@@ ${SYSTEM_OBJ} vers.o
SYSTEM_LD_TAIL=	@@${SIZE} $@@; chmod 755 $@@

DEBUG?=
.if ${DEBUG} == "-g"
LINKFLAGS+=	-X
SYSTEM_LD_TAIL+=; \
		echo mv -f $@@ $@@.gdb; mv -f $@@ $@@.gdb; \
		echo ${STRIP} ${STRIPFLAGS} -o $@@ $@@.gdb; \
		${STRIP} ${STRIPFLAGS} -o $@@ $@@.gdb
.else
LINKFLAGS+=	-x
.endif

%LOAD

assym.h: ${AMIGA}/amigappc/genassym.cf $S/kern/genassym.sh
	sh $S/kern/genassym.sh ${CC} ${CFLAGS} ${CPPFLAGS} ${PROF} \
	    < ${AMIGA}/amigappc/genassym.cf > assym.h.tmp && \
	mv -f assym.h.tmp assym.h

param.c: $S/conf/param.c
	rm -f param.c
	cp $S/conf/param.c .

param.o: param.c Makefile
	${NORMAL_C}

ioconf.o: ioconf.c
	${NORMAL_C}

newvers: ${SYSTEM_DEP} ${SYSTEM_SWAP_DEP}
	sh $S/conf/newvers.sh
	${CC} ${CFLAGS} ${CPPFLAGS} ${PROF} -c vers.c

__CLEANKERNEL: .USE
	@@echo "${.TARGET}ing the kernel objects"
	rm -f eddep *netbsd netbsd.gdb tags *.[io] [a-z]*.s \
	    [Ee]rrs linterrs makelinks assym.h.tmp assym.h

__CLEANDEPEND: .USE
	rm -f .depend

clean: __CLEANKERNEL

cleandir distclean: __CLEANKERNEL __CLEANDEPEND

lint:
	@@lint -hbxncez -Dvolatile= ${CPPFLAGS} -UKGDB \
	    ${CFILES} ioconf.c param.c | \
	    grep -v 'static function .* unused'

tags:
	@@echo "see $S/kern/Makefile for tags"

links:
	egrep '#if' ${CFILES} | sed -f $S/conf/defines | \
	  sed -e 's/:.*//' -e 's/\.c/.o/' | sort -u > dontlink
	echo ${CFILES} | tr -s ' ' '\12' | sed 's/\.c/.o/' | \
	  sort -u | comm -23 - dontlink | \
	  sed 's,../.*/\(.*.o\),rm -f \1; ln -s ../GENERIC/\1 \1,' > makelinks
	sh makelinks && rm -f dontlink

SRCS=	${AMIGA}/amigappc/locore.S \
	param.c ioconf.c ${CFILES} ${SFILES}
depend: .depend
.depend: ${SRCS} assym.h param.c
	${MKDEP} ${AFLAGS} ${CPPFLAGS} ${AMIGA}/amigappc/locore.S
	${MKDEP} -a ${CFLAGS} ${CPPFLAGS} param.c ioconf.c ${CFILES}
#	${MKDEP} -a ${AFLAGS} ${CPPFLAGS} ${SFILES}
	sh $S/kern/genassym.sh ${MKDEP} -f assym.dep ${CFLAGS} \
	  ${CPPFLAGS} < ${AMIGA}/amigappc/genassym.cf
	@@sed -e 's/.*\.o:.*\.c/assym.h:/' < assym.dep >> .depend
	@@rm -f assym.dep
 

# depend on root or device configuration
autoconf.o conf.o: Makefile
 
# depend on network configuration 
uipc_proto.o: Makefile 

# depend on maxusers
machdep.o: Makefile

# depend on CPU configuration 
amiga_init.o locore.o pmap.o sys_machdep.o: Makefile
bzsc.o bztzsc.o cbiisc.o cbsc.o flsc.o sbic.o: Makefile

# depends on defined(DRACO)
a2kbbc.o: Makefile

# LEV6_DEFER blocks usage of audio interupt 3:
aucc.o cc.o: Makefile

locore.o: ${AMIGA}/amigappc/locore.S assym.h
	${NORMAL_S}

%RULES
@


1.1.6.3
log
@Sync with HEAD
@
text
@d16 6
@
