From owner-freebsd-hackers Tue Feb 19 1: 6:17 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mailf.telia.com (mailf.telia.com [194.22.194.25]) by hub.freebsd.org (Postfix) with ESMTP id 7451837B402 for ; Tue, 19 Feb 2002 01:06:12 -0800 (PST) Received: from d1o913.telia.com (d1o913.telia.com [195.252.44.241]) by mailf.telia.com (8.11.6/8.11.6) with ESMTP id g1J96B021233 for ; Tue, 19 Feb 2002 10:06:11 +0100 (CET) Received: from falcon.midgard.homeip.net (h185n2fls20o913.telia.com [212.181.163.185]) by d1o913.telia.com (8.8.8/8.8.8) with SMTP id KAA16267 for ; Tue, 19 Feb 2002 10:06:10 +0100 (CET) Received: (qmail 81296 invoked by uid 1001); 19 Feb 2002 09:06:10 -0000 Date: Tue, 19 Feb 2002 10:06:09 +0100 From: Erik Trulsson To: Pankaj Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: make in freebsd Message-ID: <20020219090609.GA81036@student.uu.se> Mail-Followup-To: Pankaj , freebsd-hackers@FreeBSD.ORG References: <20020219093450.A13798@sarai.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020219093450.A13798@sarai.net> User-Agent: Mutt/1.3.27i Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Tue, Feb 19, 2002 at 09:34:50AM +0100, Pankaj wrote: > On Tuesday 19 February 2002 13:23, Erik Trulsson wrote: > > > > > No, it is a feature of the makefiles. 'Make' itself doesn't know > > anything about fetching sources and so on. > > Most of the dirty work is done in /usr/ports/Mk/bsd.port.mk which is > > included by the port makefiles. > > which means I can safely use a similar makefile and have it *nix specific > and also download what i need automatically. I may be asking dumb questions > cuz i dont know anything about Makefiles I better go RTFM <-- any links One potential problem is that 'make' on different platforms can differ in many details. Some of the features of BSD make that are used by the portmakefiles for example are not supported by GNU make (which is used on Linux) GNU make OTOH supports some things not in BSD make. Writing complicated makefiles that are portable between different 'make' implementations is a non-trivial task. > > ThanX > -- > regards > Pankaj > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-hackers" in the body of the message -- Erik Trulsson ertr1013@student.uu.se To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message