1 DEFS
= -D__WINESRC__
$(EXTRADEFS
)
7 MAIN_BINARY
= @MAIN_BINARY@
8 EXTRA_BINARIES
= @EXTRA_BINARIES@
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
)
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
)
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
)