dbghelp: Fix a typo.
[wine/hramrach.git] / programs / Makefile.in
blobb339aa31a00c558774d332d4cd35a0f446cfc188
1 TOPSRCDIR = @top_srcdir@
2 TOPOBJDIR = ..
3 SRCDIR = @srcdir@
4 VPATH = @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
14 @MAKE_RULES@
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-apploader install-progs install-progs.so $(INSTALLPROGS:%=%/__installprog__)
25 install-apploader: wineapploader $(INSTALLDIRS) dummy
26 $(INSTALL_SCRIPT) wineapploader $(DESTDIR)$(bindir)/wineapploader
28 $(INSTALLPROGS:%=%/__installprog__): install-apploader
29 $(RM) $(DESTDIR)$(bindir)/`dirname $@` && $(LN) $(DESTDIR)$(bindir)/wineapploader $(DESTDIR)$(bindir)/`dirname $@`
31 install-progs.so: $(INSTALLPROGS:%=%/__installprog__)
32 $(RM) $(DESTDIR)$(bindir)/wineapploader
34 install-progs: # nothing to do here
36 @WOW64_DISABLE@ install install-lib:: install-progs$(DLLEXT) $(INSTALLDIRS)
38 uninstall::
39 -cd $(DESTDIR)$(bindir) && $(RM) wineapploader $(INSTALLPROGS)
40 -rmdir $(DESTDIR)$(fakedlldir) $(DESTDIR)$(dlldir)
42 # Rules for testing
44 check test:: $(SUBDIRS:%=%/__test__)