2
0
mirror of https://gitlab.isc.org/isc-projects/kea synced 2025-08-31 22:15:23 +00:00

[2871] Empty benchmark binary

Create all the necessary makefiles and other stuff, to have a place to
put the benchmarks to later.
This commit is contained in:
Michal 'vorner' Vaner
2013-04-04 11:06:26 +02:00
parent bf94c3c617
commit dd0c9ba580
4 changed files with 23 additions and 1 deletions

View File

@@ -1190,6 +1190,7 @@ AC_CONFIG_FILES([Makefile
src/bin/dhcp4/tests/Makefile
src/bin/resolver/Makefile
src/bin/resolver/tests/Makefile
src/bin/resolver/bench/Makefile
src/bin/sysinfo/Makefile
src/bin/sockcreator/Makefile
src/bin/sockcreator/tests/Makefile

View File

@@ -1,4 +1,4 @@
SUBDIRS = . tests
SUBDIRS = . tests bench
AM_CPPFLAGS = -I$(top_srcdir)/src/lib -I$(top_builddir)/src/lib
AM_CPPFLAGS += -I$(top_srcdir)/src/bin -I$(top_builddir)/src/bin

View File

@@ -0,0 +1,18 @@
AM_CPPFLAGS = -I$(top_srcdir)/src/lib -I$(top_builddir)/src/lib
AM_CPPFLAGS += -I$(top_builddir)/src/lib/dns -I$(top_srcdir)/src/bin
AM_CPPFLAGS += -I$(top_builddir)/src/lib/cc
AM_CPPFLAGS += -I$(top_builddir)/src/bin/resolver
AM_CPPFLAGS += $(BOOST_INCLUDES)
AM_CXXFLAGS = $(B10_CXXFLAGS)
if USE_STATIC_LINK
AM_LDFLAGS = -static
endif
CLEANFILES = *.gcno *.gcda
noinst_PROGRAMS = resolver-bench
resolver_bench_SOURCES = main.cc
resolver_bench_LDADD = $(GTEST_LDADD)

View File

@@ -0,0 +1,3 @@
int main(int, const char**) {
return 0;
}