Makefile revision a1e9eea083a8f257157edb8a1efb5bbd300eb4bf
970N/A# CDDL HEADER START
970N/A#
970N/A# The contents of this file are subject to the terms of the
970N/A# Common Development and Distribution License (the "License").
1072N/A# You may not use this file except in compliance with the License.
970N/A#
970N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
970N/A# or http://www.opensolaris.org/os/licensing.
970N/A# See the License for the specific language governing permissions
970N/A# and limitations under the License.
970N/A#
970N/A# When distributing Covered Code, include this CDDL HEADER in each
970N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
970N/A# If applicable, add the following below this CDDL HEADER, with the
970N/A# fields enclosed by brackets "[]" replaced with your own identifying
970N/A# information: Portions Copyright [yyyy] [name of copyright owner]
970N/A#
970N/A# CDDL HEADER END
970N/A#
970N/A#
970N/A# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
970N/A# Use is subject to license terms.
970N/A#
970N/A
970N/ADYNPROG= svadm svboot
970N/A
970N/Ainclude ../../Makefile.cmd
970N/Ainclude ../Makefile.com
970N/A
970N/APROG = $(DYNPROG)
970N/ALPROG = $(PROG:%=%.li)
970N/A
970N/ASUBDIRS= etc
970N/A
970N/Asvadm := POBJS = svadm.o
970N/Asvboot := POBJS = svboot.o
970N/A
970N/AOBJS= svadm.o svboot.o
970N/ASRCS= $(OBJS:%.o=%.c)
970N/APOFILE = sv_all.po
970N/APOFILES = $(OBJS:%.o=%.po)
970N/A
970N/Asvadm := LDLIBS += -lunistat -ldscfg
1105N/Asvboot := LDLIBS += -lunistat -ldscfg
970N/A
970N/ACFLAGS += -v
970N/ALINTFLAGS += -erroff=E_NAME_USED_NOT_DEF2
970N/ALINTFLAGS += -erroff=E_SEC_SCANF_UNBOUNDED_COPY
970N/ALINTFLAGS += -erroff=E_SEC_PRINTF_VAR_FMT
970N/AROOTLINK1 = $(ROOTUSRSBIN)/svadm
970N/AROOTLINK2 = $(ROOTUSRSBIN)/svboot
970N/A
970N/Aall := TARGET= all
970N/Ainstall := TARGET= install
970N/Aclean := TARGET= clean
970N/Aclobber := TARGET= clobber
970N/Alint := TARGET= lint
970N/A
970N/A.KEEP_STATE:
970N/A
970N/A.PARALLEL: $(OBJS)
970N/A
970N/Aall: $(SUBDIRS) $(PROG) $(POFILES)
970N/A
970N/Ainstall: $(SUBDIRS) all $(ROOTPROG) $(ROOTLINK1) $(ROOTLINK2)
970N/A
970N/Alint: $(SUBDIRS) $(LPROG)
970N/A
970N/Aclean: $(SUBDIRS)
1130N/A $(RM) *.o $(POFILE)
970N/A
970N/A$(PROG): $$(POBJS)
970N/A $(LINK.c) $(POBJS) -o $@ $(LDLIBS)
970N/A $(POST_PROCESS)
970N/A
970N/A$(POFILE): $(POFILES)
970N/A $(RM) $@
970N/A $(CAT) $(POFILES) > $@
970N/A
970N/A$(SUBDIRS): FRC
970N/A @cd $@; pwd; $(MAKE) $(TARGET)
970N/A
970N/A$(LPROG):
970N/A $(LINT.c) $(@:%.li=%.c) $(LDLIBS)
970N/A
970N/A$(ROOTLINK1): $(ROOTUSRSBIN) $(ROOTPROG)
970N/A -$(RM) $@; $(LN) $(ROOTBIN)/svadm $@
970N/A
970N/A$(ROOTLINK2): $(ROOTUSRSBIN) $(ROOTPROG)
970N/A -$(RM) $@; $(LN) $(ROOTBIN)/svboot $@
970N/A
970N/AFRC:
970N/A
970N/Ainclude ../../Makefile.targ
970N/A