1 |
tdb |
1.3 |
# Include Makefile for the dbreporter |
2 |
|
|
# $Id$ |
3 |
tdb |
1.1 |
|
4 |
|
|
## Rule to CVS update the files |
5 |
tdb |
1.3 |
.PHONY : update |
6 |
tdb |
1.1 |
update : |
7 |
|
|
$(CVS) -q -d $(CVSROOT) update |
8 |
|
|
|
9 |
|
|
## General Build Rule for Java Files |
10 |
tdb |
1.3 |
.PHONY : DOBUILD |
11 |
tdb |
1.1 |
DOBUILD : $(COMPILECHECK) |
12 |
|
|
|
13 |
|
|
$(COMPILECHECK) : $(JAVA) |
14 |
tdb |
1.3 |
$(JAVACBIN) $(JCFLAGS) -classpath $(JCCLASSPATH) -d $(BUILD) $(JAVA) |
15 |
tdb |
1.1 |
@touch $(COMPILECHECK) |
16 |
tdb |
1.3 |
@touch $(MCOMPILECHECK) |
17 |
tdb |
1.1 |
|
18 |
tdb |
1.3 |
.PHONY : DOCOPY |
19 |
tdb |
1.1 |
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) |
24 |
tdb |
1.3 |
|
25 |
|
|
.PHONY : DOCLEAN |
26 |
|
|
DOCLEAN : |
27 |
|
|
rm -f $(COMPILECHECK) $(COPYCHECK) |
28 |
|
|
|
29 |
|
|
$(MCOMPILECHECK) : |
30 |
|
|
cd $(SOURCEROOT) && $(MAKE) build |
31 |
|
|
|
32 |
|
|
$(SRCCHECK) : |
33 |
|
|
cd $(SOURCEROOT) && $(MAKE) mksrc |
34 |
|
|
|
35 |
|
|
$(CHANGELOG) : |
36 |
|
|
cd $(SOURCEROOT) && $(MAKE) mkchangelog |
37 |
|
|
|
38 |
|
|
$(JAVADOCCHECK) : |
39 |
|
|
cd $(SOURCEROOT) && $(MAKE) mkjavadoc |