1 # Automatically generated by make_progs; DO NOT EDIT!!
3 TOPSRCDIR = @top_srcdir@
46 # Sub-directories to run make install into
82 # Programs to install in bin directory
101 INSTALLDIRS = $(DESTDIR)$(bindir)
105 all: wineapploader winelauncher $(SUBDIRS)
107 wineapploader: wineapploader.in
108 sed -e 's,@bindir\@,$(bindir),g' $(SRCDIR)/wineapploader.in >$@ || ($(RM) $@ && false)
110 winelauncher: winelauncher.in
111 sed -e 's,@bindir\@,$(bindir),g' -e 's,@libdir\@,$(libdir),g' -e 's,@dlldir\@,$(dlldir),g' $(SRCDIR)/winelauncher.in >$@ || ($(RM) $@ && false)
113 # Rules for installation
115 .PHONY: install-apploader install-progs install-progs.so $(INSTALLPROGS:%=%/__installprog__)
117 install-apploader: wineapploader $(INSTALLDIRS) dummy
118 $(INSTALL_SCRIPT) wineapploader $(DESTDIR)$(bindir)/wineapploader
120 $(INSTALLPROGS:%=%/__installprog__): install-apploader
121 $(RM) $(DESTDIR)$(bindir)/`dirname $@` && $(LN) $(DESTDIR)$(bindir)/wineapploader $(DESTDIR)$(bindir)/`dirname $@`
123 install-progs.so: $(INSTALLPROGS:%=%/__installprog__)
124 $(RM) $(DESTDIR)$(bindir)/wineapploader
126 install-progs: # nothing to do here
128 install:: winelauncher install-progs$(DLLEXT) $(INSTALLDIRS)
129 $(INSTALL_SCRIPT) winelauncher $(DESTDIR)$(bindir)/winelauncher
132 -cd $(DESTDIR)$(bindir) && $(RM) wineapploader winelauncher $(INSTALLPROGS)
133 -rmdir $(DESTDIR)$(dlldir)
136 $(RM) wineapploader winelauncher
140 check test:: $(SUBDIRS:%=%/__test__)