summaryrefslogtreecommitdiff
path: root/sbin/routed/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'sbin/routed/Makefile')
-rw-r--r--sbin/routed/Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/sbin/routed/Makefile b/sbin/routed/Makefile
index 0751fee659d..ac63fc77ea8 100644
--- a/sbin/routed/Makefile
+++ b/sbin/routed/Makefile
@@ -1,13 +1,14 @@
-# $OpenBSD: Makefile,v 1.6 1997/07/30 22:24:39 mickey Exp $
+# $OpenBSD: Makefile,v 1.7 1997/07/30 23:28:39 deraadt Exp $
# @(#)Makefile 8.1 (Berkeley) 6/19/93
PROG= routed
SRCS= if.c input.c main.c output.c parms.c radix.c rdisc.c table.c trace.c
MAN= routed.8
-SUBDIR= rtquery
-# this is for /sys/net/radix.c only
CFLAGS+=-D_ROUTED -D'min(a,b)=(a < b ? a : b)' -D'log=syslog'
CFLAGS+=-D'panic(s)={log(LOG_ERR,s); exit(1);}'
+SUBDIR= rtquery
+DPADD= ${LIBCOMPAT}
+LDADD= -lcompat
# Do *NOT* turn this flag on unless you like security holes
#CFLAGS+=-DPERMIT_TRACE