head	1.7;
access;
symbols
	netbsd-11-0-RC3:1.7
	netbsd-11-0-RC2:1.7
	netbsd-11-0-RC1:1.7
	perseant-exfatfs-base-20250801:1.7
	netbsd-11:1.7.0.26
	netbsd-11-base:1.7
	netbsd-10-1-RELEASE:1.7
	perseant-exfatfs-base-20240630:1.7
	perseant-exfatfs:1.7.0.24
	perseant-exfatfs-base:1.7
	netbsd-8-3-RELEASE:1.5
	netbsd-9-4-RELEASE:1.5
	netbsd-10-0-RELEASE:1.7
	netbsd-10-0-RC6:1.7
	netbsd-10-0-RC5:1.7
	netbsd-10-0-RC4:1.7
	netbsd-10-0-RC3:1.7
	netbsd-10-0-RC2:1.7
	thorpej-ifq:1.7.0.22
	thorpej-ifq-base:1.7
	thorpej-altq-separation:1.7.0.20
	thorpej-altq-separation-base:1.7
	netbsd-10-0-RC1:1.7
	netbsd-10:1.7.0.18
	netbsd-10-base:1.7
	bouyer-sunxi-drm:1.7.0.16
	bouyer-sunxi-drm-base:1.7
	netbsd-9-3-RELEASE:1.5
	thorpej-i2c-spi-conf2:1.7.0.14
	thorpej-i2c-spi-conf2-base:1.7
	thorpej-futex2:1.7.0.12
	thorpej-futex2-base:1.7
	thorpej-cfargs2:1.7.0.10
	thorpej-cfargs2-base:1.7
	cjep_sun2x-base1:1.7
	cjep_sun2x:1.7.0.8
	cjep_sun2x-base:1.7
	cjep_staticlib_x-base1:1.7
	netbsd-9-2-RELEASE:1.5
	cjep_staticlib_x:1.7.0.6
	cjep_staticlib_x-base:1.7
	thorpej-i2c-spi-conf:1.7.0.4
	thorpej-i2c-spi-conf-base:1.7
	thorpej-cfargs:1.7.0.2
	thorpej-cfargs-base:1.7
	thorpej-futex:1.6.0.2
	thorpej-futex-base:1.7
	netbsd-9-1-RELEASE:1.5
	bouyer-xenpvh-base2:1.6
	phil-wifi-20200421:1.5
	bouyer-xenpvh-base1:1.5
	phil-wifi-20200411:1.5
	bouyer-xenpvh:1.5.0.24
	bouyer-xenpvh-base:1.5
	is-mlppp:1.5.0.22
	is-mlppp-base:1.5
	phil-wifi-20200406:1.5
	netbsd-8-2-RELEASE:1.5
	ad-namecache-base3:1.5
	netbsd-9-0-RELEASE:1.5
	netbsd-9-0-RC2:1.5
	ad-namecache-base2:1.5
	ad-namecache-base1:1.5
	ad-namecache:1.5.0.20
	ad-namecache-base:1.5
	netbsd-9-0-RC1:1.5
	phil-wifi-20191119:1.5
	netbsd-9:1.5.0.18
	netbsd-9-base:1.5
	phil-wifi-20190609:1.5
	netbsd-8-1-RELEASE:1.5
	netbsd-8-1-RC1:1.5
	isaki-audio2:1.5.0.16
	isaki-audio2-base: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.3
	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.3
	pgoyette-compat:1.5.0.12
	pgoyette-compat-base:1.5
	netbsd-7-1-1-RELEASE:1.3
	tls-maxphys-base-20171202:1.5
	matt-nb8-mediatek:1.5.0.10
	matt-nb8-mediatek-base:1.5
	nick-nhusb-base-20170825: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
	jdolecek-ncq:1.5.0.2
	jdolecek-ncq-base:1.5
	pgoyette-localcount-20170320:1.3
	netbsd-7-1:1.3.0.42
	netbsd-7-1-RELEASE:1.3
	netbsd-7-1-RC2:1.3
	nick-nhusb-base-20170204:1.3
	netbsd-7-nhusb-base-20170116:1.3
	bouyer-socketcan:1.3.0.40
	bouyer-socketcan-base:1.3
	pgoyette-localcount-20170107:1.3
	netbsd-7-1-RC1:1.3
	nick-nhusb-base-20161204:1.3
	pgoyette-localcount-20161104:1.3
	netbsd-7-0-2-RELEASE:1.3
	nick-nhusb-base-20161004:1.3
	localcount-20160914:1.3
	netbsd-7-nhusb:1.3.0.38
	netbsd-7-nhusb-base:1.3
	pgoyette-localcount-20160806:1.3
	pgoyette-localcount-20160726:1.3
	pgoyette-localcount:1.3.0.36
	pgoyette-localcount-base:1.3
	nick-nhusb-base-20160907:1.3
	nick-nhusb-base-20160529:1.3
	netbsd-7-0-1-RELEASE:1.3
	nick-nhusb-base-20160422:1.3
	nick-nhusb-base-20160319:1.3
	nick-nhusb-base-20151226:1.3
	netbsd-7-0:1.3.0.34
	netbsd-7-0-RELEASE:1.3
	nick-nhusb-base-20150921:1.3
	netbsd-7-0-RC3:1.3
	netbsd-7-0-RC2:1.3
	netbsd-7-0-RC1:1.3
	nick-nhusb-base-20150606:1.3
	nick-nhusb-base-20150406:1.3
	nick-nhusb:1.3.0.32
	nick-nhusb-base:1.3
	netbsd-6-0-6-RELEASE:1.3
	netbsd-6-1-5-RELEASE:1.3
	netbsd-7:1.3.0.30
	netbsd-7-base:1.3
	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.28
	tls-earlyentropy-base:1.3
	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
	rmind-smpnet-nbase:1.3
	netbsd-6-1-1-RELEASE:1.3
	riastradh-drm2-base2:1.3
	riastradh-drm2-base1:1.3
	riastradh-drm2:1.3.0.26
	riastradh-drm2-base:1.3
	rmind-smpnet:1.3.0.18
	rmind-smpnet-base:1.3
	netbsd-6-1:1.3.0.24
	netbsd-6-0-2-RELEASE:1.3
	netbsd-6-1-RELEASE:1.3
	khorben-n900:1.3.0.22
	netbsd-6-1-RC4:1.3
	netbsd-6-1-RC3:1.3
	agc-symver:1.3.0.20
	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.16
	netbsd-6-0-RELEASE:1.3
	netbsd-6-0-RC2:1.3
	tls-maxphys:1.3.0.14
	tls-maxphys-base:1.3
	matt-nb6-plus:1.3.0.12
	matt-nb6-plus-base:1.3
	netbsd-6-0-RC1:1.3
	jmcneill-usbmp-base10:1.3
	yamt-pagecache-base5:1.3
	jmcneill-usbmp-base9:1.3
	yamt-pagecache-base4:1.3
	jmcneill-usbmp-base8:1.3
	jmcneill-usbmp-base7:1.3
	jmcneill-usbmp-base6:1.3
	jmcneill-usbmp-base5:1.3
	jmcneill-usbmp-base4:1.3
	jmcneill-usbmp-base3:1.3
	jmcneill-usbmp-pre-base2:1.3
	jmcneill-usbmp-base2:1.3
	netbsd-6:1.3.0.10
	netbsd-6-base:1.3
	jmcneill-usbmp:1.3.0.8
	jmcneill-usbmp-base:1.3
	jmcneill-audiomp3:1.3.0.6
	jmcneill-audiomp3-base:1.3
	yamt-pagecache-base3:1.3
	yamt-pagecache-base2:1.3
	yamt-pagecache:1.3.0.4
	yamt-pagecache-base:1.3
	rmind-uvmplock-nbase:1.3
	cherry-xenmp:1.3.0.2
	cherry-xenmp-base:1.3
	uebayasi-xip-base7:1.3
	bouyer-quota2-nbase:1.3
	bouyer-quota2:1.2.0.8
	bouyer-quota2-base:1.3
	jruoho-x86intr:1.2.0.6
	jruoho-x86intr-base:1.2
	matt-mips64-premerge-20101231:1.2
	uebayasi-xip-base6:1.2
	uebayasi-xip-base5:1.2
	uebayasi-xip-base4:1.2
	uebayasi-xip-base3:1.2
	yamt-nfs-mp-base11:1.2
	uebayasi-xip-base2:1.2
	yamt-nfs-mp-base10:1.2
	uebayasi-xip-base1:1.2
	rmind-uvmplock:1.2.0.4
	rmind-uvmplock-base:1.3
	yamt-nfs-mp-base9:1.2
	uebayasi-xip:1.2.0.2
	uebayasi-xip-base:1.2
	matt-premerge-20091211:1.2
	yamt-nfs-mp-base8:1.1
	yamt-nfs-mp-base7:1.1
	jymxensuspend-base:1.1
	yamt-nfs-mp-base6:1.1
	yamt-nfs-mp-base5:1.1
	yamt-nfs-mp-base4:1.1
	jym-xensuspend-base:1.3
	jym-xensuspend:1.1.0.6
	jym-xensuspend-nbase:1.3
	yamt-nfs-mp:1.1.0.4
	yamt-nfs-mp-base3:1.1
	nick-hppapmap-base4:1.1
	nick-hppapmap-base:1.1
	nick-hppapmap:1.1.0.2
	nick-hppapmap-base3:1.1;
locks; strict;
comment	@# @;


1.7
date	2021.01.11.22.01.14;	author skrll;	state Exp;
branches;
next	1.6;
commitid	uGrhNqRN2VNqdmDC;

1.6
date	2020.04.22.11.28.56;	author rin;	state Exp;
branches
	1.6.2.1;
next	1.5;
commitid	PdEiMC9bEMjccn5C;

1.5
date	2017.04.09.18.46.55;	author christos;	state Exp;
branches
	1.5.24.1;
next	1.4;
commitid	Wj64roYeB3k9hTMz;

1.4
date	2017.04.08.19.53.23;	author christos;	state Exp;
branches;
next	1.3;
commitid	mAo8FJwd588QFLMz;

1.3
date	2011.01.22.19.19.24;	author joerg;	state Exp;
branches
	1.3.14.1
	1.3.32.1
	1.3.36.1
	1.3.40.1;
next	1.2;

1.2
date	2009.09.25.11.19.35;	author he;	state Exp;
branches
	1.2.4.1
	1.2.6.1
	1.2.8.1;
next	1.1;

1.1
date	2009.03.20.11.42.25;	author tsutsui;	state Exp;
branches
	1.1.2.1
	1.1.4.1
	1.1.6.1;
next	;

1.6.2.1
date	2021.04.03.22.28.40;	author thorpej;	state Exp;
branches;
next	;
commitid	1gqS07EfPjskJTNC;

1.5.24.1
date	2020.04.25.11.23.57;	author bouyer;	state Exp;
branches;
next	;
commitid	d0banFLkg9JL4L5C;

1.3.14.1
date	2017.12.03.11.36.46;	author jdolecek;	state Exp;
branches;
next	;
commitid	XcIYRZTAh1LmerhA;

1.3.32.1
date	2017.08.28.17.51.54;	author skrll;	state Exp;
branches;
next	;
commitid	UQQpnjvcNkUZn05A;

1.3.36.1
date	2017.04.26.02.53.08;	author pgoyette;	state Exp;
branches;
next	;
commitid	ojV02aOSdzvBqZOz;

1.3.40.1
date	2017.04.21.16.53.38;	author bouyer;	state Exp;
branches;
next	;
commitid	dUG7nkTKALCadqOz;

1.2.4.1
date	2011.03.05.20.52.14;	author rmind;	state Exp;
branches;
next	;

1.2.6.1
date	2011.06.06.09.06.58;	author jruoho;	state Exp;
branches;
next	;

1.2.8.1
date	2011.02.08.16.19.43;	author bouyer;	state Exp;
branches;
next	;

1.1.2.1
date	2009.03.20.11.42.25;	author skrll;	state dead;
branches;
next	1.1.2.2;

1.1.2.2
date	2009.04.28.07.34.49;	author skrll;	state Exp;
branches;
next	;

1.1.4.1
date	2009.03.20.11.42.25;	author yamt;	state dead;
branches;
next	1.1.4.2;

1.1.4.2
date	2009.05.04.08.12.02;	author yamt;	state Exp;
branches;
next	1.1.4.3;

1.1.4.3
date	2010.03.11.15.03.04;	author yamt;	state Exp;
branches;
next	;

1.1.6.1
date	2009.03.20.11.42.25;	author jym;	state dead;
branches;
next	1.1.6.2;

1.1.6.2
date	2009.05.13.17.18.40;	author jym;	state Exp;
branches;
next	;


desc
@@


1.7
log
@Fix spelling of preferred in comments.  While here improve grammar in
one of the comments.
@
text
@#	$NetBSD: Makefile.inc,v 1.6 2020/04/22 11:28:56 rin Exp $

S!=	cd ${SA_EXTRADIR}/../../../..; pwd

.PATH.c: ${SA_EXTRADIR}

# preferred local sources: gets.c panic.c

SRCS+=	clock.c dev_disk.c devopen.c \
	idprom.c netif_sun.c \
	promboot.c promcons.c promdev.c putstr.c \
	sun2.c sun3.c sun3x.c xxboot.c

.PATH.S: ${S}/arch/sun68k/sun68k
SRCS+=	ctrlsp.S

# XXX libkern builds these only on m68000
.PATH.S: ${S}/../common/lib/libc/arch/m68k/gen
SRCS+=	mulsi3.S

.PATH.S: ${S}/lib/libkern/arch/m68k
SRCS+=	divsi3.S udivsi3.S modsi3.S umodsi3.S

VERSIONFILE=${SA_EXTRADIR}/version
.include "${S}/conf/newvers_stand.mk"
@


1.6
log
@Restrict usage of m68k assembler versions of {,u}divsi3 and {,u}divsi3 to
kernel and bootloader for 68010.

They requires a special calling convention to udivsi3, and cannot to be
mixed up in normal routines provided by libgcc or compiler_rt. Although,
there's no problem for using them in a controlled situation, i.e., kernel
and standalone programs.

Note that this does not affect at all m68k ports other than sun2, since
codes generated by gcc do not call these routines.

Assembler files are moved from common/lib/libc/arch/m68k/gen to
sys/lib/libkern/arch/m68k in order not to be compiled in libc.

Revert hack introduced to lib/libc/compiler_rt/Makefile.inc rev 1.37:
http://cvsweb.netbsd.org/bsdweb.cgi/src/lib/libc/compiler_rt/Makefile.inc#rev1.37

Proposed on port-sun2@@ with no response...
(Again, this does not affect m68k ports other than sun2.)
http://mail-index.netbsd.org/port-sun2/2020/03/10/msg000102.html
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.inc,v 1.5 2017/04/09 18:46:55 christos Exp $
d7 1
a7 1
# prefered local sources: gets.c panic.c
@


1.6.2.1
log
@Sync with HEAD.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.inc,v 1.7 2021/01/11 22:01:14 skrll Exp $
d7 1
a7 1
# preferred local sources: gets.c panic.c
@


1.5
log
@no need fo clean vers.c
fix typo
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.inc,v 1.4 2017/04/08 19:53:23 christos Exp $
d19 4
a22 1
SRCS+=	mulsi3.S divsi3.S udivsi3.S modsi3.S umodsi3.S
@


1.5.24.1
log
@Sync with bouyer-xenpvh-base2 (HEAD)
@
text
@d1 1
a1 1
#	$NetBSD$
d19 1
a19 4
SRCS+=	mulsi3.S

.PATH.S: ${S}/lib/libkern/arch/m68k
SRCS+=	divsi3.S udivsi3.S modsi3.S umodsi3.S
@


1.4
log
@centralize vers.c building for standalone programs.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.inc,v 1.3 2011/01/22 19:19:24 joerg Exp $
d21 1
a21 1
VERSIONFILE=${SA_EXTRADIR}/vers
@


1.3
log
@Drop bootprog_maker (formerly enabled by -M) and bootprog_date (formerly
disabled by -D) from the output of newvers_stand.sh.  Change -D to the
inverted logic, so that it adds the date to bootprog_rev in ().

Change all platforms accordingly. -D is added if MKREPRO is not yes and
wasn't present before. Platforms that didn't use -D don't depend on
MKREPRO now either.
@
text
@d1 1
a1 1
#	$NetBSD: src/sys/arch/sun68k/stand/libsa/Makefile.inc,v 1.2 2009-09-25 11:19:35 he Exp $
d21 2
a22 6
vers.c: ${SA_EXTRADIR}/version
	${HOST_SH} ${S}/conf/newvers_stand.sh ${${MKREPRO} == "yes" :?:-D} \
	    ${SA_EXTRADIR}/version "${MACHINE}"

SRCS+=	vers.c
CLEANFILES+=	vers.c
@


1.3.14.1
log
@update from HEAD
@
text
@d1 1
a1 1
#	$NetBSD$
d21 6
a26 2
VERSIONFILE=${SA_EXTRADIR}/version
.include "${S}/conf/newvers_stand.mk"
@


1.3.32.1
log
@Sync with HEAD
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.inc,v 1.5 2017/04/09 18:46:55 christos Exp $
d21 6
a26 2
VERSIONFILE=${SA_EXTRADIR}/version
.include "${S}/conf/newvers_stand.mk"
@


1.3.36.1
log
@Sync with HEAD
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.inc,v 1.5 2017/04/09 18:46:55 christos Exp $
d21 6
a26 2
VERSIONFILE=${SA_EXTRADIR}/version
.include "${S}/conf/newvers_stand.mk"
@


1.3.40.1
log
@Sync with HEAD
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.inc,v 1.5 2017/04/09 18:46:55 christos Exp $
d21 6
a26 2
VERSIONFILE=${SA_EXTRADIR}/version
.include "${S}/conf/newvers_stand.mk"
@


1.2
log
@Use .PATH.S instead of giving a source file with fully qualified path.
This should avoid the sun3 port contaminating its source tree during build
with .d and .o files corresponding to ctrlsp.S.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.inc,v 1.1 2009/03/20 11:42:25 tsutsui Exp $
d22 2
a23 2
	${HOST_SH} ${S}/conf/newvers_stand.sh \
	    -MD ${SA_EXTRADIR}/version "${MACHINE}"
@


1.2.6.1
log
@Sync with HEAD.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.inc,v 1.3 2011/01/22 19:19:24 joerg Exp $
d22 2
a23 2
	${HOST_SH} ${S}/conf/newvers_stand.sh ${${MKREPRO} == "yes" :?:-D} \
	    ${SA_EXTRADIR}/version "${MACHINE}"
@


1.2.4.1
log
@sync with head
@
text
@d1 1
a1 1
#	$NetBSD$
d22 2
a23 2
	${HOST_SH} ${S}/conf/newvers_stand.sh ${${MKREPRO} == "yes" :?:-D} \
	    ${SA_EXTRADIR}/version "${MACHINE}"
@


1.2.8.1
log
@Sync with HEAD
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.inc,v 1.3 2011/01/22 19:19:24 joerg Exp $
d22 2
a23 2
	${HOST_SH} ${S}/conf/newvers_stand.sh ${${MKREPRO} == "yes" :?:-D} \
	    ${SA_EXTRADIR}/version "${MACHINE}"
@


1.1
log
@Switch sun68k standalone programs to using MI libsa and libkern.
Bump version.

Tested bootxx + ufsboot on TME (sun2 and sun3) and 3/80 (sun3x).
@
text
@d1 1
a1 1
#	$NetBSD$
d14 2
a15 1
SRCS+=	${S}/arch/sun68k/sun68k/ctrlsp.S
@


1.1.6.1
log
@file Makefile.inc was added on branch jym-xensuspend on 2009-05-13 17:18:40 +0000
@
text
@d1 25
@


1.1.6.2
log
@Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.
@
text
@a0 25
#	$NetBSD: Makefile.inc,v 1.1 2009/03/20 11:42:25 tsutsui Exp $

S!=	cd ${SA_EXTRADIR}/../../../..; pwd

.PATH.c: ${SA_EXTRADIR}

# prefered local sources: gets.c panic.c

SRCS+=	clock.c dev_disk.c devopen.c \
	idprom.c netif_sun.c \
	promboot.c promcons.c promdev.c putstr.c \
	sun2.c sun3.c sun3x.c xxboot.c

SRCS+=	${S}/arch/sun68k/sun68k/ctrlsp.S

# XXX libkern builds these only on m68000
.PATH.S: ${S}/../common/lib/libc/arch/m68k/gen
SRCS+=	mulsi3.S divsi3.S udivsi3.S modsi3.S umodsi3.S

vers.c: ${SA_EXTRADIR}/version
	${HOST_SH} ${S}/conf/newvers_stand.sh \
	    -MD ${SA_EXTRADIR}/version "${MACHINE}"

SRCS+=	vers.c
CLEANFILES+=	vers.c
@


1.1.4.1
log
@file Makefile.inc was added on branch yamt-nfs-mp on 2009-05-04 08:12:02 +0000
@
text
@d1 25
@


1.1.4.2
log
@sync with head.
@
text
@a0 25
#	$NetBSD$

S!=	cd ${SA_EXTRADIR}/../../../..; pwd

.PATH.c: ${SA_EXTRADIR}

# prefered local sources: gets.c panic.c

SRCS+=	clock.c dev_disk.c devopen.c \
	idprom.c netif_sun.c \
	promboot.c promcons.c promdev.c putstr.c \
	sun2.c sun3.c sun3x.c xxboot.c

SRCS+=	${S}/arch/sun68k/sun68k/ctrlsp.S

# XXX libkern builds these only on m68000
.PATH.S: ${S}/../common/lib/libc/arch/m68k/gen
SRCS+=	mulsi3.S divsi3.S udivsi3.S modsi3.S umodsi3.S

vers.c: ${SA_EXTRADIR}/version
	${HOST_SH} ${S}/conf/newvers_stand.sh \
	    -MD ${SA_EXTRADIR}/version "${MACHINE}"

SRCS+=	vers.c
CLEANFILES+=	vers.c
@


1.1.4.3
log
@sync with head
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.inc,v 1.1.4.2 2009/05/04 08:12:02 yamt Exp $
d14 1
a14 2
.PATH.S: ${S}/arch/sun68k/sun68k
SRCS+=	ctrlsp.S
@


1.1.2.1
log
@file Makefile.inc was added on branch nick-hppapmap on 2009-04-28 07:34:49 +0000
@
text
@d1 25
@


1.1.2.2
log
@Sync with HEAD.
@
text
@a0 25
#	$NetBSD: Makefile.inc,v 1.1 2009/03/20 11:42:25 tsutsui Exp $

S!=	cd ${SA_EXTRADIR}/../../../..; pwd

.PATH.c: ${SA_EXTRADIR}

# prefered local sources: gets.c panic.c

SRCS+=	clock.c dev_disk.c devopen.c \
	idprom.c netif_sun.c \
	promboot.c promcons.c promdev.c putstr.c \
	sun2.c sun3.c sun3x.c xxboot.c

SRCS+=	${S}/arch/sun68k/sun68k/ctrlsp.S

# XXX libkern builds these only on m68000
.PATH.S: ${S}/../common/lib/libc/arch/m68k/gen
SRCS+=	mulsi3.S divsi3.S udivsi3.S modsi3.S umodsi3.S

vers.c: ${SA_EXTRADIR}/version
	${HOST_SH} ${S}/conf/newvers_stand.sh \
	    -MD ${SA_EXTRADIR}/version "${MACHINE}"

SRCS+=	vers.c
CLEANFILES+=	vers.c
@


