Updated Makefiles to build into separate dist/classes directory. jrg

This commit is contained in:
talisman%anamorphic.com 2001-03-28 02:24:29 +00:00
Родитель 96096f5c0f
Коммит 16324264c7
31 изменённых файлов: 62 добавлений и 104 удалений

Просмотреть файл

@ -1,63 +0,0 @@
#!gmake
#
# The contents of this file are subject to the Mozilla Public
# License Version 1.1 (the "License"); you may not use this file
# except in compliance with the License. You may obtain a copy of
# the License at http://www.mozilla.org/MPL/
#
# Software distributed under the License is distributed on an "AS
# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
# implied. See the License for the specific language governing
# rights and limitations under the License.
#
# The Original Code is the Grendel mail/news client.
#
# The Initial Developer of the Original Code is Netscape Communications
# Corporation. Portions created by Netscape are
# Copyright (C) 1997 Netscape Communications Corporation. All
# Rights Reserved.
#
# Contributor(s): Jeff Galyan <talisman@anamorphic.com>
# Edwin Woudt <edwin@woudt.nl>
#
SUBDIRS= \
addressbook \
calypso \
composition \
dnd \
dog \
mime \
prefs \
search \
storage \
ui \
util \
view \
widgets \
$(NULL)
# Temporarily removed because FilterMaster is broken (edwin)
# filters \
SRCS= \
Main.java \
$(NULL)
# TestFolderViewer.java \
# SelfTest.java \
include rules.mk
TARFILE=/tmp/grendel.tar.gz
tar::
@echo writing $(TARFILE)... ; \
dir=`pwd | sed 's@^.*/\([^/]*\)$$@\1@'` ; \
cd .. ; tar -vcf - $$dir \
--exclude '*.class' \
--exclude '*.bak' \
--exclude '*~' \
--exclude 'core' \
--exclude '*.orig' \
| gzip -v9 > $(TARFILE)

Просмотреть файл

@ -39,23 +39,17 @@ MOZILLA_HOME = /usr/local/netscape-4.5
JAVAC = javac
RM = rm -f
DISTDIR = $(TOPDIR)/dist/classes
OBJS = $(subst .java,.class,$(SRCS))
.SUFFIXES: .java .class
.java.class:
$(JAVAC) -J-mx64m -g $*.java
$(JAVAC) -J-mx64m -d $(DISTDIR) -g $*.java
all:: $(OBJS)
#clean::
# $(RM) $(OBJS)
clean::
$(RM) *.class
distclean::
$(RM) *.class *~ core

Просмотреть файл

@ -19,8 +19,9 @@
#
# Contributor(s):
TOPDIR=../..
SUBDIRS= \
util \
$(NULL)
include ../rules.mk
include ../../rules.mk

Просмотреть файл

@ -19,6 +19,7 @@
#
# Contributor(s):
TOPDIR=../../..
SRCS= \
Abacus.java \
ArrayEnumeration.java \
@ -83,4 +84,4 @@ SRCS= \
WeakLinkArrayEnumeration.java \
$(NULL)
include ../../rules.mk
include ../../../rules.mk

Просмотреть файл

@ -19,9 +19,10 @@
#
# Contributor(s):
TOPDIR=../..
SUBDIRS= \
mail \
util \
$(NULL)
include ../rules.mk
include ../../rules.mk

Просмотреть файл

@ -19,9 +19,11 @@
#
# Contributor(s):
TOPDIR=../../..
SUBDIRS= \
nntp \
util \
$(NULL)
include ../../rules.mk
include ../../../rules.mk

Просмотреть файл

@ -19,10 +19,11 @@
#
# Contributor(s):
TOPDIR=../../../..
SRCS= \
Article.java \
NNTPStore.java \
Newsgroup.java \
$(NULL)
include ../../../rules.mk
include ../../../../rules.mk

Просмотреть файл

@ -19,6 +19,7 @@
#
# Contributor(s):
TOPDIR=../../../..
SRCS= \
CRLFInputStream.java \
CRLFOutputStream.java \
@ -26,4 +27,4 @@ SRCS= \
MessageOutputStream.java \
$(NULL)
include ../../../rules.mk
include ../../../../rules.mk

Просмотреть файл

@ -19,6 +19,7 @@
#
# Contributor(s):
TOPDIR=../../..
SRCS= \
ObjectCollator.java \
Referential.java \
@ -33,4 +34,4 @@ SRCS= \
TreeEvent.java \
$(NULL)
include ../../rules.mk
include ../../../rules.mk

Просмотреть файл

@ -20,7 +20,7 @@
# Contributor(s): Jeff Galyan <talisman@anamorphic.com>
# Giao Nguyen <grail@cafebabe.org>
TOPDIR = ..
TOPDIR = ../../..
SUBDIRS= \
addresscard \
@ -32,4 +32,4 @@ SRCS= \
SearchDirectoryDialog.java \
$(NULL)
include ../rules.mk
include ../../..rules.mk

Просмотреть файл

@ -19,7 +19,7 @@
#
# Contributor(s):
TOPDIR = ../..
TOPDIR = ../../../..
SRCS= \
ACS_Personal.java \
@ -47,4 +47,4 @@ SRCS= \
TermOr.java \
$(NULL)
include ../../rules.mk
include ../../../../rules.mk

Просмотреть файл

@ -18,7 +18,8 @@
# Rights Reserved.
#
# Contributor(s): Giao Nguyen <grail@cafebabe.org>
TOPDIR=../../..
SRCS= \
AddressBar.java \
AddressDialog.java \
@ -36,4 +37,4 @@ SRCS= \
# TestDataSource2.java \
$(NULL)
include ../rules.mk
include ../../../rules.mk

Просмотреть файл

@ -19,6 +19,7 @@
#
# Contributor(s):
TOPDIR=../../..
SRCS= \
DnDConstants.java \
DragSource.java \
@ -36,4 +37,4 @@ SRCS= \
InvalidDnDOperationException.java \
$(NULL)
include ../rules.mk
include ../../../rules.mk

Просмотреть файл

@ -19,6 +19,7 @@
#
# Contributor(s):
TOPDIR=../../..
SRCS= \
DeleteFilterActionFactory.java \
FilterBase.java \
@ -34,4 +35,4 @@ SRCS= \
SubjectTermFactory.java \
$(NULL)
include ../rules.mk
include ../../../rules.mk

Просмотреть файл

@ -19,6 +19,7 @@
#
# Contributor(s):
TOPDIR=../../..
SRCS= \
CompositionShell.java \
CompositionView.java \
@ -29,4 +30,4 @@ SRCS= \
StoreCtx.java \
$(NULL)
include ../rules.mk
include ../../../rules.mk

Просмотреть файл

@ -19,6 +19,7 @@
#
# Contributor(s):
TOPDIR=../../..
SUBDIRS= \
html \
parser \
@ -34,4 +35,4 @@ SRCS= \
TestMime.java \
$(NULL)
include ../rules.mk
include ../../../rules.mk

Просмотреть файл

@ -19,6 +19,7 @@
#
# Contributor(s):
TOPDIR=../../../..
SRCS= \
MimeBase64Decoder.java \
MimeBase64Encoder.java \
@ -29,4 +30,4 @@ SRCS= \
MimeUUEncoder.java \
$(NULL)
include ../../rules.mk
include ../../../../rules.mk

Просмотреть файл

@ -19,8 +19,9 @@
#
# Contributor(s):
TOPDIR=../../../..
SRCS= \
MimeExtractorOperatorFactory.java \
$(NULL)
include ../../rules.mk
include ../../../../rules.mk

Просмотреть файл

@ -19,6 +19,7 @@
#
# Contributor(s):
TOPDIR=../../../..
SRCS= \
BriefHeaderFormatter.java \
FullHeaderFormatter.java \
@ -43,4 +44,4 @@ SRCS= \
TextHTMLConverter.java \
$(NULL)
include ../../rules.mk
include ../../../../rules.mk

Просмотреть файл

@ -19,6 +19,7 @@
#
# Contributor(s):
TOPDIR=../../../..
SRCS= \
MimeContainer.java \
MimeDwimText.java \
@ -32,4 +33,4 @@ SRCS= \
MimeXSunAttachment.java \
$(NULL)
include ../../rules.mk
include ../../../../rules.mk

Просмотреть файл

@ -20,10 +20,11 @@
# Contributor(s): Giao Nguyen <grail@cafebabe.org>
# Edwin Woudt <edwin@woudt.nl>
TOPDIR=../../..
SUBDIRS= \
base \
ui \
$(NULL)
include ../rules.mk
include ../../../rules.mk

Просмотреть файл

@ -19,6 +19,7 @@
#
# Contributor(s): Giao Nguyen <grail@cafebabe.org>
TOPDIR=../../../..
SRCS= \
GeneralPrefs.java \
IdentityArray.java \
@ -29,4 +30,4 @@ SRCS= \
UIPrefs.java \
$(NULL)
include ../../rules.mk
include ../../../../rules.mk

Просмотреть файл

@ -19,6 +19,7 @@
#
# Contributor(s): Giao Nguyen <grail@cafebabe.org>
TOPDIR=../../../..
SRCS= \
General.java \
Identities.java \
@ -26,4 +27,4 @@ SRCS= \
UI.java \
$(NULL)
include ../../rules.mk
include ../../../../rules.mk

Просмотреть файл

@ -19,6 +19,7 @@
#
# Contributor(s):
TOPDIR=../../..
SRCS= \
AndPanel.java \
AttributeLayout.java \
@ -37,4 +38,4 @@ SRCS= \
TermPanel.java \
$(NULL)
include ../rules.mk
include ../../../rules.mk

Просмотреть файл

@ -19,6 +19,7 @@
#
# Contributor(s): Edwin Woudt <edwin@woudt.nl>
TOPDIR=../../..
SUBDIRS= \
addressparser \
intertwingle \
@ -76,4 +77,4 @@ SRCS= \
# SelfTest.java \
include ../rules.mk
include ../../../rules.mk

Просмотреть файл

@ -19,6 +19,7 @@
#
# Contributor(s):
TOPDIR=../../../..
SRCS= \
AddressCorrector.java \
AddressToken.java \
@ -37,4 +38,4 @@ SRCS= \
RouteAddrNoPhraseException.java \
$(NULL)
include ../../rules.mk
include ../../../../rules.mk

Просмотреть файл

@ -19,6 +19,7 @@
#
# Contributor(s):
TOPDIR=../../../..
SRCS= \
BGDB.java \
BaseDB.java \
@ -31,4 +32,4 @@ SRCS= \
Twingle.java \
$(NULL)
include ../../rules.mk
include ../../../../rules.mk

Просмотреть файл

@ -20,6 +20,7 @@
# Contributor(s): Jeff Galyan <talisman@anamorphic.com>
# Giao Nguyen <grail@cafebabe.org>
TOPDIR=../../..
SRCS= \
ActionFactory.java \
BiffIcon.java \
@ -64,4 +65,4 @@ SRCS= \
XMLWidgetBuilder.java \
$(NULL)
include ../rules.mk
include ../../../rules.mk

Просмотреть файл

@ -19,10 +19,10 @@
#
# Contributor(s): Edwin Woudt <edwin@woudt.nl>
TOPDIR=../../..
SRCS= \
Constants.java \
MessageIDGenerator.java \
$(NULL)
include ../rules.mk
include ../../../rules.mk

Просмотреть файл

@ -19,6 +19,7 @@
#
# Contributor(s):
TOPDIR=../../..
SRCS= \
DummyThreadable.java \
FolderView.java \
@ -41,4 +42,4 @@ SRCS= \
ViewedStoreListener.java \
$(NULL)
include ../rules.mk
include ../../../rules.mk

Просмотреть файл

@ -19,6 +19,7 @@
#
# Contributor(s): Jeff Galyan <talisman@anamorphic.com>
TOPDIR=../../..
SRCS= \
Animation.java \
CellEditor.java \
@ -55,4 +56,4 @@ SRCS= \
TreeTableModelListener.java \
$(NULL)
include ../rules.mk
include ../../../rules.mk