summaryrefslogtreecommitdiffstats
path: root/src/Makefile_lib.am
blob: 5ab1b8fe7d0d31d852184ec01568bb5714453031 (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
### Libraries

includesdir = $(includedir)/eina_graph-@VMAJ@
includes_HEADERS = \
   lib/Eina_Graph.h \
   lib/eina_graph.h \
   lib/eina_graph_dfs.h \
   lib/eina_graph_bfs.h

lib_libeina_graph_la_SOURCES = \
   lib/eina_graph_main.c \
   lib/eina_graph.c \
   lib/eina_graph_dfs.c \
   lib/eina_graph_bfs.c

EXTRA_DIST += lib/eina_graph_private.h

lib_LTLIBRARIES += lib/libeina_graph.la

lib_libeina_graph_la_LIBADD = @EFL_LIBS@ @EINA_GRAPH_COV_LIBS@
lib_libeina_graph_la_CFLAGS =
lib_libeina_graph_la_LDFLAGS = @EINA_GRAPH_LDFLAGS@ @PROJECT_LTLIBRARY_FLAGS@

### Unit tests

if EINA_GRAPH_ENABLE_TESTS

TESTS += tests/eina_graph_suite
check_PROGRAMS += tests/eina_graph_suite

tests_eina_graph_suite_SOURCES = \
   tests/eina_graph_suite.c

tests_eina_graph_suite_CFLAGS = @CHECK_CFLAGS@
tests_eina_graph_suite_LDADD = @CHECK_LIBS@ lib/libeina_graph.la
tests_eina_graph_suite_DEPENDENCIES = 

endif