r8: Makefile.in is needed to build nbd.
authorpavel <pavel>
Wed, 28 Feb 2001 13:38:38 +0000 (13:38 +0000)
committerpavel <pavel>
Wed, 28 Feb 2001 13:38:38 +0000 (13:38 +0000)
Makefile.in [new file with mode: 0644]

diff --git a/Makefile.in b/Makefile.in
new file mode 100644 (file)
index 0000000..a8c0512
--- /dev/null
@@ -0,0 +1,40 @@
+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 nbd.h config.h
+
+nbd-server: nbd-server.o
+
+nbd-server.o: nbd-server.c cliserv.h nbd.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"'