NetBSD/sys/arch/newsmips/stand/Makefile.inc
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

20 lines
411 B
Makefile

# $NetBSD: Makefile.inc,v 1.4 2003/10/26 07:25:36 lukem Exp $
BINDIR= /usr/mdec
# if there is a 'version' file, add rule for vers.c and add it to SRCS
# and CLEANFILES
.if exists(version)
.PHONY: vers.c
vers.c: version
${HOST_SH} ${S}/conf/newvers_stand.sh ${.CURDIR}/version ${MACHINE}
SRCS+= vers.c
CLEANFILES+= vers.c
.endif
# XXX SHOULD NOT NEED TO DEFINE THESE!
LIBCRT0=
LIBC=
LIBCRTBEGIN=
LIBCRTEND=