26 lines
485 B
Makefile
26 lines
485 B
Makefile
# $NetBSD: Makefile,v 1.11 2001/08/20 12:19:46 martin Exp $
|
|
# @(#)Makefile 8.1 (Berkeley) 6/5/93
|
|
|
|
PROG= route
|
|
MKMAN= no
|
|
SRCS= route.c show.c keywords.c
|
|
|
|
SRCDIR= ${.CURDIR}/../../../sbin/route
|
|
CPPFLAGS+= -DSMALL -I${SRCDIR}
|
|
.if (${MACHINE} == "i386") || (${MACHINE} == "hpcmips") || (${MACHINE} == "x68k")
|
|
CPPFLAGS+= -DINET6
|
|
.endif
|
|
.if ${MACHINE_ARCH} != "sparc64"
|
|
COPTS+= -Os
|
|
.endif
|
|
LDSTATIC?=-static
|
|
|
|
BINOWN= root
|
|
BINMODE=4555
|
|
|
|
all: ${PROG}
|
|
|
|
.include <bsd.prog.mk>
|
|
|
|
.PATH: ${SRCDIR}
|