[OpenAFS] afs.ext.32 and afs.ext.64 not generated

Kris Van Hees aedil-afs@alchar.org
Tue, 15 Jun 2004 11:21:44 -0400


On Tue, Jun 15, 2004 at 05:05:29PM +0200, Hans-Gunther Borrmann wrote:
> I compiled 1.3.64 under AIX 5.1 and afs.ext.32 and afs.ext.64 were not 
> generated. src/libafs/Makefile seems to be in error. It looks like:
> 
> ....
> KMODS=32 64
> 
> include Makefile.common
> 
> setup:
>         -$(RM) -f  h net netinet rpc ufs nfs  machine sys
>         ln -fs /usr/include/sys h
>         ln -fs /usr/include/net net
>         ln -fs /usr/include/netinet netinet
>         ln -fs /usr/include/rpc rpc
>         ln -fs /usr/include/sys sys
>         ln -fs /usr/include/nfs nfs
>         ln -fs /usr/include/jfs ufs
>         for m in $${KMODS} ; do \
>                 KDIR=MODLOAD-$$m ; \
>                 mkdir -p $${KDIR} ; \
>                 ln -fs ../Makefile $${KDIR}/Makefile ; \
>                 ln -fs ../Makefile.common $${KDIR}/Makefile.common ; \
>                 ln -fs ../config $${KDIR}/config ; \
>         done
> ....
> 
> The "$$" prevents variable substitution. My call to configure:

Indeed, the first $$ ought to be a single $, and the rest has to remain $$,
since the expansion of KMODS must operate at the make level, whereas the
others should operate at the shell level.

	Kris