2 TOPSRCDIR = @top_srcdir@
58 PROGRAMS = wineserver wineserver-installed
59 MANPAGES = wineserver.man
61 INSTALLDIRS = $(DESTDIR)$(bindir) $(DESTDIR)$(mandir)/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:: 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)
78 $(RM) $(DESTDIR)$(bindir)/wineserver $(DESTDIR)$(mandir)/man$(prog_manext)/wineserver.$(prog_manext)
80 @DEPENDENCIES@ # everything below this line is overwritten by make depend