From: Wayne Davison Date: Fri, 30 Nov 2007 07:44:40 +0000 (-0800) Subject: Make sure that the test programs get rebuilt when a header X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/commitdiff_plain/07ad305e8a0c10c82ad7b055e24be5e92601d00c Make sure that the test programs get rebuilt when a header file changes. --- 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)