winedbg: Fix the check for GCC version number around db_printf format checking.
[wine.git] / loader / Makefile.in
blob001728b8957f743abd0c4041bea5b3f9f7b5f388
1 DEFS = -D__WINESRC__ $(EXTRADEFS)
3 C_SRCS = \
4 main.c \
5 preloader.c
7 MAIN_BINARY = @MAIN_BINARY@
8 EXTRA_BINARIES = @EXTRA_BINARIES@
10 PROGRAMS = \
11 wine \
12 wine64 \
13 wine-installed \
14 wine-preloader
16 MANPAGES = \
17 wine.man \
18 wine.de.man \
19 wine.fr.man
21 INSTALLDIRS = \
22 $(DESTDIR)$(bindir) \
23 $(DESTDIR)$(mandir)/man$(prog_manext) \
24 $(DESTDIR)$(mandir)/de.UTF-8/man$(prog_manext) \
25 $(DESTDIR)$(mandir)/fr.UTF-8/man$(prog_manext)
27 all: $(MAIN_BINARY) wine-installed $(EXTRA_BINARIES) $(MANPAGES)
29 @MAKE_RULES@
31 LIBPTHREAD = @LIBPTHREAD@
32 LDEXECFLAGS = @LDEXECFLAGS@
34 wine-preloader: preloader.o Makefile.in
35 $(CC) -o $@ -static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7c000000 preloader.o $(LIBPORT) $(LDFLAGS)
37 $(MAIN_BINARY): main.o Makefile.in
38 $(CC) -o $@ $(LDEXECFLAGS) main.o $(LIBWINE) $(LIBPORT) $(LIBPTHREAD) $(EXTRALIBS) $(LDFLAGS) $(LDRPATH_LOCAL)
40 wine-installed: main.o Makefile.in
41 $(CC) -o $@ $(LDEXECFLAGS) main.o $(LIBWINE) $(LIBPORT) $(LIBPTHREAD) $(EXTRALIBS) $(LDFLAGS) $(LDRPATH_INSTALL)
43 $(EXTRA_BINARIES:%=__install__%): $(EXTRA_BINARIES) $(DESTDIR)$(bindir) dummy
44 f=`expr $@ : '__install__\(.*\)'` && $(INSTALL_PROGRAM) $$f $(DESTDIR)$(bindir)/$$f
46 .PHONY: install-man-pages $(EXTRA_BINARIES:%=__install__%)
48 install install-lib:: wine-installed $(DESTDIR)$(bindir) $(EXTRA_BINARIES:%=__install__%)
49 $(INSTALL_PROGRAM) wine-installed $(DESTDIR)$(bindir)/$(MAIN_BINARY)
51 @WOW64_DISABLE@ install install-lib:: install-man-pages
53 install-man-pages: $(MANPAGES) $(INSTALLDIRS) dummy
54 $(INSTALL_DATA) wine.man $(DESTDIR)$(mandir)/man$(prog_manext)/wine.$(prog_manext)
55 $(INSTALL_DATA) wine.de.man $(DESTDIR)$(mandir)/de.UTF-8/man$(prog_manext)/wine.$(prog_manext)
56 $(INSTALL_DATA) wine.fr.man $(DESTDIR)$(mandir)/fr.UTF-8/man$(prog_manext)/wine.$(prog_manext)
58 uninstall::
59 -cd $(DESTDIR)$(bindir) && $(RM) $(MAIN_BINARY) $(EXTRA_BINARIES)
60 $(RM) $(DESTDIR)$(mandir)/man$(prog_manext)/wine.$(prog_manext)
61 $(RM) $(DESTDIR)$(mandir)/de.UTF-8/man$(prog_manext)/wine.$(prog_manext)
62 $(RM) $(DESTDIR)$(mandir)/fr.UTF-8/man$(prog_manext)/wine.$(prog_manext)