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
103 all: wineapploader winelauncher
$(SUBDIRS
)
105 wineapploader
: wineapploader.in
106 sed
-e
's,@bindir\@,$(bindir),g' $(SRCDIR
)/wineapploader.in
>$@ ||
($(RM
) $@
&& false
)
108 winelauncher
: winelauncher.in
109 sed
-e
's,@bindir\@,$(bindir),g' -e
's,@libdir\@,$(libdir),g' -e
's,@dlldir\@,$(dlldir),g' $(SRCDIR
)/winelauncher.in
>$@ ||
($(RM
) $@
&& false
)
111 # Rules for installation
113 .PHONY
: install-apploader install-progs install-progs.so
$(INSTALLPROGS
:%=%/__installprog__
)
115 install-apploader
: wineapploader dummy
116 $(MKINSTALLDIRS
) $(DESTDIR
)$(bindir)
117 $(INSTALL_SCRIPT
) wineapploader
$(DESTDIR
)$(bindir)/wineapploader
119 $(INSTALLPROGS
:%=%/__installprog__
): install-apploader
120 $(RM
) $(DESTDIR
)$(bindir)/`dirname $@` && $(LN
) $(DESTDIR
)$(bindir)/wineapploader
$(DESTDIR
)$(bindir)/`dirname $@`
122 install-progs.so
: $(INSTALLPROGS
:%=%/__installprog__
)
123 $(RM
) $(DESTDIR
)$(bindir)/wineapploader
125 install-progs
: # nothing to do here
127 install:: winelauncher install-progs
$(DLLEXT
)
128 $(MKINSTALLDIRS
) $(DESTDIR
)$(bindir)
129 $(INSTALL_SCRIPT
) winelauncher
$(DESTDIR
)$(bindir)/winelauncher
132 -cd
$(DESTDIR
)$(bindir) && $(RM
) wineapploader winelauncher
$(INSTALLPROGS
)
133 -rmdir
$(DESTDIR
)$(dlldir
)
136 $(RM
) wineapploader winelauncher
140 check test:: $(SUBDIRS
:%=%/__test__
)