1 --- Makefile.orig 2005-04-28 00:52:05 +0400
2 +++ Makefile 2005-05-19 21:29:57 +0400
4 for d in $(TARGET_DIRS); do \
5 $(MAKE) -C $$d $@ || exit 1 ; \
9 - $(MAKE) -C kqemu -f Makefile.winnt
15 qemu-img$(EXESUF): qemu-img.c block.c block-cow.c block-qcow.c aes.c block-vmdk.c block-cloop.c block-dmg.c block-bochs.c block-vpc.c
16 $(CC) -DQEMU_TOOL $(CFLAGS) $(LDFLAGS) $(DEFINES) -o $@ $^ -lz $(LIBS)
18 for d in $(TARGET_DIRS); do \
19 $(MAKE) -C $$d $@ || exit 1 ; \
22 - $(MAKE) -C kqemu clean
26 rm -f config-host.mak config-host.h
28 for d in $(TARGET_DIRS); do \
29 $(MAKE) -C $$d $@ || exit 1 ; \
32 - cd kqemu ; ./install.sh
35 # various test targets
37 --- configure.orig 2005-04-28 00:52:05 +0400
38 +++ configure 2005-05-19 21:48:11 +0400
44 -# Linux specific kqemu configuration
45 -if test $kqemu = "yes" -a $linux = "yes" ; then
46 -# find the kernel path
47 -if test -z "$kernel_path" ; then
48 -kernel_version=`uname -r`
49 -kernel_path="/lib/modules/$kernel_version/build"
50 -if test '!' -d "$kernel_path/include" ; then
51 - kernel_path="/usr/src/linux"
52 - if test '!' -d "$kernel_path/include" ; then
53 - echo "Could not find kernel includes in /lib/modules or /usr/src/linux - cannot build the kqemu module"
59 if test $kqemu = "yes" ; then
61 -# test that the kernel config is present
62 -if test '!' -f "$kernel_path/Makefile" ; then
63 - echo "No Makefile file present in $kernel_path - kqemu cannot be built"
67 -# find build system (2.6 or legacy)
69 -if grep -q "PATCHLEVEL = 4" $kernel_path/Makefile ; then
73 + # find build system (2.6 or legacy)
80 echo "Install prefix $prefix"
81 echo "BIOS directory $datadir"
82 echo "binary directory $bindir"