Makefile revision fcf3ce441efd61da9bb2884968af01cb7c1452cc
729N/A#
729N/A# CDDL HEADER START
729N/A#
729N/A# The contents of this file are subject to the terms of the
729N/A# Common Development and Distribution License (the "License").
729N/A# You may not use this file except in compliance with the License.
729N/A#
729N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
729N/A# or http://www.opensolaris.org/os/licensing.
729N/A# See the License for the specific language governing permissions
729N/A# and limitations under the License.
729N/A#
729N/A# When distributing Covered Code, include this CDDL HEADER in each
729N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
729N/A# If applicable, add the following below this CDDL HEADER, with the
729N/A# fields enclosed by brackets "[]" replaced with your own identifying
729N/A# information: Portions Copyright [yyyy] [name of copyright owner]
729N/A#
729N/A# CDDL HEADER END
729N/A#
729N/A
729N/A#
729N/A# Copyright 2008 Sun Microsystems, Inc. All rights reserved.
729N/A# Use is subject to license terms.
729N/A#
729N/A
729N/APROG = sbdadm
729N/A
729N/Ainclude ../Makefile.cmd
729N/A
729N/ACOMMONBASE = ../../common
729N/AUTSBASE = ../../uts
851N/A
729N/ALOCAL_OBJS = sbdadm.o
729N/ACOMMON_OBJS = cmdparse.o
729N/ALOCAL_SRCS = $(LOCAL_OBJS:%.o=%.c)
729N/ACOMMON_SRCS = $(COMMON_OBJS:%.o=$(COMMONBASE)/cmdparse/%.c)
729N/AOBJS = $(LOCAL_OBJS) $(COMMON_OBJS)
729N/ASRCS = $(LOCAL_SRCS) $(COMMON_SRCS)
729N/APOFILE = sbdadm_all.po
729N/APOFILES = $(LOCAL_OBJS:%.o=%.po) $(COMMON_OBJS:%.o=$(COMMONBASE)/cmdparse/%.po)
729N/A
729N/ACPPFLAGS += -I. -I$(COMMONBASE)/cmdparse
729N/ALDLIBS += -lstmf -lnvpair
729N/ALINTFLAGS += -xerroff=E_BAD_PTR_CAST_ALIGN
729N/A
729N/A.KEEP_STATE:
729N/A
729N/Aall: $(PROG)
729N/A
729N/A$(PROG): $(OBJS)
729N/A $(LINK.c) -o $@ $(OBJS) $(LDLIBS)
729N/A $(POST_PROCESS)
729N/A
729N/Ainstall: all $(ROOTUSRSBINPROG)
851N/A
729N/Acheck: $(SRCS) $(CHKMANIFEST)
729N/A $(CSTYLE) -pPc $(SRCS:%=%)
729N/A
729N/A$(POFILE): $(POFILES)
851N/A $(RM) $@
729N/A $(CAT) $(POFILES) > $@
729N/A
729N/Acmdparse.o: $(COMMONBASE)/cmdparse/cmdparse.c
851N/A $(COMPILE.c) -o $@ $(COMMONBASE)/cmdparse/cmdparse.c
729N/A $(POST_PROCESS_O)
729N/A
729N/Aclean:
729N/A $(RM) $(OBJS) $(POFILES) $(POFILE)
729N/A
851N/Alint: lint_SRCS
851N/A
729N/Ainclude ../Makefile.targ
851N/A