ntdll: Implement RtlIpv6AddressToString(Ex)[AW].
[wine.git] / Makefile.in
blob0e1f6cd6ca4dc6f76437677a325017923263919b
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 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 CROSSLDFLAGS = @CROSSLDFLAGS@
45 EXTRACFLAGS = @EXTRACFLAGS@
46 EXTRACROSSCFLAGS= @EXTRACROSSCFLAGS@
47 MSVCRTFLAGS = @MSVCRTFLAGS@
48 TARGETFLAGS = @TARGETFLAGS@
49 LDDLLFLAGS = @LDDLLFLAGS@
50 LDEXECFLAGS = @LDEXECFLAGS@
51 LIBS = @LIBS@
52 BISON = @BISON@
53 FLEX = @FLEX@
54 EXEEXT = @EXEEXT@
55 TOOLSEXT = @TOOLSEXT@
56 DLLTOOL = @DLLTOOL@
57 AR = @AR@
58 RANLIB = @RANLIB@
59 STRIP = @STRIP@
60 LN_S = @LN_S@
61 TOOLSDIR = @TOOLSDIR@
62 LD = @LD@
63 LDFLAGS = @LDFLAGS@
64 DLLFLAGS = @DLLFLAGS@
65 PRELINK = @PRELINK@
66 FONTFORGE = @FONTFORGE@
67 RSVG = @RSVG@
68 CONVERT = @CONVERT@
69 ICOTOOL = @ICOTOOL@
70 MSGFMT = @MSGFMT@
71 CROSSTARGET = @CROSSTARGET@
72 CROSSDEBUG = @CROSSDEBUG@
73 SUBDIRS = @SUBDIRS@
74 RUNTESTFLAGS = -q -P wine
75 MAKEDEP = $(TOOLSDIR)/tools/makedep$(TOOLSEXT)
76 DELAYLOADFLAG = @DELAYLOADFLAG@
77 PACKAGE_VERSION = @PACKAGE_VERSION@
78 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'
79 LDRPATH_INSTALL = @LDRPATH_INSTALL@
80 LDRPATH_LOCAL = @LDRPATH_LOCAL@
81 api_manext = 3w
82 WINELOADER_PROGRAMS = @WINELOADER_PROGRAMS@
83 WINELOADER_DEPENDS = @WINELOADER_DEPENDS@
84 WINELOADER_LDFLAGS = @WINELOADER_LDFLAGS@
85 WINEPRELOADER_LDFLAGS = @WINEPRELOADER_LDFLAGS@
86 LIBWINE_SHAREDLIB = @LIBWINE_SHAREDLIB@
87 LIBWINE_LDFLAGS = @LIBWINE_LDFLAGS@
88 LIBWINE_DEPENDS = @LIBWINE_DEPENDS@
89 DISABLED_SUBDIRS = @DISABLED_SUBDIRS@
90 CONFIGURE_TARGETS = @CONFIGURE_TARGETS@
91 TOP_INSTALL_LIB = @TOP_INSTALL_LIB@
92 TOP_INSTALL_DEV = @TOP_INSTALL_DEV@
93 @ALL_VARS_RULES@
94 @SET_MAKE@
96 all: wine
97 @echo "Wine build complete."
99 # Rules for re-running configure
101 config.status: $(srcdir)/configure
102 @./config.status --recheck
104 include/config.h: include/stamp-h
105 include/stamp-h: $(srcdir)/include/config.h.in config.status
106 @./config.status include/config.h include/stamp-h
108 # Rules for cleaning
110 distclean:: clean
111 rm -rf autom4te.cache documentation/html documentation/api-guide documentation/api-guide-xml documentation/man$(api_manext)
113 # Rules for API documentation
115 install-manpages:: manpages
116 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
118 .PHONY: install-manpages
120 # Dependencies between directories
122 # dependencies needed to build any dll or program
123 __tooldeps__: libs/wpp
124 __builddeps__: __tooldeps__ libs/wine include po
125 .PHONY: depend dummy install install-lib install-dev
127 dummy:
128 server: include
129 libs/port libs/wine libs/wpp: include/config.h
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 $(top_srcdir) -name '*.[ch]' -print) | xargs etags -a $(TAGSFLAGS)
139 tags ctags:
140 rm -f tags
141 (test -d .git && git ls-files || find -L $(top_srcdir) -name '*.[ch]' -print) | xargs ctags -a $(TAGSFLAGS)