wined3d: Introduce wined3d_device_get_immediate_context().
[wine.git] / Makefile.in
blobb52495f741f80069d6b6a62b762625c80c6e19db
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 # install-lib: install libraries needed to run applications
9 # install-dev: install development environment
10 # install: install everything
11 # uninstall: uninstall everything
12 # depend: create the dependencies
13 # ctags: create a tags file for vim and others.
14 # etags: create a TAGS file for Emacs.
15 # manpages: compile manpages for Wine API
16 # htmlpages: compile html pages for Wine API
17 # sgmlpages: compile sgml source for the Wine API Guide
18 # xmlpages: compile xml source for the Wine API Guide
20 # The following variable definitions are copied into all makefiles
22 prefix = @prefix@
23 exec_prefix = @exec_prefix@
24 bindir = @bindir@
25 libdir = @libdir@
26 datarootdir = @datarootdir@
27 datadir = @datadir@
28 mandir = @mandir@
29 includedir = @includedir@
30 fontdir = ${datadir}/wine/fonts
31 nlsdir = ${datadir}/wine/nls
32 dlldir = ${libdir}/wine
33 srcdir = @srcdir@
34 SHELL = /bin/sh
35 CC = @CC@
36 CXX = @CXX@
37 CPPBIN = @CPPBIN@
38 CROSSCC = @CROSSCC@
39 CFLAGS = @CFLAGS@
40 CPPFLAGS = @CPPFLAGS@
41 CROSSCFLAGS = @CROSSCFLAGS@
42 CROSSLDFLAGS = @CROSSLDFLAGS@
43 EXTRACFLAGS = @EXTRACFLAGS@
44 EXTRACROSSCFLAGS= @EXTRACROSSCFLAGS@
45 MSVCRTFLAGS = @MSVCRTFLAGS@
46 TARGETFLAGS = @TARGETFLAGS@
47 LDDLLFLAGS = @LDDLLFLAGS@
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 CROSSDEBUG = @CROSSDEBUG@
71 SUBDIRS = @SUBDIRS@
72 RUNTESTFLAGS = -q -P wine
73 MAKEDEP = $(TOOLSDIR)/tools/makedep$(TOOLSEXT)
74 DELAYLOADFLAG = @DELAYLOADFLAG@
75 PACKAGE_VERSION = @PACKAGE_VERSION@
76 SED_CMD = LC_ALL=C sed -e 's,@bindir\@,${bindir},g' -e 's,@dlldir\@,${dlldir},g' -e 's,@PACKAGE_STRING\@,@PACKAGE_STRING@,g' -e 's,@PACKAGE_VERSION\@,@PACKAGE_VERSION@,g'
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_LDFLAGS = @LIBWINE_LDFLAGS@
84 LIBWINE_DEPENDS = @LIBWINE_DEPENDS@
85 DISABLED_SUBDIRS = @DISABLED_SUBDIRS@
86 CONFIGURE_TARGETS = @CONFIGURE_TARGETS@
87 TOP_INSTALL_LIB = @TOP_INSTALL_LIB@
88 TOP_INSTALL_DEV = @TOP_INSTALL_DEV@
89 @ALL_VARS_RULES@
90 @SET_MAKE@
92 all: wine
93 @echo "Wine build complete."
95 # Rules for re-running configure
97 config.status: $(srcdir)/configure
98 @./config.status --recheck
100 include/config.h: include/stamp-h
101 include/stamp-h: $(srcdir)/include/config.h.in config.status
102 @./config.status include/config.h include/stamp-h
104 # Rules for cleaning
106 distclean:: clean
107 rm -rf autom4te.cache documentation/html documentation/api-guide documentation/api-guide-xml documentation/man$(api_manext)
109 # Rules for API documentation
111 install-manpages:: manpages
112 for i in documentation/man$(api_manext)/*.$(api_manext); do $(srcdir)/tools/install-sh -m 644 $(INSTALL_DATA_FLAGS) $$i $(DESTDIR)$(mandir)/$$i; done
114 .PHONY: install-manpages
116 # Rules for generated source files
118 dlls/ntdll/unix/version.c: dummy
119 @version=`(GIT_DIR=$(srcdir)/.git git describe HEAD 2>/dev/null || echo "wine-$(PACKAGE_VERSION)") | sed -n -e '$$s/\(.*\)/const char wine_build[] = "\1";/p'` && (echo $$version | cmp -s - $@) || echo $$version >$@ || ($(RM) $@ && exit 1)
121 programs/winetest/build.rc: dummy
122 @build="STRINGTABLE { 1 \"`GIT_DIR=$(srcdir)/.git git rev-parse HEAD 2>/dev/null`\" }" && (echo $$build | cmp -s - $@) || echo $$build >$@ || (rm -f $@ && exit 1)
124 programs/winetest/build.nfo:
125 @-$(CC) -v 2>$@
127 dlls/wineandroid.drv/wine-debug.apk: dlls/wineandroid.drv/build.gradle $(srcdir)/dlls/wineandroid.drv/AndroidManifest.xml $(srcdir)/dlls/wineandroid.drv/WineActivity.java $(srcdir)/dlls/wineandroid.drv/wine.svg
128 cd dlls/wineandroid.drv && gradle -q -Psrcdir=$(srcdir) assembleDebug
129 mv dlls/wineandroid.drv/build/outputs/apk/wine-debug.apk $@
131 # Misc rules
133 TAGSFLAGS = --langmap='c:+.idl.l.rh,make:(Make*.in)'
135 TAGS etags:
136 rm -f TAGS
137 (test -d .git && git ls-files || find -L $(srcdir) -name '*.[ch]' -print) | xargs etags -a $(TAGSFLAGS)
139 tags ctags:
140 rm -f tags
141 (test -d .git && git ls-files || find -L $(srcdir) -name '*.[ch]' -print) | xargs ctags -a $(TAGSFLAGS)