2015-11-20 21:39:49 -05:00
|
|
|
SUBDIRS=3rdparty src . examples
|
|
|
|
|
|
|
|
if HAVE_CHECK
|
|
|
|
SUBDIRS += tests
|
|
|
|
endif
|
2014-06-01 06:06:12 -04:00
|
|
|
|
|
|
|
lib_LTLIBRARIES = libr3.la
|
|
|
|
libr3_la_SOURCES =
|
|
|
|
libr3_la_LIBADD = 3rdparty/libr3ext.la src/libr3core.la
|
2014-06-01 18:14:23 -04:00
|
|
|
libr3_la_LDFLAGS =
|
2014-06-01 06:06:12 -04:00
|
|
|
|
|
|
|
AM_CFLAGS=$(DEPS_CFLAGS) $(GVC_DEPS_CFLAGS) -I$(top_builddir) -I$(top_builddir)/include -I$(top_builddir)/3rdparty -Wall -std=c99
|
|
|
|
AM_LDFLAGS=$(DEPS_LIBS) $(GVC_DEPS_LIBS)
|
2014-05-16 23:23:01 -04:00
|
|
|
|
2014-06-02 12:47:06 -04:00
|
|
|
|
2014-05-17 03:30:25 -04:00
|
|
|
ACLOCAL_AMFLAGS=-I m4
|
|
|
|
|
2014-06-01 06:06:12 -04:00
|
|
|
if ENABLE_DEBUG
|
|
|
|
AM_CFLAGS += -ggdb -fprofile-arcs -ftest-coverage
|
2015-11-20 21:39:49 -05:00
|
|
|
else
|
|
|
|
AM_CFLAGS += -O2
|
2014-06-01 06:06:12 -04:00
|
|
|
endif
|
|
|
|
|
|
|
|
if USE_JEMALLOC
|
|
|
|
AM_LDFLAGS += -ljemalloc
|
|
|
|
endif
|
|
|
|
|
2014-05-16 23:23:01 -04:00
|
|
|
r3_includedir = $(includedir)/r3
|
|
|
|
r3_include_HEADERS = \
|
|
|
|
include/r3.h \
|
2014-05-20 13:50:15 -04:00
|
|
|
include/r3_list.h \
|
2015-11-17 08:17:18 -05:00
|
|
|
include/r3_slug.h \
|
2014-06-03 10:07:21 -04:00
|
|
|
include/r3_gvc.h \
|
|
|
|
include/r3_json.h \
|
2014-05-28 22:14:25 -04:00
|
|
|
include/str_array.h \
|
2014-06-04 05:24:29 -04:00
|
|
|
include/r3.hpp \
|
2014-05-16 23:23:01 -04:00
|
|
|
$(NULL)
|
2014-05-16 23:35:45 -04:00
|
|
|
|
|
|
|
pkgconfigdir = $(libdir)/pkgconfig
|
|
|
|
pkgconfig_DATA = r3.pc
|
2014-05-18 01:52:56 -04:00
|
|
|
|
|
|
|
EXTRA_DIST = \
|
|
|
|
autogen.sh \
|
|
|
|
bench.html \
|
|
|
|
demo.c \
|
|
|
|
gen_routes.rb \
|
|
|
|
HACKING.md \
|
|
|
|
LICENSE \
|
|
|
|
README.md \
|
|
|
|
$(NULL)
|