mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-11-30 00:02:44 +00:00
Add a Makefile to build all three syscall tables
This commit is contained in:
parent
55a278acdd
commit
4a37393e95
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=24374
26
sys/i386/ibcs2/Makefile
Normal file
26
sys/i386/ibcs2/Makefile
Normal file
@ -0,0 +1,26 @@
|
||||
# Makefile for syscall tables
|
||||
#
|
||||
# $Id$
|
||||
|
||||
all:
|
||||
@echo "make ibcs2_sysent.c, ibcs2_isc_sysent.c or ibcs2_xenix_sysent.c only"
|
||||
|
||||
ibcs2_sysent.c ibcs2_syscall.h ibcs2_proto.h: ../../kern/makesyscalls.sh \
|
||||
syscalls.master syscalls.conf
|
||||
-mv -f ibcs2_sysent.c ibcs2_sysent.c.bak
|
||||
-mv -f ibcs2_syscall.h ibcs2_syscall.h.bak
|
||||
-mv -f ibcs2_proto.h ibcs2_proto.h.bak
|
||||
sh ../../kern/makesyscalls.sh syscalls.master syscalls.conf
|
||||
|
||||
ibcs2_isc_sysent.c ibcs2_isc_syscall.h : ../../kern/makesyscalls.sh \
|
||||
syscalls.isc syscalls.isc.conf
|
||||
-mv -f ibcs2_isc_sysent.c ibcs2_isc_sysent.c.bak
|
||||
-mv -f ibcs2_isc_syscall.h ibcs2_isc_syscall.h.bak
|
||||
sh ../../kern/makesyscalls.sh syscalls.isc syscalls.isc.conf
|
||||
|
||||
ibcs2_xenix_sysent.c ibcs2_xenix_syscall.h ibcs2_xenix.h: \
|
||||
../../kern/makesyscalls.sh syscalls.xenix syscalls.xenix.conf
|
||||
-mv -f ibcs2_xenix_sysent.c ibcs2_xenix_sysent.c.bak
|
||||
-mv -f ibcs2_xenix_syscall.h ibcs2_xenix_syscall.h.bak
|
||||
-mv -f ibcs2_xenix.h ibcs2_xenix.h.bak
|
||||
sh ../../kern/makesyscalls.sh syscalls.xenix syscalls.xenix.conf
|
Loading…
Reference in New Issue
Block a user