1 # Automatically generated by make_progs; DO NOT EDIT!!
3 TOPSRCDIR
= @top_srcdir@
50 # Sub-directories to run make install into
90 # Programs to install in bin directory
108 INSTALLDIRS
= $(DESTDIR
)$(bindir)
110 PROGRAMS
= wineapploader winelauncher
114 all: $(PROGRAMS
) $(SUBDIRS
)
116 wineapploader
: wineapploader.in
117 sed
-e
's,@bindir\@,$(bindir),g' $(SRCDIR
)/wineapploader.in
>$@ ||
($(RM
) $@
&& false
)
119 winelauncher
: winelauncher.in
120 sed
-e
's,@bindir\@,$(bindir),g' -e
's,@libdir\@,$(libdir),g' -e
's,@dlldir\@,$(dlldir),g' $(SRCDIR
)/winelauncher.in
>$@ ||
($(RM
) $@
&& false
)
122 # Rules for installation
124 .PHONY
: install-apploader install-progs install-progs.so
$(INSTALLPROGS
:%=%/__installprog__
)
126 install-apploader
: wineapploader
$(INSTALLDIRS
) dummy
127 $(INSTALL_SCRIPT
) wineapploader
$(DESTDIR
)$(bindir)/wineapploader
129 $(INSTALLPROGS
:%=%/__installprog__
): install-apploader
130 $(RM
) $(DESTDIR
)$(bindir)/`dirname $@` && $(LN
) $(DESTDIR
)$(bindir)/wineapploader
$(DESTDIR
)$(bindir)/`dirname $@`
132 install-progs.so
: $(INSTALLPROGS
:%=%/__installprog__
)
133 $(RM
) $(DESTDIR
)$(bindir)/wineapploader
135 install-progs
: # nothing to do here
137 install:: winelauncher install-progs
$(DLLEXT
) $(INSTALLDIRS
)
138 $(INSTALL_SCRIPT
) winelauncher
$(DESTDIR
)$(bindir)/winelauncher
141 -cd
$(DESTDIR
)$(bindir) && $(RM
) wineapploader winelauncher
$(INSTALLPROGS
)
142 -rmdir
$(DESTDIR
)$(dlldir
)
146 check test:: $(SUBDIRS
:%=%/__test__
)