summaryrefslogtreecommitdiff
path: root/ndb/src/kernel/Makefile.am
blob: 6e075f0f248a8533c9b19800dbde7164941756f8 (plain)
1
2
3
4
5
6
7
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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
SUBDIRS = error blocks vm

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

ndbbin_PROGRAMS = ndbd

ndbd_SOURCES = main.cpp SimBlockList.cpp

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

INCLUDES += \
	-I$(srcdir)/blocks/cmvmi \
	-I$(srcdir)/blocks/dbacc \
	-I$(srcdir)/blocks/dbdict \
	-I$(srcdir)/blocks/dbdih \
	-I$(srcdir)/blocks/dblqh \
	-I$(srcdir)/blocks/dbtc \
	-I$(srcdir)/blocks/dbtup \
	-I$(srcdir)/blocks/ndbfs \
	-I$(srcdir)/blocks/ndbcntr \
	-I$(srcdir)/blocks/qmgr \
	-I$(srcdir)/blocks/trix \
	-I$(srcdir)/blocks/backup \
	-I$(srcdir)/blocks/dbutil \
	-I$(srcdir)/blocks/suma \
	-I$(srcdir)/blocks/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 \
              $(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 \
              $(top_builddir)/ndb/src/common/portlib/libportlib.la      \
              $(top_builddir)/ndb/src/common/util/libgeneral.la  \
         $(top_builddir)/dbug/libdbug.a \
         $(top_builddir)/mysys/libmysys.a \
         $(top_builddir)/strings/libmystrings.a @NDB_SCI_LIBS@

# Don't update the files from bitkeeper
%::SCCS/s.%

windoze-dsp: ndbd.dsp

ndbd.dsp: Makefile \
               $(top_srcdir)/ndb/config/win-prg.am \
               $(top_srcdir)/ndb/config/win-name \
               $(top_srcdir)/ndb/config/win-includes \
               $(top_srcdir)/ndb/config/win-sources \
               $(top_srcdir)/ndb/config/win-libraries
	cat $(top_srcdir)/ndb/config/win-prg.am > $@
	@$(top_srcdir)/ndb/config/win-name $@ $(ndbbin_PROGRAMS)
	@$(top_srcdir)/ndb/config/win-includes $@ $(INCLUDES)
	@$(top_srcdir)/ndb/config/win-sources $@ $(ndbd_SOURCES)
	@$(top_srcdir)/ndb/config/win-libraries $@ LINK $(LDADD)