1 TOPSRCDIR
= @top_srcdir@
8 $(TOPOBJDIR
)/debugger \
32 # Programs to install in bin directory
33 # We don't install everything to avoid polluting /usr/bin too much
49 # Symlinks to apps that we want to run from inside the source tree
57 all: wineapploader
$(SUBDIRS
) $(SYMLINKS
:%=%$(DLLEXT
))
59 wineapploader
: wineapploader.in
60 sed
-e
's,@bindir\@,$(bindir),g' $(SRCDIR
)/wineapploader.in
>$@ ||
$(RM
) $@
62 # Rules for installation
64 .PHONY
: install-apploader install-progs install-progs.so
$(INSTALLPROGS
:%=%/__installprog__
)
66 install-apploader
: wineapploader dummy
67 $(MKINSTALLDIRS
) $(bindir)
68 $(INSTALL_SCRIPT
) wineapploader
$(bindir)/wineapploader
70 $(INSTALLPROGS
:%=%/__installprog__
): install-apploader
71 $(RM
) $(bindir)/`dirname $@` && $(LN
) $(bindir)/wineapploader
$(bindir)/`dirname $@`
73 install-progs.so
: $(INSTALLPROGS
:%=%/__installprog__
)
74 $(RM
) $(bindir)/wineapploader
76 install-progs
: # nothing to do here
78 install:: $(SUBDIRS
:%=%/__install__
) install-progs
$(DLLEXT
)
80 uninstall:: $(SUBDIRS
:%=%/__uninstall__
)
81 $(RM
) $(bindir)/wineapploader
$(INSTALLPROGS
:%=$(bindir)/%)
85 $(RM
) wineapploader
$(SYMLINKS
)
89 $(SUBDIRS
:%=%/__checklink__
): dummy
90 @cd
`dirname $@` && $(MAKE
) checklink
92 checklink
:: $(SUBDIRS
:%=%/__checklink__
)
94 check test:: $(SUBDIRS
:%=%/__test__
)
98 wineconsole.exe
$(DLLEXT
): wineconsole
/wineconsole.exe
$(DLLEXT
)
99 $(RM
) $@
&& $(LN_S
) wineconsole
/wineconsole.exe
$(DLLEXT
) $@
101 winedbg.exe
$(DLLEXT
): $(TOPOBJDIR
)/debugger
/winedbg.exe
$(DLLEXT
)
102 $(RM
) $@
&& $(LN_S
) $(TOPOBJDIR
)/debugger
/winedbg.exe
$(DLLEXT
) $@
104 winetest.exe
$(DLLEXT
): winetest
/winetest.exe
$(DLLEXT
)
105 $(RM
) $@
&& $(LN_S
) winetest
/winetest.exe
$(DLLEXT
) $@
107 wineconsole
/wineconsole.exe
$(DLLEXT
): wineconsole
108 $(TOPOBJDIR
)/debugger
/winedbg.exe
$(DLLEXT
): $(TOPOBJDIR
)/debugger
109 winetest
/winetest.exe
$(DLLEXT
): winetest