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 FormatName.class |
7 |
> |
# Defining Filenames (these will all be built) |
8 |
|
|
9 |
< |
IDL = ../../../../../idl/.madeidl |
10 |
< |
IDLFILES = ../../../../../idl/uk |
11 |
< |
IDLMAKE = cd ../../../../.. && $(MAKE) buildidl |
9 |
> |
JAVA = XMLPacket.java XMLPacketMaker.java\ |
10 |
> |
XMLStringParser.java FormatName.java\ |
11 |
> |
Queue.java InvalidQueueException.java\ |
12 |
> |
DateUtils.java StringUtils.java Smtp.java\ |
13 |
> |
QueueMonitor.java InvalidXMLException.java |
14 |
|
|
15 |
< |
BUILD = ../../../../../build |
15 |
> |
# Build Rule |
16 |
> |
all : DOBUILD |
17 |
> |
clean : DOCLEAN |
18 |
|
|
19 |
< |
# Defining "shortcuts" for building |
20 |
< |
|
18 |
< |
all : $(IDL) $(CLASS) |
19 |
< |
|
20 |
< |
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) |
19 |
> |
# Main Include |
20 |
> |
include $(MKINC) |