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
117 INSTALLDIRS = $(DESTDIR)$(bindir)
119 PROGRAMS = wineapploader
123 all: $(PROGRAMS) $(SUBDIRS)
125 wineapploader: wineapploader.in
126 sed -e 's,@bindir\@,$(bindir),g' $(SRCDIR)/wineapploader.in >$@ || ($(RM) $@ && false)
128 # Rules for installation
130 .PHONY: install-apploader install-progs install-progs.so $(INSTALLPROGS:%=%/__installprog__)
132 install-apploader: wineapploader $(INSTALLDIRS) dummy
133 $(INSTALL_SCRIPT) wineapploader $(DESTDIR)$(bindir)/wineapploader
135 $(INSTALLPROGS:%=%/__installprog__): install-apploader
136 $(RM) $(DESTDIR)$(bindir)/`dirname $@` && $(LN) $(DESTDIR)$(bindir)/wineapploader $(DESTDIR)$(bindir)/`dirname $@`
138 install-progs.so: $(INSTALLPROGS:%=%/__installprog__)
139 $(RM) $(DESTDIR)$(bindir)/wineapploader
141 install-progs: # nothing to do here
143 install:: install-progs$(DLLEXT) $(INSTALLDIRS)
146 -cd $(DESTDIR)$(bindir) && $(RM) wineapploader $(INSTALLPROGS)
147 -rmdir $(DESTDIR)$(dlldir)
151 check test:: $(SUBDIRS:%=%/__test__)