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
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
23 exec_prefix = @
exec_prefix@
26 datarootdir
= @datarootdir@
29 includedir = @
includedir@
30 fontdir
= ${datadir}/wine
/fonts
31 dlldir
= ${libdir}/wine
32 top_srcdir
= @top_srcdir@
33 top_builddir
= @top_builddir@
42 CROSSCFLAGS
= @CROSSCFLAGS@
43 CROSSLDFLAGS
= @CROSSLDFLAGS@
44 EXTRACFLAGS
= @EXTRACFLAGS@
45 EXTRACROSSCFLAGS
= @EXTRACROSSCFLAGS@
46 MSVCRTFLAGS
= @MSVCRTFLAGS@
47 TARGETFLAGS
= @TARGETFLAGS@
48 LDDLLFLAGS
= @LDDLLFLAGS@
49 LDEXECFLAGS
= @LDEXECFLAGS@
65 FONTFORGE
= @FONTFORGE@
70 CROSSTARGET
= @CROSSTARGET@
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,@srcdir\@,${srcdir},g' -e
's,@PACKAGE_STRING\@,@PACKAGE_STRING@,g' -e
's,@PACKAGE_VERSION\@,@PACKAGE_VERSION@,g'
77 LDRPATH_INSTALL
= @LDRPATH_INSTALL@
78 LDRPATH_LOCAL
= @LDRPATH_LOCAL@
80 WINELOADER_PROGRAMS
= @WINELOADER_PROGRAMS@
81 WINELOADER_DEPENDS
= @WINELOADER_DEPENDS@
82 WINELOADER_LDFLAGS
= @WINELOADER_LDFLAGS@
83 WINEPRELOADER_LDFLAGS
= @WINEPRELOADER_LDFLAGS@
84 LIBWINE_SHAREDLIB
= @LIBWINE_SHAREDLIB@
85 LIBWINE_LDFLAGS
= @LIBWINE_LDFLAGS@
86 LIBWINE_DEPENDS
= @LIBWINE_DEPENDS@
87 DISABLED_SUBDIRS
= @DISABLED_SUBDIRS@
88 CONFIGURE_TARGETS
= @CONFIGURE_TARGETS@
89 TOP_INSTALL_LIB
= @TOP_INSTALL_LIB@
90 TOP_INSTALL_DEV
= @TOP_INSTALL_DEV@
95 @echo
"Wine build complete."
97 # Rules for re-running configure
99 config.status
: $(srcdir)/configure
100 @.
/config.status
--recheck
102 include/config.h
: include/stamp-h
103 include/stamp-h
: $(srcdir)/include/config.h.in config.status
104 @.
/config.status
include/config.h
include/stamp-h
109 rm -rf autom4te.cache documentation
/html documentation
/api-guide documentation
/api-guide-xml documentation
/man
$(api_manext
)
111 # Rules for API documentation
113 install-manpages
:: manpages
114 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
116 .PHONY
: install-manpages
118 # Dependencies between directories
120 # dependencies needed to build any dll or program
121 __tooldeps__
: libs
/wpp
122 __builddeps__
: __tooldeps__ libs
/wine
include po
123 .PHONY
: depend dummy
install install-lib install-dev
127 libs
/port libs
/wine libs
/wpp
: include/config.h
131 TAGSFLAGS
= --langmap
='c:+.idl.l.rh,make:(Make*.in)'
135 (test -d .git
&& git ls-files || find
-L
$(top_srcdir
) -name
'*.[ch]' -print) | xargs etags
-a
$(TAGSFLAGS
)
139 (test -d .git
&& git ls-files || find
-L
$(top_srcdir
) -name
'*.[ch]' -print) | xargs ctags
-a
$(TAGSFLAGS
)