1 |
tdb |
1.2 |
# Include Makefile for dbreporter |
2 |
|
|
# $Id: Makefile.inc,v 1.1 2001/03/26 20:50:06 tdb1 Exp $ |
3 |
tdb |
1.1 |
|
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) |