Re: How to generate a Makefile.depend?
- Reply: Felix Palmen : "Re: How to generate a Makefile.depend?"
- In reply to: Felix Palmen : "How to generate a Makefile.depend?"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 18 Feb 2022 15:08:00 UTC
18.02.2022 21:28, 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 <bsd.prog.mk> > --- > > It builds just fine (using meta mode), so what do I need to do to get > the corresponding Makefile.depend? 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 used in this case.