1 # Automatically generated by make_progs; DO NOT EDIT!!
3 TOPSRCDIR = @top_srcdir@
45 # Sub-directories to run make install into
80 # Programs to install in bin directory
101 all: wineapploader winelauncher $(SUBDIRS)
103 wineapploader: wineapploader.in
104 sed -e 's,@bindir\@,$(bindir),g' $(SRCDIR)/wineapploader.in >$@ || ($(RM) $@ && false)
106 winelauncher: winelauncher.in
107 sed -e 's,@bindir\@,$(bindir),g' -e 's,@libdir\@,$(libdir),g' -e 's,@dlldir\@,$(dlldir),g' $(SRCDIR)/winelauncher.in >$@ || ($(RM) $@ && false)
109 # Rules for installation
111 .PHONY: install-apploader install-progs install-progs.so $(INSTALLPROGS:%=%/__installprog__)
113 install-apploader: wineapploader dummy
114 $(MKINSTALLDIRS) $(DESTDIR)$(bindir)
115 $(INSTALL_SCRIPT) wineapploader $(DESTDIR)$(bindir)/wineapploader
117 $(INSTALLPROGS:%=%/__installprog__): install-apploader
118 $(RM) $(DESTDIR)$(bindir)/`dirname $@` && $(LN) $(DESTDIR)$(bindir)/wineapploader $(DESTDIR)$(bindir)/`dirname $@`
120 install-progs.so: $(INSTALLPROGS:%=%/__installprog__)
121 $(RM) $(DESTDIR)$(bindir)/wineapploader
123 install-progs: # nothing to do here
125 install:: winelauncher install-progs$(DLLEXT)
126 $(MKINSTALLDIRS) $(DESTDIR)$(bindir)
127 $(INSTALL_SCRIPT) winelauncher $(DESTDIR)$(bindir)/winelauncher
130 -cd $(DESTDIR)$(bindir) && $(RM) wineapploader winelauncher $(INSTALLPROGS)
131 -rmdir $(DESTDIR)$(dlldir)
134 $(RM) wineapploader winelauncher
138 check test:: $(SUBDIRS:%=%/__test__)