~mdw
/
adns
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
New features:
[adns]
/
client
/
Makefile.in
diff --git
a/client/Makefile.in
b/client/Makefile.in
index
67acef4
..
fd161ff
100644
(file)
--- a/
client/Makefile.in
+++ b/
client/Makefile.in
@@
-19,8
+19,9
@@
srcdir= @srcdir@
VPATH= @srcdir@
srcdir= @srcdir@
VPATH= @srcdir@
-TARG_LOCAL= adnstest_s
-TARG_INSTALL= adnstest
+PROGRAMS= adnstest adnslogres
+TARG_INSTALL= $(PROGRAMS)
+TARG_LOCAL= $(addsuffix _s, $(PROGRAMS))
TARGETS= $(TARG_LOCAL) $(TARG_INSTALL)
include $(srcdir)/../settings.make
TARGETS= $(TARG_LOCAL) $(TARG_INSTALL)
include $(srcdir)/../settings.make
@@
-29,13
+30,14
@@
DIRCFLAGS= -I$(srcdir)/../src
all: $(TARGETS)
install: $(TARG_INSTALL)
all: $(TARGETS)
install: $(TARG_INSTALL)
- set -xe; for f in $(TARG
ETS
); \
+ 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
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)
+%: %.o $(srcdir)/../dynamic/$(SHLIBFILE)
+ $(CC) $(LDFLAGS) $^ -o $@ $(LDLIBS)
-
adnstest_s: adnstest
.o $(srcdir)/../src/libadns.a
+
%_s: %
.o $(srcdir)/../src/libadns.a
$(CC) $(LDFLAGS) $^ -o $@ $(LDLIBS)
$(CC) $(LDFLAGS) $^ -o $@ $(LDLIBS)