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