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
100 INSTALLDIRS = $(DESTDIR)$(bindir)
102 PROGRAMS = wineapploader winelauncher
106 all: $(PROGRAMS) $(SUBDIRS)
108 wineapploader: wineapploader.in
109 sed -e 's,@bindir\@,$(bindir),g' $(SRCDIR)/wineapploader.in >$@ || ($(RM) $@ && false)
111 winelauncher: winelauncher.in
112 sed -e 's,@bindir\@,$(bindir),g' -e 's,@libdir\@,$(libdir),g' -e 's,@dlldir\@,$(dlldir),g' $(SRCDIR)/winelauncher.in >$@ || ($(RM) $@ && false)
114 # Rules for installation
116 .PHONY: install-apploader install-progs install-progs.so $(INSTALLPROGS:%=%/__installprog__)
118 install-apploader: wineapploader $(INSTALLDIRS) dummy
119 $(INSTALL_SCRIPT) wineapploader $(DESTDIR)$(bindir)/wineapploader
121 $(INSTALLPROGS:%=%/__installprog__): install-apploader
122 $(RM) $(DESTDIR)$(bindir)/`dirname $@` && $(LN) $(DESTDIR)$(bindir)/wineapploader $(DESTDIR)$(bindir)/`dirname $@`
124 install-progs.so: $(INSTALLPROGS:%=%/__installprog__)
125 $(RM) $(DESTDIR)$(bindir)/wineapploader
127 install-progs: # nothing to do here
129 install:: winelauncher install-progs$(DLLEXT) $(INSTALLDIRS)
130 $(INSTALL_SCRIPT) winelauncher $(DESTDIR)$(bindir)/winelauncher
133 -cd $(DESTDIR)$(bindir) && $(RM) wineapploader winelauncher $(INSTALLPROGS)
134 -rmdir $(DESTDIR)$(dlldir)
138 check test:: $(SUBDIRS:%=%/__test__)