mySQL 5.0.11 sources for tomato
[tomato.git] / release / src / router / mysql / storage / ndb / src / ndbapi / Makefile.am
blob83b7f88a682a22b85d2ef42768cf5b23fcca52b4
1 # Copyright (c) 2004-2007 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 = signal-sender
18 noinst_PROGRAMS = ndberror_check
20 ndberror_check_SOURCES = ndberror_check.c
22 noinst_LTLIBRARIES = libndbapi.la
24 libndbapi_la_SOURCES = \
25         TransporterFacade.cpp   \
26         ClusterMgr.cpp  \
27         Ndb.cpp \
28         NdbPoolImpl.cpp \
29         NdbPool.cpp \
30         Ndblist.cpp     \
31         Ndbif.cpp       \
32         Ndbinit.cpp     \
33         Ndberr.cpp    \
34         ndberror.c    \
35         NdbErrorOut.cpp    \
36         NdbTransaction.cpp       \
37         NdbTransactionScan.cpp \
38         NdbOperation.cpp        \
39         NdbOperationSearch.cpp  \
40         NdbOperationScan.cpp    \
41         NdbOperationInt.cpp     \
42         NdbOperationDefine.cpp  \
43         NdbOperationExec.cpp    \
44         NdbScanOperation.cpp    NdbScanFilter.cpp \
45         NdbIndexOperation.cpp   \
46         NdbEventOperation.cpp   \
47         NdbEventOperationImpl.cpp   \
48         NdbApiSignal.cpp        \
49         NdbRecAttr.cpp  \
50         NdbUtil.cpp \
51         NdbReceiver.cpp \
52         NdbDictionary.cpp \
53         NdbDictionaryImpl.cpp \
54         DictCache.cpp \
55         ndb_cluster_connection.cpp \
56         NdbBlob.cpp \
57         NdbIndexStat.cpp \
58         SignalSender.cpp \
59         ObjectMap.cpp
61 INCLUDES_LOC = -I$(top_srcdir)/storage/ndb/src/mgmapi
63 # Ndbapi cannot handle -O3
64 NDB_CXXFLAGS_RELEASE_LOC = -O2
66 include $(top_srcdir)/storage/ndb/config/common.mk.am
67 include $(top_srcdir)/storage/ndb/config/type_ndbapi.mk.am
69 ndberror_check_LDFLAGS = \
70          $(top_builddir)/dbug/libdbug.a \
71          $(top_builddir)/mysys/libmysys.a \
72          $(top_builddir)/strings/libmystrings.a
74 # Don't update the files from bitkeeper
75 %::SCCS/s.%
77 windoze-dsp: libndbapi.dsp
79 libndbapi.dsp: Makefile \
80                $(top_srcdir)/storage/ndb/config/win-lib.am \
81                $(top_srcdir)/storage/ndb/config/win-name \
82                $(top_srcdir)/storage/ndb/config/win-includes \
83                $(top_srcdir)/storage/ndb/config/win-sources \
84                $(top_srcdir)/storage/ndb/config/win-libraries
85         cat $(top_srcdir)/storage/ndb/config/win-lib.am > $@
86         @$(top_srcdir)/storage/ndb/config/win-name $@ $(noinst_LTLIBRARIES)
87         @$(top_srcdir)/storage/ndb/config/win-includes $@ $(INCLUDES)
88         @$(top_srcdir)/storage/ndb/config/win-sources $@ $(libndbapi_la_SOURCES)
89         @$(top_srcdir)/storage/ndb/config/win-libraries $@ LIB $(LDADD)