/[qemu]/qemu/Makefile
ViewVC logotype

Diff of /qemu/Makefile

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.74 by bellard, Sun Nov 14 20:52:54 2004 UTC revision 1.75 by bellard, Mon Nov 15 22:57:26 2004 UTC
# Line 14  TOOLS=qemu-img Line 14  TOOLS=qemu-img
14  ifdef CONFIG_STATIC  ifdef CONFIG_STATIC
15  LDFLAGS+=-static  LDFLAGS+=-static
16  endif  endif
17  DOCS=qemu-doc.html qemu-tech.html qemu.1  DOCS=qemu-doc.html qemu-tech.html qemu.1 qemu-img.1
18    
19  all: dyngen$(EXESUF) $(TOOLS) $(DOCS)  all: dyngen$(EXESUF) $(TOOLS) $(DOCS)
20          for d in $(TARGET_DIRS); do \          for d in $(TARGET_DIRS); do \
# Line 30  dyngen$(EXESUF): dyngen.c Line 30  dyngen$(EXESUF): dyngen.c
30  clean:  clean:
31  # avoid old build problems by removing potentially incorrect old files  # avoid old build problems by removing potentially incorrect old files
32          rm -f config.mak config.h op-i386.h opc-i386.h gen-op-i386.h op-arm.h opc-arm.h gen-op-arm.h          rm -f config.mak config.h op-i386.h opc-i386.h gen-op-i386.h op-arm.h opc-arm.h gen-op-arm.h
33          rm -f *.o *.a $(TOOLS) dyngen$(EXESUF) TAGS qemu.pod *~ */*~          rm -f *.o *.a $(TOOLS) dyngen$(EXESUF) TAGS *.pod *~ */*~
34          $(MAKE) -C tests clean          $(MAKE) -C tests clean
35          for d in $(TARGET_DIRS); do \          for d in $(TARGET_DIRS); do \
36          $(MAKE) -C $$d $@ || exit 1 ; \          $(MAKE) -C $$d $@ || exit 1 ; \
# Line 57  endif Line 57  endif
57          install -m 644 qemu-doc.html  qemu-tech.html "$(docdir)"          install -m 644 qemu-doc.html  qemu-tech.html "$(docdir)"
58  ifndef CONFIG_WIN32  ifndef CONFIG_WIN32
59          mkdir -p "$(mandir)/man1"          mkdir -p "$(mandir)/man1"
60          install qemu.1 qemu-mkcow.1 "$(mandir)/man1"          install qemu.1 qemu-img.1 "$(mandir)/man1"
61  endif  endif
62          for d in $(TARGET_DIRS); do \          for d in $(TARGET_DIRS); do \
63          $(MAKE) -C $$d $@ || exit 1 ; \          $(MAKE) -C $$d $@ || exit 1 ; \
# Line 78  qemu.1: qemu-doc.texi Line 78  qemu.1: qemu-doc.texi
78          ./texi2pod.pl $< qemu.pod          ./texi2pod.pl $< qemu.pod
79          pod2man --section=1 --center=" " --release=" " qemu.pod > $@          pod2man --section=1 --center=" " --release=" " qemu.pod > $@
80    
81    qemu-img.1: qemu-img.texi
82            ./texi2pod.pl $< qemu-img.pod
83            pod2man --section=1 --center=" " --release=" " qemu-img.pod > $@
84    
85  FILE=qemu-$(shell cat VERSION)  FILE=qemu-$(shell cat VERSION)
86    
87  # tar release (use 'make -k tar' on a checkouted tree)  # tar release (use 'make -k tar' on a checkouted tree)
# Line 92  tarbin: Line 96  tarbin:
96          ( cd / ; tar zcvf ~/qemu-$(VERSION)-i386.tar.gz \          ( cd / ; tar zcvf ~/qemu-$(VERSION)-i386.tar.gz \
97          $(bindir)/qemu $(bindir)/qemu-fast \          $(bindir)/qemu $(bindir)/qemu-fast \
98          $(bindir)/qemu-system-ppc \          $(bindir)/qemu-system-ppc \
99            $(bindir)/qemu-system-sparc \
100          $(bindir)/qemu-i386 \          $(bindir)/qemu-i386 \
101          $(bindir)/qemu-arm \          $(bindir)/qemu-arm \
102          $(bindir)/qemu-sparc \          $(bindir)/qemu-sparc \
# Line 105  tarbin: Line 110  tarbin:
110          $(datadir)/linux_boot.bin \          $(datadir)/linux_boot.bin \
111          $(docdir)/qemu-doc.html \          $(docdir)/qemu-doc.html \
112          $(docdir)/qemu-tech.html \          $(docdir)/qemu-tech.html \
113          $(mandir)/man1/qemu.1 $(mandir)/man1/qemu-mkcow.1 )          $(mandir)/man1/qemu.1 $(mandir)/man1/qemu-img.1 )
114    
115  ifneq ($(wildcard .depend),)  ifneq ($(wildcard .depend),)
116  include .depend  include .depend

Legend:
Removed from v.1.74  
changed lines
  Added in v.1.75

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26