Makefile.com revision 9e69d7d0feb2a0394435ca1d9746c4c3d7bf9b22
5785N/A#
5785N/A# CDDL HEADER START
5785N/A#
5785N/A# The contents of this file are subject to the terms of the
5785N/A# Common Development and Distribution License (the "License").
5785N/A# You may not use this file except in compliance with the License.
5785N/A#
5785N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
5785N/A# or http://www.opensolaris.org/os/licensing.
5785N/A# See the License for the specific language governing permissions
5785N/A# and limitations under the License.
5785N/A#
5785N/A# When distributing Covered Code, include this CDDL HEADER in each
5785N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
5785N/A# If applicable, add the following below this CDDL HEADER, with the
5785N/A# fields enclosed by brackets "[]" replaced with your own identifying
5785N/A# information: Portions Copyright [yyyy] [name of copyright owner]
5785N/A#
5785N/A# CDDL HEADER END
5785N/A#
5785N/A#
5785N/A# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
5785N/A# Use is subject to license terms.
5785N/A#
5785N/A
5785N/ALIBRARY= libzfs.a
5785N/AVERS= .1
5785N/A
5785N/AOBJS_SHARED= \
5785N/A zfs_comutil.o \
5785N/A zfs_deleg.o \
5785N/A zfs_fletcher.o \
5785N/A zfs_namecheck.o \
5785N/A zfs_prop.o \
5785N/A zpool_prop.o \
5785N/A zprop_common.o
5785N/A
5785N/AOBJS_COMMON= \
5785N/A libzfs_changelist.o \
5785N/A libzfs_config.o \
5785N/A libzfs_dataset.o \
5785N/A libzfs_fru.o \
5785N/A libzfs_graph.o \
5785N/A libzfs_import.o \
5785N/A libzfs_mount.o \
5785N/A libzfs_pool.o \
5785N/A libzfs_sendrecv.o \
5785N/A libzfs_status.o \
5785N/A libzfs_util.o
5785N/A
5785N/AOBJECTS= $(OBJS_COMMON) $(OBJS_SHARED)
5785N/A
5785N/Ainclude ../../Makefile.lib
5785N/A
5785N/A# libzfs must be installed in the root filesystem for mount(1M)
5785N/Ainclude ../../Makefile.rootfs
5785N/A
5785N/ALIBS= $(DYNLIB) $(LINTLIB)
5785N/A
5785N/ASRCDIR = ../common
5785N/A
5785N/AINCS += -I$(SRCDIR)
5785N/AINCS += -I../../../uts/common/fs/zfs
5785N/AINCS += -I../../../common/zfs
5785N/AINCS += -I../../libc/inc
5785N/A
5785N/AC99MODE= -xc99=%all
5785N/AC99LMODE= -Xc99=%all
5785N/ALDLIBS += -lc -lm -ldevid -lgen -lnvpair -luutil -lavl -lefi \
5785N/A -ladm -lidmap -ltsol -lmd -lumem
5785N/ACPPFLAGS += $(INCS) -D_REENTRANT
5785N/A
5785N/ASRCS= $(OBJS_COMMON:%.o=$(SRCDIR)/%.c) \
5785N/A $(OBJS_SHARED:%.o=$(SRC)/common/zfs/%.c)
5785N/A$(LINTLIB) := SRCS= $(SRCDIR)/$(LINTSRC)
5785N/A
5785N/A.KEEP_STATE:
5785N/A
5785N/Aall: $(LIBS)
5785N/A
5785N/Alint: lintcheck
5785N/A
5785N/Apics/%.o: ../../../common/zfs/%.c
5785N/A $(COMPILE.c) -o $@ $<
5785N/A $(POST_PROCESS_O)
5785N/A
5785N/Ainclude ../../Makefile.targ
5785N/A