Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 13 Dec 1997 14:22:59 -0800 (PST)
From:      Archie Cobbs <archie@whistle.com>
To:        kelly@fsl.noaa.gov (Sean Kelly)
Cc:        freebsd-java@FreeBSD.ORG
Subject:   Re: Makefiles again
Message-ID:  <199712132222.OAA03373@bubba.whistle.com>
In-Reply-To: <3492B9DA.82120B91@fsl.noaa.gov> from Sean Kelly at "Dec 13, 97 09:37:46 am"

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199712132222.OAA03373>