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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
57f779ee
Commit
57f779ee
authored
Feb 27, 2008
by
Yoni Fogel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Port to Leopard
git-svn-id:
file:///svn/tokudb@2442
c7de825b-a66e-492c-adef-691d508d4ae1
parent
c2fc05f7
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
db-benchmark-test/Makefile
db-benchmark-test/Makefile
+1
-1
src/Makefile
src/Makefile
+3
-1
No files found.
db-benchmark-test/Makefile
View file @
57f779ee
...
...
@@ -19,7 +19,7 @@ BDB_CPPFLAGS =
BDB_LDFLAGS
=
-ldb
endif
TDB_CPPFLAGS
=
-I
../include
TDB_LDFLAGS
=
-L
../lib
-ltokudb
-Wl
,-rpath
=
$(PWD)
/../lib
TDB_LDFLAGS
=
-L
../lib
-ltokudb
-Wl
,-rpath
,
$(PWD)
/../lib
TARGET_BDB
=
db-benchmark-test-bdb
TARGET_TDB
=
db-benchmark-test-tokudb
...
...
src/Makefile
View file @
57f779ee
...
...
@@ -13,10 +13,12 @@ CPPFLAGS += -D_GNU_SOURCE -D_THREAD_SAFE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_S
ifneq
($(OSX),)
LIBEXT
=
dylib
SHARED
=
-dynamiclib
RPATHNAME
=
-install_name
@rpath/
$(LIBNAME)
.
$(LIBEXT)
CFLAGS
+=
-fno-common
else
LIBEXT
=
so
SHARED
=
-shared
RPATHNAME
=
endif
.PHONY
:
install logformat
...
...
@@ -50,7 +52,7 @@ LOCKTREE_BINS = lock_tree/locktree.o lock_tree/rth.o lock_tree/lth.o $(RANGETRE
$(LIBNAME).$(LIBEXT)
:
$(DBBINS) $(LOCKTREE_BINS)
cc
$(CPPFLAGS)
$^
$(SHARED)
-o
$@
$(CFLAGS)
-lz
cc
$(CPPFLAGS)
$^
$(SHARED)
-o
$@
$(CFLAGS)
-lz
$(RPATHNAME)
$(LIBNAME).a
:
$(DBBINS) $(LOCKTREE_BINS)
$(AR)
rv
$@
$^
...
...
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