]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
Added tp to test ThreadPool.h
authorsbrandt <sbrandt@29311d96-e01e-0410-9327-a35deaab8ce9>
Wed, 22 Jun 2005 03:23:44 +0000 (03:23 +0000)
committersbrandt <sbrandt@29311d96-e01e-0410-9327-a35deaab8ce9>
Wed, 22 Jun 2005 03:23:44 +0000 (03:23 +0000)
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@330 29311d96-e01e-0410-9327-a35deaab8ce9

ceph/Makefile

index eb33a8a1d2c76d7fb48488012ea88fc052689c87..e27ac21aabe1da669d9af21a257ea7354af3503c 100644 (file)
@@ -9,7 +9,7 @@
 # behave just fine...  change ${CC} back to mpicxx if you get paranoid.
 CC = g++
 CFLAGS = -g -I. -D_FILE_OFFSET_BITS=64 -DMPICH_IGNORE_CXX_SEEK -D_REENTRANT -D_THREAD_SAFE
-LIBS = -lpthread 
+LIBS = -lpthread  -lrt
 
 #for normal machines
 MPICC = mpicxx
@@ -71,6 +71,9 @@ singleclient: mds/allmds.o osd/OSD.o fakesingleclient.o client/Client.o \
 msg/CheesySerializer.o msg/FakeMessenger.o fsck.o ${COMMON_OBJS} 
        ${CC} ${CFLAGS} ${LIBS} $^ -o $@
 
+tp: osd/tp.o
+       ${CC} ${CFLAGS} ${LIBS} $^ -o $@
+
 fuseclient: client/Client.o client/fuse.o msg/CheesySerializer.o \
 msg/FakeMessenger.o ${COMMON_OBJS} 
        ${CC} ${CFLAGS} ${LIBS} -lfuse $^ -o $@