summaryrefslogtreecommitdiff
path: root/db/makefile
diff options
context:
space:
mode:
authorMike Dirolf <mike@10gen.com>2008-07-15 17:30:18 -0400
committerMike Dirolf <mike@10gen.com>2008-07-15 17:30:18 -0400
commitb927502bca904aa070459ccfcc13094fba1b891b (patch)
tree1a3a5e8ba712439ca01384f7992200dbe8657c68 /db/makefile
parent7748534935430097eaaaa9d8a2eff03c96d959bf (diff)
downloadmongo-b927502bca904aa070459ccfcc13094fba1b891b.tar.gz
pulled out common path elements, creating variable LIB_PREFIX
Diffstat (limited to 'db/makefile')
-rw-r--r--db/makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/db/makefile b/db/makefile
index 8d4ec608ae2..b8d64dbeb85 100644
--- a/db/makefile
+++ b/db/makefile
@@ -1,9 +1,10 @@
# makefile for our db project
-FLAGS= ${CFLAGS} -fPIC -ggdb -pthread -O3 -I .. -Isrc/p -I/src/p/db -L/usr/local/lib -L/usr/lib -rdynamic
+FLAGS= ${CFLAGS} -fPIC -ggdb -pthread -O3 -I .. -Isrc/p -I/src/p/db -L/usr/local/lib -L/usr/lib -rdynamic
-LIB_DEPS = /opt/local/lib/libpcrecpp.a /opt/local/lib/libpcre.a
-LIB_BOOST = /opt/local/lib/libboost_thread.a /opt/local/lib/libboost_filesystem.a
+# set LIB_PREFIX in makefile.local (eg. /opt/local/lib/)
+LIB_DEPS = $(LIB_PREFIX)libpcrecpp.a $(LIB_PREFIX)libpcre.a
+LIB_BOOST = $(LIB_PREFIX)libboost_thread.a $(LIB_PREFIX)libboost_filesystem.a
LIBS= $(LIB_DEPS) $(LIB_BOOST) -lstdc++
JVM_LIBS = -L/opt/java/lib/