wined3d: Track separate dirty ranges in buffers.
[wine] / programs / Makefile.in
1 TOPSRCDIR = @top_srcdir@
2 TOPOBJDIR = ..
3 SRCDIR    = @srcdir@
4 VPATH     = @srcdir@
5
6 SUBDIRS        = @ALL_PROGRAM_DIRS@
7 INSTALLSUBDIRS = @ALL_PROGRAM_INSTALL_DIRS@
8 INSTALLPROGS   = @ALL_PROGRAM_BIN_INSTALL_DIRS@
9
10 INSTALLDIRS = $(DESTDIR)$(bindir)
11
12 PROGRAMS = wineapploader
13
14 @MAKE_RULES@
15
16 all: $(PROGRAMS) $(SUBDIRS)
17
18 wineapploader: wineapploader.in
19         sed -e 's,@bindir\@,$(bindir),g' $(SRCDIR)/wineapploader.in >$@ || ($(RM) $@ && false)
20
21 # Rules for installation
22
23 .PHONY: install-apploader install-progs install-progs.so $(INSTALLPROGS:%=%/__installprog__)
24
25 install-apploader: wineapploader $(INSTALLDIRS) dummy
26         $(INSTALL_SCRIPT) wineapploader $(DESTDIR)$(bindir)/wineapploader
27
28 $(INSTALLPROGS:%=%/__installprog__): install-apploader
29         $(RM) $(DESTDIR)$(bindir)/`dirname $@` && $(LN) $(DESTDIR)$(bindir)/wineapploader $(DESTDIR)$(bindir)/`dirname $@`
30
31 install-progs.so: $(INSTALLPROGS:%=%/__installprog__)
32         $(RM) $(DESTDIR)$(bindir)/wineapploader
33
34 install-progs: # nothing to do here
35
36 @WOW64_DISABLE@ install install-lib:: install-progs$(DLLEXT) $(INSTALLDIRS)
37
38 uninstall::
39         -cd $(DESTDIR)$(bindir) && $(RM) wineapploader $(INSTALLPROGS)
40         -rmdir $(DESTDIR)$(fakedlldir) $(DESTDIR)$(dlldir)
41
42 # Rules for testing
43
44 check test:: $(SUBDIRS:%=%/__test__)