freebsd-skq/sys/amd64/linux32/Makefile
brooks dfa2e15cbe sysent: Reduce duplication and improve readability.
Use the power of variable to avoid spelling out source and generated
files too many times.  The previous Makefiles were hard to read, hard to
edit, and badly formatted.

Reviewed by:	kevans, emaste
Sponsored by:	DARPA, AFRL
Differential Revision:	https://reviews.freebsd.org/D22714
2019-12-06 23:59:23 +00:00

26 lines
465 B
Makefile

# Makefile for syscall tables
#
# $FreeBSD$
# Don't use an OBJDIR
.OBJDIR: ${.CURDIR}
.include <src.lua.mk>
MAKESYSCALLS= ../../tools/makesyscalls.lua
SRCS= syscalls.conf \
syscalls.master
GENERATED= linux32_proto.h \
linux32_syscall.h \
linux32_syscalls.c \
linux32_sysent.c \
linux32_systrace_args.c
all:
@echo "make sysent only"
sysent: ${GENERATED}
${GENERATED}: ${MAKESYSCALLS} ${SRCS}
${LUA} ${MAKESYSCALLS} syscalls.master syscalls.conf