2 |
|
# $Id$ |
3 |
|
|
4 |
|
## Rule to CVS update the files |
5 |
+ |
.PHONY : update |
6 |
|
update : |
7 |
< |
cvs -q -d $(CVSROOT) update |
7 |
> |
$(CVS) -q -d $(CVSROOT) update |
8 |
|
|
8 |
– |
## Rule for making and compiling the IDL files |
9 |
– |
$(IDLCHECK) : $(SERVERROOT)/idl/iscream.idl |
10 |
– |
cd $(SERVERROOT)/idl && $(MAKE) build |
11 |
– |
rm -f $(COMPILECHECK) |
12 |
– |
|
9 |
|
## General Build Rule for Java Files |
10 |
< |
DOBUILD : $(IDLCHECK) $(COMPILECHECK) |
10 |
> |
.PHONY : DOBUILD |
11 |
> |
DOBUILD : $(COMPILECHECK) |
12 |
|
|
13 |
< |
$(COMPILECHECK) : $(JAVA) |
14 |
< |
javac -g:none -O -classpath $(JCCLASSPATH) -d $(BUILD) $? |
18 |
< |
@touch $(BUILDCHECK) |
13 |
> |
$(COMPILECHECK) : $(JAVA) $(IDLCHECK) |
14 |
> |
$(JAVACBIN) $(JCFLAGS) -classpath $(JCCLASSPATH) -d $(BUILD) $(JAVA) |
15 |
|
@touch $(COMPILECHECK) |
16 |
+ |
@touch $(MCOMPILECHECK) |
17 |
|
|
18 |
< |
DOCLEAN : |
22 |
< |
rm -f $(COMPILECHECK) $(COPYCHECK) |
23 |
< |
|
18 |
> |
.PHONY : DOCOPY |
19 |
|
DOCOPY : $(COPYCHECK) |
20 |
|
|
21 |
|
$(COPYCHECK) : $(FILES) |
22 |
< |
cp $(FILES) `perl -e '$$root="$(SERVERROOT)";$$path=\`pwd\`;$$path=~s/^$$root($$1)/$$1/;print "$(BUILD)".$$path;'` |
22 |
> |
cp $(FILES) `perl -e '$$root="$(SOURCEROOT)";$$path=\`pwd\`;$$path=~s/^$$root($$1)/$$1/;print "$(BUILD)".$$path;'` |
23 |
|
@touch $(COPYCHECK) |
24 |
+ |
|
25 |
+ |
.PHONY : DOCLEAN |
26 |
+ |
DOCLEAN : |
27 |
+ |
rm -f $(COMPILECHECK) $(COPYCHECK) |
28 |
+ |
|
29 |
+ |
$(IDLCHECK) : $(IDLFILE) |
30 |
+ |
cd $(IDLDIR) && $(MAKE) all |
31 |
+ |
|
32 |
+ |
$(MCOMPILECHECK) : |
33 |
+ |
cd $(SOURCEROOT) && $(MAKE) build |
34 |
+ |
|
35 |
+ |
$(SRCCHECK) : |
36 |
+ |
cd $(SOURCEROOT) && $(MAKE) mksrc |
37 |
+ |
|
38 |
+ |
$(CHANGELOG) : |
39 |
+ |
cd $(SOURCEROOT) && $(MAKE) mkchangelog |
40 |
+ |
|
41 |
+ |
$(JAVADOCCHECK) : $(IDLCHECK) |
42 |
+ |
cd $(SOURCEROOT) && $(MAKE) mkjavadoc |