1 # Automatically generated by make_progs; DO NOT EDIT!!
3 TOPSRCDIR = @top_srcdir@
55 # Sub-directories to run make install into
100 # Programs to install in bin directory
118 INSTALLDIRS = $(DESTDIR)$(bindir)
120 PROGRAMS = wineapploader winelauncher
124 all: $(PROGRAMS) $(SUBDIRS)
126 wineapploader: wineapploader.in
127 sed -e 's,@bindir\@,$(bindir),g' $(SRCDIR)/wineapploader.in >$@ || ($(RM) $@ && false)
129 winelauncher: winelauncher.in
130 sed -e 's,@bindir\@,$(bindir),g' -e 's,@libdir\@,$(libdir),g' -e 's,@dlldir\@,$(dlldir),g' $(SRCDIR)/winelauncher.in >$@ || ($(RM) $@ && false)
132 # Rules for installation
134 .PHONY: install-apploader install-progs install-progs.so $(INSTALLPROGS:%=%/__installprog__)
136 install-apploader: wineapploader $(INSTALLDIRS) dummy
137 $(INSTALL_SCRIPT) wineapploader $(DESTDIR)$(bindir)/wineapploader
139 $(INSTALLPROGS:%=%/__installprog__): install-apploader
140 $(RM) $(DESTDIR)$(bindir)/`dirname $@` && $(LN) $(DESTDIR)$(bindir)/wineapploader $(DESTDIR)$(bindir)/`dirname $@`
142 install-progs.so: $(INSTALLPROGS:%=%/__installprog__)
143 $(RM) $(DESTDIR)$(bindir)/wineapploader
145 install-progs: # nothing to do here
147 install:: winelauncher install-progs$(DLLEXT) $(INSTALLDIRS)
148 $(INSTALL_SCRIPT) winelauncher $(DESTDIR)$(bindir)/winelauncher
151 -cd $(DESTDIR)$(bindir) && $(RM) wineapploader winelauncher $(INSTALLPROGS)
152 -rmdir $(DESTDIR)$(dlldir)
156 check test:: $(SUBDIRS:%=%/__test__)