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