d3drm: Beginning of Mesh info retrieval.
[wine/multimedia.git] / Makefile.in
blob08349b3269821013309a8c03f1836ce2108d7ab4
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 # Directories
23 TOPSRCDIR = @top_srcdir@
24 TOPOBJDIR = .
25 SRCDIR = @srcdir@
26 VPATH = @srcdir@
27 LIBEXT = @LIBEXT@
28 MODULE = none
30 # Sub-directories to run make depend/clean into
31 SUBDIRS = \
32 dlls \
33 documentation \
34 fonts \
35 include \
36 libs \
37 loader \
38 programs \
39 server \
40 tools
42 # Sub-directories to run make install/uninstall into
43 INSTALLSUBDIRS = @ALL_TOP_DIRS@
45 # Sub-directories to run make test into
46 TESTSUBDIRS = dlls
48 all: wine
49 @echo "Wine build complete."
51 WINAPI_CHECK_EXTRA_FLAGS = --global
53 @MAKE_RULES@
55 $(SRCDIR)/configure: @MAINTAINER_MODE@ configure.ac aclocal.m4
56 cd $(SRCDIR) && autoconf --warnings=all
58 $(SRCDIR)/include/config.h.in: @MAINTAINER_MODE@ include/stamp-h.in
59 $(SRCDIR)/include/stamp-h.in: configure.ac aclocal.m4
60 cd $(SRCDIR) && autoheader --warnings=all
61 @echo timestamp > $@
63 config.status: configure
64 @./config.status --recheck
66 include/config.h: include/stamp-h
67 include/stamp-h: include/config.h.in config.status
68 @./config.status include/config.h include/stamp-h
70 # Installation rules
72 uninstall::
73 -rmdir $(DESTDIR)$(datadir)/wine
75 # Dependencies between directories
77 all: $(INSTALLSUBDIRS)
78 dlls: include libs tools
79 fonts loader server: libs tools
80 programs: dlls include libs tools
81 include: libs tools
82 tools: libs
84 dlls/__install__ dlls/__install-lib__ dlls/__install-dev__: libs tools include
85 fonts/__install__ fonts/__install-lib__: libs tools
86 include/__install__ include/__install-dev__: include libs tools
87 libs/__install__ libs/__install-lib__ libs/__install-dev__: libs
88 loader/__install__ loader/__install-lib__: libs tools
89 server/__install__ server/__install-lib__: libs tools
90 programs/__install__: libs tools include dlls/__install__
91 programs/__install-lib__: libs tools include dlls/__install-lib__
92 tools/__install__ tools/__install-lib__ tools/__install-dev__: tools
94 RECURSE_TARGETS = \
95 $(SUBDIRS) \
96 $(SUBDIRS:%=%/__clean__) \
97 $(SUBDIRS:%=%/__depend__) \
98 $(SUBDIRS:%=%/__install-dev__) \
99 $(SUBDIRS:%=%/__install-lib__) \
100 $(SUBDIRS:%=%/__install__) \
101 $(SUBDIRS:%=%/__uninstall__) \
102 $(TESTSUBDIRS:%=%/__crosstest__) \
103 $(TESTSUBDIRS:%=%/__test__) \
104 $(TESTSUBDIRS:%=%/__testclean__)
106 depend $(RECURSE_TARGETS): $(MAKEDEP)
108 $(MAKEDEP): include/config.h
109 @cd $(TOOLSDIR)/tools && $(MAKE) makedep$(TOOLSEXT)
111 # Test rules
113 $(TESTSUBDIRS:%=%/__test__): wine
114 $(TESTSUBDIRS:%=%/__crosstest__): tools include
116 # Misc rules
118 TAGS etags:
119 $(RM) TAGS
120 (test -d .git && git ls-files '*.[chly]' '*.idl' || find -L $(TOPSRCDIR) -name '*.[ch]' -print) | xargs etags -a
122 tags ctags:
123 $(RM) tags
124 (test -d .git && git ls-files '*.[chly]' '*.idl' || find -L $(TOPSRCDIR) -name '*.[ch]' -print) | xargs ctags -a
126 manpages htmlpages sgmlpages xmlpages: dummy
127 @cd documentation && $(MAKE) $@
129 distclean:: clean
130 $(RM) config.* configure.lineno TAGS tags include/config.h include/stamp-h
131 $(RM) -r autom4te.cache
133 .PHONY: manpages htmlpages sgmlpages xmlpages distclean
135 # Makefile rules
137 ALL_MAKEFILES = @ALL_MAKEFILES@
138 ALL_CONFIGS = Makefile $(ALL_MAKEFILES) @ALL_MAKERULES@ @ALL_SYMLINKS@
140 $(ALL_CONFIGS):
141 @./config.status $@
142 .INIT: Makefile
143 .BEGIN: Makefile
144 .MAKEFILEDEPS:
146 $(RECURSE_TARGETS) $(MAKEDEP): $(ALL_MAKEFILES)
148 distclean::
149 $(RM) $(ALL_CONFIGS)
151 @ALL_MAKEFILE_DEPENDS@