Index | Thread | Search

From:
"Theo de Raadt" <deraadt@openbsd.org>
Subject:
Re: syslogd separate parent program
To:
Theo Buehler <tb@theobuehler.org>
Cc:
Alexander Bluhm <bluhm@openbsd.org>, tech@openbsd.org
Date:
Sun, 07 Jun 2026 10:47:59 -0600

Download raw body.

Thread
Theo Buehler <tb@theobuehler.org> wrote:

> On Sun, Jun 07, 2026 at 10:41:11AM -0600, Theo de Raadt wrote:
> > Theo de Raadt <deraadt@openbsd.org> wrote:
> > 
> > > I am happy with one directory make multiple PROG using PROGS=
> > 
> >   ^^^^^ I am *NOT* happy ...
> 
> usr.sbin/smtpd/mail/Makefile uses this since 2018.

That is doing a lot less.  It compiles each of the PROGS from a
single .c file

It uses none of the _ features that this new proposal uses.

This new proposal will build one .o file, which is used for two build
products.  I suspect an #if statement can easily create problems.

Anyways, I think I can confidently predict using more of this will break
quickly, and I dislike this feature of bsd.prog.mk and don't think we
should be doing this.