# Makefile for syscall tables # # $FreeBSD$ # Don't use an OBJDIR .OBJDIR: ${.CURDIR} .include MAKESYSCALLS= ../../tools/makesyscalls.lua SRCS= syscalls.conf \ syscalls.master GENERATED= linux_proto.h \ linux_syscall.h \ linux_syscalls.c \ linux_sysent.c \ linux_systrace_args.c all: @echo "make sysent only" # We .ORDER these explicitly so that we only run MAKESYSCALLS once, rather than # potentially once for each ${GENERATED} file. .ORDER: ${GENERATED} sysent: ${GENERATED} ${GENERATED}: ${MAKESYSCALLS} ${SRCS} ${LUA} ${MAKESYSCALLS} syscalls.master syscalls.conf