blob: d9e74d5d3bf7090be25afb702a24e47ff9effeba (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
SHLIB_NAME= libqsql${DB}.so
VPATH= ${PLUGIN}:${DRIVER}
CXXFLAGS+= -I${PLUGIN} -I${DRIVER} \
-I${LOCALBASE}/include/mysql \
-I${LOCALBASE}/include \
${PTHREAD_CFLAGS} -DQT_THREAD_SUPPORT
LDADD= -L${LOCALBASE}/lib/mysql \
${PTHREAD_LIBS} \
-L${LOCALBASE}/lib/ -lqt-mt -lmysqlclient
SRCS= qsql_${DB}.cpp main.cpp
LIBDIR= ${PREFIX}/lib/plugins/sqldrivers
${LIBDIR}:
mkdir -p ${LIBDIR}
beforeinstall: ${LIBDIR}
.include <bsd.lib.mk>
|