added user mode Linux Copy On Write disk image support - added -snapshot support (initial patch by Rusty Russell)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@309 c046a42c-6fe2-441c-8c8c-71466251a162
diff --git a/Makefile b/Makefile
index 0fa0fa3..ef6aef2 100644
--- a/Makefile
+++ b/Makefile
@@ -28,7 +28,7 @@
LDFLAGS+=-Wl,-shared
endif
ifeq ($(TARGET_ARCH), i386)
-PROGS+=vl
+PROGS+=vl vlmkcow
endif
endif
@@ -141,7 +141,10 @@
# must use static linking to avoid leaving stuff in virtual address space
vl: vl.o block.o libqemu.a
- $(CC) -static -Wl,-T,i386-vl.ld -o $@ $^ $(LIBS)
+ $(CC) -pg -static -Wl,-T,i386-vl.ld -o $@ $^ $(LIBS)
+
+vlmkcow: vlmkcow.o
+ $(CC) -o $@ $^ $(LIBS)
depend: $(SRCS)
$(CC) -MM $(CFLAGS) $^ 1>.depend