From owner-freebsd-hackers@freebsd.org Wed Jun 27 19:34: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 2ACA0100417C for ; Wed, 27 Jun 2018 19:34:28 +0000 (UTC) (envelope-from Hartmut.Brandt@dlr.de) 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 C277B8F25E for ; Wed, 27 Jun 2018 19:34:27 +0000 (UTC) (envelope-from Hartmut.Brandt@dlr.de) Received: by mailman.ysv.freebsd.org (Postfix) id 86305100417A; Wed, 27 Jun 2018 19:34: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 73DA31004178 for ; Wed, 27 Jun 2018 19:34:27 +0000 (UTC) (envelope-from Hartmut.Brandt@dlr.de) Received: from mailin.dlr.de (mailin.dlr.de [194.94.201.12]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mailin.dlr.de", Issuer "DFN-Verein Global Issuing CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id CDE618F25C for ; Wed, 27 Jun 2018 19:34:26 +0000 (UTC) (envelope-from Hartmut.Brandt@dlr.de) X-IronPort-AV: E=Sophos;i="5.51,280,1526335200"; d="scan'208";a="4842866" Date: Wed, 27 Jun 2018 21:33:09 +0200 From: Hartmut Brandt X-X-Sender: brandt_h@beagle.kn.op.dlr.de To: Subject: makefile question Message-ID: User-Agent: Alpine 2.21.999 (BSF 260 2018-02-26) MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="US-ASCII" 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:34:28 -0000 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 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