You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tde-packaging/freebsd/dependencies/tqt3-pgsql-plugin/files/Makefile.bsd

21 lines
490 B

SHLIB_NAME= libqsql${DB}.so
VPATH= ${PLUGIN}:${DRIVER}
CXXFLAGS+= -I${PLUGIN} -I${DRIVER} \
-I${LOCALBASE}/include \
-I${LOCALBASE}/include/tqt3 \
-I${LOCALBASE}/include/postgresql/server \
${PTHREAD_CFLAGS} -DTQT_THREAD_SUPPORT
LDADD= -L${LOCALBASE}/lib \
${PTHREAD_LIBS} -ltqt-mt -lpq
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>