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