mshtml: Skip script tests on too old IE.
[wine/hacks.git] / Makefile.in
blob2697d2b3c65f743ab16ca411699d2a357628390b
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 TOPSRCDIR = @top_srcdir@
22 TOPOBJDIR = .
23 SRCDIR = @srcdir@
24 VPATH = @srcdir@
26 # Sub-directories that don't have a makefile
27 EXTRASUBDIRS = dlls libs
29 all: wine
30 @echo "Wine build complete."
32 WINAPI_CHECK_EXTRA_FLAGS = --global
34 @MAKE_RULES@
36 # Rules for re-running configure
38 $(SRCDIR)/configure: @MAINTAINER_MODE@ configure.ac aclocal.m4
39 cd $(SRCDIR) && autoconf --warnings=all
41 $(SRCDIR)/include/config.h.in: @MAINTAINER_MODE@ include/stamp-h.in
42 $(SRCDIR)/include/stamp-h.in: configure.ac aclocal.m4
43 cd $(SRCDIR) && autoheader --warnings=all
44 @echo timestamp > $@
46 config.status: configure
47 @./config.status --recheck
49 include/config.h: include/stamp-h
50 include/stamp-h: include/config.h.in config.status
51 @./config.status include/config.h include/stamp-h
53 # Rules for cleaning
55 .PHONY: __clean__
56 clean:: __clean__
57 $(RM) tools/makedep$(EXEEXT)
59 distclean:: clean
60 $(RM) config.* configure.lineno TAGS tags include/config.h include/stamp-h Makefile Make.tmp
61 $(RM) -r autom4te.cache
63 # Dependencies between directories
65 # dependencies needed to build any dll or program
66 __tooldeps__: libs/port libs/wine libs/wpp
67 __builddeps__ __buildcrossdeps__: __tooldeps__ include
68 .PHONY: test crosstest __tooldeps__ __builddeps__ __buildcrossdeps__
70 loader server: libs/port libs/wine tools
71 fonts: tools
72 include: 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 $(MAKEDEP): include/config.h tools/Makefile
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 $(TOPSRCDIR) -name '*.[ch]' -print) | xargs etags -a
87 tags ctags:
88 $(RM) tags
89 (test -d .git && git ls-files '*.[chly]' '*.idl' || find -L $(TOPSRCDIR) -name '*.[ch]' -print) | xargs ctags -a