gphoto2.ds: Convert the German resources to UTF-8.
[wine/multimedia.git] / Makefile.in
blob7c1eb50663be3e04f9acbd6b24f3d5e98404d398
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
29 PROGRAMS = wine
31 # Sub-directories to run make depend/clean into
32 SUBDIRS = \
33 dlls \
34 documentation \
35 fonts \
36 include \
37 libs \
38 loader \
39 programs \
40 server \
41 tools
43 # Sub-directories to run make install/uninstall into
44 INSTALLSUBDIRS = @ALL_TOP_DIRS@
46 # Sub-directories to run make test into
47 TESTSUBDIRS = dlls
49 all: Make.rules $(PROGRAMS)
50 @echo "Wine build complete."
52 WINAPI_CHECK_EXTRA_FLAGS = --global
54 INSTALLDIRS = $(DESTDIR)$(datadir)/aclocal
56 @MAKE_RULES@
58 $(SRCDIR)/configure: @MAINTAINER_MODE@ configure.ac aclocal.m4
59 cd $(SRCDIR) && autoconf --warnings=all
61 $(SRCDIR)/include/config.h.in: @MAINTAINER_MODE@ include/stamp-h.in
62 $(SRCDIR)/include/stamp-h.in: configure.ac aclocal.m4
63 cd $(SRCDIR) && autoheader --warnings=all
64 @echo timestamp > $@
66 config.status: configure
67 @./config.status --recheck
69 include/config.h: include/stamp-h
70 include/stamp-h: include/config.h.in config.status
71 @./config.status include/config.h include/stamp-h
73 wine: $(WINEWRAPPER)
74 $(RM) $@ && $(LN_S) $(WINEWRAPPER) $@
76 # Installation rules
78 install install-dev:: $(DESTDIR)$(datadir)/aclocal dummy
79 $(INSTALL_DATA) $(SRCDIR)/aclocal.m4 $(DESTDIR)$(datadir)/aclocal/wine.m4
81 uninstall::
82 $(RM) $(DESTDIR)$(datadir)/aclocal/wine.m4
83 -rmdir $(DESTDIR)$(datadir)/wine $(DESTDIR)$(datadir)/aclocal
85 # Dependencies between directories
87 all: $(INSTALLSUBDIRS)
88 dlls: include libs tools
89 fonts loader server: libs tools
90 programs: dlls include libs tools
91 include: libs tools
92 tools: libs
94 dlls/__install__ dlls/__install-lib__ dlls/__install-dev__: libs tools include
95 fonts/__install__ fonts/__install-lib__: libs tools
96 include/__install__ include/__install-dev__: include libs tools
97 libs/__install__ libs/__install-lib__ libs/__install-dev__: libs
98 loader/__install__ loader/__install-lib__: libs tools
99 server/__install__ server/__install-lib__: libs tools
100 programs/__install__: libs tools include dlls/__install__
101 programs/__install-lib__: libs tools include dlls/__install-lib__
102 tools/__install__ tools/__install-lib__ tools/__install-dev__: tools
104 RECURSE_TARGETS = \
105 $(SUBDIRS) \
106 $(SUBDIRS:%=%/__clean__) \
107 $(SUBDIRS:%=%/__depend__) \
108 $(SUBDIRS:%=%/__install-dev__) \
109 $(SUBDIRS:%=%/__install-lib__) \
110 $(SUBDIRS:%=%/__install__) \
111 $(SUBDIRS:%=%/__uninstall__) \
112 $(TESTSUBDIRS:%=%/__crosstest__) \
113 $(TESTSUBDIRS:%=%/__test__) \
114 $(TESTSUBDIRS:%=%/__testclean__)
116 depend $(RECURSE_TARGETS): $(MAKEDEP)
118 $(MAKEDEP): include/config.h
119 @cd $(TOOLSDIR)/tools && $(MAKE) makedep
121 # Test rules
123 $(TESTSUBDIRS:%=%/__test__): wine
124 $(TESTSUBDIRS:%=%/__crosstest__): tools include
126 # Misc rules
128 TAGS etags:
129 $(RM) TAGS
130 (test -d .git && git ls-files '*.[chly]' '*.idl' || find -L $(TOPSRCDIR) -name '*.[ch]' -print) | xargs etags -a
132 tags ctags:
133 $(RM) tags
134 (test -d .git && git ls-files '*.[chly]' '*.idl' || find -L $(TOPSRCDIR) -name '*.[ch]' -print) | xargs ctags -a
136 manpages htmlpages sgmlpages xmlpages: dummy
137 @cd documentation && $(MAKE) $@
139 distclean:: clean
140 $(RM) config.* configure.lineno TAGS tags include/config.h include/stamp-h
141 $(RM) -r autom4te.cache
143 .PHONY: manpages htmlpages sgmlpages xmlpages distclean
145 # Makefile rules
147 ALL_MAKERULES = @ALL_MAKERULES@
148 ALL_MAKEFILES = @ALL_MAKEFILES@
150 Makefile $(ALL_MAKERULES) $(ALL_MAKEFILES): config.status
151 @./config.status $@
152 .INIT: Makefile
153 .BEGIN: Makefile
154 .MAKEFILEDEPS:
156 $(RECURSE_TARGETS) $(MAKEDEP): $(ALL_MAKEFILES)
158 distclean::
159 $(RM) Makefile $(ALL_MAKERULES) $(ALL_MAKEFILES)
161 @ALL_MAKEFILE_DEPENDS@