wininet: Make sure to use return values (LLVM/Clang).
[wine.git] / Makefile.in
blob056754b6bfebf3f7452be6f974f6cc58f0ee923d
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 po \
26 programs
28 # Destination directories for make install
29 INSTALLDIRS = \
30 $(DESTDIR)$(bindir) \
31 $(DESTDIR)$(dlldir) \
32 $(DESTDIR)$(fakedlldir)
34 all: wine
35 @echo "Wine build complete."
37 WINAPI_CHECK_EXTRA_FLAGS = --global
39 @MAKE_RULES@
41 # Rules for re-running configure
43 config.status: configure
44 @./config.status --recheck
46 include/config.h: include/stamp-h
47 include/stamp-h: include/config.h.in config.status
48 @./config.status include/config.h include/stamp-h
50 # Rules for cleaning
52 .PHONY: __clean__
53 clean:: __clean__
54 distclean:: clean
55 $(RM) config.* configure.lineno TAGS tags include/config.h include/stamp-h Makefile Make.tmp
56 $(RM) -r autom4te.cache
58 # Rules for uninstalling
60 .PHONY: __uninstall__
61 uninstall:: __uninstall__
62 -rmdir $(DESTDIR)$(datadir)/wine $(DESTDIR)$(fakedlldir) $(DESTDIR)$(dlldir)
64 # Dependencies between directories
66 # dependencies needed to build any dll or program
67 __tooldeps__: libs/port libs/wine libs/wpp
68 __builddeps__: __tooldeps__ include
69 .PHONY: test crosstest __tooldeps__ __builddeps__
71 loader server: libs/port libs/wine tools
72 fonts: tools
73 include: tools tools/widl
74 libs/wine: libs/port
75 tools/wmc tools/wrc: tools
76 tools tools/wmc tools/wrc: libs/wine
77 tools/widl tools/wmc tools/wrc: libs/wpp
79 dlls/shell32/Makefile dlls/shell32/__depend__: dlls/shell32/AUTHORS
81 $(MAKEDEP): include/config.h
82 @cd $(TOOLSDIR)/tools && $(MAKE) makedep$(TOOLSEXT)
84 # Misc rules
86 TAGS etags:
87 $(RM) TAGS
88 (test -d .git && git ls-files '*.[chly]' '*.idl' || find -L $(top_srcdir) -name '*.[ch]' -print) | xargs etags -a
90 tags ctags:
91 $(RM) tags
92 (test -d .git && git ls-files '*.[chly]' '*.idl' || find -L $(top_srcdir) -name '*.[ch]' -print) | xargs ctags -a