Makefile.files revision 248571
11592Srgrimes#
21592Srgrimes# CDDL HEADER START
31592Srgrimes#
41592Srgrimes# The contents of this file are subject to the terms of the
51592Srgrimes# Common Development and Distribution License (the "License").
61592Srgrimes# You may not use this file except in compliance with the License.
71592Srgrimes#
81592Srgrimes# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
91592Srgrimes# or http://www.opensolaris.org/os/licensing.
101592Srgrimes# See the License for the specific language governing permissions
111592Srgrimes# and limitations under the License.
121592Srgrimes#
131592Srgrimes# When distributing Covered Code, include this CDDL HEADER in each
141592Srgrimes# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
151592Srgrimes# If applicable, add the following below this CDDL HEADER, with the
161592Srgrimes# fields enclosed by brackets "[]" replaced with your own identifying
171592Srgrimes# information: Portions Copyright [yyyy] [name of copyright owner]
181592Srgrimes#
191592Srgrimes# CDDL HEADER END
201592Srgrimes#
21262435Sbrueffer
221592Srgrimes#
231592Srgrimes# Copyright (c) 1991, 2010, Oracle and/or its affiliates. All rights reserved.
241592Srgrimes# Copyright (c) 2012 by Delphix. All rights reserved.
251592Srgrimes# Copyright (c) 2013 by Saso Kiselkov. All rights reserved.
261592Srgrimes#
271592Srgrimes#
281592Srgrimes# This Makefile defines all file modules for the directory uts/common
291592Srgrimes# and its children. These are the source files which may be considered
301592Srgrimes# common to all SunOS systems.
311592Srgrimes
321592SrgrimesZFS_COMMON_OBJS +=		\
331592Srgrimes	arc.o			\
341592Srgrimes	bplist.o		\
351592Srgrimes	bpobj.o			\
361592Srgrimes	bptree.o		\
3727074Ssteve	dbuf.o			\
381592Srgrimes	ddt.o			\
3927074Ssteve	ddt_zap.o		\
401592Srgrimes	dmu.o			\
41262434Sbrueffer	dmu_diff.o		\
42262434Sbrueffer	dmu_send.o		\
431592Srgrimes	dmu_object.o		\
441592Srgrimes	dmu_objset.o		\
451592Srgrimes	dmu_traverse.o		\
461592Srgrimes	dmu_tx.o		\
471592Srgrimes	dnode.o			\
481592Srgrimes	dnode_sync.o		\
491592Srgrimes	dsl_dir.o		\
501592Srgrimes	dsl_dataset.o		\
511592Srgrimes	dsl_deadlist.o		\
521592Srgrimes	dsl_destroy.o		\
531592Srgrimes	dsl_pool.o		\
541592Srgrimes	dsl_synctask.o		\
551592Srgrimes	dsl_userhold.o		\
561592Srgrimes	dmu_zfetch.o		\
571592Srgrimes	dsl_deleg.o		\
581592Srgrimes	dsl_prop.o		\
591592Srgrimes	dsl_scan.o		\
601592Srgrimes	zfeature.o		\
611592Srgrimes	gzip.o			\
621592Srgrimes	lz4.o			\
631592Srgrimes	lzjb.o			\
641592Srgrimes	metaslab.o		\
651592Srgrimes	refcount.o		\
661592Srgrimes	rrwlock.o		\
671592Srgrimes	sa.o			\
681592Srgrimes	sha256.o		\
691592Srgrimes	spa.o			\
701592Srgrimes	spa_config.o		\
711592Srgrimes	spa_errlog.o		\
721592Srgrimes	spa_history.o		\
731592Srgrimes	spa_misc.o		\
741592Srgrimes	space_map.o		\
751592Srgrimes	txg.o			\
761592Srgrimes	uberblock.o		\
771592Srgrimes	unique.o		\
781592Srgrimes	vdev.o			\
791592Srgrimes	vdev_cache.o		\
801592Srgrimes	vdev_file.o		\
811592Srgrimes	vdev_label.o		\
821592Srgrimes	vdev_mirror.o		\
831592Srgrimes	vdev_missing.o		\
841592Srgrimes	vdev_queue.o		\
851592Srgrimes	vdev_raidz.o		\
861592Srgrimes	vdev_root.o		\
871592Srgrimes	zap.o			\
881592Srgrimes	zap_leaf.o		\
891592Srgrimes	zap_micro.o		\
901592Srgrimes	zfs_byteswap.o		\
911592Srgrimes	zfs_debug.o		\
921592Srgrimes	zfs_fm.o		\
931592Srgrimes	zfs_fuid.o		\
941592Srgrimes	zfs_sa.o		\
951592Srgrimes	zfs_znode.o		\
961592Srgrimes	zil.o			\
971592Srgrimes	zio.o			\
981592Srgrimes	zio_checksum.o		\
991592Srgrimes	zio_compress.o		\
1001592Srgrimes	zio_inject.o		\
10127074Ssteve	zle.o			\
1021592Srgrimes	zrlock.o
1031592Srgrimes
1041592SrgrimesZFS_SHARED_OBJS +=		\
1051592Srgrimes	zfeature_common.o	\
10627074Ssteve	zfs_comutil.o		\
1071592Srgrimes	zfs_deleg.o		\
1081592Srgrimes	zfs_fletcher.o		\
1091592Srgrimes	zfs_namecheck.o		\
1101592Srgrimes	zfs_prop.o		\
1111592Srgrimes	zpool_prop.o		\
1121592Srgrimes	zprop_common.o
1131592Srgrimes
1141592SrgrimesZFS_OBJS +=			\
1151592Srgrimes	$(ZFS_COMMON_OBJS)	\
1161592Srgrimes	$(ZFS_SHARED_OBJS)	\
1171592Srgrimes	zfs_acl.o		\
11827074Ssteve	zfs_ctldir.o		\
11927074Ssteve	zfs_dir.o		\
12027074Ssteve	zfs_ioctl.o		\
1211592Srgrimes	zfs_ioctl_compat.o	\
1221592Srgrimes	zfs_log.o		\
1231592Srgrimes	zfs_onexit.o		\
1241592Srgrimes	zfs_replay.o		\
1251592Srgrimes	zfs_rlock.o		\
1261592Srgrimes	zfs_vfsops.o		\
1271592Srgrimes	zfs_vnops.o		\
12827079Ssteve	zvol.o
12927074Ssteve
1301592SrgrimesZUT_OBJS +=			\
13127074Ssteve	zut.o
1321592Srgrimes