]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - sys/amd64/linux32/Makefile
MFV: r356607
[FreeBSD/FreeBSD.git] / sys / amd64 / linux32 / Makefile
1 # Makefile for syscall tables
2 #
3 # $FreeBSD$
4
5 # Don't use an OBJDIR
6 .OBJDIR: ${.CURDIR}
7
8 .include <src.lua.mk>
9
10 MAKESYSCALLS=   ../../tools/makesyscalls.lua
11 SRCS=           syscalls.conf           \
12                 syscalls.master
13 GENERATED=      linux32_proto.h         \
14                 linux32_syscall.h       \
15                 linux32_syscalls.c      \
16                 linux32_sysent.c        \
17                 linux32_systrace_args.c
18
19 all:
20         @echo "make sysent only"
21
22 # We .ORDER these explicitly so that we only run MAKESYSCALLS once, rather than
23 # potentially once for each ${GENERATED} file.
24 .ORDER: ${GENERATED}
25 sysent: ${GENERATED}
26
27 ${GENERATED}: ${MAKESYSCALLS} ${SRCS}
28         ${LUA} ${MAKESYSCALLS} syscalls.master syscalls.conf