forked from infinidb/infinidb
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile.am
88 lines (77 loc) · 2.72 KB
/
Makefile.am
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
75
76
77
78
79
80
81
82
83
84
85
86
87
# Copyright (C) 2014 InfiniDB, Inc.
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; version 2 of
# the License.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
# MA 02110-1301, USA.
# $Id$
ACLOCAL_AMFLAGS = -I ./m4
all-local: bootstrap
cd utils && $(MAKE) && $(MAKE) install
cd oam; \
$(MAKE) -C oamcpp install
cd snmpd && $(MAKE) && $(MAKE) install
cd dbcon; \
$(MAKE) -C execplan install; \
$(MAKE) -C joblist install
cd versioning && $(MAKE) && $(MAKE) install
cd oam && $(MAKE) && $(MAKE) install
cd versioning && $(MAKE) dbrm tools && $(MAKE) install_dbrm install_tools
cd writeengine; \
$(MAKE) -C wrapper install; \
$(MAKE) -C client install; \
$(MAKE) -C xml install; \
$(MAKE) -C redistribute install
cd dbcon; \
$(MAKE) -C ddlpackage install; \
$(MAKE) -C ddlpackageproc install; \
$(MAKE) -C dmlpackage install; \
$(MAKE) -C dmlpackageproc install
cd dbcon && $(MAKE) && $(MAKE) install
cd exemgr && $(MAKE) && $(MAKE) install
cd ddlproc && $(MAKE) && $(MAKE) install
cd dmlproc && $(MAKE) && $(MAKE) install
cd procmon && $(MAKE) && $(MAKE) install
cd procmgr && $(MAKE) && $(MAKE) install
cd oamapps && $(MAKE) && $(MAKE) install
cd decomsvr && $(MAKE) && $(MAKE) install
cd primitives && $(MAKE) && $(MAKE) install
cd tools && $(MAKE) && $(MAKE) install
cd versioning && $(MAKE) tools install_tools
$(MAKE) -C writeengine/server install_server
$(MAKE) -C writeengine/bulk install_bulk
$(MAKE) -C writeengine/splitter install_splitter
echo $(CXXFLAGS) $(DEBUG_FLAGS) > buildFlags
compile: all-local
.PHONY: test coverage leakcheck docs bootstrap
test:
coverage:
leakcheck:
docs:
bootstrap:
./build/genVersion.sh --prefix=$(prefix)
for subdir in dbcon ddlproc dmlproc exemgr mysql net-snmp oam \
oamapps decomsvr primitives procmgr procmon qa snmpd tools utils versioning \
writeengine ; do \
if test -f $$subdir/Makefile; then \
$(MAKE) BOOTSTRAP=1 -C $$subdir bootstrap || exit $$?; \
fi; \
done
clean: clean-am
for subdir in dbcon ddlproc dmlproc exemgr mysql net-snmp oam \
oamapps decomsvr primitives procmgr procmon qa snmpd tools utils versioning \
writeengine ; do \
if test -f $$subdir/Makefile; then \
$(MAKE) BOOTSTRAP=1 -C $$subdir clean || exit $$?; \
fi; \
done