2010-09-15 21:53:51 +00:00
|
|
|
# yinst i log4cpp_y_dev-1.4.2
|
|
|
|
|
2010-09-15 22:53:30 +00:00
|
|
|
SHERPA_DIR = /homes/sears/svndev/trunk/dht
|
|
|
|
|
|
|
|
CPPFLAGS=-Wall -I${SHERPA_DIR}/common/include \
|
|
|
|
-I${SHERPA_DIR}/storage/handler/src \
|
|
|
|
-I${SHERPA_DIR}/storage/handler/include/ \
|
|
|
|
-I${SHERPA_DIR}/framework/base/include/ \
|
|
|
|
-I${SHERPA_DIR}/externals/fwcore/include \
|
|
|
|
-I /home/y/include -I .. -c -fPIC
|
2010-09-22 19:28:26 +00:00
|
|
|
CXXFLAGS=-m32 -g
|
|
|
|
CFLAGS=-m32 -g
|
2010-09-15 21:53:51 +00:00
|
|
|
|
|
|
|
libsherpalogstore.so : LSMPersistentStoreImpl.o tcpclient.o LSMPersistentParentImpl.o
|
2010-09-22 19:28:26 +00:00
|
|
|
gcc -m32 -g -shared -Wl,-soname,libsherpalogstore.so -o libsherpalogstore.so LSMPersistentStoreImpl.o tcpclient.o LSMPersistentParentImpl.o
|
2010-09-15 21:53:51 +00:00
|
|
|
cp libsherpalogstore.so /homes/sears/sherpa-so/
|
|
|
|
|
|
|
|
tcpclient.cpp : ../tcpclient.cpp
|
|
|
|
ln -s ../tcpclient.cpp
|
|
|
|
|
|
|
|
clean:
|
2010-09-29 17:58:34 +00:00
|
|
|
rm -f LSMPersistentStoreImpl.o tcpclient.o libsherpalogstore.so LSMPersistentParentImpl.o
|