gdi32/tests: Align return type from SetVirtualResolution prototype with its definition.
[wine/wine-gecko.git] / Makefile.in
blob342dc9f97e9b6c717e9559049d041f54a18f53d5
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) \
33 $(DESTDIR)$(mandir)/man$(prog_manext)
35 all: wine
36 @echo "Wine build complete."
38 @MAKE_RULES@
40 # Rules for re-running configure
42 config.status: configure
43 @./config.status --recheck
45 include/config.h: include/stamp-h
46 include/stamp-h: include/config.h.in config.status
47 @./config.status include/config.h include/stamp-h
49 # Rules for cleaning
51 .PHONY: __clean__
52 clean:: __clean__
53 distclean:: clean
54 $(RM) config.* configure.lineno TAGS tags include/config.h include/stamp-h Makefile Make.tmp
55 $(RM) -r autom4te.cache
57 # Rules for uninstalling
59 .PHONY: __uninstall__
60 uninstall:: __uninstall__
61 -rmdir $(DESTDIR)$(datadir)/wine $(DESTDIR)$(fakedlldir) $(DESTDIR)$(dlldir)
63 # Dependencies between directories
65 # dependencies needed to build any dll or program
66 __tooldeps__: libs/port libs/wine libs/wpp
67 __builddeps__: __tooldeps__ include
68 .PHONY: test crosstest __tooldeps__ __builddeps__
70 loader server: libs/port libs/wine tools
71 fonts: tools
72 include: tools tools/widl
73 libs/wine: libs/port
74 tools/wmc tools/wrc: tools
75 tools tools/wmc tools/wrc: libs/wine
76 tools/widl tools/wmc tools/wrc: libs/wpp
78 # Misc rules
80 TAGSFLAGS = --langmap='c:+.idl.l.rh,make:(Make*.in)'
82 TAGS etags:
83 $(RM) TAGS
84 (test -d .git && git ls-files || find -L $(top_srcdir) -name '*.[ch]' -print) | xargs etags -a $(TAGSFLAGS)
86 tags ctags:
87 $(RM) tags
88 (test -d .git && git ls-files || find -L $(top_srcdir) -name '*.[ch]' -print) | xargs ctags -a $(TAGSFLAGS)