Re: syslogd separate parent program

"Theo de Raadt" <[email protected]>
Newsgroups gmane.os.openbsd.tech
Message-ID <[email protected]>
Theo Buehler <[email protected]> wrote:

> On Sun, Jun 07, 2026 at 10:41:11AM -0600, Theo de Raadt wrote:
> > Theo de Raadt <[email protected]> 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.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.