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)
104 all: wineapploader winelauncher
$(SUBDIRS
)
106 wineapploader
: wineapploader.in
107 sed
-e
's,@bindir\@,$(bindir),g' $(SRCDIR
)/wineapploader.in
>$@ ||
($(RM
) $@
&& false
)
109 winelauncher
: winelauncher.in
110 sed
-e
's,@bindir\@,$(bindir),g' -e
's,@libdir\@,$(libdir),g' -e
's,@dlldir\@,$(dlldir),g' $(SRCDIR
)/winelauncher.in
>$@ ||
($(RM
) $@
&& false
)
112 # Rules for installation
114 .PHONY
: install-apploader install-progs install-progs.so
$(INSTALLPROGS
:%=%/__installprog__
)
116 install-apploader
: wineapploader
$(INSTALLDIRS
) dummy
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
) $(INSTALLDIRS
)
128 $(INSTALL_SCRIPT
) winelauncher
$(DESTDIR
)$(bindir)/winelauncher
131 -cd
$(DESTDIR
)$(bindir) && $(RM
) wineapploader winelauncher
$(INSTALLPROGS
)
132 -rmdir
$(DESTDIR
)$(dlldir
)
135 $(RM
) wineapploader winelauncher
139 check test:: $(SUBDIRS
:%=%/__test__
)