Index: head/sys/amd64/linux/Makefile =================================================================== --- head/sys/amd64/linux/Makefile (revision 328559) +++ head/sys/amd64/linux/Makefile (revision 328560) @@ -1,12 +1,15 @@ # Makefile for syscall tables # # $FreeBSD$ +# Don't use an OBJDIR +.OBJDIR: ${.CURDIR} + all: @echo "make sysent only" sysent: linux_sysent.c linux_syscall.h linux_proto.h linux_syscalls.c linux_systrace_args.c linux_sysent.c linux_syscall.h linux_proto.h linux_syscalls.c linux_systrace_args.c: \ ../../kern/makesyscalls.sh syscalls.master syscalls.conf sh ../../kern/makesyscalls.sh syscalls.master syscalls.conf Index: head/sys/amd64/linux32/Makefile =================================================================== --- head/sys/amd64/linux32/Makefile (revision 328559) +++ head/sys/amd64/linux32/Makefile (revision 328560) @@ -1,12 +1,15 @@ # Makefile for syscall tables # # $FreeBSD$ +# Don't use an OBJDIR +.OBJDIR: ${.CURDIR} + all: @echo "make sysent only" sysent: linux32_sysent.c linux32_syscall.h linux32_proto.h linux32_syscalls.c linux32_systrace_args.c linux32_sysent.c linux32_syscall.h linux32_proto.h linux32_syscalls.c linux32_systrace_args.c: ../../kern/makesyscalls.sh \ syscalls.master syscalls.conf sh ../../kern/makesyscalls.sh syscalls.master syscalls.conf Index: head/sys/compat/cloudabi32/Makefile =================================================================== --- head/sys/compat/cloudabi32/Makefile (revision 328559) +++ head/sys/compat/cloudabi32/Makefile (revision 328560) @@ -1,14 +1,17 @@ # $FreeBSD$ +# Don't use an OBJDIR +.OBJDIR: ${.CURDIR} + all: @echo "make sysent only" sysent: cloudabi32_sysent.c cloudabi32_syscall.h cloudabi32_proto.h \ cloudabi32_syscalls.c cloudabi32_systrace_args.c cloudabi32_sysent.c cloudabi32_syscall.h cloudabi32_proto.h \ cloudabi32_syscalls.c cloudabi32_systrace_args.c: \ ../../kern/makesyscalls.sh ../../contrib/cloudabi/syscalls32.master \ syscalls.conf sh ../../kern/makesyscalls.sh ../../contrib/cloudabi/syscalls32.master \ syscalls.conf Index: head/sys/compat/cloudabi64/Makefile =================================================================== --- head/sys/compat/cloudabi64/Makefile (revision 328559) +++ head/sys/compat/cloudabi64/Makefile (revision 328560) @@ -1,14 +1,17 @@ # $FreeBSD$ +# Don't use an OBJDIR +.OBJDIR: ${.CURDIR} + all: @echo "make sysent only" sysent: cloudabi64_sysent.c cloudabi64_syscall.h cloudabi64_proto.h \ cloudabi64_syscalls.c cloudabi64_systrace_args.c cloudabi64_sysent.c cloudabi64_syscall.h cloudabi64_proto.h \ cloudabi64_syscalls.c cloudabi64_systrace_args.c: \ ../../kern/makesyscalls.sh ../../contrib/cloudabi/syscalls64.master \ syscalls.conf sh ../../kern/makesyscalls.sh ../../contrib/cloudabi/syscalls64.master \ syscalls.conf Index: head/sys/compat/freebsd32/Makefile =================================================================== --- head/sys/compat/freebsd32/Makefile (revision 328559) +++ head/sys/compat/freebsd32/Makefile (revision 328560) @@ -1,16 +1,19 @@ # Makefile for syscall tables # # $FreeBSD$ +# Don't use an OBJDIR +.OBJDIR: ${.CURDIR} + all: @echo "make sysent only" sysent: freebsd32_sysent.c freebsd32_syscall.h freebsd32_proto.h freebsd32_systrace_args.c freebsd32_sysent.c freebsd32_syscalls.c freebsd32_syscall.h freebsd32_proto.h freebsd32_systrace_args.c : \ ../../kern/makesyscalls.sh syscalls.master syscalls.conf capabilities.conf sh ../../kern/makesyscalls.sh syscalls.master syscalls.conf clean: rm -f freebsd32_sysent.c freebsd32_syscalls.c freebsd32_syscall.h freebsd32_proto.h rm -f freebsd32_systrace_args.c Index: head/sys/i386/ibcs2/Makefile =================================================================== --- head/sys/i386/ibcs2/Makefile (revision 328559) +++ head/sys/i386/ibcs2/Makefile (revision 328560) @@ -1,24 +1,27 @@ # Makefile for syscall tables # # $FreeBSD$ +# Don't use an OBJDIR +.OBJDIR: ${.CURDIR} + all: @echo "make sysent, isc_sysent or xenix_sysent only" sysent: ibcs2_sysent.c ibcs2_syscall.h ibcs2_proto.h ibcs2_sysent.c ibcs2_syscall.h ibcs2_proto.h: ../../kern/makesyscalls.sh \ syscalls.master syscalls.conf sh ../../kern/makesyscalls.sh syscalls.master syscalls.conf isc_sysent: ibcs2_isc_sysent.c ibcs2_isc_syscall.h ibcs2_isc_sysent.c ibcs2_isc_syscall.h : ../../kern/makesyscalls.sh \ syscalls.isc syscalls.isc.conf sh ../../kern/makesyscalls.sh syscalls.isc syscalls.isc.conf xenix_sysent: ibcs2_xenix_sysent.c ibcs2_xenix_syscall.h ibcs2_xenix.h ibcs2_xenix_sysent.c ibcs2_xenix_syscall.h ibcs2_xenix.h: \ ../../kern/makesyscalls.sh syscalls.xenix syscalls.xenix.conf sh ../../kern/makesyscalls.sh syscalls.xenix syscalls.xenix.conf Index: head/sys/i386/linux/Makefile =================================================================== --- head/sys/i386/linux/Makefile (revision 328559) +++ head/sys/i386/linux/Makefile (revision 328560) @@ -1,12 +1,15 @@ # Makefile for syscall tables # # $FreeBSD$ +# Don't use an OBJDIR +.OBJDIR: ${.CURDIR} + all: @echo "make sysent only" sysent: linux_sysent.c linux_syscall.h linux_proto.h linux_syscalls.c linux_systrace_args.c linux_sysent.c linux_syscall.h linux_proto.h linux_syscalls.c linux_systrace_args.c: \ ../../kern/makesyscalls.sh syscalls.master syscalls.conf sh ../../kern/makesyscalls.sh syscalls.master syscalls.conf Index: head/sys/kern/Makefile =================================================================== --- head/sys/kern/Makefile (revision 328559) +++ head/sys/kern/Makefile (revision 328560) @@ -1,15 +1,18 @@ # @(#)Makefile 8.2 (Berkeley) 3/21/94 # $FreeBSD$ - +# # Makefile for init_sysent + +# Don't use an OBJDIR +.OBJDIR: ${.CURDIR} all: @echo "make sysent only" sysent: init_sysent.c syscalls.c ../sys/syscall.h ../sys/syscall.mk \ ../sys/sysproto.h init_sysent.c syscalls.c systrace_args.c ../sys/syscall.h \ ../sys/syscall.mk ../sys/sysproto.h: makesyscalls.sh syscalls.master \ capabilities.conf sh makesyscalls.sh syscalls.master