projects
/
urcu.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add per thread lock test case
[urcu.git]
/
Makefile
diff --git
a/Makefile
b/Makefile
index 079a9e3104dbeb3ab42a0de52d1bb99e6f5fa98c..c02252289411a959c811b95f0b7639a1e59c7cea 100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-9,10
+9,10
@@
LDFLAGS=-lpthread
#Changing the signal number used by the library. SIGUSR1 by default.
#CFLAGS+=-DSIGURCU=SIGUSR2
#Changing the signal number used by the library. SIGUSR1 by default.
#CFLAGS+=-DSIGURCU=SIGUSR2
-SRC_DEP=`echo $^ | sed 's/[^ ]*.h//g'`
+SRC_DEP=`echo $^ | sed 's/[^ ]*
\
.h//g'`
all: arch-api test_urcu test_urcu_dynamic_link test_urcu_timing \
all: arch-api test_urcu test_urcu_dynamic_link test_urcu_timing \
- test_rwlock_timing test_urcu_yield urcu-asm.S \
+ test_rwlock_timing test_
perthreadlock_timing test_
urcu_yield urcu-asm.S \
urcu-asm.o urcutorture urcutorture-yield liburcu.so
arch-api: api.h arch.h
urcu-asm.o urcutorture urcutorture-yield liburcu.so
arch-api: api.h arch.h
@@
-45,6
+45,9
@@
test_urcu_timing: urcu.o test_urcu_timing.c urcu.h
test_rwlock_timing: urcu.o test_rwlock_timing.c urcu.h
$(CC) ${CFLAGS} $(LDFLAGS) -o $@ $(SRC_DEP)
test_rwlock_timing: urcu.o test_rwlock_timing.c urcu.h
$(CC) ${CFLAGS} $(LDFLAGS) -o $@ $(SRC_DEP)
+test_perthreadlock_timing: urcu.o test_perthreadlock_timing.c urcu.h
+ $(CC) ${CFLAGS} $(LDFLAGS) -o $@ $(SRC_DEP)
+
urcu.o: urcu.c urcu.h
$(CC) -fPIC ${CFLAGS} $(LDFLAGS) -c -o $@ $(SRC_DEP)
urcu.o: urcu.c urcu.h
$(CC) -fPIC ${CFLAGS} $(LDFLAGS) -c -o $@ $(SRC_DEP)
This page took
0.023077 seconds
and
4
git commands to generate.