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 bin/nfsclient-listservers
+ EXAMPLES=bin/nfsclient-raw bin/nfsclient-async bin/nfsclient-sync
endif
all: $(LIBNFS_SO) $(EXAMPLES)
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)
-
-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)