1 TOPSRCDIR
= @top_srcdir@
8 $(TOPOBJDIR
)/debugger \
31 # Programs to install in bin directory
32 # We don't install everything to avoid polluting /usr/bin too much
47 # Symlinks to apps that we want to run from inside the source tree
55 all: wineapploader
$(SUBDIRS
) $(SYMLINKS
:%=%$(DLLEXT
))
57 wineapploader
: wineapploader.in
58 sed
-e
's,@bindir\@,$(bindir),g' $(SRCDIR
)/wineapploader.in
>$@ ||
$(RM
) $@
60 # Rules for installation
62 .PHONY
: install-apploader install-progs install-progs.so
$(INSTALLPROGS
:%=%/__installprog__
)
64 install-apploader
: wineapploader dummy
65 $(MKINSTALLDIRS
) $(bindir)
66 $(INSTALL_SCRIPT
) wineapploader
$(bindir)/wineapploader
68 $(INSTALLPROGS
:%=%/__installprog__
): install-apploader
69 $(RM
) $(bindir)/`dirname $@` && $(LN
) $(bindir)/wineapploader
$(bindir)/`dirname $@`
71 install-progs.so
: $(INSTALLPROGS
:%=%/__installprog__
)
72 $(RM
) $(bindir)/wineapploader
74 install-progs
: # nothing to do here
76 install:: $(SUBDIRS
:%=%/__install__
) install-progs
$(DLLEXT
)
78 uninstall:: $(SUBDIRS
:%=%/__uninstall__
)
79 $(RM
) $(bindir)/wineapploader
$(INSTALLPROGS
:%=$(bindir)/%)
83 $(RM
) wineapploader
$(SYMLINKS
)
87 $(SUBDIRS
:%=%/__checklink__
): dummy
88 @cd
`dirname $@` && $(MAKE
) checklink
90 checklink
:: $(SUBDIRS
:%=%/__checklink__
)
92 check test:: $(SUBDIRS
:%=%/__test__
)
96 wineconsole.exe
$(DLLEXT
): wineconsole
/wineconsole.exe
$(DLLEXT
)
97 $(RM
) $@
&& $(LN_S
) wineconsole
/wineconsole.exe
$(DLLEXT
) $@
99 winedbg.exe
$(DLLEXT
): $(TOPOBJDIR
)/debugger
/winedbg.exe
$(DLLEXT
)
100 $(RM
) $@
&& $(LN_S
) $(TOPOBJDIR
)/debugger
/winedbg.exe
$(DLLEXT
) $@
102 winetest.exe
$(DLLEXT
): winetest
/winetest.exe
$(DLLEXT
)
103 $(RM
) $@
&& $(LN_S
) winetest
/winetest.exe
$(DLLEXT
) $@
105 wineconsole
/wineconsole.exe
$(DLLEXT
): wineconsole
106 $(TOPOBJDIR
)/debugger
/winedbg.exe
$(DLLEXT
): $(TOPOBJDIR
)/debugger
107 winetest
/winetest.exe
$(DLLEXT
): winetest