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