3 |
|
|
4 |
|
include ../Config.inc |
5 |
|
|
6 |
+ |
IDLFILES = uk |
7 |
+ |
|
8 |
+ |
.PHONY : all |
9 |
|
all : build |
10 |
|
|
11 |
< |
idl : $(IDLCHECK) |
11 |
> |
.PHONY : idl |
12 |
> |
idl : iscream.idl |
13 |
> |
java -classpath $(BUILD)/lib/idl.jar org.jacorb.idl.parser -sloppy_names iscream.idl |
14 |
|
|
15 |
< |
$(IDLCHECK) : iscream.idl |
16 |
< |
java -classpath $(BUILD)/lib/idl.jar jacorb.idl.parser iscream.idl |
15 |
> |
.PHONY : build |
16 |
> |
build : idl |
17 |
> |
cd uk/org/iscream/cms/server/clientinterface && javac $(JCFLAGS) -classpath $(JCCLASSPATH) -d $(BUILD) *.java |
18 |
> |
cd uk/org/iscream/cms/server/core && javac $(JCFLAGS) -classpath $(JCCLASSPATH) -d $(BUILD) *.java |
19 |
> |
cd uk/org/iscream/cms/server/filter && javac $(JCFLAGS) -classpath $(JCCLASSPATH) -d $(BUILD) *.java |
20 |
> |
cd uk/org/iscream/cms/server/client && javac $(JCFLAGS) -classpath $(JCCLASSPATH) -d $(BUILD) *.java |
21 |
|
@touch $(IDLCHECK) |
22 |
+ |
@rm -f $(MCOMPILECHECK) |
23 |
|
|
24 |
< |
build : idl |
15 |
< |
cd uk/ac/ukc/iscream/clientinterface && javac -g:none -O -d $(BUILD) *.java |
16 |
< |
cd uk/ac/ukc/iscream/core && javac -g:none -O -d $(BUILD) *.java |
17 |
< |
cd uk/ac/ukc/iscream/filter && javac -g:none -O -d $(BUILD) *.java |
18 |
< |
|
24 |
> |
.PHONY : clean |
25 |
|
clean : |
26 |
|
rm -Rf $(IDLFILES) |
27 |
|
rm -f $(IDLCHECK) |