1 |
# Include Makefile for the server |
2 |
# $Id: Makefile.inc,v 1.11 2001/03/14 22:01:08 tdb1 Exp $ |
3 |
|
4 |
## Rule to CVS update the files |
5 |
update : |
6 |
$(CVS) -q -d $(CVSROOT) update |
7 |
|
8 |
## General Build Rule for Java Files |
9 |
DOBUILD : $(COMPILECHECK) |
10 |
|
11 |
$(COMPILECHECK) : $(JAVA) |
12 |
javac $(JCFLAGS) -classpath $(JCCLASSPATH) -d $(BUILD) $? |
13 |
@touch $(BUILDCHECK) |
14 |
@touch $(COMPILECHECK) |
15 |
|
16 |
DOCLEAN : |
17 |
rm -f $(COMPILECHECK) $(COPYCHECK) |
18 |
|
19 |
DOCOPY : $(COPYCHECK) |
20 |
|
21 |
$(COPYCHECK) : $(FILES) |
22 |
cp $(FILES) `perl -e '$$root="$(SOURCEROOT)";$$path=\`pwd\`;$$path=~s/^$$root($$1)/$$1/;print "$(BUILD)".$$path;'` |
23 |
@touch $(COPYCHECK) |