]> git.proxmox.com Git - mirror_zfs-debian.git/blob - cmd/mount_zfs/Makefile.am
9741c564c81c0dae4533e1806b808970f899f51b
[mirror_zfs-debian.git] / cmd / mount_zfs / Makefile.am
1 include $(top_srcdir)/config/Rules.am
2
3 DEFAULT_INCLUDES += \
4 -I$(top_srcdir)/include \
5 -I$(top_srcdir)/lib/libspl/include
6
7 #
8 # Ignore the prefix for the mount helper. It must be installed in /sbin/
9 # because this path is hardcoded in the mount(8) for security reasons.
10 #
11 sbindir=/sbin
12 sbin_PROGRAMS = mount.zfs
13
14 mount_zfs_SOURCES = \
15 $(top_srcdir)/cmd/mount_zfs/mount_zfs.c
16
17 mount_zfs_LDADD = \
18 $(top_builddir)/lib/libuutil/libuutil.la \
19 $(top_builddir)/lib/libzpool/libzpool.la \
20 $(top_builddir)/lib/libzfs/libzfs.la
21
22 mount_zfs_LDFLAGS = \
23 -pthread -lm $(ZLIB) -lrt -ldl $(LIBUUID) $(LIBBLKID) $(LIBSELINUX)