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 2008 Sun Microsystems, Inc.  All rights reserved.
24# Use is subject to license terms.
25#
26# This Makefile defines all file modules for the directory uts/common
27# and its children. These are the source files which may be considered
28# common to all SunOS systems.
29
30ZFS_COMMON_OBJS +=		\
31	arc.o			\
32	bplist.o		\
33	dbuf.o			\
34	dmu.o			\
35	dmu_send.o		\
36	dmu_object.o		\
37	dmu_objset.o		\
38	dmu_traverse.o		\
39	dmu_tx.o		\
40	dnode.o			\
41	dnode_sync.o		\
42	dsl_dir.o		\
43	dsl_dataset.o		\
44	dsl_pool.o		\
45	dsl_synctask.o		\
46	dmu_zfetch.o		\
47	dsl_deleg.o		\
48	dsl_prop.o		\
49	dsl_scrub.o		\
50	fletcher.o		\
51	gzip.o			\
52	lzjb.o			\
53	metaslab.o		\
54	refcount.o		\
55	sha256.o		\
56	spa.o			\
57	spa_config.o		\
58	spa_errlog.o		\
59	spa_history.o		\
60	spa_misc.o		\
61	space_map.o		\
62	txg.o			\
63	uberblock.o		\
64	unique.o		\
65	vdev.o			\
66	vdev_cache.o		\
67	vdev_file.o		\
68	vdev_label.o		\
69	vdev_mirror.o		\
70	vdev_missing.o		\
71	vdev_queue.o		\
72	vdev_raidz.o		\
73	vdev_root.o		\
74	zap.o			\
75	zap_leaf.o		\
76	zap_micro.o		\
77	zfs_byteswap.o		\
78	zfs_fm.o		\
79	zfs_fuid.o		\
80	zfs_znode.o		\
81	zil.o			\
82	zio.o			\
83	zio_checksum.o		\
84	zio_compress.o		\
85	zio_inject.o
86
87ZFS_SHARED_OBJS +=		\
88	zfs_namecheck.o		\
89	zfs_deleg.o		\
90	zfs_prop.o		\
91	zfs_comutil.o		\
92	zpool_prop.o		\
93	zprop_common.o
94
95ZFS_OBJS +=			\
96	$(ZFS_COMMON_OBJS)	\
97	$(ZFS_SHARED_OBJS)	\
98	zfs_acl.o		\
99	zfs_ctldir.o		\
100	zfs_dir.o		\
101	zfs_ioctl.o		\
102	zfs_log.o		\
103	zfs_replay.o		\
104	zfs_rlock.o		\
105	rrwlock.o		\
106	zfs_vfsops.o		\
107	zfs_vnops.o		\
108	zvol.o
109