1 # Automatically generated by make_progs; DO NOT EDIT!!
3 TOPSRCDIR
= @top_srcdir@
54 # Sub-directories to run make install into
98 # Programs to install in bin directory
116 INSTALLDIRS
= $(DESTDIR
)$(bindir)
118 PROGRAMS
= wineapploader winelauncher
122 all: $(PROGRAMS
) $(SUBDIRS
)
124 wineapploader
: wineapploader.in
125 sed
-e
's,@bindir\@,$(bindir),g' $(SRCDIR
)/wineapploader.in
>$@ ||
($(RM
) $@
&& false
)
127 winelauncher
: winelauncher.in
128 sed
-e
's,@bindir\@,$(bindir),g' -e
's,@libdir\@,$(libdir),g' -e
's,@dlldir\@,$(dlldir),g' $(SRCDIR
)/winelauncher.in
>$@ ||
($(RM
) $@
&& false
)
130 # Rules for installation
132 .PHONY
: install-apploader install-progs install-progs.so
$(INSTALLPROGS
:%=%/__installprog__
)
134 install-apploader
: wineapploader
$(INSTALLDIRS
) dummy
135 $(INSTALL_SCRIPT
) wineapploader
$(DESTDIR
)$(bindir)/wineapploader
137 $(INSTALLPROGS
:%=%/__installprog__
): install-apploader
138 $(RM
) $(DESTDIR
)$(bindir)/`dirname $@` && $(LN
) $(DESTDIR
)$(bindir)/wineapploader
$(DESTDIR
)$(bindir)/`dirname $@`
140 install-progs.so
: $(INSTALLPROGS
:%=%/__installprog__
)
141 $(RM
) $(DESTDIR
)$(bindir)/wineapploader
143 install-progs
: # nothing to do here
145 install:: winelauncher install-progs
$(DLLEXT
) $(INSTALLDIRS
)
146 $(INSTALL_SCRIPT
) winelauncher
$(DESTDIR
)$(bindir)/winelauncher
149 -cd
$(DESTDIR
)$(bindir) && $(RM
) wineapploader winelauncher
$(INSTALLPROGS
)
150 -rmdir
$(DESTDIR
)$(dlldir
)
154 check test:: $(SUBDIRS
:%=%/__test__
)