diff options
author | Mike Dirolf <mike@10gen.com> | 2008-07-15 17:30:18 -0400 |
---|---|---|
committer | Mike Dirolf <mike@10gen.com> | 2008-07-15 17:30:18 -0400 |
commit | b927502bca904aa070459ccfcc13094fba1b891b (patch) | |
tree | 1a3a5e8ba712439ca01384f7992200dbe8657c68 /db/makefile | |
parent | 7748534935430097eaaaa9d8a2eff03c96d959bf (diff) | |
download | mongo-b927502bca904aa070459ccfcc13094fba1b891b.tar.gz |
pulled out common path elements, creating variable LIB_PREFIX
Diffstat (limited to 'db/makefile')
-rw-r--r-- | db/makefile | 7 |
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/ |