Date: Tue, 02 Mar 2010 13:19:12 -0700 (MST) From: "M. Warner Losh" <imp@bsdimp.com> To: kostikbel@gmail.com Cc: svn-src-head@FreeBSD.org, svn-src-all@FreeBSD.org, src-committers@FreeBSD.org, rizzo@iet.unipi.it Subject: Re: svn commit: r204591 - in head: sbin/ipfw sys/conf sys/net sys/netinet sys/netinet/ipfw sys/netinet/ipfw/test Message-ID: <20100302.131912.119882392285757630.imp@bsdimp.com> In-Reply-To: <20100302192845.GD2489@deviant.kiev.zoral.com.ua> References: <20100302185130.GC2489@deviant.kiev.zoral.com.ua> <20100302190344.GA5490@onelab2.iet.unipi.it> <20100302192845.GD2489@deviant.kiev.zoral.com.ua>
next in thread | previous in thread | raw e-mail | index | archive | help
In message: <20100302192845.GD2489@deviant.kiev.zoral.com.ua> Kostik Belousov <kostikbel@gmail.com> writes: : On Tue, Mar 02, 2010 at 08:03:44PM +0100, Luigi Rizzo wrote: : > On Tue, Mar 02, 2010 at 08:51:30PM +0200, Kostik Belousov wrote: : > ... : > > > --- head/sbin/ipfw/Makefile Tue Mar 2 17:34:11 2010 (r204590) : > > > +++ head/sbin/ipfw/Makefile Tue Mar 2 17:40:48 2010 (r204591) : > > > @@ -3,7 +3,6 @@ : > > > PROG= ipfw : > > > SRCS= ipfw2.c dummynet.c ipv6.c main.c nat.c altq.c : > > > WARNS?= 2 : > > > -DPADD= ${LIBUTIL} : > > > LDADD= -lutil : > > > MAN= ipfw.8 : > > Removal of DPADD is most likely regression ? : > : > possibly. : > i couldn't figure out why it was there in the : > first place, can you clarify what it was for ? : To depend on the libutil, so that ipfw is reloaded when libutil.a is : changed. : : The question I do not know answer for, is why do we need LDADD. DPADD is used to add the static file (/usr/lib/libutil.a). LDADD is used to add the library to the command line (-lutil). IIRC, it isn't always possible to map one to the other, but I've never explored why... Warner
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100302.131912.119882392285757630.imp>