blob: 9ee4ba62e0433c5709a5734fdda6e0c6b5f36bf9 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
TCL_VERSION?= tcl8.4
TCL_NODOT?= ${TCL_VERSION:S/.//}
SHLIB_NAME?= libTclMySQL.so.1
CC = ${CXX} # a hack to force linking with c++
SRCS = sql-mysql.cc sql.cc sql-manager.cc
CXXFLAGS+= -I${LOCALBASE}/include/${TCL_VERSION}
CXXFLAGS+= -I${LOCALBASE}/include/mysql
CXXFLAGS+= -O0 -g
LDADD += -L${LOCALBASE}/lib -l${TCL_NODOT}
LDADD += -L${LOCALBASE}/lib/mysql -lmysqlclient
.include <bsd.lib.mk>
|