chiark / gitweb /
fix test cases for CNAME search list bugfix
[adns.git] / regress / Makefile.in
index fd08d800c17db70d0a7fbf7e59e040ca982ce609..6df412d86f0d9e8a94377a278a1edc4ff916779d 100644 (file)
@@ -5,7 +5,7 @@
 #
 #  It is part of adns, which is
 #    Copyright (C) 1997-2000 Ian Jackson <ian@davenant.greenend.org.uk>
-#    Copyright (C) 1999 Tony Finch <dot@dotat.at>
+#    Copyright (C) 1999-2000 Tony Finch <dot@dotat.at>
 #  
 #  This program is free software; you can redistribute it and/or modify
 #  it under the terms of the GNU General Public License as published by
@@ -24,7 +24,9 @@
 srcdir=                @srcdir@
 VPATH=         @srcdir@
 
-CLIENTS=       adnstest adnshost
+PROGS_SYSDEP=  @PROGS_HAVE_TSEARCH@
+
+CLIENTS=       adnstest adnshost adnslogres $(PROGS_SYSDEP)
 AUTOCHDRS=     harness.h hsyscalls.h hredirect.h
 AUTOCSRCS=     hrecord.c hplayback.c hcommon.c
 include                $(srcdir)/../settings.make
@@ -59,10 +61,10 @@ adnshost_%: $(ADH_OBJS) h%.o $(HARNLOBJS)
                $(LINK_CMD)
 
 %_d.o:         $(srcdir)/../src/%.c hredirect.h
-               $(CC) $(HCPPFLAGS) -c -g -o $@ $<
+               $(CC) $(CFLAGS) $(HCPPFLAGS) -c -g -o $@ $<
 
 %_c.o:         $(srcdir)/../client/%.c hredirect.h
-               $(CC) $(HCPPFLAGS) -I $(srcdir)/../src -c -g -o $@ $<
+               $(CC) $(CFLAGS) $(HCPPFLAGS) -I $(srcdir)/../src -c -g -o $@ $<
 
 $(ALL_OBJS):   $(srcdir)/../src/adns.h $(srcdir)/../src/internal.h
 $(ALL_OBJS):   harness.h hsyscalls.h