Makefile revision 210db2243d3b5ca39c96a4c34c6d9453ddfbeaa9
2086N/A#
2086N/A# CDDL HEADER START
2086N/A#
2086N/A# The contents of this file are subject to the terms of the
2086N/A# Common Development and Distribution License, Version 1.0 only
2086N/A# (the "License"). You may not use this file except in compliance
2086N/A# with the License.
6983N/A#
6983N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
2086N/A# or http://www.opensolaris.org/os/licensing.
2086N/A# See the License for the specific language governing permissions
2086N/A# and limitations under the License.
2086N/A#
6983N/A# When distributing Covered Code, include this CDDL HEADER in each
6983N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
6983N/A# If applicable, add the following below this CDDL HEADER, with the
6983N/A# fields enclosed by brackets "[]" replaced with your own identifying
2086N/A# information: Portions Copyright [yyyy] [name of copyright owner]
2086N/A#
2086N/A# CDDL HEADER END
2086N/A#
4567N/A#
2122N/A# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
2086N/A# Use is subject to license terms.
2086N/A#
2086N/A#ident "%Z%%M% %I% %E% SMI"
2086N/A#
2086N/A
2086N/APROG= dladm
2086N/A
2086N/AROOTFS_PROG= $(PROG)
2086N/ACONFIGFILES= aggregation.conf
2086N/A
2086N/APOFILE= $(PROG).po
2086N/A
2086N/Ainclude ../Makefile.cmd
2086N/A
2086N/ALDLIBS += -ldladm -lmacadm -ldlpi -llaadm -lkstat
2086N/A
2086N/AICONFIGFILES= $(CONFIGFILES:%=$(ROOTETC)/%)
2086N/A
2086N/A$(ICONFIGFILES):= FILEMODE= 644
2086N/A$(ICONFIGFILES):= OWNER= root
2086N/A$(ICONFIGFILES):= GROUP= sys
2086N/A
2086N/A.KEEP_STATE:
2086N/A
2086N/Aall: $(ROOTFS_PROG)
2086N/A
2086N/A#
2086N/A# Message catalog
2086N/A#
2086N/A_msg: $(POFILE)
2086N/A
2086N/A$(POFILE): $(PROG).c
2086N/A $(RM) $@
2086N/A $(COMPILE.cpp) $(PROG).c > $(POFILE).i
2086N/A $(XGETTEXT) $(XGETFLAGS) $(POFILE).i
2086N/A sed "/^domain/d" messages.po > $@
2086N/A $(RM) messages.po $(POFILE).i
2086N/A
2086N/Ainstall: all $(ROOTSBINPROG) $(ICONFIGFILES)
2086N/A $(RM) $(ROOTUSRSBINPROG)
2086N/A -$(SYMLINK) ../../sbin/$(PROG) $(ROOTUSRSBINPROG)
2086N/A
2086N/Aclean:
2086N/A
2086N/Alint: lint_PROG
2086N/A
2086N/Ainclude ../Makefile.targ
2086N/A