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