-
Notifications
You must be signed in to change notification settings - Fork 2
/
Makefile
66 lines (52 loc) · 1.75 KB
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
include Makefile.include
## zlib and Derivbank removed
## Derivbank gave segmentation violation when loaded in SICStus
DIRS= TreebankTools fadd unix SuffixArrays PosTagger\
Names Tokenization Generation Generation/fluency Suites Lexicon\
Grammar src
.PHONY: all install clean realclean xref checks
export ALPINO_HOME
quick:
$(MAKE) -C Hdrug hdrug state
$(MAKE) -C src guides$(MODULEEXT)
$(MAKE) -C TreebankTools
$(MAKE) -C fadd
$(MAKE) -C unix
$(MAKE) -C SuffixArrays
$(MAKE) -C PosTagger
$(MAKE) -C Names
$(MAKE) -C Tokenization
$(MAKE) -C Generation
$(MAKE) -C Generation/fluency
$(MAKE) -C Suites
$(MAKE) -C Lexicon
$(MAKE) -C Grammar
$(MAKE) -C src
rebuild:
( cd Lexicon/Build; $(MAKE) ; $(MAKE) install )
( cd Names/Build; $(MAKE) ; $(MAKE) install )
$(MAKE) quick
treebank:
( cd Treebank ; $(MAKE) all )
install:
-for dir in $(DIRS); do ( if [ -d $$dir ]; \
then cd $$dir ; $(MAKE) install;\
fi ); done
install -D Annotate $(BINDIR)
clean:
-for dir in Hdrug $(DIRS); do ( if [ -d $$dir ]; \
then cd $$dir ; $(MAKE) clean;\
fi ); done
realclean:
-for dir in Hdrug $(DIRS); do ( if [ -d $$dir ]; \
then cd $$dir ; $(MAKE) realclean;\
fi ); done
rm -f version
xref:
@spxref -i xref.pl -w - Hdrug/Prolog/hdrug_main Hdrug/Prolog/hooks\
src/start.pl src/hooks.pl\
Generation/fluency/pro_lm\
Grammar/penalties.pl Generation/fluency/maxent.pl Lexicon/lex.pl\
| grep -v 'can not follow'
@echo "(26 warnings expected; 1 unused ugraphs)"
include Makefile.export