$(CC) -I. -I$(srcdir) $(CFLAGS) $(CPPFLAGS) -c $< @CC_SHOBJ_FLAG@
@OBJ_RESTORE@
-all: proto rsync$(EXEEXT)
+all: rsync$(EXEEXT)
install: all
-mkdir -p ${DESTDIR}${bindir}
clean: cleantests
rm -f *~ $(OBJS) $(TLS_OBJ) $(CHECK_PROGS) $(CHECK_OBJS)
- cd $(srcdir)
- [ -f acls.c ] && patch -p1 -R <patches/acls.diff || true
- rm -f *.orig *.rej */*.orig */*.rej
- $(MAKE) -f prepare-source.mak proto.h
- rm -f lib/sysacls.c lib/sysacls.h smb_acls.h acls.c
cleantests:
rm -rf ./testtmp*
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,