~gaul/percona-data-recovery-tool-for-innodb/prerequisites

« back to all changes in this revision

Viewing changes to mysql-source/ndb/src/kernel/Makefile.am

  • Committer: Aleksandr Kuzminsky
  • Date: 2010-01-14 13:05:06 UTC
  • mfrom: (1.1.1 page-signature-check)
  • Revision ID: aleksandr.kuzminsky@percona.com-20100114130506-72t6jxtll15gk3pp
Added InnoDB page signature check.
At the beginning of InnoDB page (type FIL_PAGE_INODE) there are infimum and supremum records.
They are located in fixed position depending on InnoDB page format(REDUNDANT (4.x and 5.x versions) or COMPACT(5.x only)).

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# Copyright (C) 2004-2006 MySQL AB
 
2
 
3
# This program is free software; you can redistribute it and/or modify
 
4
# it under the terms of the GNU General Public License as published by
 
5
# the Free Software Foundation; version 2 of the License.
 
6
 
7
# This program is distributed in the hope that it will be useful,
 
8
# but WITHOUT ANY WARRANTY; without even the implied warranty of
 
9
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
10
# GNU General Public License for more details.
 
11
 
12
# You should have received a copy of the GNU General Public License
 
13
# along with this program; if not, write to the Free Software
 
14
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 
15
 
 
16
SUBDIRS = error blocks vm
 
17
 
 
18
include $(top_srcdir)/ndb/config/common.mk.am
 
19
 
 
20
ndbbin_PROGRAMS = ndbd
 
21
 
 
22
ndbd_SOURCES = main.cpp SimBlockList.cpp
 
23
 
 
24
include $(top_srcdir)/ndb/config/type_kernel.mk.am
 
25
 
 
26
INCLUDES += \
 
27
        -I$(srcdir)/blocks/cmvmi \
 
28
        -I$(srcdir)/blocks/dbacc \
 
29
        -I$(srcdir)/blocks/dbdict \
 
30
        -I$(srcdir)/blocks/dbdih \
 
31
        -I$(srcdir)/blocks/dblqh \
 
32
        -I$(srcdir)/blocks/dbtc \
 
33
        -I$(srcdir)/blocks/dbtup \
 
34
        -I$(srcdir)/blocks/ndbfs \
 
35
        -I$(srcdir)/blocks/ndbcntr \
 
36
        -I$(srcdir)/blocks/qmgr \
 
37
        -I$(srcdir)/blocks/trix \
 
38
        -I$(srcdir)/blocks/backup \
 
39
        -I$(srcdir)/blocks/dbutil \
 
40
        -I$(srcdir)/blocks/suma \
 
41
        -I$(srcdir)/blocks/dbtux
 
42
 
 
43
LDADD +=  \
 
44
              blocks/cmvmi/libcmvmi.a \
 
45
              blocks/dbacc/libdbacc.a \
 
46
              blocks/dbdict/libdbdict.a \
 
47
              blocks/dbdih/libdbdih.a \
 
48
              blocks/dblqh/libdblqh.a \
 
49
              blocks/dbtc/libdbtc.a \
 
50
              blocks/dbtup/libdbtup.a \
 
51
              blocks/ndbfs/libndbfs.a \
 
52
              blocks/ndbcntr/libndbcntr.a \
 
53
              blocks/qmgr/libqmgr.a \
 
54
              blocks/trix/libtrix.a \
 
55
              blocks/backup/libbackup.a \
 
56
              blocks/dbutil/libdbutil.a \
 
57
              blocks/suma/libsuma.a \
 
58
              blocks/dbtux/libdbtux.a \
 
59
              vm/libkernel.a    \
 
60
              error/liberror.a \
 
61
              $(top_builddir)/ndb/src/common/transporter/libtransporter.la   \
 
62
              $(top_builddir)/ndb/src/common/debugger/libtrace.la     \
 
63
              $(top_builddir)/ndb/src/common/debugger/signaldata/libsignaldataprint.la \
 
64
              $(top_builddir)/ndb/src/common/logger/liblogger.la       \
 
65
              $(top_builddir)/ndb/src/common/mgmcommon/libmgmsrvcommon.la \
 
66
              $(top_builddir)/ndb/src/mgmapi/libmgmapi.la \
 
67
              $(top_builddir)/ndb/src/common/portlib/libportlib.la      \
 
68
              $(top_builddir)/ndb/src/common/util/libgeneral.la  \
 
69
         $(top_builddir)/dbug/libdbug.a \
 
70
         $(top_builddir)/mysys/libmysys.a \
 
71
         $(top_builddir)/strings/libmystrings.a @NDB_SCI_LIBS@
 
72
 
 
73
# Don't update the files from bitkeeper
 
74
%::SCCS/s.%
 
75
 
 
76
windoze-dsp: ndbd.dsp
 
77
 
 
78
ndbd.dsp: Makefile \
 
79
               $(top_srcdir)/ndb/config/win-prg.am \
 
80
               $(top_srcdir)/ndb/config/win-name \
 
81
               $(top_srcdir)/ndb/config/win-includes \
 
82
               $(top_srcdir)/ndb/config/win-sources \
 
83
               $(top_srcdir)/ndb/config/win-libraries
 
84
        cat $(top_srcdir)/ndb/config/win-prg.am > $@
 
85
        @$(top_srcdir)/ndb/config/win-name $@ $(ndbbin_PROGRAMS)
 
86
        @$(top_srcdir)/ndb/config/win-includes $@ $(INCLUDES)
 
87
        @$(top_srcdir)/ndb/config/win-sources $@ $(ndbd_SOURCES)
 
88
        @$(top_srcdir)/ndb/config/win-libraries $@ LINK $(LDADD)