1 TOPSRCDIR
= @top_srcdir@
11 EXTRA_BINARIES
= @EXTRA_BINARIES@
25 $(DESTDIR
)$(mandir)/man
$(prog_manext
) \
26 $(DESTDIR
)$(mandir)/de.UTF-8
/man
$(prog_manext
) \
27 $(DESTDIR
)$(mandir)/fr.UTF-8
/man
$(prog_manext
)
29 all: wine wine-installed
$(EXTRA_BINARIES
) $(MANPAGES
)
33 LIBPTHREAD
= @LIBPTHREAD@
34 LDEXECFLAGS
= @LDEXECFLAGS@
36 wine-preloader
: preloader.o Makefile.in
37 $(CC
) -o
$@
-static
-nostartfiles
-nodefaultlibs
-Wl
,-Ttext
=0x7c000000 preloader.o
$(LIBPORT
) $(LDFLAGS
)
39 wine
: main.o Makefile.in
40 $(CC
) -o
$@
$(LDEXECFLAGS
) main.o
$(LIBWINE
) $(LIBPORT
) $(LIBPTHREAD
) $(EXTRALIBS
) $(LDFLAGS
) $(LDRPATH_LOCAL
)
42 wine-installed
: main.o Makefile.in
43 $(CC
) -o
$@
$(LDEXECFLAGS
) main.o
$(LIBWINE
) $(LIBPORT
) $(LIBPTHREAD
) $(EXTRALIBS
) $(LDFLAGS
) $(LDRPATH_INSTALL
)
45 $(EXTRA_BINARIES
:%=__install__
%): $(EXTRA_BINARIES
) $(DESTDIR
)$(bindir) dummy
46 f
=`expr $@ : '__install__\(.*\)'` && $(INSTALL_PROGRAM
) $$f $(DESTDIR
)$(bindir)/$$f
48 .PHONY
: $(EXTRA_BINARIES
:%=__install__
%)
50 install install-lib
:: wine-installed
$(EXTRA_BINARIES
:%=__install__
%) $(MANPAGES
) $(INSTALLDIRS
)
51 $(INSTALL_PROGRAM
) wine-installed
$(DESTDIR
)$(bindir)/$(MODULE
)
52 $(INSTALL_DATA
) wine.man
$(DESTDIR
)$(mandir)/man
$(prog_manext
)/wine.
$(prog_manext
)
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
)
57 -cd
$(DESTDIR
)$(bindir) && $(RM
) $(EXTRA_BINARIES
) $(MODULE
)
58 $(RM
) $(DESTDIR
)$(mandir)/man
$(prog_manext
)/wine.
$(prog_manext
)
59 $(RM
) $(DESTDIR
)$(mandir)/de.UTF-8
/man
$(prog_manext
)/wine.
$(prog_manext
)
60 $(RM
) $(DESTDIR
)$(mandir)/fr.UTF-8
/man
$(prog_manext
)/wine.
$(prog_manext
)
62 @DEPENDENCIES@
# everything below this line is overwritten by make depend