5 |
|
update : |
6 |
|
cvs -q -d $(CVSROOT) update |
7 |
|
|
8 |
< |
## General rule for building a class file |
9 |
< |
%.class : %.java |
10 |
< |
javac -g:none -O -classpath $(JCCLASSPATH) -d $(BUILD) $< |
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 |
|
|
12 |
– |
## How to generate the IDL files |
13 |
– |
IDLMAKE = cd $(SERVERROOT) && $(MAKE) buildidl |
14 |
– |
|
15 |
– |
## Rule for making the IDL files |
16 |
– |
$(IDL) : $(SERVERROOT)/idl/iscream.idl |
17 |
– |
$(IDLMAKE) |
18 |
– |
|
13 |
|
## General Build Rule for Java Files |
14 |
< |
DOBUILD : $(IDL) $(CLASS) |
14 |
> |
DOBUILD : $(IDLCHECK) $(COMPILECHECK) |
15 |
> |
|
16 |
> |
$(COMPILECHECK) : $(JAVA) |
17 |
> |
javac -g:none -O -classpath $(JCCLASSPATH) -d $(BUILD) $? |
18 |
|
@touch $(BUILDCHECK) |
19 |
+ |
@touch $(COMPILECHECK) |
20 |
+ |
|
21 |
+ |
DOCLEAN : |
22 |
+ |
rm -f $(COMPILECHECK) |