forked from pocoproject/poco
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
31 lines (25 loc) · 840 Bytes
/
Makefile
File metadata and controls
31 lines (25 loc) · 840 Bytes
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
#
# 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