Fix bugs introduced from the last commit. The loadav routine somehow got
[dragonfly.git] / sys / emulation / linux / i386 / Makefile.misc
1 # Makefile for syscall tables
2 #
3 # $DragonFly: src/sys/emulation/linux/i386/Makefile.misc,v 1.1 2003/08/21 20:08:30 dillon Exp $
4
5 all:
6         @echo "make sysent only"
7
8 sysent: ${.CURDIR}/linux_sysent.c
9
10 ${.CURDIR}/linux_sysent.c ${.CURDIR}/linux_syscall.h \
11 ${.CURDIR}/linux_proto.h ${.CURDIR}/linux_union.h: \
12         ${.CURDIR}/../../../kern/makesyscalls.sh \
13         ${.CURDIR}/syscalls.master ${.CURDIR}/syscalls.conf
14         -mv -f ${.CURDIR}/linux_sysent.c ${.CURDIR}/linux_sysent.c.bak
15         -mv -f ${.CURDIR}/linux_syscall.h ${.CURDIR}/linux_syscall.h.bak
16         -mv -f ${.CURDIR}/linux_proto.h ${.CURDIR}/linux_proto.h.bak
17         -mv -f ${.CURDIR}/linux_union.h ${.CURDIR}/linux_union.h.bak
18         cd ${.CURDIR} && sh ../../../kern/makesyscalls.sh syscalls.master syscalls.conf