add example of broadcast context and broadcasting an RPC call
[deb_libnfs.git] / Makefile.in
index d86a1b7cadc0958d7e20eb8997a8c8760b6e3a9d..d2d0c832b1c116738f92739602e2003198c398d7 100644 (file)
@@ -35,7 +35,7 @@ nfs/libnfs-raw-nfs.o nfs/nfs.o \
 rquota/libnfs-raw-rquota.o rquota/rquota.o
 
 ifeq ("$(ENABLE_EXAMPLES)","yes")
-       EXAMPLES=bin/nfsclient-raw bin/nfsclient-async bin/nfsclient-sync
+       EXAMPLES=bin/nfsclient-raw bin/nfsclient-async bin/nfsclient-sync bin/nfsclient-bcast
 endif
 
 all: $(LIBNFS_SO) $(EXAMPLES)
@@ -52,6 +52,10 @@ bin/nfsclient-raw: examples/nfsclient-raw.c $(LIBNFS_A)
        mkdir -p bin
        $(CC) $(CFLAGS) -o $@ examples/nfsclient-raw.c $(LIBNFS_A) $(LIBS)
 
+bin/nfsclient-bcast: examples/nfsclient-bcast.c $(LIBNFS_A)
+       mkdir -p bin
+       $(CC) $(CFLAGS) -o $@ examples/nfsclient-bcast.c $(LIBNFS_A) $(LIBS)
+
 $(LIBNFS_A): $(LIBNFS_OBJS) $(LIB_OBJS)
        @echo Creating library $@
        ar r $(LIBNFS_A) $(LIBNFS_OBJS) $(LIB_OBJS)