prefix=@prefix@ exec_prefix=@exec_prefix@ bindir=@bindir@ mandir=@mandir@ srcdir=@srcdir@ CC=@CC@ CFLAGS=@CFLAGS@ LIBS=@LIBS@ LDFLAGS=@LDFLAGS@ $(LIBS) VPATH=@srcdir@ INSTALL=install CMDS=nbd-server @BUILD_CLIENT@ all: $(CMDS) nbd-client: nbd-client.o nbd-client.o: nbd-client.c cliserv.h config.h nbd-server: nbd-server.o nbd-server.o: nbd-server.c cliserv.h config.h $(CC) $(CFLAGS) $(FSCHOICE) -c nbd-server.c install: $(CMDS) strip $(CMDS) $(INSTALL) $(CMDS) $(bindir)/ clean: rm -f `find . -name "*~" -o -name "*.[oa]" -o -name "\#*\#" -o -name TAGS -o -name core` rm -f $(CMDS) distclean: clean rm -f Makefile config.h config.cache config.log config.status allclean: distclean rm -f configure config.h.in dist: distclean sh -c 'X=`pwd` ; X=`basename $$X` ; cd .. ; tar czvvf /tmp/$$X.tar.gz $$X --exclude CVS --exclude tmp --exclude "*.tar.gz"'