Diff for /qemu/Makefile between versions 1.1.1.3 and 1.1.1.4

version 1.1.1.3, 2018/04/24 16:40:29 version 1.1.1.4, 2018/04/24 16:42:31
Line 1 Line 1
   # Makefile for QEMU.
   
 include config-host.mak  include config-host.mak
   
   .PHONY: all clean distclean dvi info install install-doc tar tarbin \
           speed test test2 html dvi info
   
 CFLAGS=-Wall -O2 -g -fno-strict-aliasing -I.  CFLAGS=-Wall -O2 -g -fno-strict-aliasing -I.
 ifdef CONFIG_DARWIN  ifdef CONFIG_DARWIN
 CFLAGS+= -mdynamic-no-pic  CFLAGS+= -mdynamic-no-pic
 endif  endif
   ifeq ($(ARCH),sparc)
   CFLAGS+=-mcpu=ultrasparc
   endif
 LDFLAGS=-g  LDFLAGS=-g
 LIBS=  LIBS=
 DEFINES+=-D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE  DEFINES+=-D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
Line 17  else Line 25  else
 DOCS=  DOCS=
 endif  endif
   
 all: dyngen$(EXESUF) $(TOOLS) $(DOCS)  all: $(TOOLS) $(DOCS) recurse-all
         for d in $(TARGET_DIRS); do \  
         $(MAKE) -C $$d $@ || exit 1 ; \  subdir-%: dyngen$(EXESUF)
         done          $(MAKE) -C $(subst subdir-,,$@) all
   
   recurse-all: $(patsubst %,subdir-%, $(TARGET_DIRS))
           
 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 block-vvfat.c  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 block-vvfat.c
         $(CC) -DQEMU_TOOL $(CFLAGS) $(LDFLAGS) $(DEFINES) -o $@ $^ -lz $(LIBS)          $(CC) -DQEMU_TOOL $(CFLAGS) $(LDFLAGS) $(DEFINES) -o $@ $^ -lz $(LIBS)
   
Line 39  clean: Line 49  clean:
   
 distclean: clean  distclean: clean
         rm -f config-host.mak config-host.h $(DOCS)          rm -f config-host.mak config-host.h $(DOCS)
           rm -f qemu-{doc,tech}.{info,aux,cp,dvi,fn,info,ky,log,pg,toc,tp,vr}
         for d in $(TARGET_DIRS); do \          for d in $(TARGET_DIRS); do \
         rm -rf $$d || exit 1 ; \          rm -rf $$d || exit 1 ; \
         done          done
Line 60  install: all $(if $(BUILD_DOCS),install- Line 71  install: all $(if $(BUILD_DOCS),install-
         $(INSTALL) -m 755 -s $(TOOLS) "$(DESTDIR)$(bindir)"          $(INSTALL) -m 755 -s $(TOOLS) "$(DESTDIR)$(bindir)"
         mkdir -p "$(DESTDIR)$(datadir)"          mkdir -p "$(DESTDIR)$(datadir)"
         for x in bios.bin vgabios.bin vgabios-cirrus.bin ppc_rom.bin \          for x in bios.bin vgabios.bin vgabios-cirrus.bin ppc_rom.bin \
                         video.x proll.elf linux_boot.bin; do \                          video.x openbios-sparc32 linux_boot.bin; do \
                 $(INSTALL) -m 644 $(SRC_PATH)/pc-bios/$$x "$(DESTDIR)$(datadir)"; \                  $(INSTALL) -m 644 $(SRC_PATH)/pc-bios/$$x "$(DESTDIR)$(datadir)"; \
         done          done
 ifndef CONFIG_WIN32  ifndef CONFIG_WIN32
Line 103  qemu-img.1: qemu-img.texi Line 114  qemu-img.1: qemu-img.texi
         $(SRC_PATH)/texi2pod.pl $< qemu-img.pod          $(SRC_PATH)/texi2pod.pl $< qemu-img.pod
         pod2man --section=1 --center=" " --release=" " qemu-img.pod > $@          pod2man --section=1 --center=" " --release=" " qemu-img.pod > $@
   
   info: qemu-doc.info qemu-tech.info
   
   dvi: qemu-doc.dvi qemu-tech.dvi
   
   html: qemu-doc.html qemu-tech.html
   
 FILE=qemu-$(shell cat VERSION)  FILE=qemu-$(shell cat VERSION)
   
 # tar release (use 'make -k tar' on a checkouted tree)  # tar release (use 'make -k tar' on a checkouted tree)
Line 135  tarbin: Line 152  tarbin:
         $(datadir)/vgabios-cirrus.bin \          $(datadir)/vgabios-cirrus.bin \
         $(datadir)/ppc_rom.bin \          $(datadir)/ppc_rom.bin \
         $(datadir)/video.x \          $(datadir)/video.x \
         $(datadir)/proll.elf \          $(datadir)/openbios-sparc32 \
         $(datadir)/linux_boot.bin \          $(datadir)/linux_boot.bin \
         $(docdir)/qemu-doc.html \          $(docdir)/qemu-doc.html \
         $(docdir)/qemu-tech.html \          $(docdir)/qemu-tech.html \

Removed from v.1.1.1.3  
changed lines
  Added in v.1.1.1.4


unix.superglobalmegacorp.com