Improved the build rule for getfsdev and added getfsdev.o to the
authorWayne Davison <wayned@samba.org>
Thu, 12 Aug 2004 18:59:03 +0000 (18:59 +0000)
committerWayne Davison <wayned@samba.org>
Thu, 12 Aug 2004 18:59:03 +0000 (18:59 +0000)
files we cleanup.

Makefile.in

index 8890960..8fd5286 100644 (file)
@@ -48,7 +48,7 @@ CHECK_PROGS = rsync$(EXEEXT) tls$(EXEEXT) getgroups$(EXEEXT) getfsdev$(EXEEXT) \
        trimslash$(EXEEXT) t_unsafe$(EXEEXT) wildtest$(EXEEXT)
 
 # Objects for CHECK_PROGS to clean
-CHECK_OBJS=getgroups.o t_stub.o t_unsafe.o trimslash.o wildtest.o
+CHECK_OBJS=getgroups.o getfsdev.o t_stub.o t_unsafe.o trimslash.o wildtest.o
 
 # note that the -I. is needed to handle config.h when using VPATH
 .c.o:
@@ -80,8 +80,8 @@ tls$(EXEEXT): $(TLS_OBJ)
 getgroups$(EXEEXT): getgroups.o
        $(CC) $(CFLAGS) $(LDFLAGS) -o $@ getgroups.o $(LIBS)
 
-getfsdev$(EXEEXT): getfsdev.c
-       $(CC) $(CFLAGS) $(LDFLAGS) -o $@ getfsdev.c
+getfsdev$(EXEEXT): getfsdev.o
+       $(CC) $(CFLAGS) $(LDFLAGS) -o $@ getfsdev.o $(LIBS)
 
 TRIMSLASH_OBJ = trimslash.o syscall.o
 trimslash$(EXEEXT): $(TRIMSLASH_OBJ)