summaryrefslogtreecommitdiffstats
path: root/src/Makefile_lib.am
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2013-12-06 15:05:31 +0100
committerJérémy Zurcher <jeremy@asynk.ch>2013-12-06 15:05:31 +0100
commitca99540270f229485e64caed4aa949e129ddf1d8 (patch)
treea7fd9f49078ceb25c6f4d01f0c8bb8505f78dd7c /src/Makefile_lib.am
downloadeina_graph-ca99540270f229485e64caed4aa949e129ddf1d8.zip
eina_graph-ca99540270f229485e64caed4aa949e129ddf1d8.tar.gz
Initial commit
Diffstat (limited to 'src/Makefile_lib.am')
-rw-r--r--src/Makefile_lib.am32
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