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

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

lib_libeina_graph_la_SOURCES = \
   lib/eina_graph_main.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