mySQL 5.0.11 sources for tomato
[tomato.git] / release / src / router / mysql / storage / ndb / src / kernel / Makefile.am
blob343d5eeab6da04cde8d6cc9bbdfd34f6ec694ecd
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
16 SUBDIRS = vm error blocks
18 include $(top_srcdir)/storage/ndb/config/common.mk.am
20 ndbbin_PROGRAMS = ndbd
22 ndbd_SOURCES = main.cpp SimBlockList.cpp
24 include $(top_srcdir)/storage/ndb/config/type_kernel.mk.am
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         -I$(srcdir)/blocks
44 LDADD +=  \
45               blocks/libblocks.a \
46               vm/libkernel.a    \
47               error/liberror.a \
48               $(top_builddir)/storage/ndb/src/common/transporter/libtransporter.la   \
49               $(top_builddir)/storage/ndb/src/common/debugger/libtrace.la     \
50               $(top_builddir)/storage/ndb/src/common/debugger/signaldata/libsignaldataprint.la \
51               $(top_builddir)/storage/ndb/src/common/logger/liblogger.la       \
52               $(top_builddir)/storage/ndb/src/common/mgmcommon/libmgmsrvcommon.la \
53               $(top_builddir)/storage/ndb/src/mgmapi/libmgmapi.la \
54               $(top_builddir)/storage/ndb/src/common/portlib/libportlib.la      \
55               $(top_builddir)/storage/ndb/src/common/util/libgeneral.la  \
56          $(top_builddir)/dbug/libdbug.a \
57          $(top_builddir)/mysys/libmysys.a \
58          $(top_builddir)/strings/libmystrings.a @NDB_SCI_LIBS@
60 windoze-dsp: ndbd.dsp
62 storage/ndbd.dsp: Makefile \
63                $(top_srcdir)/storage/ndb/config/win-prg.am \
64                $(top_srcdir)/storage/ndb/config/win-name \
65                $(top_srcdir)/storage/ndb/config/win-includes \
66                $(top_srcdir)/storage/ndb/config/win-sources \
67                $(top_srcdir)/storage/ndb/config/win-libraries
68         cat $(top_srcdir)/storage/ndb/config/win-prg.am > $@
69         @$(top_srcdir)/storage/ndb/config/win-name $@ $(ndbbin_PROGRAMS)
70         @$(top_srcdir)/storage/ndb/config/win-includes $@ $(INCLUDES)
71         @$(top_srcdir)/storage/ndb/config/win-sources $@ $(ndbd_SOURCES)
72         @$(top_srcdir)/storage/ndb/config/win-libraries $@ LINK $(LDADD)
74 # Don't update the files from bitkeeper
75 %::SCCS/s.%