fc4c471441cc4c6a53dcbcde353f6a15dcd9fb1c
[urcu.git] / Makefile.build.inc
1
2 CFLAGS=-Wall -O2 -g -I.
3 #debug
4 #CFLAGS=-Wall -g
5
6 LDFLAGS=-lpthread
7
8 HOSTTYPE=$(shell uname -m)
9
10 ifeq ("${HOSTTYPE}","x86_64")
11 ARCHTYPE=x86
12 endif
13 ifeq ("${HOSTTYPE}","i586")
14 ARCHTYPE=x86
15 endif
16 ifeq ("${HOSTTYPE}","i686")
17 ARCHTYPE=x86
18 endif
19 ifeq ("${HOSTTYPE}","powerpc")
20 ARCHTYPE=ppc
21 endif
22 ifeq ("${HOSTTYPE}","ppc64")
23 ARCHTYPE=ppc
24 endif
25 ifeq ("${HOSTTYPE}","s390")
26 ARCHTYPE=s390
27 endif
28 ifeq ("${HOSTTYPE}","s390x")
29 ARCHTYPE=s390
30 endif
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
38 SRC_DEP=`echo $^ | sed 's/[^ ]*\.h//g'`
This page took 0.029385 seconds and 3 git commands to generate.