forked from PembrokeNS/sakusen
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile.local
66 lines (47 loc) · 1.8 KB
/
Makefile.local
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
ifeq ($(ENABLE_EVERYTHING),no)
all-nonrecursive:
@echo "You appear to be lacking a critical library and so the build"
@echo "will not proceed. Try 'make config' or read INSTALL for more info"
exit 1
else
ifeq ($(ENABLE_EVERYTHING),yes)
SUBDIRS := \
optimal
# Use bundled libltdl version, which provides better error messages but has
# less functionality
ifeq ($(ENABLE_LTDL_HACKED),yes)
SUBDIRS += ltdl_hacked
endif
SUBDIRS += sakusen \
data server-test server-plugins \
fuseki tedomari
ifeq ($(ENABLE_BINDINGS),yes)
SUBDIRS += bindings
endif
ifeq ($(ENABLE_KIAI),yes)
SUBDIRS += kiai
endif
SUBDIRS += tools
all-recurse-server-test all-recurse-server-plugins all-recurse-fuseki all-recurse-tedomari all-recurse-data all-recurse-bindings all-recurse-tools: all-recurse-sakusen
all-recurse-fuseki all-recurse-tedomari: all-recurse-optimal
test-recurse-server-test: test-recurse-data
test-recurse-server-test test-recurse-server-plugins test-recurse-fuseki test-recurse-tedomari test-recurse-data test-recurse-bindings test-recurse-tools: test-recurse-sakusen
test-recurse-fuseki test-recurse-tedomari: test-recurse-optimal
ifeq ($(ENABLE_LTDL_HACKED),yes)
all-recurse-sakusen: all-recurse-ltdl_hacked
test-recurse-sakusen: test-recurse-ltdl_hacked
endif
# If we're installing to a relative DESTDIR, then we have to make it absolute
# before we recurse because otherwise it ends up pointing at different places
# in each subdirectory. Also, install needs its argument to be absolute
ifneq (,$(filter-out /%,$(DESTDIR)))
export DESTDIR := $(shell pwd)/$(DESTDIR)
endif
install-nonrecursive: $(addprefix install-recurse-,$(SUBDIRS))
libtool --mode=finish $(LIBDIR)
else
all-nonrecursive:
@echo "Your configuration appears to be invalid."
@echo "Try editing config.mk, running 'make config' or reading INSTALL."
endif
endif