Browse Source

[1450] Modify makefiles to get this to build in BIND 10

Stephen Morris 13 years ago
parent
commit
bdaee9411e
3 changed files with 13 additions and 1 deletions
  1. 1 0
      configure.ac
  2. 1 1
      tests/tools/Makefile.am
  3. 11 0
      tests/tools/perfdhcp/Makefile.am

+ 1 - 0
configure.ac

@@ -938,6 +938,7 @@ AC_CONFIG_FILES([Makefile
                  tests/tools/Makefile
                  tests/tools/badpacket/Makefile
                  tests/tools/badpacket/tests/Makefile
+                 tests/tools/perfdhcp/Makefile
                ])
 AC_OUTPUT([doc/version.ent
            compatcheck/sqlite3-difftbl-check.py

+ 1 - 1
tests/tools/Makefile.am

@@ -1 +1 @@
-SUBDIRS = badpacket
+SUBDIRS = badpacket perfdhcp

+ 11 - 0
tests/tools/perfdhcp/Makefile.am

@@ -0,0 +1,11 @@
+SUBDIRS = .
+
+AM_CXXFLAGS = $(B10_CXXFLAGS)
+
+AM_LDFLAGS = -lrt -lm
+if USE_STATIC_LINK
+AM_LDFLAGS += -static
+endif
+
+pkglibexec_PROGRAMS  = perfdhcp
+perfdhcp_SOURCES  = perfdhcp.c