aboutsummaryrefslogtreecommitdiff
path: root/databases/qt-sqlite-plugin/files/Makefile.bsd
diff options
context:
space:
mode:
Diffstat (limited to 'databases/qt-sqlite-plugin/files/Makefile.bsd')
-rw-r--r--databases/qt-sqlite-plugin/files/Makefile.bsd17
1 files changed, 17 insertions, 0 deletions
diff --git a/databases/qt-sqlite-plugin/files/Makefile.bsd b/databases/qt-sqlite-plugin/files/Makefile.bsd
new file mode 100644
index 000000000000..c1c9ad04a198
--- /dev/null
+++ b/databases/qt-sqlite-plugin/files/Makefile.bsd
@@ -0,0 +1,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 -lsqlite
+SRCS= qsql_${DB}.cpp smain.cpp
+
+LIBDIR= ${PREFIX}/lib/plugins/sqldrivers
+
+${LIBDIR}:
+ mkdir -p ${LIBDIR}
+
+beforeinstall: ${LIBDIR}
+
+.include <bsd.lib.mk>