2014-05-17 21:32:14 -04:00
|
|
|
lib_LTLIBRARIES = libr3.la
|
2014-05-17 22:13:51 -04:00
|
|
|
# lib_LIBRARIES = libr3.a
|
2014-05-28 09:02:57 -04:00
|
|
|
libr3_la_SOURCES = node.c edge.c str.c token.c zmalloc.c match_entry.c
|
2014-05-20 03:06:52 -04:00
|
|
|
# libr3_la_LDFLAGS = -export-symbols-regex '^r3_|^match_'
|
2014-05-17 21:29:31 -04:00
|
|
|
|
2014-05-16 18:37:30 -04:00
|
|
|
libr3_la_LIBADD=$(DEPS_LIBS)
|
2014-05-21 11:29:27 -04:00
|
|
|
AM_CFLAGS=$(DEPS_CFLAGS) -I$(top_builddir) -I$(top_builddir)/include -Wall -std=c99
|
2014-05-17 21:29:31 -04:00
|
|
|
|
2014-05-21 10:00:30 -04:00
|
|
|
if USE_JEMALLOC
|
|
|
|
AM_CFLAGS += -ljemalloc
|
|
|
|
endif
|
|
|
|
|
2014-05-17 23:03:01 -04:00
|
|
|
if ENABLE_DEBUG
|
2014-05-20 03:34:41 -04:00
|
|
|
AM_CFLAGS += -ggdb -fprofile-arcs -ftest-coverage
|
2014-05-17 23:03:01 -04:00
|
|
|
endif
|
|
|
|
|
2014-05-17 22:13:51 -04:00
|
|
|
if ENABLE_GRAPHVIZ
|
|
|
|
libr3_la_SOURCES += gvc.c
|
|
|
|
libr3_la_LIBADD += $(GVC_DEPS_LIBS)
|
|
|
|
AM_CFLAGS += $(GVC_DEPS_CFLAGS)
|
2014-05-17 21:29:31 -04:00
|
|
|
endif
|
|
|
|
|
2014-05-16 18:37:30 -04:00
|
|
|
# AM_CFLAGS=$(DEPS_CFLAGS)
|