[Swan-dev] missing make dependencies

Antony Antony antony at phenome.org
Fri Aug 12 22:22:06 UTC 2016


On Tue, Aug 09, 2016 at 08:51:02AM -0400, Andrew Cagney wrote:
> On 8 August 2016 at 13:39, Antony Antony <antony at phenome.org> wrote:
> > here is a report of missing make dependencies.
> >
> > Over the weekend I tracked down a couple missing make dependencies. Some of them are hard to trackdown when compiling over 9pfs or nfs...
> >
> > 1. addconn is missing dependency on lib/libipsecconf/keywords.c.   Seee below to reproduce.
> 
> Thanks for the reproducer.
> 
> > 2. make base or programs seems to miss dependency on Makefile.inc.local and possibly other Makefiles too?
> 
> I'm not sure what you mean.

Initially  Makefile.inc.local has two lines.

cat Makefile.inc.local
USE_LINUX_AUDIT=
USE_FIPSCHECK=
make base
echo "DEBUG_CFLAGS=-g" >> Makefile.inc.local
make base # does not seemes to re-make the programs with change to Makefile.inc.local

And as excercise, if I try this.
my git rep is clean; git diff is empty.
echo  "#" >> Makefile
make base still does not re-make.

I think now pluto should be rebuild for two reasons.
1. Makefile has a newer timestamp. 
2. git diff is not empty, this should update ./OBJ.linux.x86_64/lib/libswan/version.c which should cause re-building of pluto. 
May be version.c only used by pluto not other programms. 

-antony


More information about the Swan-dev mailing list