1 TOPSRCDIR
= @top_srcdir@
35 # Sub-directories to run make install into
59 # Programs to install in bin directory
60 # We don't install everything to avoid polluting /usr/bin too much
76 # Symlinks to apps that we want to run from inside the source tree
86 all: wineapploader winelauncher
$(SUBDIRS
) $(SYMLINKS
:%=%$(DLLEXT
))
88 wineapploader
: wineapploader.in
89 sed
-e
's,@bindir\@,$(bindir),g' $(SRCDIR
)/wineapploader.in
>$@ ||
$(RM
) $@
91 winelauncher
: winelauncher.in
92 sed
-e
's,@bindir\@,$(bindir),g' -e
's,@libdir\@,$(libdir),g' -e
's,@dlldir\@,$(dlldir),g' $(SRCDIR
)/winelauncher.in
>$@ ||
$(RM
) $@
94 # Rules for installation
96 .PHONY
: install-apploader install-progs install-progs.so
$(INSTALLPROGS
:%=%/__installprog__
)
98 install-apploader
: wineapploader dummy
99 $(MKINSTALLDIRS
) $(bindir)
100 $(INSTALL_SCRIPT
) wineapploader
$(bindir)/wineapploader
102 $(INSTALLPROGS
:%=%/__installprog__
): install-apploader
103 $(RM
) $(bindir)/`dirname $@` && $(LN
) $(bindir)/wineapploader
$(bindir)/`dirname $@`
105 install-progs.so
: $(INSTALLPROGS
:%=%/__installprog__
)
106 $(RM
) $(bindir)/wineapploader
108 install-progs
: # nothing to do here
110 install:: winelauncher install-progs
$(DLLEXT
)
111 $(MKINSTALLDIRS
) $(bindir)
112 $(INSTALL_SCRIPT
) winelauncher
$(bindir)/winelauncher
115 $(RM
) $(bindir)/wineapploader
$(bindir)/winelauncher
$(INSTALLPROGS
:%=$(bindir)/%)
119 $(RM
) wineapploader winelauncher
$(SYMLINKS
)
123 check test:: $(SUBDIRS
:%=%/__test__
)
127 rpcss.exe
$(DLLEXT
): rpcss
/rpcss.exe
$(DLLEXT
)
128 $(RM
) $@
&& $(LN_S
) rpcss
/rpcss.exe
$(DLLEXT
) $@
130 wcmd.exe
$(DLLEXT
): wcmd
/wcmd.exe
$(DLLEXT
)
131 $(RM
) $@
&& $(LN_S
) wcmd
/wcmd.exe
$(DLLEXT
) $@
133 wineconsole.exe
$(DLLEXT
): wineconsole
/wineconsole.exe
$(DLLEXT
)
134 $(RM
) $@
&& $(LN_S
) wineconsole
/wineconsole.exe
$(DLLEXT
) $@
136 winedbg.exe
$(DLLEXT
): winedbg
/winedbg.exe
$(DLLEXT
)
137 $(RM
) $@
&& $(LN_S
) winedbg
/winedbg.exe
$(DLLEXT
) $@
139 winhelp.exe
$(DLLEXT
): winhelp
/winhelp.exe
$(DLLEXT
)
140 $(RM
) $@
&& $(LN_S
) winhelp
/winhelp.exe
$(DLLEXT
) $@
142 wcmd
/wcmd.exe
$(DLLEXT
): wcmd
143 wineconsole
/wineconsole.exe
$(DLLEXT
): wineconsole
144 winedbg
/winedbg.exe
$(DLLEXT
): winedbg
145 winhelp
/winhelp.exe
$(DLLEXT
): winhelp