d3d8/tests: Verify window style after exiting fullscreen mode.
[wine.git] / loader / Makefile.in
blob3993fa39919471c93a8ed0a04cc1fbe2349abf75
1 DEFS = -D__WINESRC__ $(EXTRADEFS)
2 MODCFLAGS = @BUILTINFLAG@
4 C_SRCS = \
5 main.c \
6 preloader.c
8 MAIN_BINARY = @MAIN_BINARY@
9 EXTRA_BINARIES = @EXTRA_BINARIES@
11 PROGRAMS = \
12 wine \
13 wine-installed \
14 wine-preloader \
15 wine64 \
16 wine64-preloader
18 MANPAGE = wine.man
20 EXTRA_MANPAGES = \
21 wine.de.man \
22 wine.fr.man \
23 wine.pl.man
25 INSTALLDIRS = \
26 $(DESTDIR)$(bindir) \
27 $(DESTDIR)$(mandir)/man$(prog_manext) \
28 $(DESTDIR)$(mandir)/de.UTF-8/man$(prog_manext) \
29 $(DESTDIR)$(mandir)/fr.UTF-8/man$(prog_manext) \
30 $(DESTDIR)$(mandir)/pl.UTF-8/man$(prog_manext)
32 all: $(MAIN_BINARY) wine-installed $(EXTRA_BINARIES)
34 @MAKE_RULES@
36 LIBPTHREAD = @LIBPTHREAD@
37 LDEXECFLAGS = @LDEXECFLAGS@
39 wine-preloader wine64-preloader: preloader.o Makefile.in
40 $(CC) -o $@ -static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7c400000 preloader.o $(LIBPORT) $(LDFLAGS)
42 $(MAIN_BINARY): main.o Makefile.in wine_info.plist
43 $(CC) -o $@ $(LDEXECFLAGS) main.o $(LIBWINE) $(LIBPORT) $(LIBPTHREAD) $(EXTRALIBS) $(LDFLAGS) $(LDRPATH_LOCAL)
45 wine-installed: main.o Makefile.in wine_info.plist
46 $(CC) -o $@ $(LDEXECFLAGS) main.o $(LIBWINE) $(LIBPORT) $(LIBPTHREAD) $(EXTRALIBS) $(LDFLAGS) $(LDRPATH_INSTALL)
48 wine_info.plist: wine_info.plist.in
49 LC_ALL=C sed -e 's,@PACKAGE_VERSION\@,@PACKAGE_VERSION@,g' $< >$@ || ($(RM) $@ && false)
51 $(EXTRA_BINARIES:%=__install__%): $(EXTRA_BINARIES) $(DESTDIR)$(bindir) dummy
52 f=`expr $@ : '__install__\(.*\)'` && $(INSTALL_PROGRAM) $$f $(DESTDIR)$(bindir)/$$f
54 .PHONY: install-man-pages $(EXTRA_BINARIES:%=__install__%)
56 install install-lib:: wine-installed $(DESTDIR)$(bindir) $(EXTRA_BINARIES:%=__install__%)
57 $(INSTALL_PROGRAM) wine-installed $(DESTDIR)$(bindir)/$(MAIN_BINARY)
59 install-man-pages:: $(EXTRA_MANPAGES) $(INSTALLDIRS) dummy
60 $(INSTALL_DATA) wine.de.man $(DESTDIR)$(mandir)/de.UTF-8/man$(prog_manext)/wine.$(prog_manext)
61 $(INSTALL_DATA) wine.fr.man $(DESTDIR)$(mandir)/fr.UTF-8/man$(prog_manext)/wine.$(prog_manext)
62 $(INSTALL_DATA) wine.pl.man $(DESTDIR)$(mandir)/pl.UTF-8/man$(prog_manext)/wine.$(prog_manext)
64 uninstall::
65 -cd $(DESTDIR)$(bindir) && $(RM) $(MAIN_BINARY) $(EXTRA_BINARIES)
66 $(RM) $(DESTDIR)$(mandir)/de.UTF-8/man$(prog_manext)/wine.$(prog_manext)
67 $(RM) $(DESTDIR)$(mandir)/fr.UTF-8/man$(prog_manext)/wine.$(prog_manext)
68 $(RM) $(DESTDIR)$(mandir)/pl.UTF-8/man$(prog_manext)/wine.$(prog_manext)