2 TOPSRCDIR = @top_srcdir@
54 PROGRAMS = wineserver wineserver-installed
55 MANPAGES = wineserver.man wineserver.de.man wineserver.fr.man
59 $(DESTDIR)$(mandir)/man$(prog_manext) \
60 $(DESTDIR)$(mandir)/de.UTF-8/man$(prog_manext) \
61 $(DESTDIR)$(mandir)/fr.UTF-8/man$(prog_manext)
63 all: $(PROGRAMS) $(MANPAGES)
68 $(CC) -o $@ $(OBJS) $(LIBWINE) $(LIBPORT) $(LDFLAGS) $(LIBS) $(LDRPATH_LOCAL)
70 wineserver-installed: $(OBJS)
71 $(CC) -o $@ $(OBJS) $(LIBWINE) $(LIBPORT) $(LDFLAGS) $(LIBS) $(LDRPATH_INSTALL)
73 install install-lib:: wineserver-installed $(MANPAGES) $(INSTALLDIRS)
74 $(INSTALL_PROGRAM) wineserver-installed $(DESTDIR)$(bindir)/wineserver
75 $(INSTALL_DATA) wineserver.man $(DESTDIR)$(mandir)/man$(prog_manext)/wineserver.$(prog_manext)
76 $(INSTALL_DATA) wineserver.de.man $(DESTDIR)$(mandir)/de.UTF-8/man$(prog_manext)/wineserver.$(prog_manext)
77 $(INSTALL_DATA) wineserver.fr.man $(DESTDIR)$(mandir)/fr.UTF-8/man$(prog_manext)/wineserver.$(prog_manext)
80 $(RM) $(DESTDIR)$(bindir)/wineserver $(DESTDIR)$(mandir)/man$(prog_manext)/wineserver.$(prog_manext)
81 $(RM) $(DESTDIR)$(mandir)/de.UTF-8/man$(prog_manext)/wineserver.$(prog_manext)
82 $(RM) $(DESTDIR)$(mandir)/fr.UTF-8/man$(prog_manext)/wineserver.$(prog_manext)