From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <4EDCC883.5090601@gmail.com> Date: Mon, 5 Dec 2011 14:34:59 +0100 From: Jens Staal User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:8.0) Gecko/20111108 Thunderbird/8.0 MIME-Version: 1.0 To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> References: <89f1c4ead24e81f114af5539d4bbb38a@quintile.net> In-Reply-To: <89f1c4ead24e81f114af5539d4bbb38a@quintile.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [9fans] mkmk Topicbox-Message-UUID: 4db0b2ec-ead7-11e9-9d60-3106f5b1d025 2011-12-05 14:26, Steve Simon skrev: > mkmk is in the contrib package contrib/mkmk > > http://man.cat-v.org/plan_9_contrib/1/mkmk > > I would say mkmk was an interesting experiment rather than a resounding success. > > The idea was to simplify re-porting foreign code to plan9 by autogenerating the > mkfile from just the C source and some heuristics. Also important to me is that > the generated mkfiles should be simple and cleanly formatted. > > I use an rc(1) script (called 9port) per package which would tidy it and run mkmk > with the apropriate args - it somtimes needs a bit of help. The script may then > be reused to quickly re-port the latest version of the code to plan9. > > Examples here: > http://plan9.bell-labs.com/sources/contrib/steve/root/sys/src/cmd/mkmk/9port/ > > The lack of success came when trying to port bigger projects like the > Apache portable runtime, or up to date ghostscript. > > -Steve > Personally I have found mkmk very impressive and I have been using it for some attempted ports that I am working with in my spare time.