1 include $(srcdir)/%D%/include/Makefile.am
3 libzpool_la_CFLAGS = $(AM_CFLAGS) $(KERNEL_CFLAGS) $(LIBRARY_CFLAGS)
4 libzpool_la_CFLAGS += $(ZLIB_CFLAGS)
6 libzpool_la_CPPFLAGS = $(AM_CPPFLAGS) $(LIBZPOOL_CPPFLAGS)
7 libzpool_la_CPPFLAGS += -I$(srcdir)/include/os/@ac_system_l@/zfs
8 libzpool_la_CPPFLAGS += -DLIB_ZPOOL_BUILD
10 lib_LTLIBRARIES += libzpool.la
11 CPPCHECKTARGETS += libzpool.la
13 dist_libzpool_la_SOURCES = \
23 nodist_libzpool_la_SOURCES = \
25 module/lua/lauxlib.c \
26 module/lua/lbaselib.c \
28 module/lua/lcompat.c \
29 module/lua/lcorolib.c \
37 module/lua/lobject.c \
38 module/lua/lopcodes.c \
39 module/lua/lparser.c \
41 module/lua/lstring.c \
42 module/lua/lstrlib.c \
44 module/lua/ltablib.c \
49 module/os/linux/zfs/vdev_file.c \
50 module/os/linux/zfs/zio_crypt.c \
52 module/zcommon/cityhash.c \
53 module/zcommon/simd_stat.c \
54 module/zcommon/zfeature_common.c \
55 module/zcommon/zfs_comutil.c \
56 module/zcommon/zfs_deleg.c \
57 module/zcommon/zfs_fletcher.c \
58 module/zcommon/zfs_fletcher_aarch64_neon.c \
59 module/zcommon/zfs_fletcher_avx512.c \
60 module/zcommon/zfs_fletcher_intel.c \
61 module/zcommon/zfs_fletcher_sse.c \
62 module/zcommon/zfs_fletcher_superscalar.c \
63 module/zcommon/zfs_fletcher_superscalar4.c \
64 module/zcommon/zfs_namecheck.c \
65 module/zcommon/zfs_prop.c \
66 module/zcommon/zfs_valstr.c \
67 module/zcommon/zpool_prop.c \
68 module/zcommon/zprop_common.c \
73 module/zfs/blake3_zfs.c \
82 module/zfs/dbuf_stats.c \
84 module/zfs/ddt_log.c \
85 module/zfs/ddt_stats.c \
86 module/zfs/ddt_zap.c \
88 module/zfs/dmu_diff.c \
89 module/zfs/dmu_direct.c \
90 module/zfs/dmu_object.c \
91 module/zfs/dmu_objset.c \
92 module/zfs/dmu_recv.c \
93 module/zfs/dmu_redact.c \
94 module/zfs/dmu_send.c \
95 module/zfs/dmu_traverse.c \
97 module/zfs/dmu_zfetch.c \
99 module/zfs/dnode_sync.c \
100 module/zfs/dsl_bookmark.c \
101 module/zfs/dsl_crypt.c \
102 module/zfs/dsl_dataset.c \
103 module/zfs/dsl_deadlist.c \
104 module/zfs/dsl_deleg.c \
105 module/zfs/dsl_destroy.c \
106 module/zfs/dsl_dir.c \
107 module/zfs/dsl_pool.c \
108 module/zfs/dsl_prop.c \
109 module/zfs/dsl_scan.c \
110 module/zfs/dsl_synctask.c \
111 module/zfs/dsl_userhold.c \
112 module/zfs/edonr_zfs.c \
117 module/zfs/lz4_zfs.c \
119 module/zfs/metaslab.c \
121 module/zfs/multilist.c \
122 module/zfs/objlist.c \
123 module/zfs/pathname.c \
124 module/zfs/range_tree.c \
125 module/zfs/refcount.c \
126 module/zfs/rrwlock.c \
128 module/zfs/sha2_zfs.c \
129 module/zfs/skein_zfs.c \
131 module/zfs/spa_checkpoint.c \
132 module/zfs/spa_config.c \
133 module/zfs/spa_errlog.c \
134 module/zfs/spa_history.c \
135 module/zfs/spa_log_spacemap.c \
136 module/zfs/spa_misc.c \
137 module/zfs/spa_stats.c \
138 module/zfs/space_map.c \
139 module/zfs/space_reftree.c \
141 module/zfs/uberblock.c \
142 module/zfs/unique.c \
144 module/zfs/vdev_draid.c \
145 module/zfs/vdev_draid_rand.c \
146 module/zfs/vdev_indirect.c \
147 module/zfs/vdev_indirect_births.c \
148 module/zfs/vdev_indirect_mapping.c \
149 module/zfs/vdev_initialize.c \
150 module/zfs/vdev_label.c \
151 module/zfs/vdev_mirror.c \
152 module/zfs/vdev_missing.c \
153 module/zfs/vdev_queue.c \
154 module/zfs/vdev_raidz.c \
155 module/zfs/vdev_raidz_math.c \
156 module/zfs/vdev_raidz_math_aarch64_neon.c \
157 module/zfs/vdev_raidz_math_aarch64_neonx2.c \
158 module/zfs/vdev_raidz_math_avx2.c \
159 module/zfs/vdev_raidz_math_avx512bw.c \
160 module/zfs/vdev_raidz_math_avx512f.c \
161 module/zfs/vdev_raidz_math_powerpc_altivec.c \
162 module/zfs/vdev_raidz_math_scalar.c \
163 module/zfs/vdev_raidz_math_sse2.c \
164 module/zfs/vdev_raidz_math_ssse3.c \
165 module/zfs/vdev_rebuild.c \
166 module/zfs/vdev_removal.c \
167 module/zfs/vdev_root.c \
168 module/zfs/vdev_trim.c \
170 module/zfs/zap_leaf.c \
171 module/zfs/zap_micro.c \
173 module/zfs/zcp_get.c \
174 module/zfs/zcp_global.c \
175 module/zfs/zcp_iter.c \
176 module/zfs/zcp_set.c \
177 module/zfs/zcp_synctask.c \
178 module/zfs/zfeature.c \
179 module/zfs/zfs_byteswap.c \
180 module/zfs/zfs_chksum.c \
181 module/zfs/zfs_fm.c \
182 module/zfs/zfs_fuid.c \
183 module/zfs/zfs_ratelimit.c \
184 module/zfs/zfs_rlock.c \
185 module/zfs/zfs_sa.c \
186 module/zfs/zfs_znode.c \
189 module/zfs/zio_checksum.c \
190 module/zfs/zio_compress.c \
191 module/zfs/zio_inject.c \
193 module/zfs/zrlock.c \
196 libzpool_la_LIBADD = \
203 libzpool_la_LIBADD += $(LIBCLOCK_GETTIME) $(ZLIB_LIBS) -ldl -lm
205 libzpool_la_LDFLAGS = -pthread
208 libzpool_la_LDFLAGS += -Wl,-z,defs
212 libzpool_la_LIBADD += -lgeom
215 libzpool_la_LDFLAGS += -version-info 5:0:0
217 if TARGET_CPU_POWERPC
218 module/zfs/libzpool_la-vdev_raidz_math_powerpc_altivec.$(OBJEXT) : CFLAGS += -maltivec
219 module/zfs/libzpool_la-vdev_raidz_math_powerpc_altivec.l$(OBJEXT): CFLAGS += -maltivec