1#
2# CDDL HEADER START
3#
4# The contents of this file are subject to the terms of the
5# Common Development and Distribution License (the "License").
6# You may not use this file except in compliance with the License.
7#
8# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9# or http://www.opensolaris.org/os/licensing.
10# See the License for the specific language governing permissions
11# and limitations under the License.
12#
13# When distributing Covered Code, include this CDDL HEADER in each
14# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15# If applicable, add the following below this CDDL HEADER, with the
16# fields enclosed by brackets "[]" replaced with your own identifying
17# information: Portions Copyright [yyyy] [name of copyright owner]
18#
19# CDDL HEADER END
20#
21
22#
23# Copyright (c) 1991, 2010, Oracle and/or its affiliates. All rights reserved.
24# Copyright (c) 2012 by Delphix. All rights reserved.
25# Copyright (c) 2013 by Saso Kiselkov. All rights reserved.
26#
27#
28# This Makefile defines all file modules for the directory uts/common
29# and its children. These are the source files which may be considered
30# common to all SunOS systems.
31
32ZFS_COMMON_OBJS +=		\
33	arc.o			\
34	bplist.o		\
35	bpobj.o			\
36	bptree.o		\
37	dbuf.o			\
38	ddt.o			\
39	ddt_zap.o		\
40	dmu.o			\
41	dmu_diff.o		\
42	dmu_send.o		\
43	dmu_object.o		\
44	dmu_objset.o		\
45	dmu_traverse.o		\
46	dmu_tx.o		\
47	dnode.o			\
48	dnode_sync.o		\
49	dsl_dir.o		\
50	dsl_dataset.o		\
51	dsl_deadlist.o		\
52	dsl_destroy.o		\
53	dsl_pool.o		\
54	dsl_synctask.o		\
55	dsl_userhold.o		\
56	dmu_zfetch.o		\
57	dsl_deleg.o		\
58	dsl_prop.o		\
59	dsl_scan.o		\
60	zfeature.o		\
61	gzip.o			\
62	lz4.o			\
63	lzjb.o			\
64	metaslab.o		\
65	refcount.o		\
66	rrwlock.o		\
67	sa.o			\
68	sha256.o		\
69	spa.o			\
70	spa_config.o		\
71	spa_errlog.o		\
72	spa_history.o		\
73	spa_misc.o		\
74	space_map.o		\
75	txg.o			\
76	uberblock.o		\
77	unique.o		\
78	vdev.o			\
79	vdev_cache.o		\
80	vdev_file.o		\
81	vdev_label.o		\
82	vdev_mirror.o		\
83	vdev_missing.o		\
84	vdev_queue.o		\
85	vdev_raidz.o		\
86	vdev_root.o		\
87	zap.o			\
88	zap_leaf.o		\
89	zap_micro.o		\
90	zfs_byteswap.o		\
91	zfs_debug.o		\
92	zfs_fm.o		\
93	zfs_fuid.o		\
94	zfs_sa.o		\
95	zfs_znode.o		\
96	zil.o			\
97	zio.o			\
98	zio_checksum.o		\
99	zio_compress.o		\
100	zio_inject.o		\
101	zle.o			\
102	zrlock.o
103
104ZFS_SHARED_OBJS +=		\
105	zfeature_common.o	\
106	zfs_comutil.o		\
107	zfs_deleg.o		\
108	zfs_fletcher.o		\
109	zfs_namecheck.o		\
110	zfs_prop.o		\
111	zpool_prop.o		\
112	zprop_common.o
113
114ZFS_OBJS +=			\
115	$(ZFS_COMMON_OBJS)	\
116	$(ZFS_SHARED_OBJS)	\
117	zfs_acl.o		\
118	zfs_ctldir.o		\
119	zfs_dir.o		\
120	zfs_ioctl.o		\
121	zfs_ioctl_compat.o	\
122	zfs_log.o		\
123	zfs_onexit.o		\
124	zfs_replay.o		\
125	zfs_rlock.o		\
126	zfs_vfsops.o		\
127	zfs_vnops.o		\
128	zvol.o
129
130ZUT_OBJS +=			\
131	zut.o
132