mountmgr: Add a Wine-specific ioctl to define a drive for a Unix path.
[wine/multimedia.git] / programs / Makefile.in
blob7bd60b27da4b68989c317f87f93f24541a5a33d7
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 install install-lib:: install-progs$(DLLEXT) $(INSTALLDIRS)
38 uninstall::
39 -cd $(DESTDIR)$(bindir) && $(RM) wineapploader $(INSTALLPROGS)
40 -rmdir $(DESTDIR)$(dlldir)
42 # Rules for testing
44 check test:: $(SUBDIRS:%=%/__test__)