1# Makefile for syscall tables 2# 3# $FreeBSD$ 4 5# Don't use an OBJDIR 6.OBJDIR: ${.CURDIR} 7 8.include <src.lua.mk> 9 10MAKESYSCALLS= ../../tools/makesyscalls.lua 11SRCS= ../../kern/capabilities.conf \ 12 syscalls.conf \ 13 syscalls.master 14GENERATED= freebsd32_proto.h \ 15 freebsd32_syscall.h \ 16 freebsd32_syscalls.c \ 17 freebsd32_sysent.c \ 18 freebsd32_systrace_args.c 19 20all: 21 @echo "make sysent only" 22 23# We .ORDER these explicitly so that we only run MAKESYSCALLS once, rather than 24# potentially once for each ${GENERATED} file. 25.ORDER: ${GENERATED} 26sysent: ${GENERATED} 27 28${GENERATED}: ${MAKESYSCALLS} ${SRCS} 29 ${LUA} ${MAKESYSCALLS} syscalls.master syscalls.conf 30