chiark / gitweb /
Get semantics of invertable options, and of cancelling, right.
[adns.git] / client / Makefile.in
index 02effcb2b7cd9155380a36f6de7d796564342578..d55057e1513a234d4f3c8224a5070cf63a2735cd 100644 (file)
@@ -32,6 +32,8 @@ include               $(srcdir)/../settings.make
 
 DIRCFLAGS=     -I$(srcdir)/../src
 
+ADH_OBJS=      adh-main.o adh-opts.o adh-query.o
+
 all:           $(TARGETS)
 
 install:       $(TARG_INSTALL)
@@ -41,6 +43,14 @@ install:     $(TARG_INSTALL)
 uninstall:
                for f in $(TARGETS); do rm -f $(bin_dir)/$$f; done
 
+$(ADH_OBJS):   adnshost.h
+
+adnshost:      $(ADH_OBJS) $(srcdir)/../dynamic/$(SHLIBFILE)
+               $(CC) $(LDFLAGS) $^ -o $@ $(LDLIBS)
+
+adnshost_s:    $(ADH_OBJS) $(srcdir)/../src/libadns.a
+               $(CC) $(LDFLAGS) $^ -o $@ $(LDLIBS)
+
 %:             %.o $(srcdir)/../dynamic/$(SHLIBFILE)
                $(CC) $(LDFLAGS) $^ -o $@ $(LDLIBS)