1 |
+ |
# Include Makefile for the server |
2 |
+ |
# $Id$ |
3 |
+ |
|
4 |
+ |
## Rule to CVS update the files |
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) $< |
11 |
+ |
|
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 |
+ |
|
19 |
+ |
## General Build Rule for Java Files |
20 |
+ |
DOBUILD : $(IDL) $(CLASS) |
21 |
+ |
@touch $(BUILDCHECK) |