X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/blobdiff_plain/3ea7fc6ccf67382acd6db03e8be0841b9e8d744d..5b30412c68f55f518a3070359fbd636774d5ec3a:/Makefile.in diff --git a/Makefile.in b/Makefile.in index 0331fe43..69b6db49 100644 --- a/Makefile.in +++ b/Makefile.in @@ -2,6 +2,7 @@ # Makefile prefix=@prefix@ +datarootdir=@datarootdir@ exec_prefix=@exec_prefix@ bindir=@bindir@ mandir=@mandir@ @@ -91,13 +92,13 @@ t_unsafe$(EXEEXT): $(T_UNSAFE_OBJ) $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $(T_UNSAFE_OBJ) $(LIBS) gen: - $(MAKE) -C $(srcdir) -f prepare-source.mak gen + cd $(srcdir) && $(MAKE) -f prepare-source.mak gen man: - $(MAKE) -C $(srcdir) -f prepare-source.mak man + cd $(srcdir) && $(MAKE) -f prepare-source.mak man proto: - $(MAKE) -C $(srcdir) -f prepare-source.mak proto + cd $(srcdir) && $(MAKE) -f prepare-source.mak proto.h clean: cleantests rm -f *~ $(OBJS) $(TLS_OBJ) $(CHECK_PROGS) $(CHECK_OBJS) @@ -142,11 +143,11 @@ test: check # might lose in the future where POSIX diverges from old sh. check: all $(CHECK_PROGS) - POSIXLY_CORRECT=1 TOOLDIR=`pwd` rsync_bin=`pwd`/rsync$(EXEEXT) srcdir="$(srcdir)" $(srcdir)/runtests.sh + rsync_bin=`pwd`/rsync$(EXEEXT) $(srcdir)/runtests.sh wildtest.o: wildtest.c lib/wildmatch.c rsync.h -wildtest$(EXEEXT): wildtest.o lib/compat.o - $(CC) $(CFLAGS) $(LDFLAGS) -o $@ wildtest.o lib/compat.o @BUILD_POPT@ $(LIBS) +wildtest$(EXEEXT): wildtest.o lib/compat.o lib/snprintf.o + $(CC) $(CFLAGS) $(LDFLAGS) -o $@ wildtest.o lib/compat.o lib/snprintf.o @BUILD_POPT@ $(LIBS) # This does *not* depend on building or installing: you can use it to # check a version installed from a binary or some other source tree,