d62bc4badc1c1f1549c961cfb8b420e650e1272byz# CDDL HEADER START
d62bc4badc1c1f1549c961cfb8b420e650e1272byz# The contents of this file are subject to the terms of the
d62bc4badc1c1f1549c961cfb8b420e650e1272byz# Common Development and Distribution License (the "License").
d62bc4badc1c1f1549c961cfb8b420e650e1272byz# You may not use this file except in compliance with the License.
d62bc4badc1c1f1549c961cfb8b420e650e1272byz# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
d62bc4badc1c1f1549c961cfb8b420e650e1272byz# See the License for the specific language governing permissions
d62bc4badc1c1f1549c961cfb8b420e650e1272byz# and limitations under the License.
d62bc4badc1c1f1549c961cfb8b420e650e1272byz# When distributing Covered Code, include this CDDL HEADER in each
d62bc4badc1c1f1549c961cfb8b420e650e1272byz# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
d62bc4badc1c1f1549c961cfb8b420e650e1272byz# If applicable, add the following below this CDDL HEADER, with the
d62bc4badc1c1f1549c961cfb8b420e650e1272byz# fields enclosed by brackets "[]" replaced with your own identifying
d62bc4badc1c1f1549c961cfb8b420e650e1272byz# information: Portions Copyright [yyyy] [name of copyright owner]
d62bc4badc1c1f1549c961cfb8b420e650e1272byz# CDDL HEADER END
24fe0b3bf671e123467ce1df0b67cadd3614c8e4jmcp# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
d62bc4badc1c1f1549c961cfb8b420e650e1272byz# Use is subject to license terms.
d62bc4badc1c1f1549c961cfb8b420e650e1272byzOBJS= dlmgmt_main.o dlmgmt_door.o dlmgmt_util.o dlmgmt_db.o
2b24ab6b3865caeede9eeb9db6b83e1d89dcd1eaSebastien RoyLDLIBS += -ldladm -ldlpi -lavl -lnvpair -lsysevent -lcontract
2b24ab6b3865caeede9eeb9db6b83e1d89dcd1eaSebastien Roy# Instrument dlmgmtd with CTF data to ease debugging.
2b24ab6b3865caeede9eeb9db6b83e1d89dcd1eaSebastien RoyCTFMERGE_HOOK = && $(CTFMERGE) -L VERSION -o $@ $(OBJS)
2b24ab6b3865caeede9eeb9db6b83e1d89dcd1eaSebastien Roy $(LINK.c) -o $@ $(OBJS) $(LDLIBS) $(CTFMERGE_HOOK)