136.1.1
by Aleksandr Kuzminsky
1. Build.sh is used to build Xtrabackup. Accepts 5.0, 5.1, plugin and xtradb and an argument |
1 |
# Makefile to build XtraBackup for Percona Server and different versions of MySQL
|
2 |
#
|
|
3 |
# Syntax:
|
|
391.103.2
by Laurynas Biveinis
Add MySQL 5.6 support. |
4 |
# make [5.1|5.5|5.6|plugin|xtradb|xtradb55]
|
136.1.1
by Aleksandr Kuzminsky
1. Build.sh is used to build Xtrabackup. Accepts 5.0, 5.1, plugin and xtradb and an argument |
5 |
#
|
228.1.2
by Alexey Kopytov
Port XtraBackup to Percona Server 5.5.9-beta20.1 codebase. |
6 |
# Default is xtradb - to build XtraBackup for Percona Server 5.1
|
7 |
# xtradb55 - Xtrabackup for Percona Server 5.5
|
|
8 |
# 5.1 - XtraBackup for MySQL versions 5.1.* with builtin InnoDB
|
|
255
by Alexey Kopytov
- Restored the ability to build against InnoDB plugin in 5.1 |
9 |
# plugin - XtraBackup for MySQL versions 5.1.* with InnoDB plugin
|
236
by Alexey Kopytov
Restored the ability to build against MySQL 5.5 which was removed when |
10 |
# 5.5 - XtraBackup for MySQL versions 5.5.*
|
391.103.2
by Laurynas Biveinis
Add MySQL 5.6 support. |
11 |
# 5.6 - XtraBackup for MySQL version 5.6
|
136.1.1
by Aleksandr Kuzminsky
1. Build.sh is used to build Xtrabackup. Accepts 5.0, 5.1, plugin and xtradb and an argument |
12 |
|
516.1.1
by George O. Lorch III
Introducing xtrabackup with encryption. |
13 |
LIBS += -lpthread `libgcrypt-config --libs` |
136.1.1
by Aleksandr Kuzminsky
1. Build.sh is used to build Xtrabackup. Accepts 5.0, 5.1, plugin and xtradb and an argument |
14 |
DEFS = -DUNIV_LINUX -DMYSQL_SERVER |
15 |
||
488
by Laurynas Biveinis
Merge C++ build support from 2.0 |
16 |
COMMON_FLAGS = -g -DXTRABACKUP_VERSION=\"$(XTRABACKUP_VERSION)\" -pedantic -Wall -fdiagnostics-show-option -fno-strict-aliasing -Wno-strict-aliasing -Wextra -Wformat -Wno-format-nonliteral -Wno-format-security -Wno-long-long -Wmissing-declarations -Wno-redundant-decls # -Wundef -Wshadow |
391.79.2
by Laurynas Biveinis
Build InnoDB-facing parts of XtraBackup with a C++ compiler, |
17 |
CFLAGS += $(COMMON_FLAGS) --std=gnu99 |
18 |
CXXFLAGS += $(COMMON_FLAGS) |
|
136.1.1
by Aleksandr Kuzminsky
1. Build.sh is used to build Xtrabackup. Accepts 5.0, 5.1, plugin and xtradb and an argument |
19 |
|
385.1.1
by Alexey Kopytov
Rebase of the parallel compression patch on new trunk + post-review |
20 |
ifneq ($(DEBUG),)
|
392
by Alexey Kopytov
Refactoring required to do page filtering in xtrabackup. |
21 |
CFLAGS += -DXB_DEBUG=1 -DUNIV_DEBUG |
488
by Laurynas Biveinis
Merge C++ build support from 2.0 |
22 |
CXXFLAGS += -DXB_DEBUG=1 -DUNIV_DEBUG |
385.1.1
by Alexey Kopytov
Rebase of the parallel compression patch on new trunk + post-review |
23 |
endif
|
24 |
||
136.1.1
by Aleksandr Kuzminsky
1. Build.sh is used to build Xtrabackup. Accepts 5.0, 5.1, plugin and xtradb and an argument |
25 |
TARGET=xtrabackup |
26 |
PREFIX=/usr |
|
27 |
BIN_DIR=$(PREFIX)/bin |
|
28 |
||
516.1.1
by George O. Lorch III
Introducing xtrabackup with encryption. |
29 |
COMMON_INC = -I. -I libarchive/libarchive -I quicklz `libgcrypt-config --cflags` |
488
by Laurynas Biveinis
Merge C++ build support from 2.0 |
30 |
XTRABACKUPCOBJS = \ |
516.1.1
by George O. Lorch III
Introducing xtrabackup with encryption. |
31 |
ds_archive.o \
|
32 |
ds_xbstream.o \
|
|
392
by Alexey Kopytov
Refactoring required to do page filtering in xtrabackup. |
33 |
ds_local.o \
|
516.1.1
by George O. Lorch III
Introducing xtrabackup with encryption. |
34 |
ds_stdout.o \
|
392
by Alexey Kopytov
Refactoring required to do page filtering in xtrabackup. |
35 |
ds_compress.o \
|
516.1.1
by George O. Lorch III
Introducing xtrabackup with encryption. |
36 |
ds_encrypt.o \
|
37 |
xbcrypt_common.o \
|
|
38 |
xbcrypt_write.o \
|
|
392
by Alexey Kopytov
Refactoring required to do page filtering in xtrabackup. |
39 |
ds_tmpfile.o \
|
466.5.1
by Alexey Kopytov
2.1 version of the fix for |
40 |
ds_buffer.o \
|
392
by Alexey Kopytov
Refactoring required to do page filtering in xtrabackup. |
41 |
datasink.o \
|
42 |
xbstream_write.o \
|
|
385.1.1
by Alexey Kopytov
Rebase of the parallel compression patch on new trunk + post-review |
43 |
quicklz/quicklz.o |
534.7.1
by Laurynas Biveinis
Implement bitmap-based incremental backups. |
44 |
XTRABACKUPCCOBJS = xtrabackup.o innodb_int.o compact.o fil_cur.o write_filt.o \ |
45 |
changed_page_bitmap.o \
|
|
46 |
read_filt.o |
|
522.6.1
by Laurynas Biveinis
Merge build against MySQL 5.6 support from 2.0. |
47 |
|
385.1.1
by Alexey Kopytov
Rebase of the parallel compression patch on new trunk + post-review |
48 |
XBSTREAMOBJS = xbstream.o xbstream_write.o xbstream_read.o |
49 |
||
516.1.1
by George O. Lorch III
Introducing xtrabackup with encryption. |
50 |
XBCRYPTOBJS = xbcrypt.o xbcrypt_common.o xbcrypt_read.o xbcrypt_write.o |
51 |
||
385.1.1
by Alexey Kopytov
Rebase of the parallel compression patch on new trunk + post-review |
52 |
LIBARCHIVE_A = libarchive/libarchive/libarchive.a |
53 |
||
136.1.1
by Aleksandr Kuzminsky
1. Build.sh is used to build Xtrabackup. Accepts 5.0, 5.1, plugin and xtradb and an argument |
54 |
default: xtradb |
55 |
||
56 |
# XtraBackup for MySQL 5.1
|
|
385.1.1
by Alexey Kopytov
Rebase of the parallel compression patch on new trunk + post-review |
57 |
5.1: INC = $(COMMON_INC) $(addprefix -isystem$(MYSQL_ROOT_DIR)/, \ |
58 |
include storage/innobase/include)
|
|
59 |
5.1: INNODBOBJS = $(addprefix $(MYSQL_ROOT_DIR)/storage/innobase/libinnobase_a-, \ |
|
60 |
btr0btr.o btr0cur.o btr0pcur.o \ |
|
61 |
btr0sea.o buf0buf.o buf0flu.o buf0lru.o buf0rea.o data0data.o \ |
|
62 |
data0type.o dict0boot.o dict0crea.o dict0dict.o dict0load.o dict0mem.o \ |
|
63 |
dyn0dyn.o eval0eval.o eval0proc.o fil0fil.o fsp0fsp.o fut0fut.o \ |
|
64 |
fut0lst.o ha0ha.o hash0hash.o ibuf0ibuf.o lock0iter.o lock0lock.o \ |
|
65 |
log0log.o log0recv.o mach0data.o mem0mem.o mem0pool.o mtr0log.o \ |
|
66 |
mtr0mtr.o os0file.o os0proc.o os0sync.o os0thread.o page0cur.o \ |
|
67 |
page0page.o lexyy.o pars0grm.o pars0opt.o pars0pars.o pars0sym.o \ |
|
68 |
que0que.o read0read.o rem0cmp.o rem0rec.o row0ins.o row0mysql.o \ |
|
69 |
row0purge.o row0row.o row0sel.o row0uins.o row0umod.o row0undo.o \ |
|
70 |
row0upd.o row0vers.o srv0que.o srv0srv.o srv0start.o sync0arr.o \ |
|
71 |
sync0rw.o sync0sync.o thr0loc.o trx0purge.o trx0rec.o trx0roll.o \ |
|
72 |
trx0rseg.o trx0sys.o trx0trx.o trx0undo.o usr0sess.o ut0byte.o \ |
|
73 |
ut0dbg.o ut0list.o ut0mem.o ut0rnd.o ut0ut.o ut0vec.o ut0wqueue.o) |
|
74 |
5.1: MYSQLOBJS= $(addprefix $(MYSQL_ROOT_DIR)/, mysys/libmysys.a \ |
|
75 |
strings/libmystrings.a zlib/.libs/libzlt.a dbug/libdbug.a) |
|
139
by Aleksandr Kuzminsky
changed name of xtrabackup binary |
76 |
5.1: TARGET := xtrabackup_51 |
516.1.1
by George O. Lorch III
Introducing xtrabackup with encryption. |
77 |
5.1: $(TARGET) xbstream xbcrypt |
136.1.1
by Aleksandr Kuzminsky
1. Build.sh is used to build Xtrabackup. Accepts 5.0, 5.1, plugin and xtradb and an argument |
78 |
|
255
by Alexey Kopytov
- Restored the ability to build against InnoDB plugin in 5.1 |
79 |
# XtraBackup for MySQL with InnoDB Plugin
|
385.1.1
by Alexey Kopytov
Rebase of the parallel compression patch on new trunk + post-review |
80 |
plugin: INC = $(COMMON_INC) $(addprefix -I$(MYSQL_ROOT_DIR)/, \ |
81 |
include storage/innodb_plugin/include)
|
|
82 |
plugin: INNODBOBJS = $(addprefix \ |
|
83 |
$(MYSQL_ROOT_DIR)/storage/innodb_plugin/ha_innodb_plugin_la-, \ |
|
84 |
btr0btr.o btr0cur.o btr0pcur.o btr0sea.o buf0buddy.o buf0buf.o \ |
|
85 |
buf0flu.o buf0lru.o buf0rea.o data0data.o data0type.o dict0boot.o \ |
|
86 |
dict0crea.o dict0dict.o dict0load.o dict0mem.o dyn0dyn.o eval0eval.o \ |
|
87 |
eval0proc.o fil0fil.o fsp0fsp.o fut0fut.o fut0lst.o ha0ha.o \ |
|
88 |
ha0storage.o hash0hash.o ibuf0ibuf.o lock0iter.o lock0lock.o log0log.o \ |
|
89 |
log0recv.o mach0data.o mem0mem.o mem0pool.o mtr0log.o mtr0mtr.o \ |
|
90 |
os0file.o os0proc.o os0sync.o os0thread.o page0cur.o page0page.o \ |
|
91 |
page0zip.o lexyy.o pars0grm.o pars0opt.o pars0pars.o pars0sym.o \ |
|
92 |
que0que.o read0read.o rem0cmp.o rem0rec.o row0ext.o row0ins.o \ |
|
93 |
row0merge.o row0mysql.o row0purge.o row0row.o row0sel.o row0uins.o \ |
|
94 |
row0umod.o row0undo.o row0upd.o row0vers.o srv0que.o srv0srv.o \ |
|
95 |
srv0start.o sync0arr.o sync0rw.o sync0sync.o thr0loc.o trx0purge.o \ |
|
96 |
trx0rec.o trx0roll.o trx0rseg.o trx0sys.o trx0trx.o trx0undo.o \ |
|
97 |
usr0sess.o ut0byte.o ut0dbg.o ut0list.o ut0mem.o ut0rnd.o ut0ut.o \ |
|
98 |
ut0vec.o ut0wqueue.o ut0rbt.o) |
|
255
by Alexey Kopytov
- Restored the ability to build against InnoDB plugin in 5.1 |
99 |
|
385.1.1
by Alexey Kopytov
Rebase of the parallel compression patch on new trunk + post-review |
100 |
plugin: MYSQLOBJS = $(addprefix $(MYSQL_ROOT_DIR)/, mysys/libmysys.a \ |
101 |
strings/libmystrings.a zlib/.libs/libzlt.a dbug/libdbug.a) |
|
255
by Alexey Kopytov
- Restored the ability to build against InnoDB plugin in 5.1 |
102 |
plugin: TARGET := xtrabackup_plugin |
516.1.1
by George O. Lorch III
Introducing xtrabackup with encryption. |
103 |
plugin: $(TARGET) xbstream xbcrypt |
255
by Alexey Kopytov
- Restored the ability to build against InnoDB plugin in 5.1 |
104 |
|
236
by Alexey Kopytov
Restored the ability to build against MySQL 5.5 which was removed when |
105 |
# XtraBackup for MySQL 5.5
|
385.1.1
by Alexey Kopytov
Rebase of the parallel compression patch on new trunk + post-review |
106 |
5.5: INC = $(COMMON_INC) $(addprefix -isystem$(MYSQL_ROOT_DIR)/, \ |
477.1.1
by Alexey Kopytov
Compact backups implementation: |
107 |
include storage/innobase/include sql)
|
385.1.1
by Alexey Kopytov
Rebase of the parallel compression patch on new trunk + post-review |
108 |
5.5: INNODBOBJS = $(MYSQL_ROOT_DIR)/storage/innobase/libinnobase.a |
109 |
||
110 |
ifeq "$(wildcard $(MYSQL_ROOT_DIR)/zlib/.libs/libzlt.a)" ""
|
|
111 |
xtradb55: LIBZ= -lz |
|
112 |
else
|
|
113 |
xtradb55: LIBZ= $(MYSQL_ROOT_DIR)/zlib/.libs/libzlt.a |
|
114 |
endif
|
|
115 |
||
116 |
5.5: MYSQLOBJS = $(addprefix $(MYSQL_ROOT_DIR)/, \ |
|
117 |
mysys/libmysys.a strings/libstrings.a zlib/libzlib.a dbug/libdbug.a) |
|
236
by Alexey Kopytov
Restored the ability to build against MySQL 5.5 which was removed when |
118 |
ifeq ($(shell uname -s),Linux)
|
119 |
5.5: LIBS += -laio |
|
120 |
endif
|
|
121 |
5.5: TARGET := xtrabackup_innodb55 |
|
122 |
# In CMake server builds it is important to build with exactly the same preprocessor flags
|
|
123 |
# as were used to build InnoDB
|
|
385.1.1
by Alexey Kopytov
Rebase of the parallel compression patch on new trunk + post-review |
124 |
5.5: DEFS = $(shell grep C_DEFINES \ |
125 |
$(MYSQL_ROOT_DIR)/storage/innobase/CMakeFiles/innobase.dir/flags.make | \ |
|
126 |
sed -e 's/C_DEFINES = //') |
|
516.1.1
by George O. Lorch III
Introducing xtrabackup with encryption. |
127 |
5.5: $(TARGET) xbstream xbcrypt |
236
by Alexey Kopytov
Restored the ability to build against MySQL 5.5 which was removed when |
128 |
|
391.103.2
by Laurynas Biveinis
Add MySQL 5.6 support. |
129 |
# XtraBackup for MySQL 5.6
|
130 |
5.6: INC = $(COMMON_INC) $(addprefix -isystem$(MYSQL_ROOT_DIR)/, \ |
|
131 |
include sql storage/innobase/include sql)
|
|
132 |
5.6: INNODBOBJS = |
|
133 |
||
134 |
ifeq "$(wildcard $(MYSQL_ROOT_DIR)/zlib/.libs/libzlt.a)" ""
|
|
135 |
5.6: LIBZ= -lz |
|
136 |
else
|
|
137 |
5.6: LIBZ= $(MYSQL_ROOT_DIR)/zlib/.libs/libzlt.a |
|
138 |
endif
|
|
139 |
||
140 |
5.6: MYSQLOBJS = $(MYSQL_ROOT_DIR)/libmysqld/libmysqld.a |
|
141 |
ifeq ($(shell uname -s),Linux)
|
|
391.147.1
by Ignacio Nin
Remove -lssl from LIBS for 5.6 |
142 |
5.6: LIBS += -laio -ldl -lcrypt |
391.103.2
by Laurynas Biveinis
Add MySQL 5.6 support. |
143 |
endif
|
391.103.3
by Alexey Kopytov
Basic 5.6 support: |
144 |
5.6: TARGET := xtrabackup_56 |
391.103.2
by Laurynas Biveinis
Add MySQL 5.6 support. |
145 |
# In CMake server builds it is important to build with exactly the same preprocessor flags
|
146 |
# as were used to build InnoDB
|
|
147 |
5.6: DEFS = $(shell grep CXX_DEFINES \ |
|
148 |
$(MYSQL_ROOT_DIR)/storage/innobase/CMakeFiles/innobase.dir/flags.make | \ |
|
149 |
sed -e 's/CXX_DEFINES = //') |
|
522.6.1
by Laurynas Biveinis
Merge build against MySQL 5.6 support from 2.0. |
150 |
5.6: $(TARGET) xbstream xbcrypt |
391.103.2
by Laurynas Biveinis
Add MySQL 5.6 support. |
151 |
|
136.1.1
by Aleksandr Kuzminsky
1. Build.sh is used to build Xtrabackup. Accepts 5.0, 5.1, plugin and xtradb and an argument |
152 |
# XtraBackup for XtraDB
|
385.1.1
by Alexey Kopytov
Rebase of the parallel compression patch on new trunk + post-review |
153 |
xtradb: INC = $(COMMON_INC) $(addprefix -isystem$(MYSQL_ROOT_DIR)/, \ |
154 |
include storage/innodb_plugin/include)
|
|
155 |
xtradb: INNODBOBJS = $(addprefix \ |
|
156 |
$(MYSQL_ROOT_DIR)/storage/innodb_plugin/libinnobase_a-, \ |
|
157 |
btr0btr.o btr0cur.o btr0pcur.o \ |
|
158 |
btr0sea.o buf0buddy.o buf0buf.o \ |
|
159 |
buf0flu.o buf0lru.o buf0rea.o \ |
|
160 |
data0data.o data0type.o dict0boot.o \ |
|
161 |
dict0crea.o dict0dict.o dict0load.o \ |
|
162 |
dict0mem.o dyn0dyn.o eval0eval.o \ |
|
163 |
eval0proc.o fil0fil.o fsp0fsp.o \ |
|
164 |
fut0fut.o fut0lst.o ha0ha.o \ |
|
165 |
ha0storage.o hash0hash.o ibuf0ibuf.o \ |
|
166 |
lock0iter.o lock0lock.o log0log.o \ |
|
167 |
log0recv.o mach0data.o mem0mem.o \ |
|
168 |
mem0pool.o mtr0log.o mtr0mtr.o \ |
|
169 |
os0file.o os0proc.o os0sync.o \ |
|
170 |
os0thread.o page0cur.o page0page.o \ |
|
171 |
page0zip.o lexyy.o pars0grm.o \ |
|
172 |
pars0opt.o pars0pars.o pars0sym.o \ |
|
173 |
que0que.o read0read.o rem0cmp.o \ |
|
174 |
rem0rec.o row0ext.o row0ins.o \ |
|
175 |
row0merge.o row0mysql.o row0purge.o \ |
|
176 |
row0row.o row0sel.o row0uins.o \ |
|
177 |
row0umod.o row0undo.o row0upd.o \ |
|
178 |
row0vers.o srv0que.o srv0srv.o \ |
|
179 |
srv0start.o sync0arr.o sync0rw.o \ |
|
180 |
sync0sync.o thr0loc.o trx0purge.o \ |
|
181 |
trx0rec.o trx0roll.o trx0rseg.o \ |
|
182 |
trx0sys.o trx0trx.o trx0undo.o \ |
|
183 |
usr0sess.o ut0byte.o ut0dbg.o \ |
|
184 |
ut0list.o ut0mem.o ut0rnd.o \ |
|
185 |
ut0ut.o ut0vec.o ut0wqueue.o \ |
|
630
by Alexey Kopytov
Rebased XtraBackup on MySQL versions 5.1.70, 5.5.30, 5.6.11 and Percona |
186 |
ut0rbt.o log0online.o) |
385.1.1
by Alexey Kopytov
Rebase of the parallel compression patch on new trunk + post-review |
187 |
xtradb: MYSQLOBJS = $(addprefix $(MYSQL_ROOT_DIR)/, mysys/libmysys.a \ |
188 |
strings/libmystrings.a zlib/.libs/libzlt.a dbug/libdbug.a) |
|
136.1.1
by Aleksandr Kuzminsky
1. Build.sh is used to build Xtrabackup. Accepts 5.0, 5.1, plugin and xtradb and an argument |
189 |
xtradb: DEFS += -DXTRADB_BASED |
136.1.3
by Aleksandr Kuzminsky
Changed xtrabackup_plugin to xtrabackup_legacy and xtrabackup_xtradb to xtrabackup |
190 |
xtradb: TARGET := xtrabackup |
516.1.1
by George O. Lorch III
Introducing xtrabackup with encryption. |
191 |
xtradb: $(TARGET) xbstream xbcrypt |
136.1.1
by Aleksandr Kuzminsky
1. Build.sh is used to build Xtrabackup. Accepts 5.0, 5.1, plugin and xtradb and an argument |
192 |
|
228.1.2
by Alexey Kopytov
Port XtraBackup to Percona Server 5.5.9-beta20.1 codebase. |
193 |
# XtraBackup for XtraDB 5.5
|
385.1.1
by Alexey Kopytov
Rebase of the parallel compression patch on new trunk + post-review |
194 |
xtradb55: INC = $(COMMON_INC) $(addprefix -isystem$(MYSQL_ROOT_DIR)/, \ |
477.1.1
by Alexey Kopytov
Compact backups implementation: |
195 |
include storage/innobase/include sql)
|
385.1.1
by Alexey Kopytov
Rebase of the parallel compression patch on new trunk + post-review |
196 |
xtradb55: INNODBOBJS = $(MYSQL_ROOT_DIR)/storage/innobase/libinnobase.a |
228.1.2
by Alexey Kopytov
Port XtraBackup to Percona Server 5.5.9-beta20.1 codebase. |
197 |
ifeq ($(shell uname -s),Linux)
|
198 |
xtradb55: LIBS += -laio |
|
199 |
endif
|
|
385.1.1
by Alexey Kopytov
Rebase of the parallel compression patch on new trunk + post-review |
200 |
|
201 |
ifeq "$(wildcard $(MYSQL_ROOT_DIR)/zlib/.libs/libzlt.a)" ""
|
|
235.1.44
by Stewart Smith
Fix xtrabackup makefile for: mysql/percona-server linked using system zlib instead of in-tree zlib. Additional make target for xtradb55dbug if you built percona-server in debug mode. Also add a lot of new warnings to CFLAGS. we use -isystem as an argument for the include dirs so that we do not get warnings generated by the header files in mysql/percona-server - only warnings because of xtrabackup. |
202 |
xtradb55: LIBZ= -lz |
203 |
else
|
|
385.1.1
by Alexey Kopytov
Rebase of the parallel compression patch on new trunk + post-review |
204 |
xtradb55: LIBZ= $(MYSQL_ROOT_DIR)/zlib/.libs/libzlt.a |
235.1.44
by Stewart Smith
Fix xtrabackup makefile for: mysql/percona-server linked using system zlib instead of in-tree zlib. Additional make target for xtradb55dbug if you built percona-server in debug mode. Also add a lot of new warnings to CFLAGS. we use -isystem as an argument for the include dirs so that we do not get warnings generated by the header files in mysql/percona-server - only warnings because of xtrabackup. |
205 |
endif
|
385.1.1
by Alexey Kopytov
Rebase of the parallel compression patch on new trunk + post-review |
206 |
|
207 |
xtradb55: MYSQLOBJS = $(addprefix $(MYSQL_ROOT_DIR)/, \ |
|
208 |
mysys/libmysys.a strings/libstrings.a zlib/libzlib.a dbug/libdbug.a) |
|
209 |
# In CMake server builds it is important to build with exactly the same
|
|
210 |
# preprocessor flags as were used to build InnoDB
|
|
211 |
xtradb55: DEFS = $(shell grep C_DEFINES \ |
|
212 |
$(MYSQL_ROOT_DIR)/storage/innobase/CMakeFiles/innobase.dir/flags.make | \ |
|
213 |
sed -e 's/C_DEFINES = //') |
|
228.1.2
by Alexey Kopytov
Port XtraBackup to Percona Server 5.5.9-beta20.1 codebase. |
214 |
xtradb55: DEFS += -DXTRADB_BASED -DXTRADB55 |
215 |
xtradb55: TARGET := xtrabackup_55 |
|
516.1.1
by George O. Lorch III
Introducing xtrabackup with encryption. |
216 |
xtradb55: $(TARGET) xbstream xbcrypt |
385.1.1
by Alexey Kopytov
Rebase of the parallel compression patch on new trunk + post-review |
217 |
|
391.79.2
by Laurynas Biveinis
Build InnoDB-facing parts of XtraBackup with a C++ compiler, |
218 |
$(XTRABACKUPCOBJS): %.o: %.c |
385.1.1
by Alexey Kopytov
Rebase of the parallel compression patch on new trunk + post-review |
219 |
$(CC) $(CFLAGS) $(INC) $(DEFS) -c $< -o $@ |
220 |
||
391.79.2
by Laurynas Biveinis
Build InnoDB-facing parts of XtraBackup with a C++ compiler, |
221 |
$(XTRABACKUPCCOBJS): %.o: %.cc |
222 |
$(CXX) $(CXXFLAGS) $(INC) $(DEFS) -c $< -o $@ |
|
223 |
||
385.1.1
by Alexey Kopytov
Rebase of the parallel compression patch on new trunk + post-review |
224 |
xbstream.o xbstream_read.o: %.o: %.c |
225 |
$(CC) $(CFLAGS) $(INC) $(DEFS) -c $< -o $@ |
|
226 |
||
516.1.1
by George O. Lorch III
Introducing xtrabackup with encryption. |
227 |
xbstream: $(XBSTREAMOBJS) $(MYSQLOBJS) ds_local.o ds_buffer.o ds_stdout.o datasink.o |
522.6.1
by Laurynas Biveinis
Merge build against MySQL 5.6 support from 2.0. |
228 |
$(CXX) $(CXXFLAGS) $^ $(INC) $(MYSQLOBJS) $(LIBS) -o $@ |
516.1.1
by George O. Lorch III
Introducing xtrabackup with encryption. |
229 |
|
230 |
xbcrypt.o xbcrypt_read.o: %.o: %.c |
|
231 |
$(CC) $(CFLAGS) $(INC) $(DEFS) -c $< -o $@ |
|
232 |
||
233 |
xbcrypt: $(XBCRYPTOBJS) $(MYSQLOBJS) |
|
522.6.1
by Laurynas Biveinis
Merge build against MySQL 5.6 support from 2.0. |
234 |
$(CXX) $(CXXFLAGS) $^ $(INC) $(MYSQLOBJS) $(LIBS) -o $@ |
228.1.2
by Alexey Kopytov
Port XtraBackup to Percona Server 5.5.9-beta20.1 codebase. |
235 |
|
534.7.1
by Laurynas Biveinis
Implement bitmap-based incremental backups. |
236 |
changed_page_bitmap.o: changed_page_bitmap.cc changed_page_bitmap.h innodb_int.h \ |
237 |
common.h xtrabackup.h |
|
238 |
||
239 |
read_filt.o: read_filt.cc read_filt.h fil_cur.h xtrabackup.h innodb_int.h \ |
|
240 |
common.h changed_page_bitmap.h |
|
241 |
||
242 |
xtrabackup.o: xtrabackup.cc xb_regex.h write_filt.h fil_cur.h xtrabackup.h compact.h \ |
|
243 |
common.h changed_page_bitmap.h read_filt.h innodb_int.h |
|
1
by kinoyasu
initial registration |
244 |
|
391.79.2
by Laurynas Biveinis
Build InnoDB-facing parts of XtraBackup with a C++ compiler, |
245 |
$(TARGET): $(XTRABACKUPCCOBJS) $(XTRABACKUPCOBJS) $(INNODBOBJS) $(MYSQLOBJS) $(LIBARCHIVE_A) |
603.2.9
by Ignacio Nin
Fix a typo in the Makefile |
246 |
$(CXX) $(CXXFLAGS) $(XTRABACKUPCCOBJS) $(XTRABACKUPCOBJS) $(INNODBOBJS) $(MYSQLOBJS) $(LIBS) \ |
385.1.1
by Alexey Kopytov
Rebase of the parallel compression patch on new trunk + post-review |
247 |
$(LIBARCHIVE_A) -o $(TARGET) |
1
by kinoyasu
initial registration |
248 |
|
249 |
clean:
|
|
520.1.1
by Alexey Bychko
fix for bug 1095972, version 2.1 |
250 |
rm -f $(XTRABACKUPCCOBJS) $(XTRABACKUPCOBJS) $(XBSTREAMOBJS) $(XBCRYPTOBJS) xtrabackup xtrabackup_* |