chiark / gitweb /
Urgency high.
[adns.git] / client / Makefile.in
index 2d3638eec75d24242235470be5c2bc47f051ea1e..c75d4d0c02d22ba0a9af66e003236a5524e0bbc9 100644 (file)
@@ -1,6 +1,6 @@
 # client/Makefile - client program(s) Makefile
 # 
-#  This file is part of adns, which is Copyright (C) 1997, 1998 Ian Jackson
+#  This file is part of adns, which is Copyright (C) 1997-1999 Ian Jackson
 #  
 #  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
 srcdir=                @srcdir@
 VPATH=         @srcdir@
 
-TARGETS=       adnstest
+TARG_LOCAL=    adnstest_s
+TARG_INSTALL=  adnstest
+TARGETS=       $(TARG_LOCAL) $(TARG_INSTALL)
 include                $(srcdir)/../settings.make
 
 DIRCFLAGS=     -I$(srcdir)/../src
 
-install:       $(TARGETS)
-               set -xe; for f in $(TARGETS); \
+all:           $(TARGETS)
+
+install:       $(TARG_INSTALL)
+               set -xe; for f in $(TARG_INSTALL); \
                        do $(INSTALL_PROGRAM) $$f $(bin_dir)/$$f; done
 
 uninstall:
                for f in $(TARGETS); do rm -f $(bin_dir)/$$f; done
 
 adnstest:      adnstest.o $(srcdir)/../dynamic/$(SHLIBFILE)
+
+adnstest_s:    adnstest.o $(srcdir)/../src/libadns.a
+               $(CC) $(LDFLAGS) $^ -o $@ $(LDLIBS)