1 |
|
# Makefile for server |
2 |
|
# $Id$ |
3 |
|
|
4 |
< |
all : idl core filter |
4 |
> |
include Config.inc |
5 |
|
|
6 |
< |
core : |
7 |
< |
cd CORE && $(MAKE) |
6 |
> |
all : buildidl code build |
7 |
|
|
8 |
< |
filter : |
9 |
< |
cd Filter && $(MAKE) |
8 |
> |
idl : $(IDL) |
9 |
> |
$(IDL) : idl/iscream.idl |
10 |
> |
cd idl && $(MAKE) idl |
11 |
|
|
12 |
< |
idl : iscream.idl |
13 |
< |
idl iscream.idl |
14 |
< |
@touch .madeidl |
12 |
> |
buildidl : $(IDL) idl |
13 |
> |
cd idl && $(MAKE) build |
14 |
|
|
15 |
+ |
code : |
16 |
+ |
cd uk/ac/ukc/iscream && $(MAKE) all |
17 |
+ |
|
18 |
|
clean : |
19 |
< |
rm -Rf uk |
20 |
< |
rm -f .madeidl |
19 |
< |
cd CORE && $(MAKE) clean |
20 |
< |
cd Filter && $(MAKE) clean |
19 |
> |
cd idl && $(MAKE) clean |
20 |
> |
cd build && $(MAKE) clean |
21 |
|
|
22 |
+ |
run : build |
23 |
+ |
cd build && java -jar iscream.jar |
24 |
+ |
|
25 |
+ |
build : |
26 |
+ |
cd build && $(MAKE) package |
27 |
+ |
|
28 |
+ |
include $(MKINC) |