1 TOPSRCDIR
= @top_srcdir@
6 SUBDIRS
= @ALL_PROGRAM_DIRS@
7 INSTALLSUBDIRS
= @ALL_PROGRAM_INSTALL_DIRS@
8 INSTALLPROGS
= @ALL_PROGRAM_BIN_INSTALL_DIRS@
10 INSTALLDIRS
= $(DESTDIR
)$(bindir)
12 PROGRAMS
= wineapploader
16 all: $(PROGRAMS
) $(SUBDIRS
)
18 wineapploader
: wineapploader.in
19 sed
-e
's,@bindir\@,$(bindir),g' $(SRCDIR
)/wineapploader.in
>$@ ||
($(RM
) $@
&& false
)
21 # Rules for installation
23 .PHONY
: install-progs install-progs.so
$(INSTALLPROGS
:%=%/__installprog__
)
25 $(INSTALLPROGS
:%=%/__installprog__
): wineapploader
$(INSTALLDIRS
) dummy
26 $(RM
) $(DESTDIR
)$(bindir)/`dirname $@` && $(INSTALL_SCRIPT
) wineapploader
$(DESTDIR
)$(bindir)/`dirname $@`
28 install-progs.so
: $(INSTALLPROGS
:%=%/__installprog__
)
29 install-progs
: # nothing to do here
31 @WOW64_DISABLE@
install install-lib
:: install-progs
$(DLLEXT
) $(INSTALLDIRS
)
34 -cd
$(DESTDIR
)$(bindir) && $(RM
) $(INSTALLPROGS
)
35 -rmdir
$(DESTDIR
)$(fakedlldir
) $(DESTDIR
)$(dlldir
)