Changeset View
Changeset View
Standalone View
Standalone View
head/sys/arm/linux/Makefile
# Makefile for syscall tables | # Makefile for syscall tables | ||||
# | # | ||||
# $FreeBSD$ | # $FreeBSD$ | ||||
# Don't use an OBJDIR | GENERATED_PREFIX= linux_ | ||||
.OBJDIR: ${.CURDIR} | |||||
.include <src.lua.mk> | .include "../../conf/sysent.mk" | ||||
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 |