File tree Expand file tree Collapse file tree 5 files changed +3
-1557
lines changed Expand file tree Collapse file tree 5 files changed +3
-1557
lines changed Original file line number Diff line number Diff line change 1
1
include $(top_srcdir ) /config/Rules.am
2
2
3
- if TARGET_CPU_I386
4
- TARGET_CPU_ATOMIC_SOURCE = asm-i386/atomic.S
5
- else
6
- if TARGET_CPU_X86_64
7
- TARGET_CPU_ATOMIC_SOURCE = asm-x86_64/atomic.S
8
- else
9
- TARGET_CPU_ATOMIC_SOURCE = asm-generic/atomic.c
10
- LIBATOMIC = $(LIBATOMIC_LIBS )
11
- endif
12
- endif
13
-
14
3
SUBDIRS = include
15
4
16
- AM_CCASFLAGS = \
17
- $(CFLAGS )
18
-
19
5
noinst_LTLIBRARIES = libspl_assert.la libspl.la
20
6
21
7
libspl_assert_la_SOURCES = \
22
8
assert.c
23
9
24
10
USER_C = \
25
11
libspl_impl.h \
12
+ atomic.c \
26
13
getexecname.c \
27
14
list.c \
28
15
mkdirp.c \
@@ -50,20 +37,11 @@ USER_C += \
50
37
os/freebsd/zone.c
51
38
endif
52
39
53
- libspl_la_SOURCES = \
54
- $(USER_C ) \
55
- $(TARGET_CPU_ATOMIC_SOURCE )
40
+ libspl_la_SOURCES = $(USER_C )
56
41
57
42
libspl_la_LIBADD = \
58
43
libspl_assert.la
59
44
60
- libspl_la_LIBADD += $(LIBATOMIC ) $(LIBCLOCK_GETTIME )
45
+ libspl_la_LIBADD += $(LIBATOMIC_LIBS ) $(LIBCLOCK_GETTIME )
61
46
62
47
include $(top_srcdir ) /config/CppCheck.am
63
-
64
- # Override the default SOURCES which includes TARGET_CPU_ATOMIC_SOURCE
65
- # in order to always evaluate the generic asm-generic/atomic.c source.
66
- CPPCHECKSRC = $(USER_C ) asm-generic/atomic.c
67
- cppcheck :
68
- $(CPPCHECK ) -j$(CPU_COUNT ) $(CPPCHECKFLAGS ) --force \
69
- $(DEFAULT_INCLUDES ) $(CPPCHECKSRC )
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments