Makefile revision b327cd3f3b4dab4f29e7140159b1e01ed2ceef2a
6a67d144095c31bbafed93cec1619590157335eajvergara# CDDL HEADER START
6a67d144095c31bbafed93cec1619590157335eajvergara# The contents of this file are subject to the terms of the
6a67d144095c31bbafed93cec1619590157335eajvergara# Common Development and Distribution License (the "License").
6a67d144095c31bbafed93cec1619590157335eajvergara# You may not use this file except in compliance with the License.
6a67d144095c31bbafed93cec1619590157335eajvergara# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
8cf870d281dc8c242f083d14dfef05f24aa5fceeJnRouvignac# See the License for the specific language governing permissions
6a67d144095c31bbafed93cec1619590157335eajvergara# and limitations under the License.
6a67d144095c31bbafed93cec1619590157335eajvergara# When distributing Covered Code, include this CDDL HEADER in each
6a67d144095c31bbafed93cec1619590157335eajvergara# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
8cf870d281dc8c242f083d14dfef05f24aa5fceeJnRouvignac# If applicable, add the following below this CDDL HEADER, with the
8cf870d281dc8c242f083d14dfef05f24aa5fceeJnRouvignac# fields enclosed by brackets "[]" replaced with your own identifying
8cf870d281dc8c242f083d14dfef05f24aa5fceeJnRouvignac# information: Portions Copyright [yyyy] [name of copyright owner]
6a67d144095c31bbafed93cec1619590157335eajvergara# CDDL HEADER END
6a67d144095c31bbafed93cec1619590157335eajvergara# Copyright (c) 2005, 2010, Oracle and/or its affiliates. All rights reserved.
6a67d144095c31bbafed93cec1619590157335eajvergara# Copyright 2016 Igor Kozhukhov <ikozhukhov@gmail.com>.
6a67d144095c31bbafed93cec1619590157335eajvergaraOBJS= zpool_main.o zpool_vdev.o zpool_iter.o zpool_util.o
6a67d144095c31bbafed93cec1619590157335eajvergaraSTAT_COMMON_SRCS = $(STAT_COMMON_OBJS:%.o=$(STATCOMMONDIR)/%.c)
6a67d144095c31bbafed93cec1619590157335eajvergaraLDLIBS += -lzfs -lnvpair -ldevid -lefi -ldiskmgt -luutil -lumem
6a67d144095c31bbafed93cec1619590157335eajvergaraCPPFLAGS += -D_LARGEFILE64_SOURCE=1 -D_REENTRANT $(INCS)
2401d3c2af505789c7c3b860a43e973f27731243jvergara# lint complains about unused _umem_* functions
2401d3c2af505789c7c3b860a43e973f27731243jvergara $(LINK.c) -o $@ $(OBJS) $(STAT_COMMON_OBJS) $(LDLIBS)
$(ROOTUSRSBINLINKS):