diff options
author | ths <ths@c046a42c-6fe2-441c-8c8c-71466251a162> | 2007-12-15 17:28:36 +0000 |
---|---|---|
committer | ths <ths@c046a42c-6fe2-441c-8c8c-71466251a162> | 2007-12-15 17:28:36 +0000 |
commit | 223d4670a0cf539a0e8cc6a23aad28a8340dded8 (patch) | |
tree | 4202f66b0b7c95fa6e3f1b932f58168fcaebd70b /Makefile | |
parent | 50a9569b591a83071052614f2ff497ff2f2aa2ef (diff) |
Split block-raw.c into block-raw-posix.c and block-raw-win32.c, by
Anthony Liguori.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3814 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -119,9 +119,16 @@ libqemu_common.a: $(OBJS) rm -f $@ $(AR) rcs $@ $(OBJS) +QEMU_IMG_BLOCK_OBJS = $(BLOCK_OBJS) +ifdef CONFIG_WIN32 +QEMU_IMG_BLOCK_OBJS += qemu-img-block-raw-win32.o +else +QEMU_IMG_BLOCK_OBJS += qemu-img-block-raw-posix.o +endif + ###################################################################### -qemu-img$(EXESUF): qemu-img.o qemu-img-block.o qemu-img-block-raw.o $(BLOCK_OBJS) +qemu-img$(EXESUF): qemu-img.o qemu-img-block.o $(QEMU_IMG_BLOCK_OBJS) $(CC) $(LDFLAGS) $(BASE_LDFLAGS) -o $@ $^ -lz $(LIBS) qemu-img-%.o: %.c |