summaryrefslogtreecommitdiff
path: root/Makefile.am
blob: 3e76a09ec977eccdc1faeede0c976fe0009ae39d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
EXTRA_DIST =
MOSTLYCLEANFILES =

AM_CPPFLAGS = \
	-pipe \
	-std=gnu99 \
	-imacros config.h \
	-I$(top_srcdir)

AM_CFLAGS = \
	-Wall \
	-Wextra \
	-Wmissing-prototypes

lib_LTLIBRARIES = librbraun.la

librbraun_la_SOURCES = \
	avltree.c \
	avltree.h \
	avltree_i.h \
	bitmap.c \
	bitmap.h \
	bitmap_i.h \
	check.h \
	cpu.h \
	error.c \
	error.h \
	hash.h \
	list.c \
	list.h \
	macros.h \
	plist.c \
	plist.h \
	rbtree.c \
	rbtree.h \
	rbtree_i.h \
	rdxtree.c \
	rdxtree.h \
	rdxtree_i.h \
	shell.c \
	shell.h \
	x86/atomic.h \
	x86/mb.h

librbraun_la_LIBADD = -lrt -lpthread

bin_PROGRAMS = \
	test_avltree \
	test_plist \
	test_rbtree \
	test_rdxtree \
	test_shell

test_avltree_SOURCES = test/test_avltree.c
test_avltree_LDADD = librbraun.la

test_plist_SOURCES = test/test_plist.c
test_plist_LDADD = librbraun.la

test_rbtree_SOURCES = test/test_rbtree.c
test_rbtree_LDADD = librbraun.la

test_rdxtree_SOURCES = test/test_rdxtree.c
test_rdxtree_LDADD = -lrt -lpthread

test_shell_SOURCES = test/test_shell.c
test_shell_LDADD = librbraun.la