Date: Wed, 27 Jun 2018 13:41:25 -0600 From: Warner Losh <imp@bsdimp.com> To: Hartmut Brandt <hartmut.brandt@dlr.de> Cc: "freebsd-hackers@freebsd.org" <hackers@freebsd.org> Subject: Re: makefile question Message-ID: <CANCZdfp8OHFHdsxf8qdk8ksRkaUPzvrZVgCBOLJS=fNo%2B9=wHg@mail.gmail.com> In-Reply-To: <alpine.BSF.2.21.999.1806272128240.76791@beagle.kn.op.dlr.de> References: <alpine.BSF.2.21.999.1806272128240.76791@beagle.kn.op.dlr.de>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Jun 27, 2018 at 1:33 PM, Hartmut Brandt <hartmut.brandt@dlr.de>
wrote:
> Hi,
>
> I'm preparing an update for bsnmp and have the following problem:
>
> In libbsnmp a header file is created during the build process, which
> obviously ends up in the object tree. Now I need to include this file
> when building the daemon and modules from usr.sbin. I have the feeling
> that doing
>
> CFLAGS += -I../../../lib/libbsnmp/libbsnmp
>
use ${SRCTOP}/lib/... here
Warner
> in usr.sbin/bsnmp/bsnmp to reach into the library object directory doesn't
> look right.
>
> Or is this the right way to do this?
>
> harti
> _______________________________________________
> freebsd-hackers@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-hackers
> To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org"
>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CANCZdfp8OHFHdsxf8qdk8ksRkaUPzvrZVgCBOLJS=fNo%2B9=wHg>
