1 # Automatically generated by make_progs; DO NOT EDIT!!
3 TOPSRCDIR = @top_srcdir@
51 # Sub-directories to run make install into
92 # Programs to install in bin directory
110 INSTALLDIRS = $(DESTDIR)$(bindir)
112 PROGRAMS = wineapploader winelauncher
116 all: $(PROGRAMS) $(SUBDIRS)
118 wineapploader: wineapploader.in
119 sed -e 's,@bindir\@,$(bindir),g' $(SRCDIR)/wineapploader.in >$@ || ($(RM) $@ && false)
121 winelauncher: winelauncher.in
122 sed -e 's,@bindir\@,$(bindir),g' -e 's,@libdir\@,$(libdir),g' -e 's,@dlldir\@,$(dlldir),g' $(SRCDIR)/winelauncher.in >$@ || ($(RM) $@ && false)
124 # Rules for installation
126 .PHONY: install-apploader install-progs install-progs.so $(INSTALLPROGS:%=%/__installprog__)
128 install-apploader: wineapploader $(INSTALLDIRS) dummy
129 $(INSTALL_SCRIPT) wineapploader $(DESTDIR)$(bindir)/wineapploader
131 $(INSTALLPROGS:%=%/__installprog__): install-apploader
132 $(RM) $(DESTDIR)$(bindir)/`dirname $@` && $(LN) $(DESTDIR)$(bindir)/wineapploader $(DESTDIR)$(bindir)/`dirname $@`
134 install-progs.so: $(INSTALLPROGS:%=%/__installprog__)
135 $(RM) $(DESTDIR)$(bindir)/wineapploader
137 install-progs: # nothing to do here
139 install:: winelauncher install-progs$(DLLEXT) $(INSTALLDIRS)
140 $(INSTALL_SCRIPT) winelauncher $(DESTDIR)$(bindir)/winelauncher
143 -cd $(DESTDIR)$(bindir) && $(RM) wineapploader winelauncher $(INSTALLPROGS)
144 -rmdir $(DESTDIR)$(dlldir)
148 check test:: $(SUBDIRS:%=%/__test__)