diff options
author | bapt <bapt@FreeBSD.org> | 2014-11-25 11:23:12 +0000 |
---|---|---|
committer | bapt <bapt@FreeBSD.org> | 2014-11-25 11:23:12 +0000 |
commit | 6fdc031751627af3f5480588e8fd097c3a683ff6 (patch) | |
tree | 69f31f17bfe80e77e4f38188819e4e69f11b9f25 /sbin/ifconfig | |
parent | b3accf4c8d5ec1d17667ddf40509a48d41bc2d91 (diff) | |
download | FreeBSD-src-6fdc031751627af3f5480588e8fd097c3a683ff6.zip FreeBSD-src-6fdc031751627af3f5480588e8fd097c3a683ff6.tar.gz |
Convert sbin/ to LIBADD
Reduce overlinking
Diffstat (limited to 'sbin/ifconfig')
-rw-r--r-- | sbin/ifconfig/Makefile | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/sbin/ifconfig/Makefile b/sbin/ifconfig/Makefile index 8aba6b4..885f8a9 100644 --- a/sbin/ifconfig/Makefile +++ b/sbin/ifconfig/Makefile @@ -35,12 +35,10 @@ SRCS+= ifgre.c # GRE keys etc SRCS+= ifgif.c # GIF reversed header workaround SRCS+= sfp.c # SFP/SFP+ information -DPADD+= ${LIBM} -LDADD+= -lm +LIBADD+= m SRCS+= ifieee80211.c regdomain.c # SIOC[GS]IEEE80211 support -DPADD+= ${LIBBSDXML} ${LIBSBUF} -LDADD+= -lbsdxml -lsbuf +LIBADD+= bsdxml sbuf SRCS+= carp.c # SIOC[GS]VH support SRCS+= ifgroup.c # ... @@ -59,8 +57,7 @@ CFLAGS+= -DINET .endif .if ${MK_JAIL} != "no" && !defined(RELEASE_CRUNCH) && !defined(RESCUE) CFLAGS+= -DJAIL -DPADD+= ${LIBJAIL} -LDADD+= -ljail +LIBADD+= jail .endif MAN= ifconfig.8 |