Makefile.files revision 246586
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_pool.o		\
53	dsl_synctask.o		\
54	dmu_zfetch.o		\
55	dsl_deleg.o		\
56	dsl_prop.o		\
57	dsl_scan.o		\
58	zfeature.o		\
59	gzip.o			\
60	lz4.o			\
61	lzjb.o			\
62	metaslab.o		\
63	refcount.o		\
64	sa.o			\
65	sha256.o		\
66	spa.o			\
67	spa_config.o		\
68	spa_errlog.o		\
69	spa_history.o		\
70	spa_misc.o		\
71	space_map.o		\
72	txg.o			\
73	uberblock.o		\
74	unique.o		\
75	vdev.o			\
76	vdev_cache.o		\
77	vdev_file.o		\
78	vdev_label.o		\
79	vdev_mirror.o		\
80	vdev_missing.o		\
81	vdev_queue.o		\
82	vdev_raidz.o		\
83	vdev_root.o		\
84	zap.o			\
85	zap_leaf.o		\
86	zap_micro.o		\
87	zfs_byteswap.o		\
88	zfs_debug.o		\
89	zfs_fm.o		\
90	zfs_fuid.o		\
91	zfs_sa.o		\
92	zfs_znode.o		\
93	zil.o			\
94	zio.o			\
95	zio_checksum.o		\
96	zio_compress.o		\
97	zio_inject.o		\
98	zle.o			\
99	zrlock.o
100
101ZFS_SHARED_OBJS +=		\
102	zfeature_common.o	\
103	zfs_comutil.o		\
104	zfs_deleg.o		\
105	zfs_fletcher.o		\
106	zfs_namecheck.o		\
107	zfs_prop.o		\
108	zpool_prop.o		\
109	zprop_common.o
110
111ZFS_OBJS +=			\
112	$(ZFS_COMMON_OBJS)	\
113	$(ZFS_SHARED_OBJS)	\
114	zfs_acl.o		\
115	zfs_ctldir.o		\
116	zfs_dir.o		\
117	zfs_ioctl.o		\
118	zfs_ioctl_compat.o	\
119	zfs_log.o		\
120	zfs_onexit.o		\
121	zfs_replay.o		\
122	zfs_rlock.o		\
123	rrwlock.o		\
124	zfs_vfsops.o		\
125	zfs_vnops.o		\
126	zvol.o
127
128ZUT_OBJS +=			\
129	zut.o
130