[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Javaweb-people] compilation again
From: |
Brian Jones |
Subject: |
Re: [Javaweb-people] compilation again |
Date: |
27 Jan 2003 08:19:11 -0500 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 |
address@hidden writes:
> That's what I wanted to add to automake. A new category of target
> called a _JAR, so you do stuff like this:
>
>
> javamail_JAR = mail.jar
> javamail_SOURCES = javax/mail/Folder.java \
> javax/mail/Transport.java \
> etc...
>
> By default the jar file would be built using automake's JAVAC and
> JAVACFLAGS.
>
> The same source list (or a supplemented one) could then be used to
> build a shared library using gcj.
>
> This needs jarcompiler because otherwise the Makefile translation gets
> way too complicated - specifically the creation of temp
> directorys. jarcompiler makes the temp directorys (for compiling the
> class files to) very simple.
Okay the temp directories idea is an improvement over what I was
thinking and still lets you keep track of what classes came from what
sources. This could vastly simplify Classpath's lib/Makefile.am I
think.
Brian
--
Brian Jones <address@hidden>