2010-08-26 18:22:58 +00:00
|
|
|
include $(top_srcdir)/config/Rules.am
|
|
|
|
|
2014-06-09 21:55:31 +00:00
|
|
|
VPATH = \
|
|
|
|
$(top_srcdir)/module/zfs \
|
|
|
|
$(top_srcdir)/module/zcommon \
|
|
|
|
$(top_srcdir)/lib/libzpool
|
|
|
|
|
2010-08-26 18:22:58 +00:00
|
|
|
AM_CFLAGS += $(DEBUG_STACKFLAGS) $(FRAME_LARGER_THAN)
|
|
|
|
|
|
|
|
DEFAULT_INCLUDES += \
|
2010-09-04 20:26:23 +00:00
|
|
|
-I$(top_srcdir)/include \
|
|
|
|
-I$(top_srcdir)/lib/libspl/include
|
2010-08-26 18:22:58 +00:00
|
|
|
|
|
|
|
lib_LTLIBRARIES = libzpool.la
|
|
|
|
|
2014-06-09 21:55:31 +00:00
|
|
|
USER_C = \
|
|
|
|
kernel.c \
|
|
|
|
taskq.c \
|
|
|
|
util.c
|
|
|
|
|
|
|
|
KERNEL_C = \
|
|
|
|
zfs_comutil.c \
|
|
|
|
zfs_deleg.c \
|
|
|
|
zfs_fletcher.c \
|
|
|
|
zfs_namecheck.c \
|
|
|
|
zfs_prop.c \
|
|
|
|
zfs_uio.c \
|
|
|
|
zpool_prop.c \
|
|
|
|
zprop_common.c \
|
|
|
|
arc.c \
|
|
|
|
blkptr.c \
|
|
|
|
bplist.c \
|
|
|
|
bpobj.c \
|
|
|
|
bptree.c \
|
2015-12-22 01:31:57 +00:00
|
|
|
bqueue.c \
|
2014-06-09 21:55:31 +00:00
|
|
|
dbuf.c \
|
|
|
|
dbuf_stats.c \
|
|
|
|
ddt.c \
|
|
|
|
ddt_zap.c \
|
|
|
|
dmu.c \
|
|
|
|
dmu_diff.c \
|
|
|
|
dmu_object.c \
|
|
|
|
dmu_objset.c \
|
|
|
|
dmu_send.c \
|
|
|
|
dmu_traverse.c \
|
|
|
|
dmu_tx.c \
|
|
|
|
dmu_zfetch.c \
|
|
|
|
dnode.c \
|
|
|
|
dnode_sync.c \
|
|
|
|
dsl_bookmark.c \
|
|
|
|
dsl_dataset.c \
|
|
|
|
dsl_deadlist.c \
|
|
|
|
dsl_deleg.c \
|
|
|
|
dsl_dir.c \
|
|
|
|
dsl_pool.c \
|
|
|
|
dsl_prop.c \
|
|
|
|
dsl_scan.c \
|
|
|
|
dsl_synctask.c \
|
|
|
|
dsl_destroy.c \
|
|
|
|
dsl_userhold.c \
|
|
|
|
fm.c \
|
|
|
|
gzip.c \
|
|
|
|
lzjb.c \
|
|
|
|
lz4.c \
|
|
|
|
metaslab.c \
|
|
|
|
multilist.c \
|
2016-04-13 15:55:35 +00:00
|
|
|
pathname.c \
|
2014-06-09 21:55:31 +00:00
|
|
|
range_tree.c \
|
|
|
|
refcount.c \
|
|
|
|
rrwlock.c \
|
|
|
|
sa.c \
|
|
|
|
sha256.c \
|
|
|
|
spa.c \
|
|
|
|
spa_boot.c \
|
|
|
|
spa_config.c \
|
|
|
|
spa_errlog.c \
|
|
|
|
spa_history.c \
|
|
|
|
spa_misc.c \
|
|
|
|
spa_stats.c \
|
|
|
|
space_map.c \
|
|
|
|
space_reftree.c \
|
|
|
|
txg.c \
|
|
|
|
trace.c \
|
|
|
|
uberblock.c \
|
|
|
|
unique.c \
|
|
|
|
vdev.c \
|
|
|
|
vdev_cache.c \
|
|
|
|
vdev_file.c \
|
|
|
|
vdev_label.c \
|
|
|
|
vdev_mirror.c \
|
|
|
|
vdev_missing.c \
|
|
|
|
vdev_queue.c \
|
|
|
|
vdev_raidz.c \
|
|
|
|
vdev_root.c \
|
|
|
|
zap.c \
|
|
|
|
zap_leaf.c \
|
|
|
|
zap_micro.c \
|
|
|
|
zfeature.c \
|
|
|
|
zfeature_common.c \
|
|
|
|
zfs_byteswap.c \
|
|
|
|
zfs_debug.c \
|
|
|
|
zfs_fm.c \
|
|
|
|
zfs_fuid.c \
|
|
|
|
zfs_sa.c \
|
|
|
|
zfs_znode.c \
|
2016-01-05 20:47:58 +00:00
|
|
|
zfs_rlock.c \
|
2014-06-09 21:55:31 +00:00
|
|
|
zil.c \
|
|
|
|
zio.c \
|
|
|
|
zio_checksum.c \
|
|
|
|
zio_compress.c \
|
|
|
|
zio_inject.c \
|
|
|
|
zle.c \
|
|
|
|
zrlock.c
|
|
|
|
|
|
|
|
nodist_libzpool_la_SOURCES = \
|
|
|
|
$(USER_C) \
|
|
|
|
$(KERNEL_C)
|
2010-08-26 18:22:58 +00:00
|
|
|
|
2011-12-31 23:30:52 +00:00
|
|
|
libzpool_la_LIBADD = \
|
|
|
|
$(top_builddir)/lib/libunicode/libunicode.la \
|
2013-02-05 23:14:30 +00:00
|
|
|
$(top_builddir)/lib/libuutil/libuutil.la \
|
|
|
|
$(top_builddir)/lib/libnvpair/libnvpair.la
|
2011-12-31 23:30:52 +00:00
|
|
|
|
2013-09-26 17:42:41 +00:00
|
|
|
libzpool_la_LIBADD += $(ZLIB)
|
2013-09-26 17:44:10 +00:00
|
|
|
libzpool_la_LDFLAGS = -version-info 2:0:0
|
2010-09-04 20:26:23 +00:00
|
|
|
|
2014-06-09 21:55:31 +00:00
|
|
|
EXTRA_DIST = $(USER_C)
|