# client/Makefile - client program(s) Makefile
#
-# This file is
-# Copyright (C) 1997-2000 Ian Jackson <ian@davenant.greenend.org.uk>
-#
-# It is part of adns, which is
-# Copyright (C) 1997-2000 Ian Jackson <ian@davenant.greenend.org.uk>
-# Copyright (C) 1999-2000 Tony Finch <dot@dotat.at>
+# This file is part of adns, which is
+# Copyright (C) 1997-2000,2003,2006 Ian Jackson
+# Copyright (C) 1999-2000,2003,2006 Tony Finch
+# Copyright (C) 1991 Massachusetts Institute of Technology
+# (See the file INSTALL for full details.)
#
# 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
PROGS_SYSDEP= @PROGS_HAVE_TSEARCH@
ENABLE_DYNAMIC= @ENABLE_DYNAMIC@
-PROGRAMS= adnstest adnslogres adnshost $(PROGS_SYSDEP)
-PROGRAMS_LOCAL= fanftest
+PROGRAMS= adnslogres adnsheloex adnshost $(PROGS_SYSDEP)
+PROGRAMS_LOCAL= fanftest adnstest
PROGRAMS_ALL= $(PROGRAMS) $(PROGRAMS_LOCAL)
STATIC_LIB= $(ADNSDIR)/libadns.a
all: $(TARGETS)
install: $(TARG_INSTALL)
+ mkdir -p $(bindir)
set -xe; for f in $(TARG_INSTALL); \
- do $(INSTALL_PROGRAM) $$f $(bin_dir)/$$f; done
+ do $(INSTALL_PROGRAM) $$f $(bindir)/$$f; done
uninstall:
- for f in $(TARGETS); do rm -f $(bin_dir)/$$f; done
+ for f in $(TARGETS); do rm -f $(bindir)/$$f; done
adnshost: $(ADH_OBJS) $(DYNAMIC_DEP)
$(CC) $(LDFLAGS) $(ADH_OBJS) $(DYNAMIC_LINK) -o $@ $(LDLIBS)
%_s: %.o $(STATIC_LIB)
$(CC) $(LDFLAGS) $< $(STATIC_LIB) -o $@ $(LDLIBS)
-