1130b656e5
This will make a number of things easier in the future, as well as (finally!) avoiding the Id-smashing problem which has plagued developers for so long. Boy, I'm glad we're not using sup anymore. This update would have been insane otherwise.
23 lines
361 B
Makefile
23 lines
361 B
Makefile
# $FreeBSD$
|
|
|
|
PROG= mrinfo
|
|
|
|
S= ${.CURDIR}/..
|
|
.PATH: $S
|
|
CFLAGS+= -I$S
|
|
LDADD+= -lmrouted
|
|
.if exists(${.OBJDIR}/../common)
|
|
LDDESTDIR+= -L${.OBJDIR}/../common
|
|
DPADD+= ${.OBJDIR}/../common/libmrouted.a
|
|
.else
|
|
LDDESTDIR+= -L$S/common
|
|
DPADD+= $S/common/libmrouted.a
|
|
.endif
|
|
|
|
SRCS= mrinfo.c
|
|
MAN8= ${.CURDIR}/../mrinfo.8
|
|
BINOWN= root
|
|
BINMODE=4555
|
|
|
|
.include <bsd.prog.mk>
|