Makefile revision 9444c26f4faabda140242c3986089704c4073ced
10139N/A#
10139N/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.
10139N/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
10139N/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]
10139N/A#
10139N/A# CDDL HEADER END
10139N/A#
10139N/A#
10139N/A# Copyright 2010 Sun Microsystems, Inc. All rights reserved.
10139N/A# Use is subject to license terms.
10139N/A#
10139N/A
10139N/APROG = mfstscan
10139N/A
10139N/AOBJS = mfstscan.o \
10139N/A manifest_find.o \
10139N/A manifest_hash.o
10139N/A
10139N/ASRCS = mfstscan.c \
10139N/A ../common/manifest_find.c \
10139N/A ../common/manifest_hash.c
10139N/A
10139N/APOFILES = $(SRCS:.c=.po)
10139N/A
10139N/AROOTLIBSVCBINPROG = $(ROOT)/lib/svc/bin/$(PROG)
10139N/A
10139N/Ainclude ../../Makefile.cmd
10139N/A
10139N/APOFILE = $(PROG)_all.po
10139N/ACPPFLAGS += -I../common
10139N/ALDLIBS += -lscf -luutil -lmd5
10139N/ACLOBBERFILES += $(POFILES)
10139N/A
10139N/Alint := LINTFLAGS = -ux -erroff=E_GLOBAL_COULD_BE_STATIC2
10139N/A
10139N/A.KEEP_STATE:
10139N/A
10139N/Aall: $(PROG)
10139N/A
10139N/A$(PROG): $(OBJS)
10139N/A $(LINK.c) -o $@ $(OBJS) $(LDLIBS)
10139N/A $(POST_PROCESS)
10139N/A
10139N/A$(POFILE): $(POFILES)
10139N/A cat $(POFILES) > $(POFILE)
10139N/A
10139N/Ainstall: all $(ROOTLIBSVCBINPROG)
10139N/A
10139N/A$(ROOTLIBSVCBIN)/%: %
10139N/A $(INS.file)
10139N/A
10139N/Aclean:
10139N/A $(RM) $(OBJS)
10139N/A
10139N/Alint: lint_SRCS
10139N/A
10139N/A%.o: ../common/%.c
10139N/A $(COMPILE.c) $(OUTPUT_OPTION) $< $(CTFCONVERT_HOOK)
11965N/A $(POST_PROCESS_O)
11965N/A
10139N/Ainclude ../../Makefile.targ
10139N/A