]>
Commit | Line | Data |
---|---|---|
1 | #-*- Mode: Makefile -*- | |
2 | ||
3 | ||
4 | reveng-@MODULE@: @MODULE@/check/classDiagram.dot | |
5 | ||
6 | @MODULE@/check/classDiagram.dot: $(PACKREVENG) | |
7 | @$(REV_ENG) $^ | |
8 | @-mv classDiagram.dot $@ | |
9 | ||
10 | revdisp-@MODULE@: reveng-@MODULE@ | |
11 | @echo revdisp for @MODULE@ | |
12 | @cd @MODULE@/check ; \ | |
13 | $(IRST_INSTALLDIR)/webreveng/create-class-diagram-pages.sh | |
14 | @sed -e "s/\@MODULE\@/@MODULE@/g" < $(IRST_INSTALLDIR)/webreveng/WWW/STEER/HomePage.html > @MODULE@/check/HomePage.html | |
15 | ||
16 | PACKREVENG = | |
17 | ||
18 | # Clean option for the whole module | |
19 | clean-@MODULE@: | |
20 | ifndef ALIQUIET | |
21 | @echo "***** Cleaning @MODULE@ *****" | |
22 | endif | |
23 | $(MUTE)rm @MODULE@/module.mk | |
24 | $(MUTE)rm -rf @MODULE@/tgt_$(ALICE_TARGET) | |
25 | $(MUTE)rm -f $(@MODULE@LIBS) | |
26 | $(MUTE)rm -f $(@MODULE@BINS) | |
27 | ||
28 | clean-check-@MODULE@: | |
29 | ifndef ALIQUIET | |
30 | @echo "***** Cleaning code check for @MODULE@ *****" | |
31 | endif | |
32 | $(MUTE)rm -f `find @MODULE@/check -name '*.i'` `find @MODULE@/check -name '*.ii'` `find @MODULE@/check -name '*.viol'` | |
33 | ||
34 | clean-reveng-@MODULE@: | |
35 | ifndef ALIQUIET | |
36 | @echo "***** Cleaning reverse engineering files for @MODULE@ *****" | |
37 | endif | |
38 | $(MUTE)rm -f `find @MODULE@/check -name '*.dot'` | |
39 |