wined3d: Introduce wined3d_mask_from_size().
[wine.git] / Makefile.in
blobd9e01a277c0f4c74d870aa543d479e8d9d70ddd5
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 ARCH = @ARCH@
36 CC = @CC@
37 CXX = @CXX@
38 CPPBIN = @CPPBIN@
39 CROSSCC = @CROSSCC@
40 CFLAGS = @CFLAGS@
41 CPPFLAGS = @CPPFLAGS@
42 CROSSCFLAGS = @CROSSCFLAGS@
43 CROSSLDFLAGS = @CROSSLDFLAGS@
44 EXTRACFLAGS = @EXTRACFLAGS@
45 EXTRACROSSCFLAGS= @EXTRACROSSCFLAGS@
46 MSVCRTFLAGS = @MSVCRTFLAGS@
47 TARGETFLAGS = @TARGETFLAGS@
48 LDDLLFLAGS = @LDDLLFLAGS@
49 LDEXECFLAGS = @LDEXECFLAGS@
50 LIBS = @LIBS@
51 BISON = @BISON@
52 FLEX = @FLEX@
53 EXEEXT = @EXEEXT@
54 TOOLSEXT = @TOOLSEXT@
55 DLLTOOL = @DLLTOOL@
56 AR = @AR@
57 RANLIB = @RANLIB@
58 STRIP = @STRIP@
59 LN_S = @LN_S@
60 TOOLSDIR = @TOOLSDIR@
61 LD = @LD@
62 LDFLAGS = @LDFLAGS@
63 DLLFLAGS = @DLLFLAGS@
64 PRELINK = @PRELINK@
65 FONTFORGE = @FONTFORGE@
66 RSVG = @RSVG@
67 CONVERT = @CONVERT@
68 ICOTOOL = @ICOTOOL@
69 MSGFMT = @MSGFMT@
70 CROSSTARGET = @CROSSTARGET@
71 CROSSDEBUG = @CROSSDEBUG@
72 SUBDIRS = @SUBDIRS@
73 RUNTESTFLAGS = -q -P wine
74 MAKEDEP = $(TOOLSDIR)/tools/makedep$(TOOLSEXT)
75 DELAYLOADFLAG = @DELAYLOADFLAG@
76 PACKAGE_VERSION = @PACKAGE_VERSION@
77 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'
78 api_manext = 3w
79 WINELOADER_PROGRAMS = @WINELOADER_PROGRAMS@
80 WINELOADER_DEPENDS = @WINELOADER_DEPENDS@
81 WINELOADER_LDFLAGS = @WINELOADER_LDFLAGS@
82 WINEPRELOADER_LDFLAGS = @WINEPRELOADER_LDFLAGS@
83 LIBWINE_SHAREDLIB = @LIBWINE_SHAREDLIB@
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 $(srcdir)/tools/install-sh -m 644 $(INSTALL_DATA_FLAGS) $$i $(DESTDIR)$(mandir)/$$i; done
115 .PHONY: install-manpages
117 # Rules for generated source files
119 dlls/ntdll/unix/version.c: dummy
120 @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)
122 programs/winetest/build.rc: dummy
123 @build="STRINGTABLE { 1 \"`GIT_DIR=$(srcdir)/.git git rev-parse HEAD 2>/dev/null`\" }" && (echo $$build | cmp -s - $@) || echo $$build >$@ || (rm -f $@ && exit 1)
125 programs/winetest/build.nfo:
126 @-$(CC) -v 2>$@
128 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
129 cd dlls/wineandroid.drv && gradle -q -Psrcdir=$(srcdir) assembleDebug
130 mv dlls/wineandroid.drv/build/outputs/apk/wine-debug.apk $@
132 # Misc rules
134 TAGSFLAGS = --langmap='c:+.idl.l.rh,make:(Make*.in)'
136 TAGS etags:
137 rm -f TAGS
138 (test -d .git && git ls-files || find -L $(srcdir) -name '*.[ch]' -print) | xargs etags -a $(TAGSFLAGS)
140 tags ctags:
141 rm -f tags
142 (test -d .git && git ls-files || find -L $(srcdir) -name '*.[ch]' -print) | xargs ctags -a $(TAGSFLAGS)