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