Makefile revision 7014882c6a3672fd0e5d60200af8643ae53c5928
b1a86433b3bd93dfae6224de6581d6a25135fb0bneil_a_wilson#
b1a86433b3bd93dfae6224de6581d6a25135fb0bneil_a_wilson# CDDL HEADER START
188a85993cf1cf9925338176e5f27b95a5891c50matthew_swift#
188a85993cf1cf9925338176e5f27b95a5891c50matthew_swift# The contents of this file are subject to the terms of the
188a85993cf1cf9925338176e5f27b95a5891c50matthew_swift# Common Development and Distribution License (the "License").
188a85993cf1cf9925338176e5f27b95a5891c50matthew_swift# You may not use this file except in compliance with the License.
188a85993cf1cf9925338176e5f27b95a5891c50matthew_swift#
188a85993cf1cf9925338176e5f27b95a5891c50matthew_swift# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
188a85993cf1cf9925338176e5f27b95a5891c50matthew_swift# or http://www.opensolaris.org/os/licensing.
188a85993cf1cf9925338176e5f27b95a5891c50matthew_swift# See the License for the specific language governing permissions
188a85993cf1cf9925338176e5f27b95a5891c50matthew_swift# and limitations under the License.
188a85993cf1cf9925338176e5f27b95a5891c50matthew_swift#
188a85993cf1cf9925338176e5f27b95a5891c50matthew_swift# When distributing Covered Code, include this CDDL HEADER in each
188a85993cf1cf9925338176e5f27b95a5891c50matthew_swift# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
188a85993cf1cf9925338176e5f27b95a5891c50matthew_swift# If applicable, add the following below this CDDL HEADER, with the
188a85993cf1cf9925338176e5f27b95a5891c50matthew_swift# fields enclosed by brackets "[]" replaced with your own identifying
188a85993cf1cf9925338176e5f27b95a5891c50matthew_swift# information: Portions Copyright [yyyy] [name of copyright owner]
188a85993cf1cf9925338176e5f27b95a5891c50matthew_swift#
188a85993cf1cf9925338176e5f27b95a5891c50matthew_swift# CDDL HEADER END
188a85993cf1cf9925338176e5f27b95a5891c50matthew_swift#
188a85993cf1cf9925338176e5f27b95a5891c50matthew_swift#
188a85993cf1cf9925338176e5f27b95a5891c50matthew_swift# Copyright 2010 Sun Microsystems, Inc. All rights reserved.
188a85993cf1cf9925338176e5f27b95a5891c50matthew_swift# Use is subject to license terms.
188a85993cf1cf9925338176e5f27b95a5891c50matthew_swift#
188a85993cf1cf9925338176e5f27b95a5891c50matthew_swift
9158866837ac91b57163185b11014bea466fd6efludovicpPROG = mfstscan
ff2835d14868672e6192c19f768bceda1a7b635cludo
188a85993cf1cf9925338176e5f27b95a5891c50matthew_swiftOBJS = mfstscan.o \
b1a86433b3bd93dfae6224de6581d6a25135fb0bneil_a_wilson manifest_find.o \
188a85993cf1cf9925338176e5f27b95a5891c50matthew_swift manifest_hash.o
188a85993cf1cf9925338176e5f27b95a5891c50matthew_swift
188a85993cf1cf9925338176e5f27b95a5891c50matthew_swiftSRCS = mfstscan.c \
b1a86433b3bd93dfae6224de6581d6a25135fb0bneil_a_wilson ../common/manifest_find.c \
188a85993cf1cf9925338176e5f27b95a5891c50matthew_swift ../common/manifest_hash.c
188a85993cf1cf9925338176e5f27b95a5891c50matthew_swift
f74e970607e84e9f1fdb9b26929bd206750068e2rhaggardPOFILES = $(SRCS:.c=.po)
ff2835d14868672e6192c19f768bceda1a7b635cludo
3ceb1ba801fc1445bacce610f70246b526706df7rhaggardROOTLIBSVCBINPROG = $(ROOT)/lib/svc/bin/$(PROG)
b1a86433b3bd93dfae6224de6581d6a25135fb0bneil_a_wilson
bab414f71ee33c401e1558de5d36d25068f468a0jcamboninclude ../../Makefile.cmd
b1a86433b3bd93dfae6224de6581d6a25135fb0bneil_a_wilson
b1a86433b3bd93dfae6224de6581d6a25135fb0bneil_a_wilsonPOFILE = $(PROG)_all.po
987a50dfe113ed235d28716ff080b59e8873655cmatthew_swiftCPPFLAGS += -I../common
b1a86433b3bd93dfae6224de6581d6a25135fb0bneil_a_wilsonLDLIBS += -lscf -luutil -lmd5
b1a86433b3bd93dfae6224de6581d6a25135fb0bneil_a_wilsonCLOBBERFILES += $(POFILES)
b1a86433b3bd93dfae6224de6581d6a25135fb0bneil_a_wilson
cd827d0bd7c904782575c994f30982ffe6e696d5matthew_swiftCERRWARN += -_gcc=-Wno-uninitialized
b1a86433b3bd93dfae6224de6581d6a25135fb0bneil_a_wilsonCERRWARN += -_gcc=-Wno-unused-label
b1a86433b3bd93dfae6224de6581d6a25135fb0bneil_a_wilson
b1a86433b3bd93dfae6224de6581d6a25135fb0bneil_a_wilsonlint := LINTFLAGS = -ux -erroff=E_GLOBAL_COULD_BE_STATIC2
188a85993cf1cf9925338176e5f27b95a5891c50matthew_swift
b1a86433b3bd93dfae6224de6581d6a25135fb0bneil_a_wilson.KEEP_STATE:
b1a86433b3bd93dfae6224de6581d6a25135fb0bneil_a_wilson
188a85993cf1cf9925338176e5f27b95a5891c50matthew_swiftall: $(PROG)
b1a86433b3bd93dfae6224de6581d6a25135fb0bneil_a_wilson
b1a86433b3bd93dfae6224de6581d6a25135fb0bneil_a_wilson$(PROG): $(OBJS)
188a85993cf1cf9925338176e5f27b95a5891c50matthew_swift $(LINK.c) -o $@ $(OBJS) $(LDLIBS)
188a85993cf1cf9925338176e5f27b95a5891c50matthew_swift $(POST_PROCESS)
b1a86433b3bd93dfae6224de6581d6a25135fb0bneil_a_wilson
b1a86433b3bd93dfae6224de6581d6a25135fb0bneil_a_wilson$(POFILE): $(POFILES)
b1a86433b3bd93dfae6224de6581d6a25135fb0bneil_a_wilson cat $(POFILES) > $(POFILE)
9158866837ac91b57163185b11014bea466fd6efludovicp
b1a86433b3bd93dfae6224de6581d6a25135fb0bneil_a_wilsoninstall: all $(ROOTLIBSVCBINPROG)
b1a86433b3bd93dfae6224de6581d6a25135fb0bneil_a_wilson
b1a86433b3bd93dfae6224de6581d6a25135fb0bneil_a_wilson$(ROOTLIBSVCBIN)/%: %
b1a86433b3bd93dfae6224de6581d6a25135fb0bneil_a_wilson $(INS.file)
b1a86433b3bd93dfae6224de6581d6a25135fb0bneil_a_wilson
b1a86433b3bd93dfae6224de6581d6a25135fb0bneil_a_wilsonclean:
b1a86433b3bd93dfae6224de6581d6a25135fb0bneil_a_wilson $(RM) $(OBJS)
b1a86433b3bd93dfae6224de6581d6a25135fb0bneil_a_wilson
9158866837ac91b57163185b11014bea466fd6efludovicplint: lint_SRCS
b1a86433b3bd93dfae6224de6581d6a25135fb0bneil_a_wilson
b1a86433b3bd93dfae6224de6581d6a25135fb0bneil_a_wilson%.o: ../common/%.c
b1a86433b3bd93dfae6224de6581d6a25135fb0bneil_a_wilson $(COMPILE.c) $(OUTPUT_OPTION) $< $(CTFCONVERT_HOOK)
b1a86433b3bd93dfae6224de6581d6a25135fb0bneil_a_wilson $(POST_PROCESS_O)
b1a86433b3bd93dfae6224de6581d6a25135fb0bneil_a_wilson
b1a86433b3bd93dfae6224de6581d6a25135fb0bneil_a_wilsoninclude ../../Makefile.targ
b1a86433b3bd93dfae6224de6581d6a25135fb0bneil_a_wilson