summaryrefslogtreecommitdiffstats
path: root/databases/qt-mysql-plugin/files/Makefile.bsd
blob: 2f6cd74f5939bd6b80a2afff5666a604f6ea7770 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
DB=${PLUGIN:T}

SHLIB_NAME=	libqsql${DB}.so

VPATH=		${PLUGIN}:${DRIVER}
CXXFLAGS+=	-I${PLUGIN} -I${DRIVER} \
		-I${LOCALBASE}/include/mysql \
		-I${LOCALBASE}/include/postgresql/server \
		-I${LOCALBASE}/include -I${X11BASE}/include

SRCS=		qsql_${DB}.cpp main.cpp
LIBDIR=		${PREFIX}/lib/plugins/sqldrivers

${LIBDIR}:
	mkdir -p ${LIBDIR}

beforeinstall:	${LIBDIR}

.include <bsd.lib.mk>
OpenPOWER on IntegriCloud