2005-12-11 15:16:03 +03:00
|
|
|
# $NetBSD: Makefile.inc,v 1.6 2005/12/11 12:18:23 christos Exp $
|
1999-12-09 17:53:00 +03:00
|
|
|
|
|
|
|
BINDIR= /usr/mdec
|
2001-01-30 17:29:47 +03:00
|
|
|
|
2003-10-30 23:19:25 +03:00
|
|
|
CFLAGS+= -ffreestanding
|
|
|
|
|
2001-01-30 17:29:47 +03:00
|
|
|
# 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
|
2003-10-26 10:25:33 +03:00
|
|
|
${HOST_SH} ${S}/conf/newvers_stand.sh ${.CURDIR}/version ${MACHINE}
|
2001-01-30 17:29:47 +03:00
|
|
|
|
|
|
|
SRCS+= vers.c
|
|
|
|
CLEANFILES+= vers.c
|
|
|
|
.endif
|
2003-10-08 05:40:22 +04:00
|
|
|
|
|
|
|
# XXX SHOULD NOT NEED TO DEFINE THESE!
|
|
|
|
LIBCRT0=
|
|
|
|
LIBC=
|
|
|
|
LIBCRTBEGIN=
|
|
|
|
LIBCRTEND=
|