fa9e4066f08beec538e775443c5be79dd423fcabahrens#
fa9e4066f08beec538e775443c5be79dd423fcabahrens# CDDL HEADER START
fa9e4066f08beec538e775443c5be79dd423fcabahrens#
fa9e4066f08beec538e775443c5be79dd423fcabahrens# The contents of this file are subject to the terms of the
fa9e4066f08beec538e775443c5be79dd423fcabahrens# Common Development and Distribution License, Version 1.0 only
fa9e4066f08beec538e775443c5be79dd423fcabahrens# (the "License"). You may not use this file except in compliance
fa9e4066f08beec538e775443c5be79dd423fcabahrens# with the License.
fa9e4066f08beec538e775443c5be79dd423fcabahrens#
fa9e4066f08beec538e775443c5be79dd423fcabahrens# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
fa9e4066f08beec538e775443c5be79dd423fcabahrens# or http://www.opensolaris.org/os/licensing.
fa9e4066f08beec538e775443c5be79dd423fcabahrens# See the License for the specific language governing permissions
fa9e4066f08beec538e775443c5be79dd423fcabahrens# and limitations under the License.
fa9e4066f08beec538e775443c5be79dd423fcabahrens#
fa9e4066f08beec538e775443c5be79dd423fcabahrens# When distributing Covered Code, include this CDDL HEADER in each
fa9e4066f08beec538e775443c5be79dd423fcabahrens# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
fa9e4066f08beec538e775443c5be79dd423fcabahrens# If applicable, add the following below this CDDL HEADER, with the
fa9e4066f08beec538e775443c5be79dd423fcabahrens# fields enclosed by brackets "[]" replaced with your own identifying
fa9e4066f08beec538e775443c5be79dd423fcabahrens# information: Portions Copyright [yyyy] [name of copyright owner]
fa9e4066f08beec538e775443c5be79dd423fcabahrens#
fa9e4066f08beec538e775443c5be79dd423fcabahrens# CDDL HEADER END
fa9e4066f08beec538e775443c5be79dd423fcabahrens#
fa9e4066f08beec538e775443c5be79dd423fcabahrens#
fa9e4066f08beec538e775443c5be79dd423fcabahrens# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
fa9e4066f08beec538e775443c5be79dd423fcabahrens# Use is subject to license terms.
fa9e4066f08beec538e775443c5be79dd423fcabahrens#
fa9e4066f08beec538e775443c5be79dd423fcabahrens
fa9e4066f08beec538e775443c5be79dd423fcabahrensMODULE = libzpool.so
fa9e4066f08beec538e775443c5be79dd423fcabahrensMDBTGT = proc
fa9e4066f08beec538e775443c5be79dd423fcabahrens
fa9e4066f08beec538e775443c5be79dd423fcabahrensMODSRCS = zfs.c list.c
fa9e4066f08beec538e775443c5be79dd423fcabahrens
fa9e4066f08beec538e775443c5be79dd423fcabahrensinclude ../../../../Makefile.cmd
fa9e4066f08beec538e775443c5be79dd423fcabahrensinclude ../../../../Makefile.cmd.64
fa9e4066f08beec538e775443c5be79dd423fcabahrensinclude ../../Makefile.amd64
fa9e4066f08beec538e775443c5be79dd423fcabahrensinclude ../../../Makefile.module
c1379625401dfbe1c39b79136dd384a571d47fdeJustin T. Gibbsinclude ../../../common/modules/zfs/Makefile.zfs
fa9e4066f08beec538e775443c5be79dd423fcabahrens
fa9e4066f08beec538e775443c5be79dd423fcabahrensMODSRCS_DIR = ../../../common/modules/zfs
fa9e4066f08beec538e775443c5be79dd423fcabahrensGENUNIX_DIR = ../../../common/modules/genunix
fa9e4066f08beec538e775443c5be79dd423fcabahrens
fa9e4066f08beec538e775443c5be79dd423fcabahrensCPPFLAGS += -I../../../../../lib/libzpool/common \
fa9e4066f08beec538e775443c5be79dd423fcabahrens -I../../../../../uts/common/fs/zfs
fa9e4066f08beec538e775443c5be79dd423fcabahrens
fa9e4066f08beec538e775443c5be79dd423fcabahrensC99MODE= -xc99=%all
fa9e4066f08beec538e775443c5be79dd423fcabahrensC99LMODE= -Xc99=%all
fa9e4066f08beec538e775443c5be79dd423fcabahrens
7014882c6a3672fd0e5d60200af8643ae53c5928Richard LoweCERRWARN += -_gcc=-Wno-type-limits
7014882c6a3672fd0e5d60200af8643ae53c5928Richard Lowe
fa9e4066f08beec538e775443c5be79dd423fcabahrensdmod/%.o: $(GENUNIX_DIR)/%.c
fa9e4066f08beec538e775443c5be79dd423fcabahrens $(COMPILE.c) -o $@ $<
fa9e4066f08beec538e775443c5be79dd423fcabahrens $(CTFCONVERT_O)
fa9e4066f08beec538e775443c5be79dd423fcabahrens
fa9e4066f08beec538e775443c5be79dd423fcabahrensdmod/%.ln: $(GENUNIX_DIR)/%.c
fa9e4066f08beec538e775443c5be79dd423fcabahrens $(LINT.c) -c $<