1 # Automatically generated by make_progs; DO NOT EDIT!!
3 TOPSRCDIR
= @top_srcdir@
44 # Sub-directories to run make install into
78 # Programs to install in bin directory
99 all: wineapploader winelauncher
$(SUBDIRS
)
101 wineapploader
: wineapploader.in
102 sed
-e
's,@bindir\@,$(bindir),g' $(SRCDIR
)/wineapploader.in
>$@ ||
($(RM
) $@
&& false
)
104 winelauncher
: winelauncher.in
105 sed
-e
's,@bindir\@,$(bindir),g' -e
's,@libdir\@,$(libdir),g' -e
's,@dlldir\@,$(dlldir),g' $(SRCDIR
)/winelauncher.in
>$@ ||
($(RM
) $@
&& false
)
107 # Rules for installation
109 .PHONY
: install-apploader install-progs install-progs.so
$(INSTALLPROGS
:%=%/__installprog__
)
111 install-apploader
: wineapploader dummy
112 $(MKINSTALLDIRS
) $(DESTDIR
)$(bindir)
113 $(INSTALL_SCRIPT
) wineapploader
$(DESTDIR
)$(bindir)/wineapploader
115 $(INSTALLPROGS
:%=%/__installprog__
): install-apploader
116 $(RM
) $(DESTDIR
)$(bindir)/`dirname $@` && $(LN
) $(DESTDIR
)$(bindir)/wineapploader
$(DESTDIR
)$(bindir)/`dirname $@`
118 install-progs.so
: $(INSTALLPROGS
:%=%/__installprog__
)
119 $(RM
) $(DESTDIR
)$(bindir)/wineapploader
121 install-progs
: # nothing to do here
123 install:: winelauncher install-progs
$(DLLEXT
)
124 $(MKINSTALLDIRS
) $(DESTDIR
)$(bindir)
125 $(INSTALL_SCRIPT
) winelauncher
$(DESTDIR
)$(bindir)/winelauncher
128 -cd
$(DESTDIR
)$(bindir) && $(RM
) wineapploader winelauncher
$(INSTALLPROGS
)
129 -rmdir
$(DESTDIR
)$(dlldir
)
132 $(RM
) wineapploader winelauncher
136 check test:: $(SUBDIRS
:%=%/__test__
)