implemented tdata tables conversion to new format
[public/netxms.git] / src / server / tools / nxdbmgr / Makefile.am
1 bin_PROGRAMS = nxdbmgr
2 nxdbmgr_SOURCES = nxdbmgr.cpp check.cpp clear.cpp export.cpp import.cpp \
3 init.cpp migrate.cpp mm.cpp reindex.cpp resetadmin.cpp \
4 tables.cpp tdata_convert.cpp unlock.cpp upgrade.cpp
5 nxdbmgr_CPPFLAGS=-I@top_srcdir@/include -I@top_srcdir@/src/server/include
6 nxdbmgr_LDADD = ../../../libnetxms/libnetxms.la \
7 ../../../db/libnxdb/libnxdb.la \
8 ../../../libnxmap/libnxmap.la \
9 ../../libnxsrv/libnxsrv.la \
10 ../../../snmp/libnxsnmp/libnxsnmp.la
11
12 if USE_INTERNAL_SQLITE
13 nxdbmgr_CPPFLAGS += -I@top_srcdir@/src/sqlite
14 nxdbmgr_LDADD += ../../../sqlite/libnxsqlite.la
15 else
16 nxdbmgr_LDADD += -lsqlite3
17 endif
18
19 tables.cpp: @top_srcdir@/sql/schema.in
20 @top_srcdir@/tools/create_table_list.pl @top_srcdir@/sql/schema.in > tables.cpp
21
22 EXTRA_DIST = \
23 nxdbmgr.vcproj nxdbmgr.h