1*f169c0eaSGlenn Lagasse# 2*f169c0eaSGlenn Lagasse# CDDL HEADER START 3*f169c0eaSGlenn Lagasse# 4*f169c0eaSGlenn Lagasse# The contents of this file are subject to the terms of the 5*f169c0eaSGlenn Lagasse# Common Development and Distribution License (the "License"). 6*f169c0eaSGlenn Lagasse# You may not use this file except in compliance with the License. 7*f169c0eaSGlenn Lagasse# 8*f169c0eaSGlenn Lagasse# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 9*f169c0eaSGlenn Lagasse# or http://www.opensolaris.org/os/licensing. 10*f169c0eaSGlenn Lagasse# See the License for the specific language governing permissions 11*f169c0eaSGlenn Lagasse# and limitations under the License. 12*f169c0eaSGlenn Lagasse# 13*f169c0eaSGlenn Lagasse# When distributing Covered Code, include this CDDL HEADER in each 14*f169c0eaSGlenn Lagasse# file and include the License file at usr/src/OPENSOLARIS.LICENSE. 15*f169c0eaSGlenn Lagasse# If applicable, add the following below this CDDL HEADER, with the 16*f169c0eaSGlenn Lagasse# fields enclosed by brackets "[]" replaced with your own identifying 17*f169c0eaSGlenn Lagasse# information: Portions Copyright [yyyy] [name of copyright owner] 18*f169c0eaSGlenn Lagasse# 19*f169c0eaSGlenn Lagasse# CDDL HEADER END 20*f169c0eaSGlenn Lagasse# 21*f169c0eaSGlenn Lagasse 22*f169c0eaSGlenn Lagasse# 23*f169c0eaSGlenn Lagasse# Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved. 24*f169c0eaSGlenn Lagasse# 25*f169c0eaSGlenn Lagasse 26*f169c0eaSGlenn LagasseLIBRARY= libbe.a 27*f169c0eaSGlenn LagasseVERS= .1 28*f169c0eaSGlenn Lagasse 29*f169c0eaSGlenn LagasseOBJECTS= \ 30*f169c0eaSGlenn Lagasse be_activate.o \ 31*f169c0eaSGlenn Lagasse be_create.o \ 32*f169c0eaSGlenn Lagasse be_list.o \ 33*f169c0eaSGlenn Lagasse be_mount.o \ 34*f169c0eaSGlenn Lagasse be_rename.o \ 35*f169c0eaSGlenn Lagasse be_snapshot.o \ 36*f169c0eaSGlenn Lagasse be_utils.o \ 37*f169c0eaSGlenn Lagasse be_zones.o 38*f169c0eaSGlenn Lagasse 39*f169c0eaSGlenn Lagasseinclude ../../Makefile.lib 40*f169c0eaSGlenn Lagasse 41*f169c0eaSGlenn LagasseLIBS= $(DYNLIB) $(LINTLIB) 42*f169c0eaSGlenn Lagasse 43*f169c0eaSGlenn LagasseSRCDIR= ../common 44*f169c0eaSGlenn Lagasse 45*f169c0eaSGlenn LagasseINCS += -I$(SRCDIR) 46*f169c0eaSGlenn Lagasse 47*f169c0eaSGlenn LagasseC99MODE= $(C99_ENABLE) 48*f169c0eaSGlenn Lagasse 49*f169c0eaSGlenn LagasseLDLIBS += -lzfs -linstzones -luuid -lnvpair -lc -lgen 50*f169c0eaSGlenn LagasseCPPFLAGS += $(INCS) 51*f169c0eaSGlenn Lagasse 52*f169c0eaSGlenn Lagasse$(LINTLIB) := SRCS= $(SRCDIR)/$(LINTSRC) 53*f169c0eaSGlenn Lagasse 54*f169c0eaSGlenn Lagasse.KEEP_STATE: 55*f169c0eaSGlenn Lagasse 56*f169c0eaSGlenn Lagasseall: $(LIBS) $(LIBRARY) 57*f169c0eaSGlenn Lagasse 58*f169c0eaSGlenn Lagasselint: lintcheck 59*f169c0eaSGlenn Lagasse 60*f169c0eaSGlenn Lagasseinstall: $(ROOTLIBS) 61*f169c0eaSGlenn Lagasse 62*f169c0eaSGlenn Lagasseinclude ../../Makefile.targ 63