summaryrefslogtreecommitdiff
path: root/databases/qt-odbc-plugin/files/Makefile.bsd
blob: 22ac3adf25415868e75c20635b58b51d4aa10e95 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
SHLIB_NAME=	libqsql${DB}.so

VPATH=		${PLUGIN}:${DRIVER}
CXXFLAGS+=	-I${PLUGIN} -I${DRIVER} \
		-I${LOCALBASE}/include -I${X11BASE}/include \
		${PTHREAD_CFLAGS} -DQT_THREAD_SUPPORT
LDADD=		-L${X11BASE}/lib -L${LOCALBASE}/lib ${PTHREAD_LIBS} -lqt-mt -lodbc
SRCS=		qsql_${DB}.cpp main.cpp

LIBDIR=		${PREFIX}/lib/plugins/sqldrivers

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

beforeinstall:	${LIBDIR}

.include <bsd.lib.mk>