Makefile.am 2.66 KB
Newer Older
1 2 3 4
SUBDIRS = error blocks vm

include $(top_srcdir)/ndb/config/common.mk.am

5
ndbbin_PROGRAMS = ndbd
6

tomas@poseidon.bredbandsbolaget.se's avatar
tomas@poseidon.bredbandsbolaget.se committed
7
ndbd_SOURCES = main.cpp SimBlockList.cpp
8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45

include $(top_srcdir)/ndb/config/type_kernel.mk.am

INCLUDES += \
              -Iblocks/cmvmi \
              -Iblocks/dbacc \
              -Iblocks/dbdict \
              -Iblocks/dbdih \
              -Iblocks/dblqh \
              -Iblocks/dbtc \
              -Iblocks/dbtup \
              -Iblocks/ndbfs \
              -Iblocks/ndbcntr \
              -Iblocks/qmgr \
              -Iblocks/trix \
              -Iblocks/backup \
              -Iblocks/dbutil \
              -Iblocks/suma \
              -Iblocks/dbtux

LDADD +=  \
              blocks/cmvmi/libcmvmi.a \
              blocks/dbacc/libdbacc.a \
              blocks/dbdict/libdbdict.a \
              blocks/dbdih/libdbdih.a \
              blocks/dblqh/libdblqh.a \
              blocks/dbtc/libdbtc.a \
              blocks/dbtup/libdbtup.a \
              blocks/ndbfs/libndbfs.a \
              blocks/ndbcntr/libndbcntr.a \
              blocks/qmgr/libqmgr.a \
              blocks/trix/libtrix.a \
              blocks/backup/libbackup.a \
              blocks/dbutil/libdbutil.a \
              blocks/suma/libsuma.a \
              blocks/dbtux/libdbtux.a \
              vm/libkernel.a	\
              error/liberror.a \
46 47 48 49 50 51
              $(top_builddir)/ndb/src/common/transporter/libtransporter.la   \
              $(top_builddir)/ndb/src/common/debugger/libtrace.la     \
              $(top_builddir)/ndb/src/common/debugger/signaldata/libsignaldataprint.la \
              $(top_builddir)/ndb/src/common/logger/liblogger.la       \
              $(top_builddir)/ndb/src/common/mgmcommon/libmgmsrvcommon.la \
              $(top_builddir)/ndb/src/mgmapi/libmgmapi.la \
tomas@mc05.(none)'s avatar
merge  
tomas@mc05.(none) committed
52
              $(top_builddir)/ndb/src/common/portlib/libportlib.la      \
53 54 55
              $(top_builddir)/ndb/src/common/util/libgeneral.la  \
         $(top_builddir)/dbug/libdbug.a \
         $(top_builddir)/mysys/libmysys.a \
mikael@mc04.(none)'s avatar
mikael@mc04.(none) committed
56
         $(top_builddir)/strings/libmystrings.a @NDB_SCI_LIBS@
57 58 59

# Don't update the files from bitkeeper
%::SCCS/s.%
joreland@mysql.com's avatar
joreland@mysql.com committed
60 61 62 63

windoze-dsp: ndbd.dsp

ndbd.dsp: Makefile \
joreland@mysql.com's avatar
joreland@mysql.com committed
64
               $(top_srcdir)/ndb/config/win-prg.am \
joreland@mysql.com's avatar
joreland@mysql.com committed
65 66 67 68
               $(top_srcdir)/ndb/config/win-name \
               $(top_srcdir)/ndb/config/win-includes \
               $(top_srcdir)/ndb/config/win-sources \
               $(top_srcdir)/ndb/config/win-libraries
joreland@mysql.com's avatar
joreland@mysql.com committed
69
	cat $(top_srcdir)/ndb/config/win-prg.am > $@
joreland@mysql.com's avatar
joreland@mysql.com committed
70 71 72
	@$(top_srcdir)/ndb/config/win-name $@ $(ndbbin_PROGRAMS)
	@$(top_srcdir)/ndb/config/win-includes $@ $(INCLUDES)
	@$(top_srcdir)/ndb/config/win-sources $@ $(ndbd_SOURCES)
joreland@mysql.com's avatar
joreland@mysql.com committed
73
	@$(top_srcdir)/ndb/config/win-libraries $@ LINK $(LDADD)