1 |
|
# Makefile for server |
2 |
|
# $Id$ |
3 |
|
|
4 |
< |
all : idl core filter |
4 |
> |
IDL = idl/.madeidl |
5 |
|
|
6 |
< |
core : |
7 |
< |
cd CORE && $(MAKE) |
6 |
> |
all : buildidl code |
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/uk/ac/ukc/iscream/clientinterface && javac -g:none -O -d ../../../../../../build *.java |
14 |
> |
cd idl/uk/ac/ukc/iscream/core && javac -g:none -O -d ../../../../../../build *.java |
15 |
> |
cd idl/uk/ac/ukc/iscream/filter && javac -g:none -O -d ../../../../../../build *.java |
16 |
|
|
17 |
+ |
code : |
18 |
+ |
cd uk/ac/ukc/iscream && $(MAKE) all |
19 |
+ |
|
20 |
|
clean : |
21 |
< |
rm -Rf uk |
22 |
< |
rm -f .madeidl |
23 |
< |
cd CORE && $(MAKE) clean |
20 |
< |
cd Filter && $(MAKE) clean |
21 |
> |
cd idl && $(MAKE) clean |
22 |
> |
cd uk/ac/ukc/iscream && $(MAKE) clean |
23 |
> |
cd build && $(MAKE) clean |
24 |
|
|
25 |
|
update : |
26 |
|
cvs -q -d /usr/local/proj/co600_10/cvs update |
27 |
+ |
|
28 |
+ |
runclientinterface : |
29 |
+ |
cd uk/ac/ukc/iscream/clientinterface && $(MAKE) all |
30 |
+ |
cd build && java uk.ac.ukc.iscream.clientinterface.ClientInterfaceMain |
31 |
+ |
|
32 |
+ |
runcore : |
33 |
+ |
cd uk/ac/ukc/iscream/core && $(MAKE) all |
34 |
+ |
cd build && java uk.ac.ukc.iscream.core.Core -l etc/default.properties |
35 |
+ |
|
36 |
+ |
rundbinterface : |
37 |
+ |
cd uk/ac/ukc/iscream/dbinterface && $(MAKE) all |
38 |
+ |
cd build && java uk.ac.ukc.iscream.dbinterface.DBInterfaceMain |
39 |
+ |
|
40 |
+ |
runfiltermanager : |
41 |
+ |
cd uk/ac/ukc/iscream/filtermanager && $(MAKE) all |
42 |
+ |
cd build && java uk.ac.ukc.iscream.filtermanager.FilterManager |
43 |
+ |
|
44 |
+ |
runrootfilter : |
45 |
+ |
cd uk/ac/ukc/iscream/rootfilter && $(MAKE) all |
46 |
+ |
cd build &&java uk.ac.ukc.iscream.rootfilter.RootFilterMain |
47 |
+ |
|
48 |
+ |
runfilter : |
49 |
+ |
cd uk/ac/ukc/iscream/filter && $(MAKE) all |
50 |
+ |
cd build && java uk.ac.ukc.iscream.filter.FilterMain $(NAME) |
51 |
+ |
|
52 |
+ |
build : all |
53 |
+ |
cd build && $(MAKE) package |