1 # Automatically generated by make_progs; DO NOT EDIT!!
3 TOPSRCDIR
= @top_srcdir@
53 # Sub-directories to run make install into
96 # Programs to install in bin directory
114 INSTALLDIRS
= $(DESTDIR
)$(bindir)
116 PROGRAMS
= wineapploader winelauncher
120 all: $(PROGRAMS
) $(SUBDIRS
)
122 wineapploader
: wineapploader.in
123 sed
-e
's,@bindir\@,$(bindir),g' $(SRCDIR
)/wineapploader.in
>$@ ||
($(RM
) $@
&& false
)
125 winelauncher
: winelauncher.in
126 sed
-e
's,@bindir\@,$(bindir),g' -e
's,@libdir\@,$(libdir),g' -e
's,@dlldir\@,$(dlldir),g' $(SRCDIR
)/winelauncher.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:: winelauncher install-progs
$(DLLEXT
) $(INSTALLDIRS
)
144 $(INSTALL_SCRIPT
) winelauncher
$(DESTDIR
)$(bindir)/winelauncher
147 -cd
$(DESTDIR
)$(bindir) && $(RM
) wineapploader winelauncher
$(INSTALLPROGS
)
148 -rmdir
$(DESTDIR
)$(dlldir
)
152 check test:: $(SUBDIRS
:%=%/__test__
)