~ubuntu-branches/ubuntu/trusty/mariadb-5.5/trusty-proposed

« back to all changes in this revision

Viewing changes to storage/ndb/test/odbc/dm-iodbc/Makefile

  • Committer: Package Import Robot
  • Author(s): Otto Kekäläinen
  • Date: 2013-12-22 10:27:05 UTC
  • Revision ID: package-import@ubuntu.com-20131222102705-mndw7s12mz0szrcn
Tags: upstream-5.5.32
Import upstream version 5.5.32

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
include .defs.mk
 
2
 
 
3
TYPE =                  *
 
4
 
 
5
BIN_TARGET =            testOdbcDMi
 
6
 
 
7
SOURCES =               testOdbcDMi.cpp
 
8
 
 
9
CCFLAGS_LOC += \
 
10
                        -I$(NDB_TOP)/include \
 
11
                        -I$(NDB_TOP)/include/ndbapi \
 
12
                        -I$(NDB_TOP)/include/portlib \
 
13
                        -I$(NDB_TOP)/include/util \
 
14
                        -I$(NDB_TOP)/test/include
 
15
 
 
16
CCFLAGS_WARNINGS +=     -Wno-unused -Wno-sign-compare
 
17
 
 
18
CCFLAGS_TOP +=          -DHAVE_LONG_LONG -DiODBC
 
19
 
 
20
BIN_TARGET_LIBS =       NDBT general portlib
 
21
 
 
22
ifeq ($(NDB_OS),SOLARIS)
 
23
CCFLAGS_TOP +=          -DDMALLOC
 
24
LIBS_LOC +=             -L/usr/local/opt/iODBC/lib
 
25
LIBS_LOC +=             -R/usr/local/opt/iODBC/lib
 
26
BIN_TARGET_LIBS +=      iodbc
 
27
BIN_TARGET_LIBS +=      dmallocthcxx
 
28
endif
 
29
 
 
30
ifeq ($(NDB_OS),LINUX)
 
31
BIN_TARGET_LIBS_DIRS += /usr/local/opt/iODBC/lib
 
32
BIN_TARGET_LIBS +=      iodbc
 
33
endif
 
34
 
 
35
include $(NDB_TOP)/Epilogue.mk
 
36
 
 
37
testOdbcDMi.cpp:
 
38
        ln -s ../driver/testOdbcDriver.cpp $@