summaryrefslogtreecommitdiff
path: root/ndb/test/odbc/driver/Makefile
blob: 5cf83d73106ec73e2ec17f8e47ac42e92e7ab61b (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
include .defs.mk

TYPE =			*

BIN_TARGET =		testOdbcDriver

SOURCES =		testOdbcDriver.cpp

CCFLAGS_LOC += \
			-I$(NDB_TOP)/include \
			-I$(NDB_TOP)/include/ndbapi \
			-I$(NDB_TOP)/include/portlib \
			-I$(NDB_TOP)/include/util \
			-I$(NDB_TOP)/test/include \
			-I/usr/local/include

CCFLAGS_WARNINGS +=	-Wno-unused -Wno-sign-compare -Wformat

CCFLAGS_TOP +=		-DHAVE_LONG_LONG -DndbODBC

BIN_TARGET_LIBS =	 NDBT NDB_ODBC

ifeq ($(NDB_OS),SOLARIS)
BIN_TARGET_LIBS +=	dmallocthcxx
CCFLAGS_TOP +=		-DDMALLOC
endif

include $(NDB_TOP)/Epilogue.mk

$(BIN_DIR)$(BIN_TARGET): Makefile