mirror of
https://github.com/opnsense/src.git
synced 2026-03-15 15:12:37 -04:00
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
25 lines
457 B
Makefile
25 lines
457 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= linux_proto.h \
|
|
linux_syscall.h \
|
|
linux_syscalls.c \
|
|
linux_sysent.c \
|
|
linux_systrace_args.c
|
|
|
|
all:
|
|
@echo "make sysent only"
|
|
|
|
sysent: ${GENERATED}
|
|
|
|
${GENERATED}: ${MAKESYSCALLS} ${SRCS}
|
|
${LUA} ${MAKESYSCALLS} syscalls.master syscalls.conf
|