1 |
|
# Makefile for server |
2 |
|
# $Id$ |
3 |
|
|
4 |
< |
IDL = idl/.madeidl |
4 |
> |
include Config.inc |
5 |
|
|
6 |
< |
all : buildidl code |
6 |
> |
all : buildidl code build |
7 |
|
|
8 |
|
idl : $(IDL) |
9 |
|
$(IDL) : idl/iscream.idl |
10 |
|
cd idl && $(MAKE) idl |
11 |
|
|
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 |
13 |
> |
cd idl && $(MAKE) build |
14 |
|
|
15 |
|
code : |
16 |
|
cd uk/ac/ukc/iscream && $(MAKE) all |
17 |
|
|
18 |
|
clean : |
19 |
|
cd idl && $(MAKE) clean |
22 |
– |
cd uk/ac/ukc/iscream && $(MAKE) clean |
20 |
|
cd build && $(MAKE) clean |
21 |
+ |
rm -Rf $(BUILDCHECK) $(IDLCHECK) |
22 |
|
|
23 |
< |
update : |
24 |
< |
cvs -q -d /usr/local/proj/co600_10/cvs update |
23 |
> |
run : build |
24 |
> |
cd build && java -jar iscream.jar |
25 |
|
|
26 |
< |
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 |
26 |
> |
build : |
27 |
|
cd build && $(MAKE) package |
28 |
+ |
|
29 |
+ |
include $(MKINC) |