X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/blobdiff_plain/9299c8f0b485f52e519fd410c3b8f7b089deab96..62b68c80466e9e3b9bb39e0bc5219ba32534235f:/Makefile.in diff --git a/Makefile.in b/Makefile.in index 1285f1ce..4fcf2c15 100644 --- a/Makefile.in +++ b/Makefile.in @@ -40,7 +40,7 @@ OBJS=$(OBJS1) $(OBJS2) $(DAEMON_OBJ) $(LIBOBJ) $(ZLIBOBJ) @BUILD_POPT@ TLS_OBJ = tls.o syscall.o lib/permstring.o # Programs we must have to run the test cases -CHECK_PROGS = rsync tls getgroups +CHECK_PROGS = rsync tls getgroups trimslash # note that the -I. is needed to handle config.h when using VPATH .c.o: @@ -73,14 +73,23 @@ tls: $(TLS_OBJ) $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $(TLS_OBJ) $(LIBS) getgroups: getgroups.o - $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $< $(LIBS) + $(CC) $(CFLAGS) $(LDFLAGS) -o $@ getgroups.o $(LIBS) -Makefile: Makefile.in configure config.status - echo "WARNING: You need to run ./config.status --recheck" +TRIMSLASH_OBJ = trimslash.o syscall.o +trimslash: $(TRIMSLASH_OBJ) + $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $(TRIMSLASH_OBJ) $(LIBS) + +# I don't like these rules because CVS can skew the timestamps and +# produce spurious warnings, and also make "make install" fail if the +# source directory can no longer be found. Since we don't rebuild +# automatically they're kind of lame anyhow. + +#Makefile: Makefile.in configure config.status +# echo "WARNING: You need to run ./config.status --recheck" # don't actually run autoconf, just issue a warning -configure: configure.in - echo "WARNING: you need to rerun autoconf" +#configure: configure.in +# echo "WARNING: you need to rerun autoconf" rsync.1: rsync.yo yodl2man -o rsync.1 rsync.yo @@ -92,7 +101,7 @@ proto: cat $(srcdir)/*.c $(srcdir)/lib/compat.c | awk -f $(srcdir)/mkproto.awk > $(srcdir)/proto.h clean: cleantests - rm -f *~ $(OBJS) rsync $(TLS_OBJ) tls + rm -f *~ $(OBJS) rsync $(TLS_OBJ) $(CHECK_PROGS) cleantests: rm -rf ./testtmp*