From ae666ea203e060da5424c33b436135645e8a40c1 Mon Sep 17 00:00:00 2001 From: Wouter Wijngaards Date: Fri, 11 Nov 2011 14:42:00 +0000 Subject: [PATCH] dependency for checklocks.c git-svn-id: file:///svn/unbound/trunk@2555 be551aaa-1e26-0410-a405-d3ace91eadb9 --- Makefile.in | 4 +++- configure | 3 --- configure.ac | 2 -- 3 files changed, 3 insertions(+), 6 deletions(-) diff --git a/Makefile.in b/Makefile.in index d2f6439f7..9f87de21c 100644 --- a/Makefile.in +++ b/Makefile.in @@ -21,7 +21,7 @@ staticexe=@staticexe@ EXEEXT=@EXEEXT@ configfile=@ub_conf_file@ UNBOUND_RUN_DIR=@UNBOUND_RUN_DIR@ -CHECKLOCK_SRC=@CHECKLOCK_SRC@ +CHECKLOCK_SRC="testcode/checklocks.c" CHECKLOCK_OBJ=@CHECKLOCK_OBJ@ WITH_PYTHONMODULE=@WITH_PYTHONMODULE@ WITH_PYUNBOUND=@WITH_PYUNBOUND@ @@ -832,6 +832,8 @@ val_utils.lo val_utils.o: $(srcdir)/validator/val_utils.c config.h $(srcdir)/val $(srcdir)/util/rbtree.h $(srcdir)/validator/val_nsec.h $(srcdir)/validator/val_neg.h \ $(srcdir)/services/cache/rrset.h $(srcdir)/util/storage/slabhash.h $(srcdir)/services/cache/dns.h \ $(srcdir)/util/data/dname.h $(srcdir)/util/net_help.h $(srcdir)/util/regional.h $(srcdir)/util/config_file.h +checklocks.lo checklocks.o: $(srcdir)/testcode/checklocks.c config.h $(srcdir)/util/locks.h $(srcdir)/util/log.h \ + $(srcdir)/testcode/checklocks.h unitanchor.lo unitanchor.o: $(srcdir)/testcode/unitanchor.c config.h \ $(srcdir)/util/log.h \ $(srcdir)/util/data/dname.h $(srcdir)/util/storage/lruhash.h $(srcdir)/util/locks.h \ diff --git a/configure b/configure index fb5f22a3d..17732fd78 100755 --- a/configure +++ b/configure @@ -621,7 +621,6 @@ WIN_DAEMON_SRC WINAPPS WINDRES CHECKLOCK_OBJ -CHECKLOCK_SRC staticexe HAVE_SSL CONFIG_DATE @@ -16185,8 +16184,6 @@ if test x_$enable_lock_checks = x_yes; then $as_echo "#define ENABLE_LOCK_CHECKS 1" >>confdefs.h - CHECKLOCK_SRC="testcode/checklocks.c" - CHECKLOCK_OBJ="checklocks.lo" fi diff --git a/configure.ac b/configure.ac index 8859573a0..81e0977cb 100644 --- a/configure.ac +++ b/configure.ac @@ -755,8 +755,6 @@ AC_ARG_ENABLE(lock_checks, AC_HELP_STRING([--enable-lock-checks], , ) if test x_$enable_lock_checks = x_yes; then AC_DEFINE(ENABLE_LOCK_CHECKS, 1, [Define if you want to use debug lock checking (slow).]) - CHECKLOCK_SRC="testcode/checklocks.c" - AC_SUBST(CHECKLOCK_SRC) CHECKLOCK_OBJ="checklocks.lo" AC_SUBST(CHECKLOCK_OBJ) fi -- 2.47.2