From owner-freebsd-hackers Tue Feb 20 10:28:19 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from harmony.village.org (rover.bsdimp.com [204.144.255.66]) by hub.freebsd.org (Postfix) with ESMTP id E431037B401 for ; Tue, 20 Feb 2001 10:28:16 -0800 (PST) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (localhost.village.org [127.0.0.1]) by harmony.village.org (8.11.1/8.11.1) with ESMTP id f1KISBW89928; Tue, 20 Feb 2001 11:28:11 -0700 (MST) (envelope-from imp@harmony.village.org) Message-Id: <200102201828.f1KISBW89928@harmony.village.org> To: Jason Brazile Subject: Re: make bug? (dependency names with '$') Cc: freebsd-hackers@FreeBSD.ORG In-reply-to: Your message of "Tue, 20 Feb 2001 16:48:22 +0100." <200102201548.QAA01397@disco.netcetera.ch> References: <200102201548.QAA01397@disco.netcetera.ch> Date: Tue, 20 Feb 2001 11:28:11 -0700 From: Warner Losh Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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