From owner-freebsd-current Sat Jun 22 07:21:08 1996 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id HAA03569 for current-outgoing; Sat, 22 Jun 1996 07:21:08 -0700 (PDT) Received: from mail.cs.tu-berlin.de (root@mail.cs.tu-berlin.de [130.149.17.13]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id HAA03549 for ; Sat, 22 Jun 1996 07:20:57 -0700 (PDT) Received: from campa.panke.de (anonymous218.ppp.cs.tu-berlin.de [130.149.17.218]) by mail.cs.tu-berlin.de (8.6.12/8.6.12) with ESMTP id QAA06702; Sat, 22 Jun 1996 16:06:50 +0200 Received: (from wosch@localhost) by campa.panke.de (8.6.12/8.6.12) id QAA05748; Sat, 22 Jun 1996 16:01:43 +0200 Date: Sat, 22 Jun 1996 16:01:43 +0200 From: Wolfram Schneider Message-Id: <199606221401.QAA05748@campa.panke.de> To: "Jordan K. Hubbard" Cc: current@freebsd.org Subject: Wanted: Testers for an alternate to /usr/obj (as we know it). In-Reply-To: <24932.835409971@time.cdrom.com> References: <24932.835409971@time.cdrom.com> Reply-to: Wolfram Schneider MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-current@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Jordan K. Hubbard writes: >In case you ISPs out there haven't twigged to the significance of this >yet either, with these changes you can now keep a single copy of >/usr/src up to date for any number of machines, having simultaneous >`make worlds' run from a single NFS mounted source partition on >multiple clients with none of the mutual interferance problems we have >now. That's why *I* wanted this feature, anyway! :-) Jordan, this already works with the current bsd.obj.mk ;-)))) Example: $ mkdir /tmp/obj # temp obj tree $ cd /a/current/src/lkm # compile for obj-mavic, set CFLAGS or other variables $ env BSDOBJDIR=/tmp/obj MAKEOBJDIR=obj-mavic make -I \ /a/current/src/share/mk obj depend all # compile for obj-campa, set CFLAGS or other variables $ env BSDOBJDIR=/tmp/obj MAKEOBJDIR=obj-campa make -I \ /a/current/src/share/mk obj depend all Now you have two differently symlinks to different obj directories. $ cd /a/current/src/lkm/cd9660 $ ls -l total 4 drwxrwxr-x 2 wosch wheel 512 May 29 15:46 CVS -rw-rw-r-- 1 wosch wheel 285 Sep 22 1994 Makefile lrwxrwxr-x 1 wosch wheel 43 Jun 22 14:55 obj-campa -> /tmp/obj/a/current/src/lkm/cd9660/obj-campa lrwxrwxr-x 1 wosch wheel 43 Jun 22 14:55 obj-mavic -> /tmp/obj/a/current/src/lkm/cd9660/obj-mavic Wolfram