ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/i-scream/projects/cms/source/util/uk/org/iscream/cms/util/Makefile
Revision: 1.3.2.1
Committed: Mon Dec 11 20:29:32 2000 UTC (23 years, 4 months ago) by tdb
Branch: SERVER_PACKAGEBUILD
Changes since 1.3: +6 -4 lines
Log Message:
Changed the Makefile to place compiled class files in a seperate directory
further down the directory structure. Also supplied the following switches to
the javac compiler.

-g:none
-O

The first make sure no debugging information is supplied, and the second makes
the compiler optimise the code.

File Contents

# User Rev Content
1 tdb 1.2 # Makefile for uk.ac.ukc.iscream.util
2 tdb 1.3.2.1 # $Id: Makefile,v 1.3 2000/12/06 18:34:02 tdb1 Exp $
3 tdb 1.1
4     # Defining Filenames
5    
6     CLASS = AlreadyInitialisedException.class NotInitialisedException.class\
7 tdb 1.2 ReferenceManager.class XMLPacket.class XMLPacketMaker.class\
8 tdb 1.3.2.1 XMLStringParser.class FormatName.class
9 tdb 1.1
10     IDL = ../../../../../idl/.madeidl
11     IDLFILES = ../../../../../idl/uk
12 tdb 1.3.2.1 IDLMAKE = cd ../../../../.. && $(MAKE) buildidl
13    
14     BUILD = ../../../../../build
15 tdb 1.1
16     # Defining "shortcuts" for building
17    
18 tdb 1.3 all : $(IDL) $(CLASS)
19 tdb 1.1
20     clean :
21     rm -f $(CLASS)
22    
23     update :
24     cvs -q -d /usr/local/proj/co600_10/cvs update -d
25    
26     # Dependencies, and building
27    
28     # clever catchall to build any .class file from a .java file
29     %.class : %.java
30 tdb 1.3.2.1 javac -g:none -O -d $(BUILD) $<
31 tdb 1.1
32     $(IDL) : ../../../../../idl/iscream.idl
33     $(IDLMAKE)