Makefile revision 7014882c6a3672fd0e5d60200af8643ae53c5928
ba4c566c200c2436dae841b7c811807c80cd712afielding#
ba4c566c200c2436dae841b7c811807c80cd712afielding# CDDL HEADER START
2a7df37e1fa5276b519eb1f04827b96204ba8873trawick#
2a7df37e1fa5276b519eb1f04827b96204ba8873trawick# The contents of this file are subject to the terms of the
2a7df37e1fa5276b519eb1f04827b96204ba8873trawick# Common Development and Distribution License (the "License").
2a7df37e1fa5276b519eb1f04827b96204ba8873trawick# You may not use this file except in compliance with the License.
864c5615d55b8ebbde24e72043f6325741335a74fielding#
864c5615d55b8ebbde24e72043f6325741335a74fielding# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
864c5615d55b8ebbde24e72043f6325741335a74fielding# or http://www.opensolaris.org/os/licensing.
ff33056d9ea71f35e6fb3c17d53a18931be70a99minfrin# See the License for the specific language governing permissions
ff33056d9ea71f35e6fb3c17d53a18931be70a99minfrin# and limitations under the License.
ff33056d9ea71f35e6fb3c17d53a18931be70a99minfrin#
ff33056d9ea71f35e6fb3c17d53a18931be70a99minfrin# When distributing Covered Code, include this CDDL HEADER in each
ea92d0ffcb30b186010a2c8ca2c80d2ac09e34dastoddard# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
ba4c566c200c2436dae841b7c811807c80cd712afielding# If applicable, add the following below this CDDL HEADER, with the
ba4c566c200c2436dae841b7c811807c80cd712afielding# fields enclosed by brackets "[]" replaced with your own identifying
ba4c566c200c2436dae841b7c811807c80cd712afielding# information: Portions Copyright [yyyy] [name of copyright owner]
ba4c566c200c2436dae841b7c811807c80cd712afielding#
82c7b60981923b89fb4ab4483d2aebcf206e9ee8trawick# CDDL HEADER END
342e2ae0f9ab3e3a56c2f37be6ec6c9c44f9ef48trawick#
342e2ae0f9ab3e3a56c2f37be6ec6c9c44f9ef48trawick# Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
342e2ae0f9ab3e3a56c2f37be6ec6c9c44f9ef48trawick#
cb5d3f2f217d457dada4883addb1dc9f3f17bb85fielding# Copyright 2010 Nexenta Systems, Inc. All rights reserved.
cb5d3f2f217d457dada4883addb1dc9f3f17bb85fielding#
cb5d3f2f217d457dada4883addb1dc9f3f17bb85fielding
82c7b60981923b89fb4ab4483d2aebcf206e9ee8trawickPROG= beadm
82c7b60981923b89fb4ab4483d2aebcf206e9ee8trawickOBJS= beadm.o
82c7b60981923b89fb4ab4483d2aebcf206e9ee8trawickSRCS= $(OBJS:%.o=%.c)
82c7b60981923b89fb4ab4483d2aebcf206e9ee8trawickPOFILE= beadm.po
82c7b60981923b89fb4ab4483d2aebcf206e9ee8trawick
7c60e4e710c92b3c4a0eb831bc6dd65368c599bcstoddardinclude ../Makefile.cmd
7c60e4e710c92b3c4a0eb831bc6dd65368c599bcstoddard
7c60e4e710c92b3c4a0eb831bc6dd65368c599bcstoddardLDLIBS += -lnvpair -lbe
7c60e4e710c92b3c4a0eb831bc6dd65368c599bcstoddardCERRWARN += -_gcc=-Wno-parentheses
7c60e4e710c92b3c4a0eb831bc6dd65368c599bcstoddard
0c7d8ecf301c2a3f99deff385bdda0c21ac60af5stoddard$(NOT_RELEASE_BUILD)CPPFLAGS += -DDEBUG
0c7d8ecf301c2a3f99deff385bdda0c21ac60af5stoddard
0c7d8ecf301c2a3f99deff385bdda0c21ac60af5stoddardROOTUSRSBINLINKS = $(PROG:%=$(ROOTUSRSBIN)/%)
0c7d8ecf301c2a3f99deff385bdda0c21ac60af5stoddard
0c7d8ecf301c2a3f99deff385bdda0c21ac60af5stoddard.KEEP_STATE:
0c7d8ecf301c2a3f99deff385bdda0c21ac60af5stoddard
0e161c3b556697af1dd88b719c05d3af239682d5dougm.PARALLEL:
0e161c3b556697af1dd88b719c05d3af239682d5dougm
01f61931c658183042469eb02fd3f61e4e643a6atrawickall: $(PROG)
aa616c3b5a4aa59867472cddf7d8e63693808f0erederpj
aa616c3b5a4aa59867472cddf7d8e63693808f0erederpj$(PROG): $(OBJS)
aa616c3b5a4aa59867472cddf7d8e63693808f0erederpj $(LINK.c) -o $@ $(OBJS) $(LDLIBS)
aa616c3b5a4aa59867472cddf7d8e63693808f0erederpj $(POST_PROCESS)
80e9324586de2fa55e2da4df409e6a85885ea659fielding
80e9324586de2fa55e2da4df409e6a85885ea659fieldinginstall: all $(ROOTSBINPROG) $(ROOTUSRSBINLINKS)
80e9324586de2fa55e2da4df409e6a85885ea659fielding
bacd210652b4559c2597f62e1d41ccbde92acdfafieldingclean:
80e9324586de2fa55e2da4df409e6a85885ea659fielding $(RM) $(OBJS)
4682cf97ee2eca42a7222e0113ebacf5ef70c4efrbb
4682cf97ee2eca42a7222e0113ebacf5ef70c4efrbblint: lint_SRCS
4682cf97ee2eca42a7222e0113ebacf5ef70c4efrbb
9f7fc4627b7d98f6f6955ad6cf0cec5a3e1c4debfielding# Links from /usr/sbin to /sbin
9f7fc4627b7d98f6f6955ad6cf0cec5a3e1c4debfielding$(ROOTUSRSBINLINKS):
9f7fc4627b7d98f6f6955ad6cf0cec5a3e1c4debfielding -$(RM) $@; $(SYMLINK) ../../sbin/$(PROG) $@
1702068419e130e99f021228659597c1ec658edcchuck
1702068419e130e99f021228659597c1ec658edcchuckFRC:
1702068419e130e99f021228659597c1ec658edcchuck
1702068419e130e99f021228659597c1ec658edcchuckinclude ../Makefile.targ
01f61931c658183042469eb02fd3f61e4e643a6atrawick