r3/Makefile.am

52 lines
936 B
Text
Raw Normal View History

SUBDIRS=3rdparty src . examples
if ENABLE_CHECK
SUBDIRS += tests
endif
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 =
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
if ENABLE_DEBUG
AM_CFLAGS += -ggdb -fprofile-arcs -ftest-coverage
else
AM_CFLAGS += -O2
endif
if USE_JEMALLOC
AM_LDFLAGS += -ljemalloc
endif
2014-05-16 23:23:01 -04:00
r3_includedir = $(includedir)/r3
r3_include_HEADERS = \
2016-04-26 14:45:11 -04:00
include/memory.h \
2014-05-16 23:23:01 -04:00
include/r3.h \
include/r3_list.h \
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)