chiark / gitweb /
+ * Create $(bin_dir) and $(lib_dir) on `make install', and also
[adns.git] / client / Makefile.in
index cf00da8f132257a48ec5bd35d9cc39d442602b00..cf64e8e81b561c6fcdc55c5cce52936dfea8b0bd 100644 (file)
@@ -1,11 +1,11 @@
 # client/Makefile - client program(s) Makefile
 # 
 #  This file is
-#    Copyright (C) 1997-1999 Ian Jackson <ian@davenant.greenend.org.uk>
+#    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 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
@@ -27,8 +27,8 @@ VPATH=                @srcdir@
 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
@@ -59,6 +59,7 @@ ADNSDIR=      $(srcdir)/../src/
 all:           $(TARGETS)
 
 install:       $(TARG_INSTALL)
+               mkdir -p $(bin_dir)
                set -xe; for f in $(TARG_INSTALL); \
                        do $(INSTALL_PROGRAM) $$f $(bin_dir)/$$f; done
 
@@ -80,4 +81,3 @@ adnsresfilter.o:      $(ADNSDIR)/tvarith.h
 
 %_s:           %.o $(STATIC_LIB)
                $(CC) $(LDFLAGS) $< $(STATIC_LIB) -o $@ $(LDLIBS)
-