Makefile revision 24fe0b3bf671e123467ce1df0b67cadd3614c8e4
39N/A#
39N/A# CDDL HEADER START
39N/A#
39N/A# The contents of this file are subject to the terms of the
39N/A# Common Development and Distribution License (the "License").
39N/A# You may not use this file except in compliance with the License.
39N/A#
39N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
39N/A# or http://www.opensolaris.org/os/licensing.
39N/A# See the License for the specific language governing permissions
39N/A# and limitations under the License.
39N/A#
39N/A# When distributing Covered Code, include this CDDL HEADER in each
39N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
39N/A# If applicable, add the following below this CDDL HEADER, with the
39N/A# fields enclosed by brackets "[]" replaced with your own identifying
39N/A# information: Portions Copyright [yyyy] [name of copyright owner]
39N/A#
39N/A# CDDL HEADER END
39N/A#
39N/A
227N/A#
39N/A# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
39N/A# Use is subject to license terms.
39N/A#
39N/A
144N/APROG = svc-stmf
203N/A
39N/Ainclude ../Makefile.cmd
51N/A
51N/ACOMMONBASE = ../../common
111N/A
296N/ALOCAL_OBJS = stmfsvc.o
39N/ACOMMON_OBJS = cmdparse.o
39N/ALOCAL_SRCS = $(LOCAL_OBJS:%.o=%.c)
39N/ACOMMON_SRCS = $(COMMON_OBJS:%.o=$(COMMONBASE)/cmdparse/%.c)
39N/AOBJS = $(LOCAL_OBJS) $(COMMON_OBJS)
39N/ASRCS = $(LOCAL_SRCS) $(COMMON_SRCS)
39N/A
39N/ACPPFLAGS += -I. -I$(COMMONBASE)/cmdparse
39N/ALDLIBS += -lstmf
39N/A
39N/AMANIFEST = stmf.xml
39N/ASVCMETHOD = svc-stmf
48N/A
48N/AROOTMANIFESTDIR = $(ROOTSVCSYSTEM)
48N/A$(ROOTSVCSYSTEM)/stmf.xml := FILEMODE = 0444
48N/A
48N/A.KEEP_STATE:
48N/A
48N/Aall: $(PROG)
48N/A
48N/A$(PROG): $(OBJS)
48N/A $(LINK.c) -o $@ $(OBJS) $(LDLIBS)
39N/A $(POST_PROCESS)
39N/A
39N/Ainstall: all $(ROOTMANIFEST) $(ROOTSVCMETHOD)
39N/A
39N/Acheck: $(CHKMANIFEST)
39N/A $(CSTYLE) -pPc $(SRCS:%=%)
205N/A
39N/Acmdparse.o: $(COMMONBASE)/cmdparse/cmdparse.c
205N/A $(COMPILE.c) -o $@ $(COMMONBASE)/cmdparse/cmdparse.c
39N/A $(POST_PROCESS_O)
39N/A
39N/Aclean:
39N/A $(RM) $(OBJS)
39N/A
39N/Alint: lint_SRCS
39N/A
39N/Ainclude ../Makefile.targ
39N/A