-Makefile: Makefile.in configure config.status
- echo "WARNING: You need to run ./config.status --recheck"
+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)
+
+gen: conf proto.h man
+
+gensend: gen
+ rsync -aivzc $(GENFILES) samba.org:/home/ftp/pub/rsync/generated-files/
+
+conf:
+ cd $(srcdir) && $(MAKE) -f prepare-source.mak conf
+
+conf_stop: configure.sh config.h.in
+
+configure.sh config.h.in: configure.in aclocal.m4
+ autoconf -o configure.sh
+ autoheader && touch config.h.in
+ @echo 'Configure files changed -- perhaps run:'
+ @echo ' make reconfigure'
+ @exit 1
+
+reconfigure: configure.sh
+ ./config.status --recheck
+ ./config.status
+
+make_stop: Makefile
+
+Makefile: Makefile.in config.status
+ @./config.status
+ @echo "Makefile updated -- rerun your make command."
+ @exit 1