poco/SQL/MySQL/Makefile
Aleksandar Fabijanic b49ac67225
Data2sql (#2070)
* remove leftover progen files

* remove Data sources and turn headers into forwards

* add SQL files #2059

* Data2sql: adjust Travis, AppVeyor & Makefiles (#2069)

* Replace Data by SQL

* Replace Data by SQL

* Replace Data by SQL

* Replace Data by SQL

* fix header forwarding

* Data2sql: Fixes for complete Travis CI success (#2071)

* Replace Data by SQL

* Replace Data by SQL

* Replace Data by SQL

* Replace Data by SQL

* Replace Data by SQL

* Restore DataFormatException

* Replace Data by SQL

* Replace Data by SQL

* Replace Data by SQL

* Replace Data by SQL

* construct RowFilter from RecordSet reference instead of pointer

* pass Container ref instead of ptr to Column

* elimitate g++ warnings

* SQL: remove raw pointers from interfaces #2094; add constness and move ops where appropriate

* tidy up Postgres

* ODBC fixes
2018-01-18 11:29:28 -06:00

32 lines
840 B
Makefile

#
# Makefile
#
# Makefile for Poco MySQL
#
include $(POCO_BASE)/build/rules/global
MYSQL_LIBDIR ?= /usr/local/lib$(LIB64SUFFIX)/mysql \
/usr/lib$(LIB64SUFFIX)/mysql \
/usr/mysql/lib$(LIB64SUFFIX) \
/usr/mysql/lib$(LIB64SUFFIX)/mysql \
/usr/local/mysql/lib$(LIB64SUFFIX)
MYSQL_INCDIR ?= /usr/local/include/mysql/ \
/usr/include/mysql/ \
/usr/mysql/include/mysql \
/usr/local/mysql/include
SYSLIBS += $(foreach dir,$(MYSQL_LIBDIR),-L$(dir)) -lmysqlclient
INCLUDE += $(foreach dir,$(MYSQL_INCDIR),-I$(dir))
SYSFLAGS += -DTHREADSAFE -DNO_TCL
objects = Binder Extractor SessionImpl Connector \
MySQLStatementImpl ResultMetadata MySQLException \
SessionHandle StatementExecutor Utility
target = PocoSQLMySQL
target_version = $(LIBVERSION)
target_libs = PocoSQL PocoFoundation
include $(POCO_BASE)/build/rules/lib