configure: Fix the bin install rule in wow64 mode.
[wine.git] / Makefile.in
blobb1c0804836936fd82ffe2aef1985e01a4e34847d
1 # This Makefile understands the following targets:
3 # all (default): build wine
4 # clean: remove all intermediate files
5 # distclean: also remove all files created by configure
6 # test: run tests
7 # testclean: clean test results to force running all tests again
8 # crosstest: build tests as native windows applications (requires MinGW)
9 # install-lib: install libraries needed to run applications
10 # install-dev: install development environment
11 # install: install everything
12 # uninstall: uninstall everything
13 # depend: create the dependencies
14 # ctags: create a tags file for vim and others.
15 # etags: create a TAGS file for Emacs.
16 # manpages: compile manpages for Wine API
17 # htmlpages: compile html pages for Wine API
18 # sgmlpages: compile sgml source for the Wine API Guide
19 # xmlpages: compile xml source for the Wine API Guide
21 # Sub-directories that don't have a makefile
22 EXTRASUBDIRS = \
23 dlls \
24 libs \
25 programs
27 # Destination directories for make install
28 INSTALLDIRS = $(DESTDIR)$(bindir)
30 all: wine
31 @echo "Wine build complete."
33 WINAPI_CHECK_EXTRA_FLAGS = --global
35 @MAKE_RULES@
37 # Rules for re-running configure
39 config.status: configure
40 @./config.status --recheck
42 include/config.h: include/stamp-h
43 include/stamp-h: include/config.h.in config.status
44 @./config.status include/config.h include/stamp-h
46 # Rules for cleaning
48 .PHONY: __clean__
49 clean:: __clean__
50 $(RM) tools/makedep$(EXEEXT)
52 distclean:: clean
53 $(RM) config.* configure.lineno TAGS tags include/config.h include/stamp-h Makefile Make.tmp
54 $(RM) -r autom4te.cache
56 # Dependencies between directories
58 # dependencies needed to build any dll or program
59 __tooldeps__: libs/port libs/wine libs/wpp
60 __builddeps__: __tooldeps__ include
61 .PHONY: test crosstest __tooldeps__ __builddeps__
63 loader server: libs/port libs/wine tools
64 fonts: tools
65 include: tools/widl
66 libs/wine: libs/port
67 tools/wmc tools/wrc: tools
68 tools tools/wmc tools/wrc: libs/wine
69 tools/widl tools/wmc tools/wrc: libs/wpp
71 dlls/shell32/Makefile dlls/shell32/__depend__: dlls/shell32/AUTHORS
73 $(MAKEDEP): include/config.h tools/Makefile
74 @cd $(TOOLSDIR)/tools && $(MAKE) makedep$(TOOLSEXT)
76 # Misc rules
78 TAGS etags:
79 $(RM) TAGS
80 (test -d .git && git ls-files '*.[chly]' '*.idl' || find -L $(top_srcdir) -name '*.[ch]' -print) | xargs etags -a
82 tags ctags:
83 $(RM) tags
84 (test -d .git && git ls-files '*.[chly]' '*.idl' || find -L $(top_srcdir) -name '*.[ch]' -print) | xargs ctags -a