configuration parsing and loading code for rsyncd. This is based
[rsync/rsync.git] / Makefile.in
index ed0a86a..f8ed546 100644 (file)
@@ -21,11 +21,13 @@ SHELL=/bin/sh
 .SUFFIXES: .c .o
 
 LIBOBJ=lib/getopt.o lib/fnmatch.o lib/zlib.o lib/compat.o
-OBJS1=rsync.o exclude.o util.o md4.o main.o checksum.o match.o
-OBJS=$(OBJS1) flist.o io.o compat.o hlink.o token.o uidlist.o $(LIBOBJ)
+OBJS1=rsync.o exclude.o util.o md4.o main.o checksum.o match.o syscall.o log.o
+DAEMON_OBJ = params.o loadparm.o 
+OBJS=$(OBJS1) $(DAEMON_OBJ) flist.o io.o compat.o hlink.o token.o uidlist.o socket.o $(LIBOBJ)
 
+# note that the -I. is needed to handle config.h when using VPATH
 .c.o:
-       $(CC) -I$(srcdir) $(CFLAGS) -c $*.c -o $*.o
+       $(CC) -I. -I$(srcdir) $(CFLAGS) -c $< -o $@
 
 all: rsync