urcu qsbr: add DEBUG_RCU self check
[urcu.git] / Makefile.build.inc
CommitLineData
317f9f21 1
fb6e510b
MD
2CFLAGS=-Wall -I.
3
4#optimized
5CFLAGS+=-O2
6
7#debug information
8CFLAGS+=-g
9
10#RCU debug (slower, with error-checks)
11#CFLAGS+=-DDEBUG_RCU
317f9f21
MD
12
13LDFLAGS=-lpthread
14
15HOSTTYPE=$(shell uname -m)
16
17ifeq ("${HOSTTYPE}","x86_64")
18ARCHTYPE=x86
19endif
20ifeq ("${HOSTTYPE}","i586")
21ARCHTYPE=x86
22endif
23ifeq ("${HOSTTYPE}","i686")
24ARCHTYPE=x86
25endif
26ifeq ("${HOSTTYPE}","powerpc")
27ARCHTYPE=ppc
28endif
29ifeq ("${HOSTTYPE}","ppc64")
30ARCHTYPE=ppc
31endif
32ifeq ("${HOSTTYPE}","s390")
33ARCHTYPE=s390
34endif
35ifeq ("${HOSTTYPE}","s390x")
36ARCHTYPE=s390
37endif
38
39#Build the library without using signals. Slower read-side.
40#CFLAGS+=-DCONFIG_URCU_AVOID_SIGNALS
41
42#Changing the signal number used by the library. SIGUSR1 by default.
43#CFLAGS+=-DSIGURCU=SIGUSR2
44
45SRC_DEP=`echo $^ | sed 's/[^ ]*\.h//g'`
This page took 0.023023 seconds and 4 git commands to generate.