Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 Feb 2001 11:28:11 -0700
From:      Warner Losh <imp@harmony.village.org>
To:        Jason Brazile <jason@netcetera.ch>
Cc:        freebsd-hackers@FreeBSD.ORG
Subject:   Re: make bug? (dependency names with '$') 
Message-ID:  <200102201828.f1KISBW89928@harmony.village.org>
In-Reply-To: Your message of "Tue, 20 Feb 2001 16:48:22 %2B0100." <200102201548.QAA01397@disco.netcetera.ch> 
References:  <200102201548.QAA01397@disco.netcetera.ch>  

next in thread | previous in thread | raw e-mail | index | archive | help
In message <200102201548.QAA01397@disco.netcetera.ch> Jason Brazile writes:
: Warner wrote:
: > In message <200102201154.MAA00515@disco.netcetera.ch> Jason Brazile writes:
: > :   I want to construct a portable Makefile to build a java application.
: > 
: > That's not possible.  Java specifies a half assed make system as part
: > of the language, so it is nearly impossible to use another make system
: > on top of it unless you are willing to live with a whole slew of
: > problems.
: 
: Until someone started using inner classes, my Makefiles were being
: fairly successful at "living with a whole slew of problems". :-) 

There are bigger problems when you have .java files generated.  That's
why java's make like system is half assed, and the wrong half at
that.  There's no hook there to generate .java files.  If you needed
to support multiple versions of java w/o warnings, for example, you'd
need to run your .java code through a preprocessor (since java's
conditionals are too weak to allow for this possibility).  That's when
you start hitting heap bigtime problems.

This does sound like a bug in our make :-(.

Warner

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




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