Makefile revision dc307942eac821bc70a7a69cbb1ddec4184607c1
287N/A#
287N/A# CDDL HEADER START
287N/A#
287N/A# The contents of this file are subject to the terms of the
911N/A# Common Development and Distribution License, Version 1.0 only
851N/A# (the "License"). You may not use this file except in compliance
287N/A# with the License.
287N/A#
919N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
919N/A# or http://www.opensolaris.org/os/licensing.
919N/A# See the License for the specific language governing permissions
919N/A# and limitations under the License.
919N/A#
919N/A# When distributing Covered Code, include this CDDL HEADER in each
919N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
919N/A# If applicable, add the following below this CDDL HEADER, with the
919N/A# fields enclosed by brackets "[]" replaced with your own identifying
919N/A# information: Portions Copyright [yyyy] [name of copyright owner]
919N/A#
919N/A# CDDL HEADER END
919N/A#
919N/A#
919N/A# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
919N/A# Use is subject to license terms.
919N/A#
287N/A# ident "%Z%%M% %I% %E% SMI"
287N/A#
287N/A
287N/APROG= availdevs
493N/A
287N/Ainclude ../Makefile.cmd
287N/A
851N/AROOTCMDDIR= $(ROOTLIB)/zfs
287N/A
911N/AINCS += -I/usr/include/libxml2
911N/A
911N/A#
911N/A# There is no lint library for libxml2, so we need to avoid linking against
287N/A# it during lint, as well as turning off the warnings lint would generate.
493N/A#
287N/ALDLIBS += -lzfs_jni
287N/Aall install := LDLIBS += -lxml2
287N/ALINTFLAGS += -xerroff=E_NAME_USED_NOT_DEF2
287N/A
287N/ACPPFLAGS += $(INCS) -D_LARGEFILE64_SOURCE=1 -D_REENTRANT
287N/A$(NOT_RELEASE_BUILD) CPPFLAGS += -DDEBUG
287N/A
287N/A.KEEP_STATE:
287N/A
287N/Aall: $(PROG)
493N/A
287N/Ainstall: all $(ROOTCMD)
287N/A
493N/Aclean:
287N/A
287N/Alint: lint_PROG
287N/A
287N/Ainclude ../Makefile.targ
287N/A