2014-06-01 06:06:12 -04:00
|
|
|
AM_CFLAGS=$(DEPS_CFLAGS) $(GVC_DEPS_CFLAGS) $(JSONC_CFLAGS) -I$(top_builddir) -I$(top_builddir)/include -I$(top_builddir)/3rdparty -Wall -std=c99
|
|
|
|
AM_LDFLAGS=$(DEPS_LIBS) $(GVC_DEPS_LIBS) $(JSONC_LIBS)
|
2014-06-01 18:14:23 -04:00
|
|
|
MAYBE_COVERAGE=--coverage
|
2014-05-17 21:29:31 -04:00
|
|
|
|
2014-06-01 06:06:12 -04:00
|
|
|
noinst_LTLIBRARIES = libr3core.la
|
|
|
|
# lib_LIBRARIES = libr3.a
|
2014-06-01 16:52:41 -04:00
|
|
|
libr3core_la_SOURCES = node.c edge.c str.c token.c match_entry.c slug.c
|
2014-05-17 21:29:31 -04:00
|
|
|
|
2014-06-01 06:06:12 -04:00
|
|
|
if ENABLE_JSON
|
|
|
|
libr3core_la_SOURCES += json.c
|
2014-05-21 10:00:30 -04:00
|
|
|
endif
|
|
|
|
|
2014-06-01 18:14:23 -04:00
|
|
|
if COND_GCOV
|
|
|
|
# MAYBE_COVERAGE=--coverage --no-inline
|
|
|
|
AM_CFLAGS += $(MAYBE_COVERAGE)
|
|
|
|
endif
|
|
|
|
|
|
|
|
MOSTLYCLEANFILES = *.gcov *.gcda *.gcno
|
|
|
|
|
2014-06-01 06:06:12 -04:00
|
|
|
|
|
|
|
|
|
|
|
# libr3_la_LDFLAGS = -export-symbols-regex '^r3_|^match_'
|
|
|
|
|
|
|
|
# libr3_la_LIBADD=$(DEPS_LIBS) $(LIBOBJS) $(ALLOCA)
|
|
|
|
# libr3core_la_LIBADD=$(DEPS_LIBS)
|
|
|
|
# libr3core_la_CFLAGS=$(DEPS_CFLAGS) -I$(top_builddir) -I$(top_builddir)/include -I$(top_builddir)/3rdparty -Wall -std=c99
|
2014-05-17 23:03:01 -04:00
|
|
|
|
2014-05-17 22:13:51 -04:00
|
|
|
if ENABLE_GRAPHVIZ
|
2014-06-01 06:06:12 -04:00
|
|
|
libr3core_la_SOURCES += gvc.c
|
2014-05-17 21:29:31 -04:00
|
|
|
endif
|
|
|
|
|
2014-05-16 18:37:30 -04:00
|
|
|
# AM_CFLAGS=$(DEPS_CFLAGS)
|