summaryrefslogtreecommitdiff
path: root/Makefile.am
blob: 345d1fade461947530381de24430035a236c9ec4 (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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
EXTRA_DIST =
MOSTLYCLEANFILES =

AM_CPPFLAGS = \
        -pipe \
        -std=gnu11 \
        -imacros config.h \
        -I$(top_srcdir)/src

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

lib_LTLIBRARIES = librbraun.la

librbraun_la_SOURCES = \
        src/avltree.c \
        src/avltree.h \
        src/avltree_i.h \
        src/bitmap.c \
        src/bitmap.h \
        src/bitmap_i.h \
        src/cbuf.c \
        src/cbuf.h \
        src/check.h \
        src/cpu.h \
        src/fmt.c \
        src/fmt.h \
        src/hash.h \
        src/hlist.h \
        src/list.c \
        src/list.h \
        src/macros.h \
        src/mbuf.c \
        src/mbuf.h \
        src/plist.c \
        src/plist.h \
        src/rbtree.c \
        src/rbtree.h \
        src/rbtree_i.h \
        src/rdxtree.c \
        src/rdxtree.h \
        src/rdxtree_i.h \
        src/slist.h \
        src/shell.c \
        src/shell.h

librbraun_la_LIBADD = -lrt -lpthread

bin_PROGRAMS = \
        test_avltree \
        test_cbuf \
        test_fmt_sprintf \
        test_fmt_sscanf \
        test_hlist \
        test_mbuf \
        test_plist \
        test_rbtree \
        test_rdxtree \
        test_shell \
        test_slist

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

test_cbuf_SOURCES = test/test_cbuf.c
test_cbuf_LDADD = librbraun.la

test_fmt_sprintf_SOURCES = test/test_fmt_sprintf.c
test_fmt_sprintf_LDADD = librbraun.la

test_fmt_sscanf_SOURCES = test/test_fmt_sscanf.c
test_fmt_sscanf_LDADD = librbraun.la

test_hlist_SOURCES = test/test_hlist.c
test_hlist_LDADD = librbraun.la

test_mbuf_SOURCES = test/test_mbuf.c
test_mbuf_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

test_slist_SOURCES = test/test_slist.c
test_slist_LDADD = librbraun.la