10dc2366fSVenugopal Iyer# 20dc2366fSVenugopal Iyer# CDDL HEADER START 30dc2366fSVenugopal Iyer# 40dc2366fSVenugopal Iyer# The contents of this file are subject to the terms of the 50dc2366fSVenugopal Iyer# Common Development and Distribution License (the "License"). 60dc2366fSVenugopal Iyer# You may not use this file except in compliance with the License. 70dc2366fSVenugopal Iyer# 80dc2366fSVenugopal Iyer# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 90dc2366fSVenugopal Iyer# or http://www.opensolaris.org/os/licensing. 100dc2366fSVenugopal Iyer# See the License for the specific language governing permissions 110dc2366fSVenugopal Iyer# and limitations under the License. 120dc2366fSVenugopal Iyer# 130dc2366fSVenugopal Iyer# When distributing Covered Code, include this CDDL HEADER in each 140dc2366fSVenugopal Iyer# file and include the License file at usr/src/OPENSOLARIS.LICENSE. 150dc2366fSVenugopal Iyer# If applicable, add the following below this CDDL HEADER, with the 160dc2366fSVenugopal Iyer# fields enclosed by brackets "[]" replaced with your own identifying 170dc2366fSVenugopal Iyer# information: Portions Copyright [yyyy] [name of copyright owner] 180dc2366fSVenugopal Iyer# 190dc2366fSVenugopal Iyer# CDDL HEADER END 200dc2366fSVenugopal Iyer# 210dc2366fSVenugopal Iyer# 220dc2366fSVenugopal Iyer# Copyright 2010 Sun Microsystems, Inc. All rights reserved. 230dc2366fSVenugopal Iyer# Use is subject to license terms. 240dc2366fSVenugopal Iyer# 250dc2366fSVenugopal Iyer# 260dc2366fSVenugopal Iyer 270dc2366fSVenugopal IyerPROG= dlstat 280dc2366fSVenugopal Iyer 290dc2366fSVenugopal IyerROOTFS_PROG= $(PROG) 300dc2366fSVenugopal Iyer 310dc2366fSVenugopal Iyerinclude ../Makefile.cmd 320dc2366fSVenugopal Iyer 33*7014882cSRichard LoweCERRWARN += -_gcc=-Wno-implicit-function-declaration 34*7014882cSRichard LoweCERRWARN += -_gcc=-Wno-unused-label 35*7014882cSRichard LoweCERRWARN += -_gcc=-Wno-unused-variable 36*7014882cSRichard LoweCERRWARN += -_gcc=-Wno-uninitialized 37*7014882cSRichard Lowe 380dc2366fSVenugopal IyerXGETFLAGS += -a -x $(PROG).xcl 390dc2366fSVenugopal IyerLDLIBS += -L$(ROOT)/lib 400dc2366fSVenugopal IyerLDLIBS += -ldladm -linetutil 410dc2366fSVenugopal Iyer 420dc2366fSVenugopal Iyer.KEEP_STATE: 430dc2366fSVenugopal Iyer 440dc2366fSVenugopal Iyerall: $(ROOTFS_PROG) 450dc2366fSVenugopal Iyer 460dc2366fSVenugopal Iyerinstall: all $(ROOTSBINPROG) 470dc2366fSVenugopal Iyer $(RM) $(ROOTUSRSBINPROG) 480dc2366fSVenugopal Iyer -$(SYMLINK) ../../sbin/$(PROG) $(ROOTUSRSBINPROG) 490dc2366fSVenugopal Iyer 500dc2366fSVenugopal Iyerclean: 510dc2366fSVenugopal Iyer 520dc2366fSVenugopal Iyerlint: lint_PROG 530dc2366fSVenugopal Iyer 540dc2366fSVenugopal Iyerinclude ../Makefile.targ 55