gdiplus: Fix use of uninitialized memory.
[wine/multimedia.git] / Makefile.in
blobae438b2fc2a734e0b27ba0d47a33f53b4c4770fe
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 = $(DESTDIR)$(bindir) $(DESTDIR)$(dlldir)
31 all: wine
32 @echo "Wine build complete."
34 WINAPI_CHECK_EXTRA_FLAGS = --global
36 @MAKE_RULES@
38 # Rules for re-running configure
40 config.status: configure
41 @./config.status --recheck
43 include/config.h: include/stamp-h
44 include/stamp-h: include/config.h.in config.status
45 @./config.status include/config.h include/stamp-h
47 # Rules for cleaning
49 .PHONY: __clean__
50 clean:: __clean__
51 distclean:: clean
52 $(RM) config.* configure.lineno TAGS tags include/config.h include/stamp-h Makefile Make.tmp
53 $(RM) -r autom4te.cache
55 # Rules for uninstalling
57 .PHONY: __uninstall__
58 uninstall:: __uninstall__
59 -rmdir $(DESTDIR)$(datadir)/wine $(DESTDIR)$(fakedlldir) $(DESTDIR)$(dlldir)
61 # Dependencies between directories
63 # dependencies needed to build any dll or program
64 __tooldeps__: libs/port libs/wine libs/wpp
65 __builddeps__: __tooldeps__ include
66 .PHONY: test crosstest __tooldeps__ __builddeps__
68 loader server: libs/port libs/wine tools
69 fonts: tools
70 include: tools tools/widl
71 libs/wine: libs/port
72 tools/wmc tools/wrc: tools
73 tools tools/wmc tools/wrc: libs/wine
74 tools/widl tools/wmc tools/wrc: libs/wpp
76 dlls/shell32/Makefile dlls/shell32/__depend__: dlls/shell32/AUTHORS
78 $(MAKEDEP): include/config.h
79 @cd $(TOOLSDIR)/tools && $(MAKE) makedep$(TOOLSEXT)
81 # Misc rules
83 TAGS etags:
84 $(RM) TAGS
85 (test -d .git && git ls-files '*.[chly]' '*.idl' || find -L $(top_srcdir) -name '*.[ch]' -print) | xargs etags -a
87 tags ctags:
88 $(RM) tags
89 (test -d .git && git ls-files '*.[chly]' '*.idl' || find -L $(top_srcdir) -name '*.[ch]' -print) | xargs ctags -a