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
5af44c8d
Commit
5af44c8d
authored
Nov 19, 2007
by
Yoni Fogel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Attempt to port makefile to linux
git-svn-id:
file:///svn/tokudb@661
c7de825b-a66e-492c-adef-691d508d4ae1
parent
03fa3c84
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
src/tests/Makefile
src/tests/Makefile
+4
-4
No files found.
src/tests/Makefile
View file @
5af44c8d
...
@@ -7,8 +7,8 @@ LIBEXT=dylib
...
@@ -7,8 +7,8 @@ LIBEXT=dylib
VGRIND
=
VGRIND
=
TDB_LOADLIBES
=
-L
../
-ldb
TDB_LOADLIBES
=
-L
../
-ldb
SETTOKUENV
=
export
DYLD_LIBRARY_PATH
=
..
SETTOKUENV
=
export
DYLD_LIBRARY_PATH
=
..
UNSETTOKUENV
=
unset
DYLD_LIBRARY_PATH
else
else
SETTOKUENV
=
LIBEXT
=
so
LIBEXT
=
so
TDB_LOADLIBES
=
-L
../
-ldb
-Wl
,-rpath,..
TDB_LOADLIBES
=
-L
../
-ldb
-Wl
,-rpath,..
VGRIND
=
valgrind
--quiet
--error-exitcode
=
1
--leak-check
=
yes
VGRIND
=
valgrind
--quiet
--error-exitcode
=
1
--leak-check
=
yes
...
@@ -50,7 +50,7 @@ $(ALL_TESTS):
...
@@ -50,7 +50,7 @@ $(ALL_TESTS):
echo
$@
echo
$@
%.bdbrun
:
%.bdb
%.bdbrun
:
%.bdb
$(VGRIND)
./
$<
$(
UNSETTOKUENV)
;
$(
VGRIND)
./
$<
%.tdbrun
:
%.tdb
%.tdbrun
:
%.tdb
$(SETTOKUENV)
;
$(VGRIND)
./
$<
$(SETTOKUENV)
;
$(VGRIND)
./
$<
...
@@ -67,9 +67,9 @@ NO_VGRIND = \
...
@@ -67,9 +67,9 @@ NO_VGRIND = \
$(patsubst %,test_%.bdbrun,$(NO_VGRIND))
:
VGRIND=
$(patsubst %,test_%.bdbrun,$(NO_VGRIND))
:
VGRIND=
%.bdb
:
%.c
%.bdb
:
%.c
cc
-DDIR
=
\"
dir.
$<
.bdb
\"
-DUSE_BDB
$(CFLAGS)
$<
-ldb
-o
$@
$(UNSETTOKUENV)
;
cc
-DDIR
=
\"
dir.
$<
.bdb
\"
-DUSE_BDB
$(CFLAGS)
$<
-ldb
-o
$@
%.tdb
:
%.c
%.tdb
:
%.c
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
$@
make_libs
:
make_libs
:
cd
..
;
make
cd
..
;
make
...
...
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