msxml3: Constify a character string.
[wine/wine-gecko.git] / Makefile.in
blob1a41d057cf1117add0a2acc0f88d9b4a4dcb601e
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 # Destination directories for make install
22 INSTALLDIRS = \
23 $(DESTDIR)$(bindir) \
24 $(DESTDIR)$(dlldir) \
25 $(DESTDIR)$(fakedlldir) \
26 $(DESTDIR)$(mandir)/man$(prog_manext)
28 all: wine
29 @echo "Wine build complete."
31 # Rules for re-running configure
33 config.status: $(srcdir)/configure
34 @./config.status --recheck
36 include/config.h: include/stamp-h
37 include/stamp-h: $(srcdir)/include/config.h.in config.status
38 @./config.status include/config.h include/stamp-h
40 # Rules for cleaning
42 .PHONY: clean distclean __clean__
44 clean:: __clean__
45 distclean:: clean
46 $(RM) config.* configure.lineno TAGS tags include/config.h include/stamp-h Makefile Make.tmp .gitignore
47 $(RM) -r autom4te.cache
49 # Rules for installing
51 $(INSTALLDIRS):
52 $(MKDIR_P) -m 755 $@
54 .PHONY: install install-lib install-dev uninstall __uninstall__
55 uninstall:: __uninstall__
56 -rmdir $(DESTDIR)$(datadir)/wine $(DESTDIR)$(fakedlldir) $(DESTDIR)$(dlldir)
58 # Dependencies between directories
60 # dependencies needed to build any dll or program
61 __tooldeps__: libs/port libs/wine libs/wpp
62 __builddeps__: __tooldeps__ include
63 .PHONY: depend check test testclean crosstest __tooldeps__ __builddeps__
65 loader server: libs/port libs/wine tools
66 fonts: tools
67 include: tools tools/widl
68 libs/wine: libs/port
69 tools/wmc tools/wrc: tools
70 tools tools/wmc tools/wrc: libs/wine
71 tools/widl tools/wmc tools/wrc: libs/wpp
72 libs/port libs/wine libs/wpp: include/config.h
74 # Misc rules
76 TAGSFLAGS = --langmap='c:+.idl.l.rh,make:(Make*.in)'
78 TAGS etags:
79 $(RM) TAGS
80 (test -d .git && git ls-files || find -L $(top_srcdir) -name '*.[ch]' -print) | xargs etags -a $(TAGSFLAGS)
82 tags ctags:
83 $(RM) tags
84 (test -d .git && git ls-files || find -L $(top_srcdir) -name '*.[ch]' -print) | xargs ctags -a $(TAGSFLAGS)