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
99169fba
Commit
99169fba
authored
Nov 29, 2007
by
Rich Prohaska
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove the .. rpath addresses #49
git-svn-id:
file:///svn/tokudb@838
c7de825b-a66e-492c-adef-691d508d4ae1
parent
5cd6a6d2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
10 deletions
+11
-10
db-benchmark-test/Makefile
db-benchmark-test/Makefile
+11
-10
No files found.
db-benchmark-test/Makefile
View file @
99169fba
# standard build: make
# build with Berkeley DB 4.1: make BDB=/usr/local/BerkeleyDB.4.1
# build with TokuDB: make BDB=~/svn/tokudb
# build with Berkeley DB 4.1: make BDB
DIR
=/usr/local/BerkeleyDB.4.1
# build with TokuDB: make BDB
DIR
=~/svn/tokudb
BENCHDBS
=
bench.bdb/ bench.tokudb
OPTFLAGS
=
-O2
CFLAGS
=
-Wall
-Werror
-g
# CFLAGS += -pg
CFLAGS
+=
-O2
CFLAGS
+=
$(OPTFLAGS)
ifdef
BDB
CPPFLAGS
=
-I
$(BDB
)
/include
LDFLAGS
=
-L
$(BDB)
/lib
-ldb
-lpthread
-Wl
,-rpath,
$(BDB
)
/lib
ifdef
BDB
DIR
BDB_CPPFLAGS
=
-I
$(BDBDIR
)
/include
BDB_LDFLAGS
=
-L
$(BDBDIR)
/lib
-ldb
-lpthread
-Wl
,-rpath,
$(BDBDIR
)
/lib
else
CPPFLAGS
=
LDFLAGS
=
-ldb
BDB_
CPPFLAGS
=
BDB_
LDFLAGS
=
-ldb
endif
TARGETS
=
db-benchmark-test-bdb db-benchmark-test-tokudb
...
...
@@ -24,6 +25,6 @@ clean:
rm
-rf
$(TARGETS)
$(BENCHDBS)
db-benchmark-test-tokudb
:
db-benchmark-test.c
cc
-Wall
-Werror
-g
-O2
-I
../include
-L
../lib
-ldb
-Wl
,-rpath,../lib
$<
-o
$@
-DDIRSUF
=
tokudb
cc
$(CFLAGS)
-I
../include
-L
../lib
-ldb
-Wl
,-rpath,
$(PWD)
/../lib
$<
-o
$@
-DDIRSUF
=
tokudb
db-benchmark-test-bdb
:
db-benchmark-test.c
cc
-Wall
-Werror
-g
-O2
-ldb
$<
-o
$@
-DDIRSUF
=
bdb
cc
$(CFLAGS)
$(BDB_CPPFLAGS)
$(BDB_LDFLAGS)
$<
-o
$@
-DDIRSUF
=
bdb
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