summaryrefslogtreecommitdiffstats
path: root/freebsd/dependencies/tqt3-ibase-plugin/files
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2015-07-02 17:25:15 +0200
committerSlávek Banko <slavek.banko@axis.cz>2015-07-02 17:25:15 +0200
commit595d2593963dfc33e52fb3bf82fc2595dc2c0e37 (patch)
treea284a943099fabc9782c2959c6da43e2b09078ae /freebsd/dependencies/tqt3-ibase-plugin/files
parentbb6e8f18c1d80974cd4f7a810267bd9753121f45 (diff)
downloadtde-packaging-595d2593963dfc33e52fb3bf82fc2595dc2c0e37.tar.gz
tde-packaging-595d2593963dfc33e52fb3bf82fc2595dc2c0e37.zip
FreeBSD: Initial import
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Diffstat (limited to 'freebsd/dependencies/tqt3-ibase-plugin/files')
-rw-r--r--freebsd/dependencies/tqt3-ibase-plugin/files/Makefile.bsd19
1 files changed, 19 insertions, 0 deletions
diff --git a/freebsd/dependencies/tqt3-ibase-plugin/files/Makefile.bsd b/freebsd/dependencies/tqt3-ibase-plugin/files/Makefile.bsd
new file mode 100644
index 000000000..2ca3828bb
--- /dev/null
+++ b/freebsd/dependencies/tqt3-ibase-plugin/files/Makefile.bsd
@@ -0,0 +1,19 @@
+SHLIB_NAME= libqsql${DB}.so
+
+VPATH= ${PLUGIN}:${DRIVER}
+CXXFLAGS+= -I${PLUGIN} -I${DRIVER} \
+ -I${LOCALBASE}/include \
+ -I${LOCALBASE}/include/tqt3 \
+ ${PTHREAD_CFLAGS} -DQT_THREAD_SUPPORT
+LDADD= -L${LOCALBASE}/lib \
+ ${PTHREAD_LIBS} -ltqt-mt -lfbclient
+SRCS= main.cpp qsql_${DB}.cpp
+
+LIBDIR= ${PREFIX}/lib/tqt3/plugins/sqldrivers
+
+${DESTDIR}${LIBDIR}:
+ mkdir -p ${DESTDIR}${LIBDIR}
+
+beforeinstall: ${DESTDIR}${LIBDIR}
+
+.include <bsd.lib.mk>