49 lines
1.2 KiB
Makefile
49 lines
1.2 KiB
Makefile
MODCFLAGS = @BUILTINFLAG@
|
|
EXTRALIBS = @LIBPTHREAD@
|
|
|
|
C_SRCS = \
|
|
main.c \
|
|
preloader.c
|
|
|
|
PROGRAMS = \
|
|
wine \
|
|
wine-installed \
|
|
wine-preloader \
|
|
wine.inf \
|
|
wine_info.plist \
|
|
wine64 \
|
|
wine64-preloader
|
|
|
|
MANPAGE = wine.man
|
|
|
|
EXTRA_MANPAGES = \
|
|
wine.de.man \
|
|
wine.fr.man \
|
|
wine.pl.man
|
|
|
|
INSTALLDIRS = \
|
|
$(DESTDIR)$(bindir) \
|
|
$(DESTDIR)$(datadir)/wine \
|
|
$(DESTDIR)$(mandir)/man$(prog_manext) \
|
|
$(DESTDIR)$(mandir)/de.UTF-8/man$(prog_manext) \
|
|
$(DESTDIR)$(mandir)/fr.UTF-8/man$(prog_manext) \
|
|
$(DESTDIR)$(mandir)/pl.UTF-8/man$(prog_manext)
|
|
|
|
@MAKE_RULES@
|
|
|
|
@LOADER_RULES@
|
|
|
|
# Make sure that make_makefiles sees the generated rules
|
|
install install-lib::
|
|
clean::
|
|
|
|
install-man-pages:: $(EXTRA_MANPAGES) $(INSTALLDIRS) dummy
|
|
$(INSTALL_DATA) wine.de.man $(DESTDIR)$(mandir)/de.UTF-8/man$(prog_manext)/wine.$(prog_manext)
|
|
$(INSTALL_DATA) wine.fr.man $(DESTDIR)$(mandir)/fr.UTF-8/man$(prog_manext)/wine.$(prog_manext)
|
|
$(INSTALL_DATA) wine.pl.man $(DESTDIR)$(mandir)/pl.UTF-8/man$(prog_manext)/wine.$(prog_manext)
|
|
|
|
uninstall::
|
|
$(RM) $(DESTDIR)$(mandir)/de.UTF-8/man$(prog_manext)/wine.$(prog_manext)
|
|
$(RM) $(DESTDIR)$(mandir)/fr.UTF-8/man$(prog_manext)/wine.$(prog_manext)
|
|
$(RM) $(DESTDIR)$(mandir)/pl.UTF-8/man$(prog_manext)/wine.$(prog_manext)
|