From nobody Fri Feb 18 15:48:27 2022 X-Original-To: freebsd-hackers@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 87EA319C4AFC for ; Fri, 18 Feb 2022 15:48:30 +0000 (UTC) (envelope-from felix@palmen-it.de) Received: from stef.palmen-it.de (stef.palmen-it.de [IPv6:2001:470:1f0b:bbb:1::1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4K0bhG0fbKz3jYh for ; Fri, 18 Feb 2022 15:48:30 +0000 (UTC) (envelope-from felix@palmen-it.de) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=palmen-it.de; s=20200414; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:To:From:Date:Sender:Reply-To:Cc: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=dQ/ZlWhYupxO7TSNpQBCBp5aTUDnEE+oOCrWYaDLL8Q=; b=L//+ABNZH73decCl0kff2S41Ec 8qOZJpkbBLOZanf174tJ2TI6/iiOS1vtDTH+HDf5r3mG/r0DyDnHdlNib+8i0bpCmyU19vhzf0UKo w07EkyRA3cukGx2+vq6xZB/7zIRjCnJbE6b3hr3mKZmdbyoopzSoyJe3znhSkIp2/V8o4h6amSoA4 Bf7sEFgBrdWJxZ0l4u+/A5jtPBf5LxhC9j40h8wpSGJGUzoxGoLqIFsc5pa1bjH/fs6Ig+dk1GeWt 2W9pYCRisloWPCWAT9c/T09L/zAW7u9wsMzsnPFzWdlWFKDaQmfY7PybtipU4ulc9diQMXPdVUQLH E5cqq1TA==; Received: from [192.168.71.101] (helo=mail.home.palmen-it.de) by stef.palmen-it.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1nL5Ui-006m4a-J0 for freebsd-hackers@freebsd.org; Fri, 18 Feb 2022 16:48:28 +0100 Received: from nexus.home.palmen-it.de ([192.168.99.2]) by mail.home.palmen-it.de with esmtpsa (TLS1.3) tls TLS_CHACHA20_POLY1305_SHA256 (Exim 4.95 (FreeBSD)) (envelope-from ) id 1nL5Ui-000P7m-7V for freebsd-hackers@freebsd.org; Fri, 18 Feb 2022 15:48:28 +0000 Date: Fri, 18 Feb 2022 16:48:27 +0100 From: Felix Palmen To: freebsd-hackers@freebsd.org Subject: Re: How to generate a Makefile.depend? Message-ID: <20220218154827.uxa6siux64lncsog@nexus.home.palmen-it.de> Mail-Followup-To: freebsd-hackers@freebsd.org X-Face: /1K@t"h.}e~pR@]c7HorQ!T`F^RJCa'BCr#e>IKA{>C/9OTGB4|xh"y2{?1Z5M i2w"AH^pN_LlHR^{+f',_Np~;.B;!M/bL}*qk]p5*r7F5vW};{:@4u5S?T&f0$7BJ-71Q5SV]:v$`5 A0[DZ:=?S52x8HJ~5@^P_\T@MsjG{R( Organization: palmen-it.de References: <20220218142803.t444nf77dh2sfkgb@nexus.home.palmen-it.de> List-Id: Technical discussions relating to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-hackers List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-hackers@freebsd.org MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="2vupeaemgbywxwhh" Content-Disposition: inline In-Reply-To: User-Agent: NeoMutt/20211029 X-Rspamd-Queue-Id: 4K0bhG0fbKz3jYh X-Spamd-Bar: ------- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=palmen-it.de header.s=20200414 header.b="L//+ABNZ"; dmarc=pass (policy=none) header.from=palmen-it.de; spf=pass (mx1.freebsd.org: domain of felix@palmen-it.de designates 2001:470:1f0b:bbb:1::1 as permitted sender) smtp.mailfrom=felix@palmen-it.de X-Spamd-Result: default: False [-7.80 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2001:470:1f0b:bbb:1::1:c]; TO_DN_NONE(0.00)[]; RCVD_DKIM_ARC_DNSWL_MED(-0.50)[]; HAS_ORG_HEADER(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; MID_RHS_MATCH_FROMTLD(0.00)[]; DKIM_TRACE(0.00)[palmen-it.de:+]; RCVD_IN_DNSWL_MED(-0.20)[2001:470:1f0b:bbb:1::1:from]; DMARC_POLICY_ALLOW(-0.50)[palmen-it.de,none]; NEURAL_HAM_SHORT(-1.00)[-1.000]; SIGNED_PGP(-2.00)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; SUBJECT_ENDS_QUESTION(1.00)[]; ASN(0.00)[asn:6939, ipnet:2001:470::/32, country:US]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[palmen-it.de:s=20200414]; FROM_HAS_DN(0.00)[]; DWL_DNSWL_MED(-2.00)[palmen-it.de:dkim]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; RCPT_COUNT_ONE(0.00)[1]; MLMMJ_DEST(0.00)[freebsd-hackers]; RCVD_TLS_ALL(0.00)[] X-ThisMailContainsUnwantedMimeParts: N --2vupeaemgbywxwhh Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable * Eugene Grosbein [20220218 22:08]: > Take a look at comments in the file /usr/share/mk/bsd.dep.mk > Generally you run "make depend", but it tells that > "meta+filemon mode will track dependencies itself", so no depend files us= ed in this case. I don't think that really cuts it: make depend just does nothing here. But I assume these DIRDEPS are needed to avoid the classic recursive make problem of building something before the dependencies were built. I found there's share/mk/gendirdeps.mk to build a Makefile.depend (using some shell or python script), and share/mk/meta.autodep.mk to somehow automate that process, but I just can't figure out how to actually use any of that... Or are you telling me all the Makefile.depend files in the tree are deprecated and should be removed? --=20 Dipl.-Inform. Felix Palmen ,.//.......... {web} http://palmen-it.de {jabber} [see email] ,//palmen-it.de {pgp public key} http://palmen-it.de/pub.txt // """"""""""" {pgp fingerprint} A891 3D55 5F2E 3A74 3965 B997 3EF2 8B0A BC02 DA2A --2vupeaemgbywxwhh Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCAAdFiEEqJE9VV8uOnQ5ZbmXPvKLCrwC2ioFAmIPv8sACgkQPvKLCrwC 2ioHYQf/XFzzeIVoifq/r15ndjkVthc30kDRiJTFHKmruKRfoAlENI8sTVMzZLyJ nm23kONZEjx1u4TSTyIm2lXE9jEFLkGXwFDoZOPf8OgmcIsENLaEwbipbQ1plIoN oQHiqV5izFVcrk/Q7VOxUlpyvwmznqih8LLyxRmgX86sP3NOPY0TzpHhvcOJjRqB VwFQCi6YpK2qquor0M9jKK1OLE+5g6gCoyWKe62NStvu+TMH1Z1JY6AmiaHn+PeB tveWBGc6KfeSinxjVm6WaPwuWHlx1n0Od8Q6TSYnEdlHNPMDL1YLoB6OD2vrbJtv vqp6eEZyXWWxELozijLDBA8NYpIljA== =poB3 -----END PGP SIGNATURE----- --2vupeaemgbywxwhh--