mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Squashed 'src/soci/' content from commit 6e9312c
git-subtree-dir: src/soci git-subtree-split: 6e9312c4bb3748907bd28d62c40feca42878cfef
This commit is contained in:
22
src/backends/mysql/test/Makefile.basic
Normal file
22
src/backends/mysql/test/Makefile.basic
Normal 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
|
||||
Reference in New Issue
Block a user