1 # Automatically generated by make_progs; DO NOT EDIT!!
3 TOPSRCDIR
= @top_srcdir@
48 # Sub-directories to run make install into
86 # Programs to install in bin directory
104 INSTALLDIRS
= $(DESTDIR
)$(bindir)
106 PROGRAMS
= wineapploader winelauncher
110 all: $(PROGRAMS
) $(SUBDIRS
)
112 wineapploader
: wineapploader.in
113 sed
-e
's,@bindir\@,$(bindir),g' $(SRCDIR
)/wineapploader.in
>$@ ||
($(RM
) $@
&& false
)
115 winelauncher
: winelauncher.in
116 sed
-e
's,@bindir\@,$(bindir),g' -e
's,@libdir\@,$(libdir),g' -e
's,@dlldir\@,$(dlldir),g' $(SRCDIR
)/winelauncher.in
>$@ ||
($(RM
) $@
&& false
)
118 # Rules for installation
120 .PHONY
: install-apploader install-progs install-progs.so
$(INSTALLPROGS
:%=%/__installprog__
)
122 install-apploader
: wineapploader
$(INSTALLDIRS
) dummy
123 $(INSTALL_SCRIPT
) wineapploader
$(DESTDIR
)$(bindir)/wineapploader
125 $(INSTALLPROGS
:%=%/__installprog__
): install-apploader
126 $(RM
) $(DESTDIR
)$(bindir)/`dirname $@` && $(LN
) $(DESTDIR
)$(bindir)/wineapploader
$(DESTDIR
)$(bindir)/`dirname $@`
128 install-progs.so
: $(INSTALLPROGS
:%=%/__installprog__
)
129 $(RM
) $(DESTDIR
)$(bindir)/wineapploader
131 install-progs
: # nothing to do here
133 install:: winelauncher install-progs
$(DLLEXT
) $(INSTALLDIRS
)
134 $(INSTALL_SCRIPT
) winelauncher
$(DESTDIR
)$(bindir)/winelauncher
137 -cd
$(DESTDIR
)$(bindir) && $(RM
) wineapploader winelauncher
$(INSTALLPROGS
)
138 -rmdir
$(DESTDIR
)$(dlldir
)
142 check test:: $(SUBDIRS
:%=%/__test__
)