2 TOPSRCDIR = @top_srcdir@
59 PROGRAMS = wineserver wineserver-installed
60 MANPAGES = wineserver.man
62 INSTALLDIRS = $(DESTDIR)$(bindir) $(DESTDIR)$(mandir)/man$(prog_manext)
64 all: $(PROGRAMS) $(MANPAGES)
69 $(CC) -o $@ $(OBJS) $(LIBWINE) $(LIBPORT) $(LDFLAGS) $(LIBS) $(LDRPATH_LOCAL)
71 wineserver-installed: $(OBJS)
72 $(CC) -o $@ $(OBJS) $(LIBWINE) $(LIBPORT) $(LDFLAGS) $(LIBS) $(LDRPATH_INSTALL)
74 install:: wineserver-installed $(MANPAGES) $(INSTALLDIRS)
75 $(INSTALL_PROGRAM) wineserver-installed $(DESTDIR)$(bindir)/wineserver
76 $(INSTALL_DATA) wineserver.man $(DESTDIR)$(mandir)/man$(prog_manext)/wineserver.$(prog_manext)
79 $(RM) $(DESTDIR)$(bindir)/wineserver $(DESTDIR)$(mandir)/man$(prog_manext)/wineserver.$(prog_manext)
81 @DEPENDENCIES@ # everything below this line is overwritten by make depend