diff options
Diffstat (limited to 'src/Makefile_lib.am')
-rw-r--r-- | src/Makefile_lib.am | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/src/Makefile_lib.am b/src/Makefile_lib.am new file mode 100644 index 0000000..f46abe0 --- /dev/null +++ b/src/Makefile_lib.am @@ -0,0 +1,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 |