1 |
|
# Makefile for uk.ac.ukc.iscream.util |
2 |
|
# $Id$ |
3 |
|
|
4 |
< |
# Defining Filenames |
4 |
> |
# Config Include |
5 |
> |
include ../../../../../Config.inc |
6 |
|
|
7 |
< |
CLASS = AlreadyInitialisedException.class NotInitialisedException.class\ |
7 |
< |
ReferenceManager.class XMLPacket.class XMLPacketMaker.class\ |
8 |
< |
XMLStringParser.class Component.class FormatName.class |
7 |
> |
# Defining Filenames (these will all be built) |
8 |
|
|
9 |
< |
IDL = ../../../../../idl/.madeidl |
10 |
< |
IDLFILES = ../../../../../idl/uk |
11 |
< |
IDLMAKE = cd ../../../../.. && $(MAKE) idl |
9 |
> |
JAVA = ComponentStartException.java Component.java\ |
10 |
> |
ReferenceManager.java XMLPacket.java XMLPacketMaker.java\ |
11 |
> |
XMLStringParser.java FormatName.java |
12 |
|
|
13 |
< |
# Defining "shortcuts" for building |
13 |
> |
# Build Rule |
14 |
> |
all : DOBUILD |
15 |
> |
clean : DOCLEAN |
16 |
|
|
17 |
< |
all : $(IDL) $(CLASS) |
18 |
< |
|
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 $< |
29 |
< |
|
30 |
< |
$(IDL) : ../../../../../idl/iscream.idl |
31 |
< |
$(IDLMAKE) |
17 |
> |
# Main Include |
18 |
> |
include $(MKINC) |