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

# Content
1 # Makefile for uk.ac.ukc.iscream.core
2 # $Id: Makefile,v 1.12 2000/11/29 23:40:55 tdb1 Exp $
3
4 # Defining Filenames
5
6 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 IDLMAKE = cd ../../../../.. && $(MAKE) buildidl
13
14 BUILD = ../../../../../build
15
16 # Defining "shortcuts" for building
17
18 all : core loggers
19
20 core : $(IDL) $(CLASS)
21
22 loggers : mkloggers
23 mkloggers :
24 cd loggers && $(MAKE) all
25
26 clean :
27 rm -f $(CLASS)
28 cd loggers && $(MAKE) clean
29
30 update :
31 cvs -q -d /usr/local/proj/co600_10/cvs update -d
32
33 # Dependencies, and building
34
35 # clever catchall to build any .class file from a .java file
36 %.class : %.java
37 javac -g:none -O -d $(BUILD) $<
38
39 $(IDL) : ../../../../../idl/iscream.idl
40 $(IDLMAKE)