Illumos #1644, #1645, #1646, #1647, #1708
[zfs.git] / lib / libzfs / 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 lib_LTLIBRARIES = libzfs.la
8
9 libzfs_la_SOURCES = \
10         $(top_srcdir)/lib/libzfs/libzfs_changelist.c \
11         $(top_srcdir)/lib/libzfs/libzfs_config.c \
12         $(top_srcdir)/lib/libzfs/libzfs_dataset.c \
13         $(top_srcdir)/lib/libzfs/libzfs_diff.c \
14         $(top_srcdir)/lib/libzfs/libzfs_fru.c \
15         $(top_srcdir)/lib/libzfs/libzfs_graph.c \
16         $(top_srcdir)/lib/libzfs/libzfs_import.c \
17         $(top_srcdir)/lib/libzfs/libzfs_iter.c \
18         $(top_srcdir)/lib/libzfs/libzfs_mount.c \
19         $(top_srcdir)/lib/libzfs/libzfs_pool.c \
20         $(top_srcdir)/lib/libzfs/libzfs_sendrecv.c \
21         $(top_srcdir)/lib/libzfs/libzfs_status.c \
22         $(top_srcdir)/lib/libzfs/libzfs_util.c
23
24 libzfs_la_LIBADD = \
25         $(top_builddir)/lib/libshare/libshare.la \
26         $(top_builddir)/lib/libnvpair/libnvpair.la \
27         $(top_builddir)/lib/libzpool/libzpool.la
28
29 libzfs_la_LDFLAGS = -lm -ldl -version-info 1:1:0 $(LIBSELINUX)