Subject: make build fails in usr.bin/file
To: None <>
From: Kazushi (Jam) Marukawa <>
List: current-users
Date: 03/27/2001 05:57:28
"Make build" fails with following error message while
compiling under usr.bin/file.

  bin/file/magdir/zyxel > magic
  /usr/src/usr.bin/file/file -C -m magic
  /usr/src/usr.bin/file/file: not found
  *** Error code 1

I'm using obj directories, so generated file command places
at /usr/src/usr.bin/file/obj/file instead.  I think I need
to change

        $(.CURDIR)/$(PROG) -C -m $(.TARGET)

line in Makefile, but I'm not sure what I should say to
support people using obj and not using obj.  Please fix
this.  Thanks.

P.S.  I updated shares/mk and make.  So, I thought this is a
bug in Makefile, but I may be wrong.

-- Kazushi