diff options
author | Slávek Banko <[email protected]> | 2015-07-02 17:25:15 +0200 |
---|---|---|
committer | Slávek Banko <[email protected]> | 2015-07-02 17:25:15 +0200 |
commit | 595d2593963dfc33e52fb3bf82fc2595dc2c0e37 (patch) | |
tree | a284a943099fabc9782c2959c6da43e2b09078ae /freebsd/dependencies/tqt3-odbc-plugin/files/Makefile.bsd | |
parent | bb6e8f18c1d80974cd4f7a810267bd9753121f45 (diff) | |
download | tde-packaging-595d2593963dfc33e52fb3bf82fc2595dc2c0e37.tar.gz tde-packaging-595d2593963dfc33e52fb3bf82fc2595dc2c0e37.zip |
FreeBSD: Initial import
Signed-off-by: Slávek Banko <[email protected]>
Diffstat (limited to 'freebsd/dependencies/tqt3-odbc-plugin/files/Makefile.bsd')
-rw-r--r-- | freebsd/dependencies/tqt3-odbc-plugin/files/Makefile.bsd | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/freebsd/dependencies/tqt3-odbc-plugin/files/Makefile.bsd b/freebsd/dependencies/tqt3-odbc-plugin/files/Makefile.bsd new file mode 100644 index 000000000..7e5745431 --- /dev/null +++ b/freebsd/dependencies/tqt3-odbc-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 -lodbc +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> |