ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/i-scream/projects/cms/source/server/uk/org/iscream/cms/server/clientinterface/Makefile
Revision: 1.2.2.1
Committed: Mon Dec 11 20:29:17 2000 UTC (23 years, 5 months ago) by tdb
Branch: SERVER_PACKAGEBUILD
Changes since 1.2: +5 -3 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.1 # Makefile for uk.ac.ukc.iscream.clientinterface
2 tdb 1.2.2.1 # $Id: Makefile,v 1.2 2000/12/06 18:33:48 tdb1 Exp $
3 tdb 1.1
4     # Defining Filenames
5    
6     CLASS = ClientHandler.class ClientListener.class TCPClientHandler.class\
7     ClientInterfaceMain.class ClientInterfaceServant.class
8    
9     IDL = ../../../../../idl/.madeidl
10     IDLFILES = ../../../../../idl/uk
11 tdb 1.2.2.1 IDLMAKE = cd ../../../../.. && $(MAKE) buildidl
12    
13     BUILD = ../../../../../build
14 tdb 1.1
15     # Defining "shortcuts" for building
16    
17 tdb 1.2 all : $(IDL) $(CLASS)
18 tdb 1.1
19     clean :
20     rm -f $(CLASS)
21    
22     update :
23     cvs -q -d /usr/local/proj/co600_10/cvs update -d
24    
25     # Dependencies, and building
26    
27     # clever catchall to build any .class file from a .java file
28     %.class : %.java
29 tdb 1.2.2.1 javac -g:none -O -d $(BUILD) $<
30 tdb 1.1
31     $(IDL) : ../../../../../idl/iscream.idl
32     $(IDLMAKE)