kernel32/tests: Test partially overlapping buffers for MultiByteToWideChar.
[wine.git] / Makefile.in
blob4990b04051cf8fda64c144952d9c78835bfdbb6f
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 # The following variable definitions are copied into all makefiles
23 prefix = @prefix@
24 exec_prefix = @exec_prefix@
25 bindir = @bindir@
26 libdir = @libdir@
27 datarootdir = @datarootdir@
28 datadir = @datadir@
29 mandir = @mandir@
30 includedir = @includedir@
31 fontdir = ${datadir}/wine/fonts
32 dlldir = ${libdir}/wine
33 top_srcdir = @top_srcdir@
34 top_builddir = @top_builddir@
35 srcdir = @srcdir@
36 SHELL = /bin/sh
37 CC = @CC@
38 CXX = @CXX@
39 CPPBIN = @CPPBIN@
40 CROSSCC = @CROSSCC@
41 CFLAGS = @CFLAGS@
42 CPPFLAGS = @CPPFLAGS@
43 CROSSCFLAGS = @CROSSCFLAGS@
44 EXTRACFLAGS = @EXTRACFLAGS@
45 MSVCRTFLAGS = @BUILTINFLAG@
46 TARGETFLAGS = @TARGETFLAGS@
47 UNWINDFLAGS = @UNWINDFLAGS@
48 LDEXECFLAGS = @LDEXECFLAGS@
49 LIBS = @LIBS@
50 BISON = @BISON@
51 FLEX = @FLEX@
52 EXEEXT = @EXEEXT@
53 TOOLSEXT = @TOOLSEXT@
54 DLLTOOL = @DLLTOOL@
55 AR = @AR@
56 RANLIB = @RANLIB@
57 STRIP = @STRIP@
58 LN_S = @LN_S@
59 TOOLSDIR = @TOOLSDIR@
60 LD = @LD@
61 LDFLAGS = @LDFLAGS@
62 DLLFLAGS = @DLLFLAGS@
63 PRELINK = @PRELINK@
64 FONTFORGE = @FONTFORGE@
65 RSVG = @RSVG@
66 CONVERT = @CONVERT@
67 ICOTOOL = @ICOTOOL@
68 MSGFMT = @MSGFMT@
69 CROSSTARGET = @CROSSTARGET@
70 SUBDIRS = @SUBDIRS@
71 RUNTESTFLAGS = -q -P wine
72 MAKEDEP = $(TOOLSDIR)/tools/makedep$(TOOLSEXT)
73 PACKAGE_VERSION = @PACKAGE_VERSION@
74 SED_CMD = LC_ALL=C sed -e 's,@bindir\@,${bindir},g' -e 's,@dlldir\@,${dlldir},g' -e 's,@srcdir\@,${srcdir},g' -e 's,@PACKAGE_STRING\@,@PACKAGE_STRING@,g' -e 's,@PACKAGE_VERSION\@,@PACKAGE_VERSION@,g'
75 LDRPATH_INSTALL = @LDRPATH_INSTALL@
76 LDRPATH_LOCAL = @LDRPATH_LOCAL@
77 api_manext = 3w
78 WINELOADER_PROGRAMS = @WINELOADER_PROGRAMS@
79 WINELOADER_DEPENDS = @WINELOADER_DEPENDS@
80 WINELOADER_LDFLAGS = @WINELOADER_LDFLAGS@
81 WINEPRELOADER_LDFLAGS = @WINEPRELOADER_LDFLAGS@
82 LIBWINE_SHAREDLIB = @LIBWINE_SHAREDLIB@
83 LIBWINE_IMPORTLIB = @LIBWINE_IMPORTLIB@
84 LIBWINE_LDFLAGS = @LIBWINE_LDFLAGS@
85 LIBWINE_DEPENDS = @LIBWINE_DEPENDS@
86 DISABLED_SUBDIRS = @DISABLED_SUBDIRS@
87 CONFIGURE_TARGETS = @CONFIGURE_TARGETS@
88 TOP_INSTALL_LIB = @TOP_INSTALL_LIB@
89 TOP_INSTALL_DEV = @TOP_INSTALL_DEV@
90 @ALL_VARS_RULES@
91 @SET_MAKE@
93 all: wine
94 @echo "Wine build complete."
96 # Rules for re-running configure
98 config.status: $(srcdir)/configure
99 @./config.status --recheck
101 include/config.h: include/stamp-h
102 include/stamp-h: $(srcdir)/include/config.h.in config.status
103 @./config.status include/config.h include/stamp-h
105 # Rules for cleaning
107 distclean:: clean
108 rm -rf autom4te.cache documentation/html documentation/api-guide documentation/api-guide-xml documentation/man$(api_manext)
110 # Rules for API documentation
112 install-manpages:: manpages
113 for i in documentation/man$(api_manext)/*.$(api_manext); do $(top_srcdir)/tools/install-sh -m 644 $(INSTALL_DATA_FLAGS) $$i $(DESTDIR)$(mandir)/$$i; done
115 .PHONY: install-manpages
117 # Dependencies between directories
119 # dependencies needed to build any dll or program
120 __tooldeps__: libs/wpp
121 __builddeps__: __tooldeps__ libs/wine include po
122 .PHONY: depend dummy install install-lib install-dev
124 dummy:
125 server: include
126 libs/port libs/wine libs/wpp: include/config.h
128 # Misc rules
130 TAGSFLAGS = --langmap='c:+.idl.l.rh,make:(Make*.in)'
132 TAGS etags:
133 rm -f TAGS
134 (test -d .git && git ls-files || find -L $(top_srcdir) -name '*.[ch]' -print) | xargs etags -a $(TAGSFLAGS)
136 tags ctags:
137 rm -f tags
138 (test -d .git && git ls-files || find -L $(top_srcdir) -name '*.[ch]' -print) | xargs ctags -a $(TAGSFLAGS)