scrrun/tests: Use case insensitive compare for filenames.
[wine.git] / Makefile.in
blob5b658a2ffa822031141993ad379fef0213ddec72
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 fontdir = ${datadir}/wine/fonts
31 includedir = @includedir@/wine
32 dlldir = @dlldir@
33 fakedlldir = ${dlldir}/fakedlls
34 top_srcdir = @top_srcdir@
35 top_builddir = @top_builddir@
36 srcdir = @srcdir@
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 EXTRACFLAGS = @EXTRACFLAGS@
47 MSVCRTFLAGS = @BUILTINFLAG@
48 TARGETFLAGS = @TARGETFLAGS@
49 UNWINDFLAGS = @UNWINDFLAGS@
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 ARFLAGS = @ARFLAGS@
59 RANLIB = @RANLIB@
60 STRIP = @STRIP@
61 LN_S = @LN_S@
62 TOOLSDIR = @TOOLSDIR@
63 LD = @LD@
64 LDFLAGS = @LDFLAGS@
65 DLLFLAGS = @DLLFLAGS@
66 PRELINK = @PRELINK@
67 FONTFORGE = @FONTFORGE@
68 RSVG = @RSVG@
69 CONVERT = @CONVERT@
70 ICOTOOL = @ICOTOOL@
71 MSGFMT = @MSGFMT@
72 CROSSTARGET = @CROSSTARGET@
73 SUBDIRS = @SUBDIRS@
74 RUNTESTFLAGS = -q -P wine
75 MAKEDEP = $(TOOLSDIR)/tools/makedep$(TOOLSEXT)
76 WINEBUILD = $(TOOLSDIR)/tools/winebuild/winebuild$(TOOLSEXT)
77 WRC = $(TOOLSDIR)/tools/wrc/wrc$(TOOLSEXT)
78 PACKAGE_VERSION = @PACKAGE_VERSION@
79 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'
80 LDRPATH_INSTALL = @LDRPATH_INSTALL@
81 LDRPATH_LOCAL = @LDRPATH_LOCAL@
82 INSTALL_PROGRAM = STRIPPROG="$(STRIP)" $(top_srcdir)/tools/install-sh $(INSTALL_PROGRAM_FLAGS)
83 INSTALL_SCRIPT = $(top_srcdir)/tools/install-sh $(INSTALL_SCRIPT_FLAGS)
84 INSTALL_DATA = $(top_srcdir)/tools/install-sh -m 644 $(INSTALL_DATA_FLAGS)
85 prog_manext = 1
86 api_manext = 3w
87 conf_manext = 5
88 WINELOADER_PROGRAMS = @WINELOADER_PROGRAMS@
89 WINELOADER_DEPENDS = @WINELOADER_DEPENDS@
90 WINELOADER_INSTALL = @WINELOADER_INSTALL@
91 LIBWINE_SHAREDLIB = @LIBWINE_SHAREDLIB@
92 LIBWINE_IMPORTLIB = @LIBWINE_IMPORTLIB@
93 LIBWINE_INSTALL_LIB = @LIBWINE_INSTALL_LIB@
94 LIBWINE_INSTALL_DEV = @LIBWINE_INSTALL_DEV@
95 LIBWINE_LDFLAGS = @LIBWINE_LDFLAGS@
96 LIBWINE_DEPENDS = @LIBWINE_DEPENDS@
97 ALL_TEST_RESOURCES = @ALL_TEST_RESOURCES@
98 DISABLED_SUBDIRS = @DISABLED_SUBDIRS@
99 CONFIGURE_TARGETS = @CONFIGURE_TARGETS@
100 @ALL_VARS_RULES@
101 @SET_MAKE@
103 all: wine
104 @echo "Wine build complete."
106 # Rules for re-running configure
108 config.status: $(srcdir)/configure
109 @./config.status --recheck
111 include/config.h: include/stamp-h
112 include/stamp-h: $(srcdir)/include/config.h.in config.status
113 @./config.status include/config.h include/stamp-h
115 # Rules for cleaning
117 .PHONY: clean distclean __clean__
119 clean:: __clean__
120 distclean:: clean
121 $(RM) -r autom4te.cache documentation/html documentation/api-guide documentation/api-guide-xml documentation/man$(api_manext)
123 # Rules for uninstalling
125 .PHONY: install install-lib install-dev uninstall __uninstall__
126 uninstall:: __uninstall__
127 -rmdir $(DESTDIR)$(fontdir) $(DESTDIR)$(datadir)/wine $(DESTDIR)$(fakedlldir) $(DESTDIR)$(dlldir) $(DESTDIR)$(includedir)/windows/ddk \
128 $(DESTDIR)$(includedir)/windows $(DESTDIR)$(includedir)/msvcrt/sys $(DESTDIR)$(includedir)/msvcrt $(DESTDIR)$(includedir)
130 # Rules for API documentation
132 install-manpages:: manpages
133 for i in documentation/man$(api_manext)/*.$(api_manext); do $(INSTALL_DATA) $$i $(DESTDIR)$(mandir)/$$i; done
135 .PHONY: install-manpages
137 # Dependencies between directories
139 # dependencies needed to build any dll or program
140 __tooldeps__: libs/port libs/wpp
141 __builddeps__: __tooldeps__ libs/wine include po
142 .PHONY: depend dummy check test testclean crosstest __tooldeps__ __builddeps__
144 dummy:
145 loader: libs/port libs/wine tools
146 server: libs/port libs/wine tools include
147 fonts: tools/sfnt2fon
148 include: tools tools/widl
149 libs/wine tools: libs/port
150 tools/sfnt2fon tools/wmc tools/wrc: tools
151 tools/widl tools/wmc tools/wrc: libs/wpp
152 libs/port libs/wine libs/wpp: include/config.h
154 # Misc rules
156 TAGSFLAGS = --langmap='c:+.idl.l.rh,make:(Make*.in)'
158 TAGS etags:
159 $(RM) TAGS
160 (test -d .git && git ls-files || find -L $(top_srcdir) -name '*.[ch]' -print) | xargs etags -a $(TAGSFLAGS)
162 tags ctags:
163 $(RM) tags
164 (test -d .git && git ls-files || find -L $(top_srcdir) -name '*.[ch]' -print) | xargs ctags -a $(TAGSFLAGS)