1 |
|
# Makefile for uk.ac.ukc.iscream.util |
2 |
|
# $Id$ |
3 |
|
|
4 |
+ |
include ../../../../../Config.inc |
5 |
+ |
|
6 |
|
# Defining Filenames |
7 |
|
|
8 |
|
CLASS = AlreadyInitialisedException.class NotInitialisedException.class\ |
9 |
|
ReferenceManager.class XMLPacket.class XMLPacketMaker.class\ |
10 |
|
XMLStringParser.class FormatName.class |
11 |
|
|
10 |
– |
IDL = ../../../../../idl/.madeidl |
11 |
– |
IDLFILES = ../../../../../idl/uk |
12 |
– |
IDLMAKE = cd ../../../../.. && $(MAKE) buildidl |
13 |
– |
|
14 |
– |
BUILD = ../../../../../build |
15 |
– |
|
12 |
|
# Defining "shortcuts" for building |
13 |
|
|
14 |
|
all : $(IDL) $(CLASS) |
15 |
|
|
16 |
< |
clean : |
21 |
< |
rm -f $(CLASS) |
22 |
< |
|
23 |
< |
update : |
24 |
< |
cvs -q -d /usr/local/proj/co600_10/cvs update -d |
25 |
< |
|
26 |
< |
# Dependencies, and building |
27 |
< |
|
28 |
< |
# clever catchall to build any .class file from a .java file |
29 |
< |
%.class : %.java |
30 |
< |
javac -g:none -O -d $(BUILD) $< |
31 |
< |
|
32 |
< |
$(IDL) : ../../../../../idl/iscream.idl |
33 |
< |
$(IDLMAKE) |
16 |
> |
include $(MKINC) |