summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWayne Davison <wayned@samba.org>2007-11-29 23:44:40 -0800
committerWayne Davison <wayned@samba.org>2007-11-29 23:44:40 -0800
commit07ad305e8a0c10c82ad7b055e24be5e92601d00c (patch)
treea069020e20be46855263e83a4b698601facfe3b0
parentbcfb738c93a586283457ea1c7015f321fd1f3f48 (diff)
downloadrsync-07ad305e8a0c10c82ad7b055e24be5e92601d00c.tar.gz
rsync-07ad305e8a0c10c82ad7b055e24be5e92601d00c.tar.bz2
rsync-07ad305e8a0c10c82ad7b055e24be5e92601d00c.zip
Make sure that the test programs get rebuilt when a header
file changes.
-rw-r--r--Makefile.in6
1 files changed, 3 insertions, 3 deletions
diff --git a/Makefile.in b/Makefile.in
index 8d814eed..9e61f4eb 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -75,8 +75,6 @@ install-strip:
rsync$(EXEEXT): $(OBJS)
$(CC) $(CFLAGS) $(LDFLAGS) -o $@ $(OBJS) $(LIBS)
-$(OBJS): $(HEADERS)
-
flist.o: rounding.h
rounding.h: mkrounding$(EXEEXT)
@@ -104,6 +102,8 @@ T_UNSAFE_OBJ = t_unsafe.o syscall.o util.o t_stub.o lib/compat.o lib/snprintf.o
t_unsafe$(EXEEXT): $(T_UNSAFE_OBJ)
$(CC) $(CFLAGS) $(LDFLAGS) -o $@ $(T_UNSAFE_OBJ) $(LIBS)
+$(OBJS) $(TLS_OBJ) $(TRIMSLASH_OBJ) $(T_UNSAFE_OBJ): $(HEADERS)
+
gen: conf proto.h man
gensend: gen
@@ -186,7 +186,7 @@ check: all $(CHECK_PROGS) $(CHECK_SYMLINKS)
check29: all $(CHECK_PROGS) $(CHECK_SYMLINKS)
rsync_bin=`pwd`/rsync$(EXEEXT) $(srcdir)/runtests.sh --protocol=29
-wildtest.o: wildtest.c lib/wildmatch.c rsync.h
+wildtest.o: wildtest.c lib/wildmatch.c rsync.h config.h
wildtest$(EXEEXT): wildtest.o lib/compat.o lib/snprintf.o @BUILD_POPT@
$(CC) $(CFLAGS) $(LDFLAGS) -o $@ wildtest.o lib/compat.o lib/snprintf.o @BUILD_POPT@ $(LIBS)