Makefile revision 7014882c6a3672fd0e5d60200af8643ae53c5928
15497N/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.
15497N/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
17185N/A# and limitations under the License.
10139N/A#
10139N/A# When distributing Covered Code, include this CDDL HEADER in each
10139N/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]
15497N/A#
10139N/A# CDDL HEADER END
10139N/A#
10139N/A#
10139N/A# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
10139N/A# Use is subject to license terms.
10139N/A#
10139N/A
10139N/A.KEEP_STATE:
10139N/A
10139N/APROG = dscfg
10139N/ASHFILES = dscfgadm
10139N/ACLOBBERFILES = $(SHFILES)
19142N/A
10139N/Ainclude ../../Makefile.cmd
10139N/Ainclude ../Makefile.com
10139N/A
12719N/A
19140N/ALPROG = $(PROG:%=%.li)
10139N/A
10139N/ASUBDIRS= etc
19142N/A
15497N/AOBJS= dscfg.o
15497N/A
10139N/ACFLAGS += $(CCVERBOSE) -D_SYSCALL32
10139N/ACERRWARN += -_gcc=-Wno-unused-variable
19013N/ACERRWARN += -_gcc=-Wno-address
10139N/ALDLIBS += -ldscfg -lunistat
10139N/ALINTFLAGS += -Xa -n -s -x -m -u -Dlint -errhdr=%user -D_SYSCALL32
10139N/ALINTFLAGS += -erroff=E_NOP_ELSE_STMT -erroff=E_FUNC_SET_NOT_USED
10139N/ALINTFLAGS += -erroff=E_BAD_FORMAT_ARG_TYPE2
19142N/ALINTFLAGS += -erroff=E_FUNC_RET_MAYBE_IGNORED2
10139N/ALINTFLAGS += -erroff=E_FUNC_RET_ALWAYS_IGNOR2
17961N/ALINTDIR = $(KBASE)/lintdir
10139N/ALFILE = $(LINTDIR)/dscfg.ln
10139N/AROOTLINK = $(ROOTUSRSBIN)/$(PROG)
10139N/AROOTSHLINK = $(ROOTUSRSBIN)/$(SHFILES)
10139N/A
10139N/Aall := TARGET= all
10139N/Ainstall := TARGET= install
10139N/Aclean := TARGET= clean
10139N/Aclobber := TARGET= clobber
10139N/Alint := TARGET= lint
10139N/A
10139N/Aall: $(SUBDIRS) $(PROG) $(SHFILES)
10139N/A
15497N/Ainstall: $(SUBDIRS) all $(ROOTSHFILES) $(ROOTPROG) $(ROOTLINK) $(ROOTSHLINK)
15497N/A
10139N/Alint: $(SUBDIRS) lint_PROG
10139N/A
15497N/Aclean: $(SUBDIRS)
15497N/A $(RM) *.o
15497N/A
15497N/A$(SUBDIRS): FRC
10139N/A @cd $@; pwd; $(MAKE) $(TARGET)
10139N/A
10139N/A$(ROOTLINK): $(ROOTUSRSBIN) $(ROOTPROG)
10139N/A -$(RM) $@; $(LN) $(ROOTPROG) $@
10139N/A
10139N/A$(ROOTSHLINK): $(ROOTUSRSBIN) $(ROOTSHFILES)
10139N/A -$(RM) $@; $(LN) $(ROOTSHFILES) $@
10139N/A
10139N/AFRC:
10139N/A
10139N/Ainclude ../../Makefile.targ
10139N/A