From 80c49332e2742aaa15cca373c560c0d027ae82bc Mon Sep 17 00:00:00 2001 From: Ruslan Ermilov Date: Wed, 4 Feb 2004 10:20:43 +0000 Subject: [PATCH] Put libdevstat before libkvm, because the former depends on the latter. --- libexec/rpc.rstatd/Makefile | 4 ++-- usr.bin/systat/Makefile | 4 ++-- usr.bin/vmstat/Makefile | 4 ++-- usr.sbin/iostat/Makefile | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/libexec/rpc.rstatd/Makefile b/libexec/rpc.rstatd/Makefile index f0e4649a3752..be8981430171 100644 --- a/libexec/rpc.rstatd/Makefile +++ b/libexec/rpc.rstatd/Makefile @@ -4,7 +4,7 @@ PROG = rpc.rstatd SRCS = rstatd.c rstat_proc.c MAN = rpc.rstatd.8 -DPADD= ${LIBRPCSVC} ${LIBUTIL} ${LIBKVM} ${LIBDEVSTAT} -LDADD= -lrpcsvc -lutil -lkvm -ldevstat +DPADD= ${LIBRPCSVC} ${LIBUTIL} ${LIBDEVSTAT} ${LIBKVM} +LDADD= -lrpcsvc -lutil -ldevstat -lkvm .include diff --git a/usr.bin/systat/Makefile b/usr.bin/systat/Makefile index c74c08dc05fa..3cd09f4b50a4 100644 --- a/usr.bin/systat/Makefile +++ b/usr.bin/systat/Makefile @@ -7,7 +7,7 @@ SRCS= cmds.c cmdtab.c devs.c fetch.c iostat.c keyboard.c main.c \ mode.c ip.c ip6.c tcp.c \ vmstat.c convtbl.c ifcmds.c ifstat.c CFLAGS+=-DINET6 -DPADD= ${LIBCURSES} ${LIBM} ${LIBKVM} ${LIBDEVSTAT} -LDADD= -lcurses -lm -lkvm -ldevstat +DPADD= ${LIBCURSES} ${LIBM} ${LIBDEVSTAT} ${LIBKVM} +LDADD= -lcurses -lm -ldevstat -lkvm .include diff --git a/usr.bin/vmstat/Makefile b/usr.bin/vmstat/Makefile index bc0546e45957..da2a08da33ee 100644 --- a/usr.bin/vmstat/Makefile +++ b/usr.bin/vmstat/Makefile @@ -3,7 +3,7 @@ PROG= vmstat MAN= vmstat.8 -DPADD= ${LIBKVM} ${LIBDEVSTAT} -LDADD= -lkvm -ldevstat +DPADD= ${LIBDEVSTAT} ${LIBKVM} +LDADD= -ldevstat -lkvm .include diff --git a/usr.sbin/iostat/Makefile b/usr.sbin/iostat/Makefile index b51d9415893a..558b09bbd6cc 100644 --- a/usr.sbin/iostat/Makefile +++ b/usr.sbin/iostat/Makefile @@ -4,7 +4,7 @@ PROG= iostat MAN= iostat.8 -DPADD= ${LIBKVM} ${LIBDEVSTAT} ${LIBM} -LDADD= -lkvm -ldevstat -lm +DPADD= ${LIBDEVSTAT} ${LIBKVM} ${LIBM} +LDADD= -ldevstat -lkvm -lm .include