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 Nexenta Systems, Inc. All rights reserved.
25# Copyright (c) 2012 Nexenta Systems, Inc. All rights reserved.
26# Copyright (c) 2012 Joyent, Inc.  All rights reserved.
27# Copyright (c) 2011, 2014 by Delphix. All rights reserved.
28# Copyright (c) 2013 by Saso Kiselkov. All rights reserved.
29#
30#
31# This Makefile defines all file modules for the directory uts/common
32# and its children. These are the source files which may be considered
33# common to all SunOS systems.
34
35LUA_OBJS +=			\
36	ldo.o			\
37	lvm.o			\
38	lbitlib.o		\
39	lopcodes.o		\
40	lstring.o		\
41	ltable.o		\
42	ltm.o			\
43	lcorolib.o		\
44	lauxlib.o		\
45	ldebug.o		\
46	lstate.o		\
47	lgc.o			\
48	lmem.o			\
49	lctype.o		\
50	lfunc.o			\
51	ldump.o			\
52	lundump.o		\
53	lstrlib.o		\
54	ltablib.o		\
55	lapi.o			\
56	lobject.o		\
57	lbaselib.o		\
58	lcompat.o		\
59	lzio.o			\
60	lcode.o			\
61	llex.o			\
62	lparser.o
63
64ZFS_COMMON_OBJS +=		\
65	abd.o			\
66	aggsum.o		\
67	arc.o			\
68	bplist.o		\
69	blkptr.o		\
70	bpobj.o			\
71	bptree.o		\
72	bqueue.o		\
73	cityhash.o		\
74	dbuf.o			\
75	dbuf_stats.o		\
76	ddt.o			\
77	ddt_zap.o		\
78	dmu.o			\
79	dmu_diff.o		\
80	dmu_send.o		\
81	dmu_object.o		\
82	dmu_objset.o		\
83	dmu_traverse.o		\
84	dmu_tx.o		\
85	dnode.o			\
86	dnode_sync.o		\
87	dsl_bookmark.o		\
88	dsl_dir.o		\
89	dsl_dataset.o		\
90	dsl_deadlist.o		\
91	dsl_destroy.o		\
92	dsl_pool.o		\
93	dsl_synctask.o		\
94	dsl_userhold.o		\
95	dmu_zfetch.o		\
96	dsl_deleg.o		\
97	dsl_prop.o		\
98	dsl_scan.o		\
99	zfeature.o		\
100	gzip.o			\
101	lzjb.o			\
102	metaslab.o		\
103	mmp.o			\
104	multilist.o		\
105	range_tree.o		\
106	refcount.o		\
107	rrwlock.o		\
108	sa.o			\
109	sha256.o		\
110	skein_zfs.o		\
111	spa.o			\
112	spa_checkpoint.o	\
113	spa_config.o		\
114	spa_errlog.o		\
115	spa_history.o		\
116	spa_misc.o		\
117	space_map.o		\
118	space_reftree.o		\
119	txg.o			\
120	uberblock.o		\
121	unique.o		\
122	vdev.o			\
123	vdev_cache.o		\
124	vdev_file.o		\
125	vdev_indirect.o		\
126	vdev_indirect_births.o	\
127	vdev_indirect_mapping.o	\
128	vdev_initialize.o	\
129	vdev_label.o		\
130	vdev_mirror.o		\
131	vdev_missing.o		\
132	vdev_queue.o		\
133	vdev_raidz.o		\
134	vdev_removal.o		\
135	vdev_root.o		\
136	zap.o			\
137	zap_leaf.o		\
138	zap_micro.o		\
139	zcp.o			\
140	zcp_get.o		\
141	zcp_global.o		\
142	zcp_iter.o		\
143	zcp_synctask.o		\
144	zfs_byteswap.o		\
145	zfs_debug.o		\
146	zfs_fm.o		\
147	zfs_fuid.o		\
148	zfs_sa.o		\
149	zfs_znode.o		\
150	zil.o			\
151	zio.o			\
152	zio_checksum.o		\
153	zio_compress.o		\
154	zio_inject.o		\
155	zle.o			\
156	zrlock.o		\
157	zthr.o
158
159ZFS_SHARED_OBJS +=		\
160	zfeature_common.o	\
161	zfs_comutil.o		\
162	zfs_deleg.o		\
163	zfs_fletcher.o		\
164	zfs_namecheck.o		\
165	zfs_prop.o		\
166	zpool_prop.o		\
167	zprop_common.o
168
169ZFS_OBJS +=			\
170	$(ZFS_COMMON_OBJS)	\
171	$(ZFS_SHARED_OBJS)	\
172	zfs_acl.o		\
173	zfs_ctldir.o		\
174	zfs_dir.o		\
175	zfs_ioctl.o		\
176	zfs_ioctl_compat.o	\
177	zfs_log.o		\
178	zfs_onexit.o		\
179	zfs_replay.o		\
180	zfs_rlock.o		\
181	zfs_vfsops.o		\
182	zfs_vnops.o		\
183	zvol.o
184