1 # Automatically generated by make_progs; DO NOT EDIT!!
3 TOPSRCDIR
= @top_srcdir@
49 # Sub-directories to run make install into
88 # Programs to install in bin directory
106 INSTALLDIRS
= $(DESTDIR
)$(bindir)
108 PROGRAMS
= wineapploader winelauncher
112 all: $(PROGRAMS
) $(SUBDIRS
)
114 wineapploader
: wineapploader.in
115 sed
-e
's,@bindir\@,$(bindir),g' $(SRCDIR
)/wineapploader.in
>$@ ||
($(RM
) $@
&& false
)
117 winelauncher
: winelauncher.in
118 sed
-e
's,@bindir\@,$(bindir),g' -e
's,@libdir\@,$(libdir),g' -e
's,@dlldir\@,$(dlldir),g' $(SRCDIR
)/winelauncher.in
>$@ ||
($(RM
) $@
&& false
)
120 # Rules for installation
122 .PHONY
: install-apploader install-progs install-progs.so
$(INSTALLPROGS
:%=%/__installprog__
)
124 install-apploader
: wineapploader
$(INSTALLDIRS
) dummy
125 $(INSTALL_SCRIPT
) wineapploader
$(DESTDIR
)$(bindir)/wineapploader
127 $(INSTALLPROGS
:%=%/__installprog__
): install-apploader
128 $(RM
) $(DESTDIR
)$(bindir)/`dirname $@` && $(LN
) $(DESTDIR
)$(bindir)/wineapploader
$(DESTDIR
)$(bindir)/`dirname $@`
130 install-progs.so
: $(INSTALLPROGS
:%=%/__installprog__
)
131 $(RM
) $(DESTDIR
)$(bindir)/wineapploader
133 install-progs
: # nothing to do here
135 install:: winelauncher install-progs
$(DLLEXT
) $(INSTALLDIRS
)
136 $(INSTALL_SCRIPT
) winelauncher
$(DESTDIR
)$(bindir)/winelauncher
139 -cd
$(DESTDIR
)$(bindir) && $(RM
) wineapploader winelauncher
$(INSTALLPROGS
)
140 -rmdir
$(DESTDIR
)$(dlldir
)
144 check test:: $(SUBDIRS
:%=%/__test__
)