From owner-java@FreeBSD.ORG Sat Dec 13 14:23:52 1997 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.7/8.8.7) id OAA19775 for java-outgoing; Sat, 13 Dec 1997 14:23:52 -0800 (PST) (envelope-from owner-java@FreeBSD.ORG) Received: from whistle.com (s205m131.whistle.com [207.76.205.131]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id OAA19760 for ; Sat, 13 Dec 1997 14:23:45 -0800 (PST) (envelope-from archie@whistle.com) Received: (from smap@localhost) by whistle.com (8.7.5/8.6.12) id OAA10421; Sat, 13 Dec 1997 14:23:09 -0800 (PST) Received: from bubba.whistle.com(207.76.205.7) by whistle.com via smap (V1.3) id sma010419; Sat Dec 13 14:23:04 1997 Received: (from archie@localhost) by bubba.whistle.com (8.8.7/8.6.12) id OAA03373; Sat, 13 Dec 1997 14:22:59 -0800 (PST) From: Archie Cobbs Message-Id: <199712132222.OAA03373@bubba.whistle.com> Subject: Re: Makefiles again In-Reply-To: <3492B9DA.82120B91@fsl.noaa.gov> from Sean Kelly at "Dec 13, 97 09:37:46 am" To: kelly@fsl.noaa.gov (Sean Kelly) Date: Sat, 13 Dec 1997 14:22:59 -0800 (PST) Cc: freebsd-java@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL31 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-java@FreeBSD.ORG Precedence: bulk Sean Kelly writes: > Java heads, and especially Archie: > > Recently, Archie Cobbs of Whistle posted his BSD-styled > whistle.java.mk which could be the starting point for a future > bsd.java.mk. I've been working on it a bit by adding support for RMI > and JAR files, but I'm starting to think it isn't the right way to go. > > Java is a cross-platform language. Instead of developing BSD-specific > make definitions, maybe it'd be better to do something that's also > cross-platform: GNU make, for example. > > I realize that you can build on BSD and just distribute your > classes/jars to anyone at that point, but it'd be really nice to build > anywhere and distribute to anyone. I encountered this myself when > doing some compiler performance comparisons with Microsoft's > command-line JVC. I had GNU make on the Windows host, but naturally, > the Makefiles didn't work since they relied on BSD make. This argument makes sense to me.. especially since adding "gmake" to a FreeBSD system is very easy (it exists as a port and package) and in general it's pretty widely available. [ Hmm... I wonder if it's possible to write a makefile that works with both "make" and "gmake" ?? Does their syntax overlap sufficiently to check if ${MAKE} != "gmake" then gmake... ? Separate question.. ] To prove you're serious, convert the existing makefiles and I'll put them up on the FTP site :-) -Archie ___________________________________________________________________________ Archie Cobbs * Whistle Communications, Inc. * http://www.whistle.com