mshtml: Return S_OK from IHTMLDocument2::get_referrer.
[wine] / loader / Makefile.in
1 TOPSRCDIR = @top_srcdir@
2 TOPOBJDIR = ..
3 SRCDIR    = @srcdir@
4 VPATH     = @srcdir@
5 DEFS      = -D__WINESRC__ $(EXTRADEFS)
6
7 C_SRCS = \
8         main.c \
9         preloader.c
10
11 MAIN_BINARY    = @MAIN_BINARY@
12 EXTRA_BINARIES = @EXTRA_BINARIES@
13
14 PROGRAMS = \
15         wine \
16         wine-installed \
17         wine-preloader
18
19 MANPAGES = \
20         wine.man \
21         wine.de.man \
22         wine.fr.man
23
24 INSTALLDIRS = \
25         $(DESTDIR)$(bindir) \
26         $(DESTDIR)$(mandir)/man$(prog_manext) \
27         $(DESTDIR)$(mandir)/de.UTF-8/man$(prog_manext) \
28         $(DESTDIR)$(mandir)/fr.UTF-8/man$(prog_manext)
29
30 all: wine wine-installed $(EXTRA_BINARIES) $(MANPAGES)
31
32 @MAKE_RULES@
33
34 LIBPTHREAD  = @LIBPTHREAD@
35 LDEXECFLAGS = @LDEXECFLAGS@
36
37 wine-preloader: preloader.o Makefile.in
38         $(CC) -o $@ -static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7c000000 preloader.o $(LIBPORT) $(LDFLAGS)
39
40 wine: main.o Makefile.in
41         $(CC) -o $@ $(LDEXECFLAGS) main.o $(LIBWINE) $(LIBPORT) $(LIBPTHREAD) $(EXTRALIBS) $(LDFLAGS) $(LDRPATH_LOCAL)
42
43 wine-installed: main.o Makefile.in
44         $(CC) -o $@ $(LDEXECFLAGS) main.o $(LIBWINE) $(LIBPORT) $(LIBPTHREAD) $(EXTRALIBS) $(LDFLAGS) $(LDRPATH_INSTALL)
45
46 $(EXTRA_BINARIES:%=__install__%): $(EXTRA_BINARIES) $(DESTDIR)$(bindir) dummy
47         f=`expr $@ : '__install__\(.*\)'` && $(INSTALL_PROGRAM) $$f $(DESTDIR)$(bindir)/$$f
48
49 .PHONY: install-man-pages $(EXTRA_BINARIES:%=__install__%)
50
51 install install-lib:: wine-installed $(DESTDIR)$(bindir) $(EXTRA_BINARIES:%=__install__%)
52         $(INSTALL_PROGRAM) wine-installed $(DESTDIR)$(bindir)/$(MAIN_BINARY)
53
54 @WOW64_DISABLE@ install install-lib:: install-man-pages
55
56 install-man-pages: $(MANPAGES) $(INSTALLDIRS) dummy
57         $(INSTALL_DATA) wine.man $(DESTDIR)$(mandir)/man$(prog_manext)/wine.$(prog_manext)
58         $(INSTALL_DATA) wine.de.man $(DESTDIR)$(mandir)/de.UTF-8/man$(prog_manext)/wine.$(prog_manext)
59         $(INSTALL_DATA) wine.fr.man $(DESTDIR)$(mandir)/fr.UTF-8/man$(prog_manext)/wine.$(prog_manext)
60
61 uninstall::
62         -cd $(DESTDIR)$(bindir) && $(RM) $(MAIN_BINARY) $(EXTRA_BINARIES)
63         $(RM) $(DESTDIR)$(mandir)/man$(prog_manext)/wine.$(prog_manext)
64         $(RM) $(DESTDIR)$(mandir)/de.UTF-8/man$(prog_manext)/wine.$(prog_manext)
65         $(RM) $(DESTDIR)$(mandir)/fr.UTF-8/man$(prog_manext)/wine.$(prog_manext)
66
67 @DEPENDENCIES@  # everything below this line is overwritten by make depend