NetBSD/sys/compat/hpux/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

14 lines
491 B
Makefile

# $NetBSD: Makefile,v 1.5 2003/10/26 07:25:37 lukem Exp $
.include <bsd.sys.mk> # for HOST_SH
DEP= syscalls.conf syscalls.master ../../kern/makesyscalls.sh
OBJS= hpux_sysent.c hpux_syscalls.c hpux_syscall.h hpux_syscallargs.h
${OBJS}: ${DEP}
-mv -f hpux_sysent.c hpux_sysent.c.bak
-mv -f hpux_syscalls.c hpux_syscalls.c.bak
-mv -f hpux_syscall.h hpux_syscall.h.bak
-mv -f hpux_syscallargs.h hpux_syscallargs.h.bak
${HOST_SH} ../../kern/makesyscalls.sh syscalls.conf syscalls.master