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

# Content
1 # Makefile for uk.ac.ukc.iscream.util
2 # $Id: Makefile,v 1.3 2000/12/06 18:34:02 tdb1 Exp $
3
4 # Defining Filenames
5
6 CLASS = AlreadyInitialisedException.class NotInitialisedException.class\
7 ReferenceManager.class XMLPacket.class XMLPacketMaker.class\
8 XMLStringParser.class FormatName.class
9
10 IDL = ../../../../../idl/.madeidl
11 IDLFILES = ../../../../../idl/uk
12 IDLMAKE = cd ../../../../.. && $(MAKE) buildidl
13
14 BUILD = ../../../../../build
15
16 # Defining "shortcuts" for building
17
18 all : $(IDL) $(CLASS)
19
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 javac -g:none -O -d $(BUILD) $<
31
32 $(IDL) : ../../../../../idl/iscream.idl
33 $(IDLMAKE)