mshtml: Added IBindHost::CreateMoniker implementation.
[wine] / loader / Makefile.in
1 DEFS      = -D__WINESRC__ $(EXTRADEFS)
2
3 C_SRCS = \
4         main.c \
5         preloader.c
6
7 MAIN_BINARY    = @MAIN_BINARY@
8 EXTRA_BINARIES = @EXTRA_BINARIES@
9
10 PROGRAMS = \
11         wine \
12         wine64 \
13         wine-installed \
14         wine-preloader
15
16 MANPAGE = wine.man
17
18 EXTRA_MANPAGES = \
19         wine.de.man \
20         wine.fr.man
21
22 INSTALLDIRS = \
23         $(DESTDIR)$(bindir) \
24         $(DESTDIR)$(mandir)/man$(prog_manext) \
25         $(DESTDIR)$(mandir)/de.UTF-8/man$(prog_manext) \
26         $(DESTDIR)$(mandir)/fr.UTF-8/man$(prog_manext)
27
28 all: $(MAIN_BINARY) wine-installed $(EXTRA_BINARIES)
29
30 @MAKE_RULES@
31
32 LIBPTHREAD  = @LIBPTHREAD@
33 LDEXECFLAGS = @LDEXECFLAGS@
34
35 wine-preloader: preloader.o Makefile.in
36         $(CC) -o $@ -static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7c000000 preloader.o $(LIBPORT) $(LDFLAGS)
37
38 $(MAIN_BINARY): main.o Makefile.in
39         $(CC) -o $@ $(LDEXECFLAGS) main.o $(LIBWINE) $(LIBPORT) $(LIBPTHREAD) $(EXTRALIBS) $(LDFLAGS) $(LDRPATH_LOCAL)
40
41 wine-installed: main.o Makefile.in
42         $(CC) -o $@ $(LDEXECFLAGS) main.o $(LIBWINE) $(LIBPORT) $(LIBPTHREAD) $(EXTRALIBS) $(LDFLAGS) $(LDRPATH_INSTALL)
43
44 $(EXTRA_BINARIES:%=__install__%): $(EXTRA_BINARIES) $(DESTDIR)$(bindir) dummy
45         f=`expr $@ : '__install__\(.*\)'` && $(INSTALL_PROGRAM) $$f $(DESTDIR)$(bindir)/$$f
46
47 .PHONY: install-man-pages $(EXTRA_BINARIES:%=__install__%)
48
49 install install-lib:: wine-installed $(DESTDIR)$(bindir) $(EXTRA_BINARIES:%=__install__%)
50         $(INSTALL_PROGRAM) wine-installed $(DESTDIR)$(bindir)/$(MAIN_BINARY)
51
52 install-man-pages:: $(EXTRA_MANPAGES) $(INSTALLDIRS) dummy
53         $(INSTALL_DATA) wine.de.man $(DESTDIR)$(mandir)/de.UTF-8/man$(prog_manext)/wine.$(prog_manext)
54         $(INSTALL_DATA) wine.fr.man $(DESTDIR)$(mandir)/fr.UTF-8/man$(prog_manext)/wine.$(prog_manext)
55
56 uninstall::
57         -cd $(DESTDIR)$(bindir) && $(RM) $(MAIN_BINARY) $(EXTRA_BINARIES)
58         $(RM) $(DESTDIR)$(mandir)/de.UTF-8/man$(prog_manext)/wine.$(prog_manext)
59         $(RM) $(DESTDIR)$(mandir)/fr.UTF-8/man$(prog_manext)/wine.$(prog_manext)