Makefile.am 2.92 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
# Copyright (C) 2004-2006 MySQL AB
# 
# 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 St, Fifth Floor, Boston, MA  02110-1301  USA

16
#SUBDIRS = signal-sender
17

18 19 20 21
noinst_PROGRAMS = ndberror_check

ndberror_check_SOURCES = ndberror_check.c

22
noinst_LTLIBRARIES = libndbapi.la
23

24
libndbapi_la_SOURCES = \
25 26 27
        TransporterFacade.cpp   \
        ClusterMgr.cpp  \
        Ndb.cpp \
28 29
        NdbPoolImpl.cpp \
        NdbPool.cpp \
30 31 32
        Ndblist.cpp     \
        Ndbif.cpp       \
        Ndbinit.cpp     \
33
        Ndberr.cpp    \
tomas@mc05.(none)'s avatar
tomas@mc05.(none) committed
34
        ndberror.c    \
35
        NdbErrorOut.cpp    \
36 37
        NdbTransaction.cpp       \
        NdbTransactionScan.cpp \
38 39 40 41 42 43
        NdbOperation.cpp        \
        NdbOperationSearch.cpp  \
        NdbOperationScan.cpp    \
        NdbOperationInt.cpp     \
        NdbOperationDefine.cpp  \
        NdbOperationExec.cpp    \
joreland@mysql.com's avatar
joreland@mysql.com committed
44
        NdbScanOperation.cpp    NdbScanFilter.cpp \
45 46 47 48 49 50 51
        NdbIndexOperation.cpp   \
        NdbEventOperation.cpp   \
        NdbEventOperationImpl.cpp   \
        NdbApiSignal.cpp        \
        NdbRecAttr.cpp  \
        NdbUtil.cpp \
        NdbReceiver.cpp \
52 53
        NdbDictionary.cpp \
        NdbDictionaryImpl.cpp \
pekka@mysql.com's avatar
pekka@mysql.com committed
54
        DictCache.cpp \
55
        ndb_cluster_connection.cpp \
56
	NdbBlob.cpp \
57
	NdbIndexStat.cpp \
58
        SignalSender.cpp
59

60
INCLUDES_LOC = -I$(top_srcdir)/storage/ndb/src/mgmapi
joreland@mysql.com's avatar
joreland@mysql.com committed
61

autotest@mc01.ndb.mysql.com's avatar
autotest@mc01.ndb.mysql.com committed
62 63 64
# Ndbapi cannot handle -O3
NDB_CXXFLAGS_RELEASE_LOC = -O2

65 66
include $(top_srcdir)/storage/ndb/config/common.mk.am
include $(top_srcdir)/storage/ndb/config/type_ndbapi.mk.am
67

68 69 70 71 72
ndberror_check_LDFLAGS = \
         $(top_builddir)/dbug/libdbug.a \
         $(top_builddir)/mysys/libmysys.a \
         $(top_builddir)/strings/libmystrings.a

73 74
# Don't update the files from bitkeeper
%::SCCS/s.%
joreland@mysql.com's avatar
joreland@mysql.com committed
75 76 77 78

windoze-dsp: libndbapi.dsp

libndbapi.dsp: Makefile \
79 80 81 82 83 84 85 86 87 88
               $(top_srcdir)/storage/ndb/config/win-lib.am \
               $(top_srcdir)/storage/ndb/config/win-name \
               $(top_srcdir)/storage/ndb/config/win-includes \
               $(top_srcdir)/storage/ndb/config/win-sources \
               $(top_srcdir)/storage/ndb/config/win-libraries
	cat $(top_srcdir)/storage/ndb/config/win-lib.am > $@
	@$(top_srcdir)/storage/ndb/config/win-name $@ $(noinst_LTLIBRARIES)
	@$(top_srcdir)/storage/ndb/config/win-includes $@ $(INCLUDES)
	@$(top_srcdir)/storage/ndb/config/win-sources $@ $(libndbapi_la_SOURCES)
	@$(top_srcdir)/storage/ndb/config/win-libraries $@ LIB $(LDADD)