dfa2e15cbe
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
26 lines
465 B
Makefile
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
|