aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/mrouted/Makefile.inc
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/mrouted/Makefile.inc')
-rw-r--r--usr.sbin/mrouted/Makefile.inc11
1 files changed, 10 insertions, 1 deletions
diff --git a/usr.sbin/mrouted/Makefile.inc b/usr.sbin/mrouted/Makefile.inc
index dd437b16e9a2..46ce8d7692e8 100644
--- a/usr.sbin/mrouted/Makefile.inc
+++ b/usr.sbin/mrouted/Makefile.inc
@@ -1,2 +1,11 @@
-.include "${.CURDIR}/../../Makefile.inc"
+# $Id$
+
CFLAGS+= -DRSRR
+
+.if exists(${.OBJDIR}/../common)
+LIBMROUTED= ${.OBJDIR}/../common/libmrouted.a
+.else
+LIBMROUTED= ${.CURDIR}/../common/libmrouted.a
+.endif
+
+.include "../Makefile.inc"