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