From owner-freebsd-hackers@freebsd.org Wed Jun 27 19:41:28 2018 Return-Path: Delivered-To: freebsd-hackers@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B88C81004702 for ; Wed, 27 Jun 2018 19:41:28 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id EBBBC8F849 for ; Wed, 27 Jun 2018 19:41:27 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: by mailman.ysv.freebsd.org (Postfix) id AC83610046ED; Wed, 27 Jun 2018 19:41:27 +0000 (UTC) Delivered-To: hackers@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 850DD10046EB for ; Wed, 27 Jun 2018 19:41:27 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-it0-x236.google.com (mail-it0-x236.google.com [IPv6:2607:f8b0:4001:c0b::236]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 2056C8F842 for ; Wed, 27 Jun 2018 19:41:27 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: by mail-it0-x236.google.com with SMTP id 188-v6so9090659ita.5 for ; Wed, 27 Jun 2018 12:41:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20150623.gappssmtp.com; s=20150623; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=VUuQKTrKaaUgu6q5IfYh7IAVjObleKHrSAINSPhIJmY=; b=wV/lQaRUrthvNW5EZganXeFeTDx09CHYIZHEToT0EcU/ET+sEo3yAuTSbk4hs9bk1K sXP8iBec+7mFzrj+mM4NoUvD9BKRDVVqaq66V2YPeubZZOEk+zLtTV7OeHZieWaxijt4 h5TdD1BV5KP9Q5SXRLZ8pmFJORFdkJRuk5/u6g99KifFoxLaoCYOvJkbU39PEDHqsTub YuIcYvB0Wk6CNzzqEkfAs5TMSXcQos/F90vNJrTfquIsfNvBBuvL0kt2bbvfwOIPBns8 sdTuqRKpkneL0ca0v2olrndSgxmSoOxQcwCXPoA1d9p7+wOcOEHyASv7Lv6MziO5w2U+ wvQA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=VUuQKTrKaaUgu6q5IfYh7IAVjObleKHrSAINSPhIJmY=; b=fZU6Qqh3tso9WpJxaPtfHvoahlEXTRor7oIMK6ksImCi89vU0oOVuWH6eRc9UQxpmy ZpBcWTtVs/sGwrx78J5XQn9PNxWA66jiRG3iE5Wt6lq6cv4opdwL3lnKzxe28Akjv4Wq 3Ge9A2ukjXKs2hQ7Q2NT80dYTVnOtmGxdNYPS2s92JvIxJCAj5r4PJNozIJLKGa9X0z+ HQdVaurnJ02ehaQcM/2NDus34hOV+EdPDxZOMuXkKW72tG8cTqTDazVOfWYuwtS5v0S4 zQTbVt6rtgoiyfoWCxCz2pRgxU0Hp54SXmFJB3oiquRAHV/n3oLG44FpftVqhOaykn5+ Vq2A== X-Gm-Message-State: APt69E1T1DJlGfMspISHYS/XWRWPlwRpk7KFebHDk5O1BLYbbOuItqJI J8SqrXwE2AAfKImkUUuYr6V9OHX1MjJFY5K+s/ry5Q== X-Google-Smtp-Source: ADUXVKIG+lGlmhVxYILzChMB0FtX6xi998uk/LSiIm/tjoIxbA2H6SzS1tbjMsbAIAD+QgLIPsoey3ZrVcyHXiomahM= X-Received: by 2002:a24:7c8d:: with SMTP id a135-v6mr6064902itd.73.1530128486366; Wed, 27 Jun 2018 12:41:26 -0700 (PDT) MIME-Version: 1.0 Sender: wlosh@bsdimp.com Received: by 2002:a4f:5945:0:0:0:0:0 with HTTP; Wed, 27 Jun 2018 12:41:25 -0700 (PDT) X-Originating-IP: [50.227.106.226] In-Reply-To: References: From: Warner Losh Date: Wed, 27 Jun 2018 13:41:25 -0600 X-Google-Sender-Auth: x2DzfQNo1FgIJWCHSHJb5LWDKwY Message-ID: Subject: Re: makefile question To: Hartmut Brandt Cc: "freebsd-hackers@freebsd.org" Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.26 X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Jun 2018 19:41:29 -0000 On Wed, Jun 27, 2018 at 1:33 PM, Hartmut Brandt 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" >