urcu-pointer: create specific objects and headers to deal with RCU pointers
[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
74c1a593
JB
32ifeq ("${HOSTTYPE}","ppc")
33ARCHTYPE=ppc
34endif
317f9f21
MD
35ifeq ("${HOSTTYPE}","s390")
36ARCHTYPE=s390
37endif
38ifeq ("${HOSTTYPE}","s390x")
39ARCHTYPE=s390
40endif
41
317f9f21
MD
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.023365 seconds and 4 git commands to generate.