Squashed 'src/soci/' content from commit 6e9312c

git-subtree-dir: src/soci
git-subtree-split: 6e9312c4bb3748907bd28d62c40feca42878cfef
This commit is contained in:
Vinnie Falco
2015-03-18 19:36:00 -07:00
commit 9708a12607
341 changed files with 54122 additions and 0 deletions

View File

@@ -0,0 +1,22 @@
# The following variables are specific to this backend and their correct
# values might depend on your environment - feel free to set it accordingly.
MYSQLLIBDIR = -L/usr/lib/mysql
MYSQLLIBS = -lmysqlclient -lz
MYSQLINCLUDEDIR = -I/usr/include/mysql
# The rest of the Makefile is independent of the target environment.
COMPILER = g++
CXXFLAGS = -Wall -pedantic -Wno-long-long
INCLUDEDIRS = -I.. -I../../../core ${MYSQLINCLUDEDIR}
LIBDIRS = -L.. -L../../../core ${MYSQLLIBDIR}
LIBS = -lsoci_core -lsoci_mysql -ldl ${MYSQLLIBS}
test-mysql : test-mysql.cpp
${COMPILER} -o $@ $? ${CXXFLAGS} ${INCLUDEDIRS} ${LIBDIRS} ${LIBS}
clean :
rm -f test-mysql