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