Subject: fails on crossbuilds with obj dirs
To: None <>
From: Juergen Hannken-Illjes <>
List: current-users
Date: 10/23/2003 10:15:09
At least on i386 and evpppc:

  dependall ===> regress/lib/libc/siginfo
  dependall ===> regress/lib/libc/siginfo/sigalrm
  #    create  sigalrm.d
  CC=XXX-gcc XXX/nbmkdep -f sigalrm.d -nostdinc -isystem XXX/usr/include sigalrm.c
  nbmkdep: unable to write to file sigalrm.d

Reason is the missing obj dir.
The test in src/regress/lib/libc/Makefile doesn't work for `make obj'
because the ${DESTDIR} is not filled yet.

Is this ok?

-.if (${HAVE_SIGINFO} == "yes")
 SUBDIR+= siginfo

+.if (make(obj) || ${HAVE_SIGINFO} == "yes")
 SUBDIR+= siginfo

Juergen Hannken-Illjes - - TU Braunschweig (Germany)