1
################################################################################
2
### Copyright 2011 VMware, Inc. All rights reserved.
4
### This program is free software; you can redistribute it and/or modify
5
### it under the terms of version 2 of the GNU General Public License as
6
### published by the Free Software Foundation.
8
### This program is distributed in the hope that it will be useful,
9
### but WITHOUT ANY WARRANTY; without even the implied warranty of
10
### MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11
### GNU General Public License for more details.
13
### You should have received a copy of the GNU General Public License
14
### along with this program; if not, write to the Free Software
15
### Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
16
################################################################################
18
sbin_PROGRAMS = mount.vmblock
21
mount_vmblock_LDADD += ../lib/stubs/libStubs.la
23
mount_vmblock_SOURCES =
24
mount_vmblock_SOURCES += vmblockmounter.c
28
mv $(DESTDIR)$(sbindir)/mount.vmblock \
29
$(DESTDIR)$(sbindir)/mount_vmblock
30
-$(MKDIR_P) $(DESTDIR)/sbin
31
-$(LN_S) $(DESTDIR)$(sbindir)/mount_vmblock \
32
$(DESTDIR)/sbin/mount_vmblock &> /dev/null
34
rm -f $(DESTDIR)$(sbindir)/mount_vmblock
37
-$(MKDIR_P) $(DESTDIR)/sbin
38
-$(LN_S) $(DESTDIR)$(sbindir)/mount.vmblock \
39
$(DESTDIR)/sbin/mount.vmblock &> /dev/null
41
rm -f $(DESTDIR)/sbin/mount.vmblock