From owner-freebsd-questions Wed Sep 11 11:21:05 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id LAA19694 for questions-outgoing; Wed, 11 Sep 1996 11:21:05 -0700 (PDT) Received: from phaeton.artisoft.com (phaeton.Artisoft.COM [198.17.250.211]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id LAA19685; Wed, 11 Sep 1996 11:21:02 -0700 (PDT) Received: (from terry@localhost) by phaeton.artisoft.com (8.6.11/8.6.9) id LAA05158; Wed, 11 Sep 1996 11:20:01 -0700 From: Terry Lambert Message-Id: <199609111820.LAA05158@phaeton.artisoft.com> Subject: Re: Sun code port to freebsd - Makefile issues To: svincent@ISI.EDU (Subramaniam Vincent) Date: Wed, 11 Sep 1996 11:20:00 -0700 (MST) Cc: hackers@freebsd.org, questions@freebsd.org In-Reply-To: from "Subramaniam Vincent" at Sep 10, 96 04:05:26 pm X-Mailer: ELM [version 2.4 PL24] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > Can anyone give me some advice on how make a *clean* port of code from > sun to freebsd, where the sun Makefile contains include files not there in > the freebsd distbn. *clean* concerns the dependency lines at the > bottom of the Makefile. > > When I move over the code & Makefile to the freebsd platform, I need to > manually remove dependency lines the correspond to non existent include > files (sun) , before doing a gmake or make. > gmake depend creates a correct .depend file, but that doesnt help. > is there some mkdep stuff I am missing here? In general, a depended makefile will have been auto-generated by a "make depend". Another "make depend" on the target system should fix it, assuming the comments in the file have been left intact. Terry Lambert terry@lambert.org --- Any opinions in this posting are my own and not those of my present or previous employers.