[7971] in Kerberos
Re: krb5-beta7 - RPC compile errors...
daemon@ATHENA.MIT.EDU (Ken Raeburn)
Sun Sep 15 19:18:45 1996
To: dima@best.net
Cc: maria@spark.net.gr, kerberos@MIT.EDU
From: Ken Raeburn <raeburn@cygnus.com>
Date: 15 Sep 1996 18:11:22 -0400
In-Reply-To: dima@best.net's message of Sun, 15 Sep 1996 11:29:48 -0700 (PDT)
dima@best.net (Dima Ruban) writes:
> Maria Mavrommati writes:
> > OS: FreeBSD2.1.5
> > To avoid src/lib/rpc compile errors just do the following:
> >
> > cd src/lib/rpc
> > ln *.h ../../include/rpc/
> > cd ../../
> > make
>
> you can simply go to {OS,src}/lib/rpc and "make includes"
Some of the Makefiles have some pretty bogus assumptions about the
order things will be done in. I'd certainly bet that parallel-make
builds wouldn't work.
The lib/rpc Makefile works out to something like:
all-unix:: shared includes $(OBJS)
shared:
mkdir shared
all-unix:: libgssrpc.a
all-unix:: ../libgssrpc.a
The assumption is that "shared" will be done first, then "includes",
then "$(OBJS)", then "libgssrpc.a", then "../libgssrpc.a". With a
parallel make, with enough jobs being started in parallel, I'd expect
"shared" and "includes" and some of the object files to be built
simultaneously. Under GNU make, without running multiple jobs in
parallel, this Makefile seems to work okay, but I think it's lame to
rely on it when correct dependencies could be expressed.