head	1.3;
access;
symbols
	netbsd-11-0-RC4:1.3
	netbsd-11-0-RC3:1.3
	netbsd-11-0-RC2:1.3
	netbsd-11-0-RC1:1.3
	perseant-exfatfs-base-20250801:1.3
	netbsd-11:1.3.0.58
	netbsd-11-base:1.3
	netbsd-10-1-RELEASE:1.3
	perseant-exfatfs-base-20240630:1.3
	perseant-exfatfs:1.3.0.56
	perseant-exfatfs-base:1.3
	netbsd-8-3-RELEASE:1.3
	netbsd-9-4-RELEASE:1.3
	netbsd-10-0-RELEASE:1.3
	netbsd-10-0-RC6:1.3
	netbsd-10-0-RC5:1.3
	netbsd-10-0-RC4:1.3
	netbsd-10-0-RC3:1.3
	netbsd-10-0-RC2:1.3
	thorpej-ifq:1.3.0.54
	thorpej-ifq-base:1.3
	thorpej-altq-separation:1.3.0.52
	thorpej-altq-separation-base:1.3
	netbsd-10-0-RC1:1.3
	netbsd-10:1.3.0.50
	netbsd-10-base:1.3
	bouyer-sunxi-drm:1.3.0.48
	bouyer-sunxi-drm-base:1.3
	netbsd-9-3-RELEASE:1.3
	thorpej-i2c-spi-conf2:1.3.0.46
	thorpej-i2c-spi-conf2-base:1.3
	thorpej-futex2:1.3.0.44
	thorpej-futex2-base:1.3
	thorpej-cfargs2:1.3.0.42
	thorpej-cfargs2-base:1.3
	cjep_sun2x-base1:1.3
	cjep_sun2x:1.3.0.40
	cjep_sun2x-base:1.3
	cjep_staticlib_x-base1:1.3
	netbsd-9-2-RELEASE:1.3
	cjep_staticlib_x:1.3.0.38
	cjep_staticlib_x-base:1.3
	thorpej-i2c-spi-conf:1.3.0.36
	thorpej-i2c-spi-conf-base:1.3
	thorpej-cfargs:1.3.0.34
	thorpej-cfargs-base:1.3
	thorpej-futex:1.3.0.32
	thorpej-futex-base:1.3
	netbsd-9-1-RELEASE:1.3
	bouyer-xenpvh-base2:1.3
	phil-wifi-20200421:1.3
	bouyer-xenpvh-base1:1.3
	phil-wifi-20200411:1.3
	bouyer-xenpvh:1.3.0.30
	bouyer-xenpvh-base:1.3
	is-mlppp:1.3.0.28
	is-mlppp-base:1.3
	phil-wifi-20200406:1.3
	netbsd-8-2-RELEASE:1.3
	ad-namecache-base3:1.3
	netbsd-9-0-RELEASE:1.3
	netbsd-9-0-RC2:1.3
	ad-namecache-base2:1.3
	ad-namecache-base1:1.3
	ad-namecache:1.3.0.26
	ad-namecache-base:1.3
	netbsd-9-0-RC1:1.3
	phil-wifi-20191119:1.3
	netbsd-9:1.3.0.24
	netbsd-9-base:1.3
	phil-wifi-20190609:1.3
	netbsd-8-1-RELEASE:1.3
	netbsd-8-1-RC1:1.3
	isaki-audio2:1.3.0.22
	isaki-audio2-base:1.3
	pgoyette-compat-merge-20190127:1.3
	pgoyette-compat-20190127:1.3
	pgoyette-compat-20190118:1.3
	pgoyette-compat-1226:1.3
	pgoyette-compat-1126:1.3
	pgoyette-compat-1020:1.3
	pgoyette-compat-0930:1.3
	pgoyette-compat-0906:1.3
	pgoyette-compat-0728:1.3
	netbsd-8-0-RELEASE:1.3
	phil-wifi:1.3.0.20
	phil-wifi-base:1.3
	pgoyette-compat-0625:1.3
	netbsd-8-0-RC2:1.3
	pgoyette-compat-0521:1.3
	pgoyette-compat-0502:1.3
	pgoyette-compat-0422:1.3
	netbsd-8-0-RC1:1.3
	pgoyette-compat-0415:1.3
	pgoyette-compat-0407:1.3
	pgoyette-compat-0330:1.3
	pgoyette-compat-0322:1.3
	pgoyette-compat-0315:1.3
	pgoyette-compat:1.3.0.18
	pgoyette-compat-base:1.3
	tls-maxphys:1.3.0.16
	tls-maxphys-base-20171202:1.3
	matt-nb8-mediatek:1.3.0.14
	matt-nb8-mediatek-base:1.3
	nick-nhusb-base-20170825:1.3
	perseant-stdc-iso10646:1.3.0.12
	perseant-stdc-iso10646-base:1.3
	netbsd-8:1.3.0.10
	netbsd-8-base:1.3
	prg-localcount2-base3:1.3
	prg-localcount2-base2:1.3
	prg-localcount2-base1:1.3
	prg-localcount2:1.3.0.8
	prg-localcount2-base:1.3
	pgoyette-localcount-20170426:1.3
	bouyer-socketcan-base1:1.3
	jdolecek-ncq:1.3.0.6
	jdolecek-ncq-base:1.3
	pgoyette-localcount-20170320:1.3
	nick-nhusb-base-20170204:1.3
	bouyer-socketcan:1.3.0.4
	bouyer-socketcan-base:1.3
	pgoyette-localcount-20170107:1.3
	nick-nhusb-base-20161204:1.3
	pgoyette-localcount-20161104:1.3
	nick-nhusb-base-20161004:1.3
	localcount-20160914:1.3
	pgoyette-localcount-20160806:1.3
	pgoyette-localcount-20160726:1.3
	pgoyette-localcount:1.3.0.2
	pgoyette-localcount-base:1.3
	nick-nhusb-base-20160907:1.3
	nick-nhusb-base-20160529:1.3
	nick-nhusb-base-20160422:1.3
	nick-nhusb-base-20160319:1.3
	nick-nhusb-base-20151226:1.3
	nick-nhusb-base-20150921:1.3
	nick-nhusb-base-20150606:1.3
	nick-nhusb:1.1.0.2
	nick-nhusb-base-20150406:1.1;
locks; strict;
comment	@# @;


1.3
date	2015.05.18.17.49.16;	author pooka;	state Exp;
branches
	1.3.16.1;
next	1.2;
commitid	v4SUMT5Y2c1dcXly;

1.2
date	2015.05.09.12.03.10;	author pooka;	state Exp;
branches;
next	1.1;
commitid	nZayvNqtYeEuzLky;

1.1
date	2015.03.08.15.22.02;	author christos;	state Exp;
branches
	1.1.2.1;
next	;
commitid	P6TXDthwGY7rFOcy;

1.3.16.1
date	2015.05.18.17.49.16;	author jdolecek;	state dead;
branches;
next	1.3.16.2;
commitid	XcIYRZTAh1LmerhA;

1.3.16.2
date	2017.12.03.11.39.14;	author jdolecek;	state Exp;
branches;
next	;
commitid	XcIYRZTAh1LmerhA;

1.1.2.1
date	2015.03.08.15.22.02;	author skrll;	state dead;
branches;
next	1.1.2.2;
commitid	pz01Zhy7RP6iGxgy;

1.1.2.2
date	2015.04.06.15.18.29;	author skrll;	state Exp;
branches;
next	1.1.2.3;
commitid	pz01Zhy7RP6iGxgy;

1.1.2.3
date	2015.06.06.14.40.28;	author skrll;	state Exp;
branches;
next	;
commitid	O6LVO5i6UulOvnoy;


desc
@@


1.3
log
@Rewrite rules so that makesyscalls.sh will not be executed multiple
times in a parallel make.

Hopefully fixes sporadic build failures reported by Justin
@
text
@# $NetBSD: Makefile.sys,v 1.2 2015/05/09 12:03:10 pooka Exp $

SYS_MKSYSCALLS=${.CURDIR}/../../../../kern/makesyscalls.sh

SYS_DST=  ${SYS_P}calls.c ${SYS_P}ent.c ${SYS_P}callargs.h ${SYS_P}call.h
SYS_SRC=${SYS_MKSYSCALLS} ${.CURDIR}/syscalls.conf ${.CURDIR}/syscalls.master

${SYS_P}callargs.h: ${SYS_SRC}
	cd ${.OBJDIR} && ${HOST_SH} ${.ALLSRC}

${SYS_P}ent.c: ${SYS_P}callargs.h

CPPFLAGS+= -I${.OBJDIR}

DPSRCS+= ${SYS_P}callargs.h
SRCS+= ${SYS_P}ent.c

CLEANFILES+= ${SYS_DST}
@


1.3.16.1
log
@file Makefile.sys was added on branch tls-maxphys on 2017-12-03 11:39:14 +0000
@
text
@d1 18
@


1.3.16.2
log
@update from HEAD
@
text
@a0 18
# $NetBSD$

SYS_MKSYSCALLS=${.CURDIR}/../../../../kern/makesyscalls.sh

SYS_DST=  ${SYS_P}calls.c ${SYS_P}ent.c ${SYS_P}callargs.h ${SYS_P}call.h
SYS_SRC=${SYS_MKSYSCALLS} ${.CURDIR}/syscalls.conf ${.CURDIR}/syscalls.master

${SYS_P}callargs.h: ${SYS_SRC}
	cd ${.OBJDIR} && ${HOST_SH} ${.ALLSRC}

${SYS_P}ent.c: ${SYS_P}callargs.h

CPPFLAGS+= -I${.OBJDIR}

DPSRCS+= ${SYS_P}callargs.h
SRCS+= ${SYS_P}ent.c

CLEANFILES+= ${SYS_DST}
@


1.2
log
@Make the cool syscall autogeneration feature work with the
newfangled r/o src feature.
@
text
@d1 1
a1 1
# $NetBSD: Makefile.sys,v 1.1 2015/03/08 15:22:02 christos Exp $
d8 1
a8 1
${SYS_DST}: ${SYS_SRC}
d11 2
@


1.1
log
@Add snippet to build syscalls.
@
text
@d1 1
a1 1
# $NetBSD$
d4 3
a6 2
SYS_DST=${SYS_P}calls.c ${SYS_P}ent.c ${SYS_P}callargs.h ${SYS_P}call.h: 
SYS_SRC=${SYS_MKSYSCALLS} syscalls.conf syscalls.master
d9 8
a16 1
	cd ${.CURDIR} && ${HOST_SH} ${.ALLSRC}
@


1.1.2.1
log
@file Makefile.sys was added on branch nick-nhusb on 2015-04-06 15:18:29 +0000
@
text
@d1 8
@


1.1.2.2
log
@Sync with HEAD
@
text
@a0 8
# $NetBSD: Makefile.sys,v 1.1 2015/03/08 15:22:02 christos Exp $

SYS_MKSYSCALLS=${.CURDIR}/../../../../kern/makesyscalls.sh
SYS_DST=${SYS_P}calls.c ${SYS_P}ent.c ${SYS_P}callargs.h ${SYS_P}call.h: 
SYS_SRC=${SYS_MKSYSCALLS} syscalls.conf syscalls.master

${SYS_DST}: ${SYS_SRC}
	cd ${.CURDIR} && ${HOST_SH} ${.ALLSRC}
@


1.1.2.3
log
@Sync with HEAD
@
text
@d1 1
a1 1
# $NetBSD: Makefile.sys,v 1.1.2.2 2015/04/06 15:18:29 skrll Exp $
d4 2
d7 2
a8 14
SYS_DST=  ${SYS_P}calls.c ${SYS_P}ent.c ${SYS_P}callargs.h ${SYS_P}call.h
SYS_SRC=${SYS_MKSYSCALLS} ${.CURDIR}/syscalls.conf ${.CURDIR}/syscalls.master

${SYS_P}callargs.h: ${SYS_SRC}
	cd ${.OBJDIR} && ${HOST_SH} ${.ALLSRC}

${SYS_P}ent.c: ${SYS_P}callargs.h

CPPFLAGS+= -I${.OBJDIR}

DPSRCS+= ${SYS_P}callargs.h
SRCS+= ${SYS_P}ent.c

CLEANFILES+= ${SYS_DST}
@


