From owner-freebsd-questions@FreeBSD.ORG Sun Apr 13 20:10:09 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 401991065671 for ; Sun, 13 Apr 2008 20:10:09 +0000 (UTC) (envelope-from michael.le_barbier@laposte.net) Received: from smtp5-g19.free.fr (smtp5-g19.free.fr [212.27.42.35]) by mx1.freebsd.org (Postfix) with ESMTP id 02E188FC16 for ; Sun, 13 Apr 2008 20:10:08 +0000 (UTC) (envelope-from michael.le_barbier@laposte.net) Received: from smtp5-g19.free.fr (localhost.localdomain [127.0.0.1]) by smtp5-g19.free.fr (Postfix) with ESMTP id C28973F617A; Sun, 13 Apr 2008 22:10:07 +0200 (CEST) Received: from Llea.celt.neu (ron34-3-82-236-236-194.fbx.proxad.net [82.236.236.194]) by smtp5-g19.free.fr (Postfix) with ESMTP id 6B9EB3F616A; Sun, 13 Apr 2008 22:10:07 +0200 (CEST) Message-ID: <48026927.7020303@laposte.net> Date: Sun, 13 Apr 2008 22:12:23 +0200 From: =?ISO-8859-1?Q?Micha=EBl_Le_Barbier?= User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; fr-FR; rv:1.8.1.11) Gecko/20080212 SeaMonkey/1.1.7 MIME-Version: 1.0 To: Pieter de Goeje References: <200804130234.04004.pieter@degoeje.nl> In-Reply-To: <200804130234.04004.pieter@degoeje.nl> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Cc: freebsd-questions@freebsd.org Subject: Re: Using FreeBSD's make under Linux X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 13 Apr 2008 20:10:09 -0000 Pieter de Goeje wrote: > On Saturday 12 April 2008, Michaël Le Barbier wrote: >> Hi folks, >> >> a few years ago, I tried to use FreeBSD's make under GNU/Linux, and >> thanks >> to `jpd' on c.u.b.f.misc, I managed to build FreeBSD 4.7's make under >> some GNU/Linux systems. Having a couple makefiles using make's features >> that were introduced after 4.7, I would like to build a more up-to-date, >> make. >> >> Before I start, I am double checking nobody has done the job yet, and >> nobody has it in the works. So, if you know anything about this, I >> would be very happy you share the info with me! >> >> By the way, I am not sure the way FreeBSD's make program should be >> called: the divine documentation in the PSD refers to `pmake', as >> well as some source files, but Mac OS X uses `bsdmake', and in many >> FreeBSD's docs it is just `make'. > I know that ubuntu/debian systems have a package called freebsd5-buildutils > which includes "freebsd-make", perhaps you can use some of there work. Thank you, this program works (provided one uses a combination of MAKEFLAGS and -m to feed the program with a sys.mk in a nonstandard location). It is however not modern enough, since it does not understand `sinclude' ... nice to know about it, though.