Makefile revision 6ba597c56d749c61b4f783157f63196d7b2445f0
10139N/A#
10139N/A# CDDL HEADER START
10139N/A#
10139N/A# The contents of this file are subject to the terms of the
10139N/A# Common Development and Distribution License (the "License").
10139N/A# You may not use this file except in compliance with the License.
10139N/A#
10139N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
10139N/A# or http://www.opensolaris.org/os/licensing.
10139N/A# See the License for the specific language governing permissions
10139N/A# and limitations under the License.
10139N/A#
11854N/A# When distributing Covered Code, include this CDDL HEADER in each
11854N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
10139N/A# If applicable, add the following below this CDDL HEADER, with the
10139N/A# fields enclosed by brackets "[]" replaced with your own identifying
10139N/A# information: Portions Copyright [yyyy] [name of copyright owner]
10139N/A#
10139N/A# CDDL HEADER END
10139N/A#
10139N/A#
10139N/A# Copyright 2010 Sun Microsystems, Inc. All rights reserved.
10139N/A# Use is subject to license terms.
10139N/A#
10139N/A
10139N/APROG= dladm
10139N/ACFGFILES= secobj.conf
10139N/A
10139N/AROOTFS_PROG= $(PROG)
10139N/AROOTCFGDIR= $(ROOTETC)/dladm
10139N/AROOTCFGFILES= $(CFGFILES:%=$(ROOTCFGDIR)/%)
10544N/A
10139N/Ainclude ../Makefile.cmd
10139N/A
10139N/AXGETFLAGS += -a -x $(PROG).xcl
10139N/ALDLIBS += -L$(ROOT)/lib -lsocket
10139N/ALDLIBS += -ldladm -ldlpi -lkstat -lsecdb -lbsm -linetutil -ldevinfo
10139N/ALDLIBS += $(ZLAZYLOAD) -lrstp $(ZNOLAZYLOAD)
10139N/A
10139N/A# For headers from librstp.
10139N/ALINTFLAGS += -erroff=E_TRAILING_COMMA_IN_ENUM
10139N/A
10139N/A$(ROOTCFGDIR)/secobj.conf := FILEMODE= 660
10139N/A
10139N/Alint := ZLAZYLOAD=
10139N/Alint := ZNOLAZYLOAD=
10139N/A
10139N/A.KEEP_STATE:
10139N/A
10139N/Aall: $(ROOTFS_PROG)
10139N/A
10139N/Ainstall: all $(ROOTSBINPROG) $(ROOTCFGDIR) $(ROOTCFGFILES)
10139N/A $(RM) $(ROOTUSRSBINPROG)
10139N/A -$(SYMLINK) ../../sbin/$(PROG) $(ROOTUSRSBINPROG)
10139N/A
10139N/Aclean:
10139N/A
10139N/Alint: lint_PROG
10139N/A
10139N/A$(ROOTCFGDIR):
10139N/A $(INS.dir)
10139N/A
10139N/A$(ROOTCFGDIR)/%: $(ROOTCFGDIR) %
10139N/A $(INS.file)
10139N/A
10139N/Ainclude ../Makefile.targ
10139N/A