2010-10-02 21:35:33 +00:00
|
|
|
# @(#)Makefile 8.2 (Berkeley) 3/21/94
|
|
|
|
# $FreeBSD$
|
2018-01-29 19:14:15 +00:00
|
|
|
#
|
2010-10-02 21:35:33 +00:00
|
|
|
# Makefile for init_sysent
|
|
|
|
|
2018-01-29 19:14:15 +00:00
|
|
|
# Don't use an OBJDIR
|
|
|
|
.OBJDIR: ${.CURDIR}
|
|
|
|
|
2019-11-18 23:28:23 +00:00
|
|
|
.include <src.lua.mk>
|
|
|
|
|
2019-12-06 23:59:23 +00:00
|
|
|
MAKESYSCALLS= ../tools/makesyscalls.lua
|
|
|
|
SRCS= capabilities.conf \
|
|
|
|
syscalls.master
|
|
|
|
GENERATED= init_sysent.c \
|
|
|
|
syscalls.c \
|
2020-01-09 06:10:25 +00:00
|
|
|
systrace_args.c \
|
2019-12-06 23:59:23 +00:00
|
|
|
../sys/syscall.h \
|
|
|
|
../sys/syscall.mk \
|
|
|
|
../sys/sysproto.h
|
|
|
|
|
2010-10-02 21:35:33 +00:00
|
|
|
all:
|
2010-10-02 22:12:41 +00:00
|
|
|
@echo "make sysent only"
|
2010-10-02 21:35:33 +00:00
|
|
|
|
2020-01-10 18:24:17 +00:00
|
|
|
# We .ORDER these explicitly so that we only run MAKESYSCALLS once, rather than
|
|
|
|
# potentially once for each ${GENERATED} file.
|
|
|
|
.ORDER: ${GENERATED}
|
2019-12-06 23:59:23 +00:00
|
|
|
sysent: ${GENERATED}
|
2010-10-02 21:35:33 +00:00
|
|
|
|
2019-12-06 23:59:23 +00:00
|
|
|
${GENERATED}: ${MAKESYSCALLS} ${SRCS}
|
|
|
|
${LUA} ${MAKESYSCALLS} syscalls.master
|