ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/i-scream/projects/cms/source/server/uk/org/iscream/cms/server/filtermanager/Makefile
Revision: 1.2.2.1
Committed: Mon Dec 11 20:29:29 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

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