widl: Use for_each_iface in process_tfs.
[wine.git] / Makefile.in
blobc1242afc0166508024234e9beb4f487e33eef993
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 wine64_disable = @wine64_disable@
37 SHELL = /bin/sh
38 RM = rm -f
39 MV = mv
40 CC = @CC@
41 CXX = @CXX@
42 CPPBIN = @CPPBIN@
43 CROSSCC = @CROSSCC@
44 CFLAGS = @CFLAGS@
45 CPPFLAGS = @CPPFLAGS@
46 CROSSCFLAGS = @CROSSCFLAGS@
47 EXTRACFLAGS = @EXTRACFLAGS@
48 MSVCRTFLAGS = @BUILTINFLAG@
49 TARGETFLAGS = @TARGETFLAGS@
50 UNWINDFLAGS = @UNWINDFLAGS@
51 LDEXECFLAGS = @LDEXECFLAGS@
52 WIDLFLAGS = @WIDLFLAGS@
53 LIBS = @LIBS@
54 BISON = @BISON@
55 FLEX = @FLEX@
56 EXEEXT = @EXEEXT@
57 TOOLSEXT = @TOOLSEXT@
58 DLLTOOL = @DLLTOOL@
59 AR = @AR@
60 ARFLAGS = @ARFLAGS@
61 RANLIB = @RANLIB@
62 STRIP = @STRIP@
63 LN_S = @LN_S@
64 TOOLSDIR = @TOOLSDIR@
65 LD = @LD@
66 LDFLAGS = @LDFLAGS@
67 DLLFLAGS = @DLLFLAGS@
68 PRELINK = @PRELINK@
69 FONTFORGE = @FONTFORGE@
70 RSVG = @RSVG@
71 CONVERT = @CONVERT@
72 ICOTOOL = @ICOTOOL@
73 MSGFMT = @MSGFMT@
74 CROSSTARGET = @CROSSTARGET@
75 SUBDIRS = @SUBDIRS@
76 RUNTESTFLAGS = -q -P wine
77 MAKEDEP = $(TOOLSDIR)/tools/makedep$(TOOLSEXT)
78 WRC = $(TOOLSDIR)/tools/wrc/wrc$(TOOLSEXT)
79 PACKAGE_VERSION = @PACKAGE_VERSION@
80 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'
81 LDRPATH_INSTALL = @LDRPATH_INSTALL@
82 LDRPATH_LOCAL = @LDRPATH_LOCAL@
83 INSTALL_PROGRAM = STRIPPROG="$(STRIP)" $(top_srcdir)/tools/install-sh $(INSTALL_PROGRAM_FLAGS)
84 INSTALL_SCRIPT = $(top_srcdir)/tools/install-sh $(INSTALL_SCRIPT_FLAGS)
85 INSTALL_DATA = $(top_srcdir)/tools/install-sh -m 644 $(INSTALL_DATA_FLAGS)
86 prog_manext = 1
87 api_manext = 3w
88 conf_manext = 5
89 WINELOADER_PROGRAMS = @WINELOADER_PROGRAMS@
90 WINELOADER_DEPENDS = @WINELOADER_DEPENDS@
91 WINELOADER_INSTALL = @WINELOADER_INSTALL@
92 WINELOADER_LDFLAGS = @WINELOADER_LDFLAGS@
93 LIBWINE_SHAREDLIB = @LIBWINE_SHAREDLIB@
94 LIBWINE_IMPORTLIB = @LIBWINE_IMPORTLIB@
95 LIBWINE_INSTALL_LIB = @LIBWINE_INSTALL_LIB@
96 LIBWINE_INSTALL_DEV = @LIBWINE_INSTALL_DEV@
97 LIBWINE_LDFLAGS = @LIBWINE_LDFLAGS@
98 LIBWINE_DEPENDS = @LIBWINE_DEPENDS@
99 DISABLED_SUBDIRS = @DISABLED_SUBDIRS@
100 CONFIGURE_TARGETS = @CONFIGURE_TARGETS@
101 @ALL_VARS_RULES@
102 @SET_MAKE@
104 all: wine
105 @echo "Wine build complete."
107 # Rules for re-running configure
109 config.status: $(srcdir)/configure
110 @./config.status --recheck
112 include/config.h: include/stamp-h
113 include/stamp-h: $(srcdir)/include/config.h.in config.status
114 @./config.status include/config.h include/stamp-h
116 # Rules for cleaning
118 distclean:: clean
119 $(RM) -r autom4te.cache documentation/html documentation/api-guide documentation/api-guide-xml documentation/man$(api_manext)
121 # Rules for API documentation
123 install-manpages:: manpages
124 for i in documentation/man$(api_manext)/*.$(api_manext); do $(INSTALL_DATA) $$i $(DESTDIR)$(mandir)/$$i; done
126 .PHONY: install-manpages
128 # Dependencies between directories
130 # dependencies needed to build any dll or program
131 __tooldeps__: libs/wpp
132 __builddeps__: __tooldeps__ libs/wine include po
133 .PHONY: depend dummy install install-lib install-dev
135 dummy:
136 server: include
137 libs/port libs/wine libs/wpp: include/config.h
139 # Misc rules
141 TAGSFLAGS = --langmap='c:+.idl.l.rh,make:(Make*.in)'
143 TAGS etags:
144 $(RM) TAGS
145 (test -d .git && git ls-files || find -L $(top_srcdir) -name '*.[ch]' -print) | xargs etags -a $(TAGSFLAGS)
147 tags ctags:
148 $(RM) tags
149 (test -d .git && git ls-files || find -L $(top_srcdir) -name '*.[ch]' -print) | xargs ctags -a $(TAGSFLAGS)