Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
MariaDB
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
70fc7b56
Commit
70fc7b56
authored
Nov 19, 2007
by
Rich Prohaska
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
allow build with non default BDB
git-svn-id:
file:///svn/tokudb@663
c7de825b-a66e-492c-adef-691d508d4ae1
parent
c98359d3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletion
+6
-1
src/tests/Makefile
src/tests/Makefile
+6
-1
No files found.
src/tests/Makefile
View file @
70fc7b56
...
@@ -16,6 +16,11 @@ TDB_LOADLIBES = -L../ -ldb -Wl,-rpath,..
...
@@ -16,6 +16,11 @@ TDB_LOADLIBES = -L../ -ldb -Wl,-rpath,..
VGRIND
=
valgrind
--quiet
--error-exitcode
=
1
--leak-check
=
yes
VGRIND
=
valgrind
--quiet
--error-exitcode
=
1
--leak-check
=
yes
endif
endif
ifneq
($(BDB),"")
BDB_CPPFLAGS
=
-I
$(BDB)
/include
BDB_LDFLAGS
=
-L
$(BDB)
/lib
endif
LIBNAME
=
libdb.
$(LIBEXT)
LIBNAME
=
libdb.
$(LIBEXT)
CFLAGS
=
-Wall
-Werror
-O0
-g
CFLAGS
=
-Wall
-Werror
-O0
-g
...
@@ -69,7 +74,7 @@ NO_VGRIND = \
...
@@ -69,7 +74,7 @@ NO_VGRIND = \
$(patsubst %,test_%.bdbrun,$(NO_VGRIND))
:
VGRIND=
$(patsubst %,test_%.bdbrun,$(NO_VGRIND))
:
VGRIND=
%.bdb
:
%.c
%.bdb
:
%.c
$(UNSETTOKUENV)
;
cc
-DDIR
=
\"
dir.
$<
.bdb
\"
-DUSE_BDB
$(CFLAGS)
$<
-ldb
-o
$@
$(UNSETTOKUENV)
;
cc
-DDIR
=
\"
dir.
$<
.bdb
\"
$(BDB_CPPFLAGS)
-DUSE_BDB
$(CFLAGS)
$<
$(BDB_LDFLAGS)
-ldb
-o
$@
%.tdb
:
%.c
%.tdb
:
%.c
$(SETTOKUENV)
;
cc
-DDIR
=
\"
dir.
$<
.tdb
\"
-DUSE_TDB
$(CFLAGS)
$(TDB_CPPFLAGS)
$(TDB_LOADLIBES)
$<
-o
$@
$(SETTOKUENV)
;
cc
-DDIR
=
\"
dir.
$<
.tdb
\"
-DUSE_TDB
$(CFLAGS)
$(TDB_CPPFLAGS)
$(TDB_LOADLIBES)
$<
-o
$@
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment