NetBSD/sys/compat/aoutm68k/Makefile
lukem f85d2d1c14 Use ${HOST_SH} instead of `sh'.
If necessary, pull in <bsd.sys.mk> to get the definition of HOST_SH;
Makefiles that pull in one of (most of) <bsd.*.mk> will get this anyway.
2003-10-26 07:25:33 +00:00

15 lines
542 B
Makefile

# $NetBSD: Makefile,v 1.2 2003/10/26 07:25:37 lukem Exp $
.include <bsd.sys.mk> # for HOST_SH
DEP= syscalls.conf syscalls.master ../../kern/makesyscalls.sh
OBJS= aoutm68k_sysent.c aoutm68k_syscalls.c \
aoutm68k_syscall.h aoutm68k_syscallargs.h
${OBJS}: ${DEP}
-mv -f aoutm68k_sysent.c aoutm68k_sysent.c.bak
-mv -f aoutm68k_syscalls.c aoutm68k_syscalls.c.bak
-mv -f aoutm68k_syscall.h aoutm68k_syscall.h.bak
-mv -f aoutm68k_syscallargs.h aoutm68k_syscallargs.h.bak
${HOST_SH} ../../kern/makesyscalls.sh syscalls.conf syscalls.master