-
Notifications
You must be signed in to change notification settings - Fork 5
/
makefile.am
61 lines (52 loc) · 1.81 KB
/
makefile.am
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
#******************************************************************************
# Copyright (c), Recep Aslantas. *
# *
# MIT License (MIT), http://opensource.org/licenses/MIT *
# Full license can be found in the LICENSE file *
# *
#******************************************************************************
ACLOCAL_AMFLAGS = -I m4
AM_CFLAGS = -Wall \
-std=gnu99 \
-O3 \
-Wstrict-aliasing=2 \
-fstrict-aliasing
lib_LTLIBRARIES = libds.la
libds_la_LDFLAGS = -no-undefined -version-info 0:1:0
checkLDFLAGS = -L./.libs \
-lm \
-lds
checkCFLAGS = -I./include
check_PROGRAMS = test/tests
TESTS = $(check_PROGRAMS)
test_tests_LDFLAGS = $(checkLDFLAGS)
test_tests_CFLAGS = $(checkCFLAGS)
dsdir=$(includedir)/ds
ds_HEADERS = include/ds/version.h \
include/ds/rb.h \
include/ds/util.h \
include/ds/common.h \
include/ds/allocator.h \
include/ds/forward-list-common.h \
include/ds/forward-list.h \
include/ds/forward-list-sep.h \
include/ds/hash.h \
include/ds/hash-funcs.h \
include/ds/sort.h
libds_la_SOURCES=\
src/default/default.c \
src/allocator.c \
src/util.c \
src/rb.c \
src/forward_list.c \
src/flist_separate.c \
src/hash_table.c \
src/hash_funcs.c \
src/sort/sort.c
test_tests_SOURCES=\
test/runner.c \
test/src/test_common.c \
test/src/test_rb.c \
test/src/test_flist.c \
test/src/test_flist_sep.c \
test/src/test_htable.c