X-Git-Url: https://git.liburcu.org/?p=urcu.git;a=blobdiff_plain;f=Makefile;h=20024c65496296734699abc6e9a7954414120bb5;hp=1965a775b0cc97fc2295e8b34942338ff3e3bd58;hb=d2d2303563e2b260114bc0aa679d8c256eb0a43e;hpb=5e13fab888d07ba3657ac9e1eb0441450ea17837 diff --git a/Makefile b/Makefile index 1965a77..20024c6 100644 --- a/Makefile +++ b/Makefile @@ -11,10 +11,15 @@ LDFLAGS=-lpthread SRC_DEP=`echo $^ | sed 's/[^ ]*.h//g'` -all: 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 \ urcu-asm.o urcutorture urcutorture-yield liburcu.so +arch-api: api.h arch.h + # Run either make pthreads-x86 or make pthreads-ppc prior to build + # the RCU library. Architecture auto-detectection not implemented + # in the build system yet. + pthreads-x86: clean cp api_x86.h api.h cp arch_x86.h arch.h @@ -59,7 +64,7 @@ urcutorture: urcutorture.c urcu.o urcu.h rcutorture.h urcutorture-yield: urcutorture.c urcu-yield.o urcu.h rcutorture.h $(CC) -DDEBUG_YIELD ${CFLAGS} $(LDFLAGS) -o $@ $(SRC_DEP) -.PHONY: clean install +.PHONY: clean install arch-api install: liburcu.so cp -f liburcu.so /usr/lib/