-
Notifications
You must be signed in to change notification settings - Fork 2
/
Makefile.include
75 lines (60 loc) · 1.38 KB
/
Makefile.include
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
66
67
68
69
70
71
72
73
74
ifndef ALPINO_HOME
ALPINO_HOME:=$(shell dirname $(realpath $(lastword $(MAKEFILE_LIST))))
endif
ifndef PROLOG
PROLOG=sicstus
endif
ifndef HDRUG
HDRUG=$(ALPINO_HOME)/Hdrug/hdrug
endif
ifeq "$(shell if [ -r $(ALPINO_HOME)/Makefile.defs ]; then echo yes; fi)" "yes"
include $(ALPINO_HOME)/Makefile.defs
endif
ifndef ALPINO
ALPINO=$(ALPINO_HOME)/bin/Alpino
endif
ifeq ($(PLATFORM),darwin)
DYLD_LIBRARY_PATH=$(ALPINO_HOME)/fadd:$(ALPINO_HOME)/Treebank/libdzcorpus:$(ALPINO_HOME)/PosTagger
export DYLD_LIBRARY_PATH
DYLIBEXT=.dylib
MODULEEXT=.bundle
ifeq ($(PROLOG),swipl)
MODULEEXT=.dylib
endif
PYMODULEEXT=.so
else
ifeq ($(PLATFORM),windows)
DYLIBEXT=.dll
MODULEEXT=.dll
PYMODULEEXT=.dll
else
DYLIBEXT=.so
MODULEEXT=.so
PYMODULEEXT=.so
endif
endif
ifndef SPLFR
SPLFR=splfr
endif
ifndef PREFIX
PREFIX=$(ALPINO_HOME)
endif
ifndef BINDIR
BINDIR=$(PREFIX)/bin
endif
ifndef MANDIR
MANDIR=$(PREFIX)/man
endif
ifndef S_FSA_MORPH_SCRIPT
S_FSA_MORPH_SCRIPT=morph_data.pl
endif
ifndef S_FSA_BUILD
S_FSA_BUILD=fsa_build
endif
ifndef TRED_EXECUTABLE
TRED_EXECUTABLE=echo TrEd not available on this machine?
endif
LIBCORPUS_PATH=$(ALPINO_HOME)/TreebankTools/IndexedCorpus
LIBCORPUS_DYLIB=$(LIBCORPUS_PATH)/libcorpus$(DYLIBEXT)
LIBCORPUS_STATIC=$(LIBCORPUS_PATH)/libcorpus.a
.PHONY: all clean realclean install