summaryrefslogtreecommitdiff
path: root/Makefile.am
blob: 701887886e75153878c4e5693397111f23f89d51 (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
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 \
	cpu.h \
	error.c \
	error.h \
	hash.h \
	list.c \
	list.h \
	macros.h \
	rbtree.c \
	rbtree.h \
	rbtree_i.h \
	rdxtree.c \
	rdxtree.h \
	rdxtree_i.h

librbraun_la_LIBADD = -lrt -lpthread

bin_PROGRAMS = \
	test_avltree \
	test_rbtree \
	test_rdxtree

test_avltree_SOURCES = test/test_avltree.c
test_avltree_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