repositories
/
deb_libnfs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add example for sync interface to probe for all local servers
[deb_libnfs.git]
/
Makefile.in
diff --git
a/Makefile.in
b/Makefile.in
index d2d0c832b1c116738f92739602e2003198c398d7..e4952b8bd03504668f436efa72b49b7d15a940f7 100644
(file)
--- a/
Makefile.in
+++ b/
Makefile.in
@@
-35,7
+35,7
@@
nfs/libnfs-raw-nfs.o nfs/nfs.o \
rquota/libnfs-raw-rquota.o rquota/rquota.o
ifeq ("$(ENABLE_EXAMPLES)","yes")
rquota/libnfs-raw-rquota.o rquota/rquota.o
ifeq ("$(ENABLE_EXAMPLES)","yes")
- EXAMPLES=bin/nfsclient-raw bin/nfsclient-async bin/nfsclient-sync bin/nfsclient-bcast
+ EXAMPLES=bin/nfsclient-raw bin/nfsclient-async bin/nfsclient-sync bin/nfsclient-bcast
bin/nfsclient-listservers
endif
all: $(LIBNFS_SO) $(EXAMPLES)
endif
all: $(LIBNFS_SO) $(EXAMPLES)
@@
-56,6
+56,10
@@
bin/nfsclient-bcast: examples/nfsclient-bcast.c $(LIBNFS_A)
mkdir -p bin
$(CC) $(CFLAGS) -o $@ examples/nfsclient-bcast.c $(LIBNFS_A) $(LIBS)
mkdir -p bin
$(CC) $(CFLAGS) -o $@ examples/nfsclient-bcast.c $(LIBNFS_A) $(LIBS)
+bin/nfsclient-listservers: examples/nfsclient-listservers.c $(LIBNFS_A)
+ mkdir -p bin
+ $(CC) $(CFLAGS) -o $@ examples/nfsclient-listservers.c $(LIBNFS_A) $(LIBS)
+
$(LIBNFS_A): $(LIBNFS_OBJS) $(LIB_OBJS)
@echo Creating library $@
ar r $(LIBNFS_A) $(LIBNFS_OBJS) $(LIB_OBJS)
$(LIBNFS_A): $(LIBNFS_OBJS) $(LIB_OBJS)
@echo Creating library $@
ar r $(LIBNFS_A) $(LIBNFS_OBJS) $(LIB_OBJS)