Makefile revision 4eaa471005973e11a6110b69fe990530b3b95a38
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes#
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes# CDDL HEADER START
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes#
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes# The contents of this file are subject to the terms of the
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes# Common Development and Distribution License (the "License").
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes# You may not use this file except in compliance with the License.
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes#
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes# or http://www.opensolaris.org/os/licensing.
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes# See the License for the specific language governing permissions
0662ed52e814f8f08ef0e09956413a792584eddffuankg# and limitations under the License.
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes#
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes# When distributing Covered Code, include this CDDL HEADER in each
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes# If applicable, add the following below this CDDL HEADER, with the
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes# fields enclosed by brackets "[]" replaced with your own identifying
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes# information: Portions Copyright [yyyy] [name of copyright owner]
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes#
70953fb44a7140fe206c3a5f011e24209c8c5c6abnicholes# CDDL HEADER END
70953fb44a7140fe206c3a5f011e24209c8c5c6abnicholes#
16b55a35cff91315d261d1baa776138af465c4e4fuankg#
16b55a35cff91315d261d1baa776138af465c4e4fuankg# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
16b55a35cff91315d261d1baa776138af465c4e4fuankg# Use is subject to license terms.
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes#
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes
cb2846ded4de1abbb5934b92132baf826f1babfebnicholesPROG= dladm
cb2846ded4de1abbb5934b92132baf826f1babfebnicholesCFGFILES= secobj.conf
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes
cb2846ded4de1abbb5934b92132baf826f1babfebnicholesROOTFS_PROG= $(PROG)
cb2846ded4de1abbb5934b92132baf826f1babfebnicholesROOTCFGDIR= $(ROOTETC)/dladm
cb2846ded4de1abbb5934b92132baf826f1babfebnicholesROOTCFGFILES= $(CFGFILES:%=$(ROOTCFGDIR)/%)
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes
cb2846ded4de1abbb5934b92132baf826f1babfebnicholesinclude ../Makefile.cmd
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes
cb2846ded4de1abbb5934b92132baf826f1babfebnicholesXGETFLAGS += -a -x $(PROG).xcl
cb2846ded4de1abbb5934b92132baf826f1babfebnicholesLDLIBS += -L$(ROOT)/lib -lsocket
cb2846ded4de1abbb5934b92132baf826f1babfebnicholesLDLIBS += -ldladm -ldlpi -lkstat -lsecdb -lbsm -linetutil -ldevinfo
cb2846ded4de1abbb5934b92132baf826f1babfebnicholesLDLIBS += $(ZLAZYLOAD) -lrstp $(ZNOLAZYLOAD)
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes# For headers from librstp.
cb2846ded4de1abbb5934b92132baf826f1babfebnicholesLINTFLAGS += -erroff=E_TRAILING_COMMA_IN_ENUM
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes$(ROOTCFGDIR)/secobj.conf := FILEMODE= 600
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes
cb2846ded4de1abbb5934b92132baf826f1babfebnicholeslint := ZLAZYLOAD=
cb2846ded4de1abbb5934b92132baf826f1babfebnicholeslint := ZNOLAZYLOAD=
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes.KEEP_STATE:
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes
cb2846ded4de1abbb5934b92132baf826f1babfebnicholesall: $(ROOTFS_PROG)
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes
cb2846ded4de1abbb5934b92132baf826f1babfebnicholesinstall: all $(ROOTSBINPROG) $(ROOTCFGDIR) $(ROOTCFGFILES)
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes $(RM) $(ROOTUSRSBINPROG)
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes -$(SYMLINK) ../../sbin/$(PROG) $(ROOTUSRSBINPROG)
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes
cb2846ded4de1abbb5934b92132baf826f1babfebnicholesclean:
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes
cb2846ded4de1abbb5934b92132baf826f1babfebnicholeslint: lint_PROG
ac7985784d08a3655291f24f711812b4d8b1cbcffuankg
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes$(ROOTCFGDIR):
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes $(INS.dir)
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes$(ROOTCFGDIR)/%: $(ROOTCFGDIR) %
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes $(INS.file)
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes
cb2846ded4de1abbb5934b92132baf826f1babfebnicholesinclude ../Makefile.targ
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes