projects
/
urcu.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove unneeded signal in the cache-coherent case
[urcu.git]
/
Makefile
diff --git
a/Makefile
b/Makefile
index 8224567af8438f096c1529ef976958849e0bb8dd..386856f9f5161848a9fba7e446860728e3b8682b 100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-1,13
+1,23
@@
-CFLAGS=-Wall -O2
+CFLAGS=-Wall -O2 -g
+LDFLAGS=-lpthread
+
#debug
#CFLAGS=-Wall -g
#debug
#CFLAGS=-Wall -g
-LDFLAGS=-lpthread
+#CFLAGS+=-DDEBUG_FULL_MB
SRC_DEP=`echo $^ | sed 's/[^ ]*.h//g'`
all: test_urcu test_urcu_timing test_rwlock_timing test_urcu_yield urcu-asm.S \
SRC_DEP=`echo $^ | sed 's/[^ ]*.h//g'`
all: test_urcu test_urcu_timing test_rwlock_timing test_urcu_yield urcu-asm.S \
- urcu-asm.o
+ urcu-asm.o urcutorture urcutorture-yield
+
+pthreads-x86: clean
+ cp api_x86.h api.h
+ cp arch_x86.h arch.h
+
+pthreads-ppc: clean
+ cp api_ppc.h api.h
+ cp arch_ppc.h arch.h
test_urcu: urcu.o test_urcu.c urcu.h
$(CC) ${CFLAGS} $(LDFLAGS) -o $@ $(SRC_DEP)
test_urcu: urcu.o test_urcu.c urcu.h
$(CC) ${CFLAGS} $(LDFLAGS) -o $@ $(SRC_DEP)
@@
-33,12
+43,14
@@
urcu-asm.S: urcu-asm.c urcu.h
urcu-asm.o: urcu-asm.c urcu.h
$(CC) ${CFLAGS} -c -o $@ $(SRC_DEP)
urcu-asm.o: urcu-asm.c urcu.h
$(CC) ${CFLAGS} -c -o $@ $(SRC_DEP)
-#in progress...
-urcutorture.o: urcutorture.c urcu.o urcu.h rcutorture.h
+urcutorture: urcutorture.c urcu.o urcu.h rcutorture.h
$(CC) ${CFLAGS} $(LDFLAGS) -o $@ $(SRC_DEP)
$(CC) ${CFLAGS} $(LDFLAGS) -o $@ $(SRC_DEP)
+urcutorture-yield: urcutorture.c urcu-yield.o urcu.h rcutorture.h
+ $(CC) -DDEBUG_YIELD ${CFLAGS} $(LDFLAGS) -o $@ $(SRC_DEP)
+
.PHONY: clean
clean:
rm -f *.o test_urcu test_urcu_timing test_rwlock_timing urcu-asm.S \
.PHONY: clean
clean:
rm -f *.o test_urcu test_urcu_timing test_rwlock_timing urcu-asm.S \
- test_urcu_yield
+ test_urcu_yield
urcutorture urcutorture-yield
This page took
0.023229 seconds
and
4
git commands to generate.