1 # Automatically generated by make_progs; DO NOT EDIT!!
3 TOPSRCDIR = @top_srcdir@
52 # Sub-directories to run make install into
94 # Programs to install in bin directory
112 INSTALLDIRS = $(DESTDIR)$(bindir)
114 PROGRAMS = wineapploader winelauncher
118 all: $(PROGRAMS) $(SUBDIRS)
120 wineapploader: wineapploader.in
121 sed -e 's,@bindir\@,$(bindir),g' $(SRCDIR)/wineapploader.in >$@ || ($(RM) $@ && false)
123 winelauncher: winelauncher.in
124 sed -e 's,@bindir\@,$(bindir),g' -e 's,@libdir\@,$(libdir),g' -e 's,@dlldir\@,$(dlldir),g' $(SRCDIR)/winelauncher.in >$@ || ($(RM) $@ && false)
126 # Rules for installation
128 .PHONY: install-apploader install-progs install-progs.so $(INSTALLPROGS:%=%/__installprog__)
130 install-apploader: wineapploader $(INSTALLDIRS) dummy
131 $(INSTALL_SCRIPT) wineapploader $(DESTDIR)$(bindir)/wineapploader
133 $(INSTALLPROGS:%=%/__installprog__): install-apploader
134 $(RM) $(DESTDIR)$(bindir)/`dirname $@` && $(LN) $(DESTDIR)$(bindir)/wineapploader $(DESTDIR)$(bindir)/`dirname $@`
136 install-progs.so: $(INSTALLPROGS:%=%/__installprog__)
137 $(RM) $(DESTDIR)$(bindir)/wineapploader
139 install-progs: # nothing to do here
141 install:: winelauncher install-progs$(DLLEXT) $(INSTALLDIRS)
142 $(INSTALL_SCRIPT) winelauncher $(DESTDIR)$(bindir)/winelauncher
145 -cd $(DESTDIR)$(bindir) && $(RM) wineapploader winelauncher $(INSTALLPROGS)
146 -rmdir $(DESTDIR)$(dlldir)
150 check test:: $(SUBDIRS:%=%/__test__)