From nobody Fri Feb 18 15:44:50 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 0CD4E19C37B3 for ; Fri, 18 Feb 2022 15:45:02 +0000 (UTC) (envelope-from kevans@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4K0bcF6r25z3hcR for ; Fri, 18 Feb 2022 15:45:01 +0000 (UTC) (envelope-from kevans@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1645199102; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=Z07w5g5rT5fyFl4uNdYvKv8lSgrbUjMJH8j3Gp47LWI=; b=N6oDTGhvGnO7KUqEJhOJr1+35wyFPRPKE2F4LUMUwBR4AH99pqqKZdJZinzQibyRxLWfdc sUTsXtKJfr2j90NJMknQ2/TxBLy62ccuM1WjR57E1WSN2ndep6BziZOnvii6qQDXqI/8be aA/80elCnveW3VIdfuuv/qZ/W5ZqZnfTBjidqirqAIOAKYilcVSyU4HpkcAaLZM/yZrwFI Hv2lh7ZdcFnORjAm16GPjptPbUci3BXwbziIcRADCZyLbeOTHO2nfBsYFC7mfVrmtfDJ2K v/lVvKcTTScR4eKsOX0DQfL/GlruSf/EK7gqke0R8cMWgItP7lhcf1cbKuGZBA== Received: from mail-qv1-f44.google.com (mail-qv1-f44.google.com [209.85.219.44]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) (Authenticated sender: kevans) by smtp.freebsd.org (Postfix) with ESMTPSA id C504C17F8 for ; Fri, 18 Feb 2022 15:45:01 +0000 (UTC) (envelope-from kevans@freebsd.org) Received: by mail-qv1-f44.google.com with SMTP id fh9so15502629qvb.1 for ; Fri, 18 Feb 2022 07:45:01 -0800 (PST) X-Gm-Message-State: AOAM533eEbS9CpmVqyD5D/jfUjwYHcIap+SMq9sMJKewL4EFJe7Bi6nP oGOOtNJ52SVo4fuXAdBmWTtb6xXDRGfWGmYoQLc= X-Google-Smtp-Source: ABdhPJwIrbqaFiVP7swGt05AWV7Dt14hFaOmxrFBQHGWEw0g9JxPgjIEpUFDQKyYCcQVBswuzwWN/PxPR0r0o87z63w= X-Received: by 2002:a05:622a:590:b0:2dc:ed41:5ac6 with SMTP id c16-20020a05622a059000b002dced415ac6mr7142468qtb.444.1645199101101; Fri, 18 Feb 2022 07:45:01 -0800 (PST) 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 References: <20220218142803.t444nf77dh2sfkgb@nexus.home.palmen-it.de> In-Reply-To: <20220218142803.t444nf77dh2sfkgb@nexus.home.palmen-it.de> From: Kyle Evans Date: Fri, 18 Feb 2022 09:44:50 -0600 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: How to generate a Makefile.depend? To: FreeBSD Hackers Content-Type: text/plain; charset="UTF-8" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1645199102; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=Z07w5g5rT5fyFl4uNdYvKv8lSgrbUjMJH8j3Gp47LWI=; b=EE82tXtf2AYP4DNNt7krbrgGpYlHY/8lij46a+Un9uWEOuYV10MgEadMfV8nKcgCXZngVx IgH5tL8bWVI6ah5c5Hd3L7h1TMZjuzN84jOHVUBViS0snuuNUT730RZendGf5se+UsiZQ3 Ocipp8Rp1AQD3+EYB+oUJHf2Vkr/ohNeC+IzhfS2yoc5VjDItW9bhhYZ/TtSI5QJOV2/w+ H9foyu9SxVxENueJ2dr63JE11ECFAipC/tK9/8JndGI4zGo1g8gDDfCkYZegR65pGlKycn pzKQJVkb6x6dNdNWTMeiCY0DEGEFF8Us3mbBIJuSV8o7z5StV+06/Spoc1Y0hA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1645199102; a=rsa-sha256; cv=none; b=SISjwGwFuKuP9J1TkS6e6NWRK92LjqiCk2NNp3IBfJJEKCjD6JHWBtNvZe/wzVRdP3j1KA oNxzDKT2M6L01LWNdC6+MPXAHQFKMsPlJboxH7Q0CgFIlgGCsKrK+oj6k7Dz24pK1PmI6R btB9YNvuuC2O7Zt2RWQ7Q2UDNNSbIZWrugERlKlM2sgtYguLvINox2IdfNFP0gctpnJYt7 tbxarhfAmA8VKilUS/+bS0TGrMY0L3d51JnaO/njPN+S+wbl98o1So5ucs8pUrrqq/YAB7 ArQgZNtzoLVFPD1PIiCh8wQLCByINBAYn0iQl4UmmjWFZNydsw8jVJ2BA6gHEQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N On Fri, Feb 18, 2022 at 8:28 AM Felix Palmen wrote: > > I'm trying to add a little tool to my local tree and I'm stuck with > something I *assume* should be simple. As I understand it, there should > be a Makefile.depend in its directory, listing all the dir dependencies, > and this should be somehow auto-generated from .meta files. I just can't > figure out how to do it. > > I have this very simple Makefile for it: > --- > # $FreeBSD$ > > PACKAGE= runtime > > PROG= pam_unix-helper > MAN= # no manpage, internally used by pam_unix.so > > LIBADD= crypt > > BINOWN= root > BINMODE=4555 > > .include > --- > > It builds just fine (using meta mode), so what do I need to do to get > the corresponding Makefile.depend? > Makefile.depend falls in "do not worry about it" territory; they're only used for dirdeps mode, which to my understanding will tolerate and generate the missing Makefile.depend as it goes anyways. bdrewery or sjg periodically commit/update .depend files. Thanks, Kyle Evans