1 TOPSRCDIR = @top_srcdir@
6 ALL_INSTALLS = @ALL_PROGRAM_BIN_INSTALL_DIRS@
7 INSTALLPROGS = $(ALL_INSTALLS:programs/%=%)
9 INSTALLDIRS = $(DESTDIR)$(bindir)
11 PROGRAMS = wineapploader
17 wineapploader: wineapploader.in
18 sed -e 's,@bindir\@,$(bindir),g' $(SRCDIR)/wineapploader.in >$@ || ($(RM) $@ && false)
20 # Rules for installation
22 .PHONY: install-progs install-progs.so $(INSTALLPROGS:%=%/__installprog__)
24 $(INSTALLPROGS:%=%/__installprog__): wineapploader $(INSTALLDIRS) dummy
25 $(RM) $(DESTDIR)$(bindir)/`dirname $@` && $(INSTALL_SCRIPT) wineapploader $(DESTDIR)$(bindir)/`dirname $@`
27 install-progs.so: $(INSTALLPROGS:%=%/__installprog__)
28 install-progs: # nothing to do here
30 @WOW64_DISABLE@ install install-lib:: install-progs$(DLLEXT) $(INSTALLDIRS)
33 -cd $(DESTDIR)$(bindir) && $(RM) $(INSTALLPROGS)
34 -rmdir $(DESTDIR)$(fakedlldir) $(DESTDIR)$(dlldir)