Makefile revision e0ad97e30ea0a9af63c42d71690b5f387c763420
70N/A#
70N/A# CDDL HEADER START
286N/A#
70N/A# The contents of this file are subject to the terms of the
70N/A# Common Development and Distribution License (the "License").
70N/A# You may not use this file except in compliance with the License.
70N/A#
70N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
70N/A# or http://www.opensolaris.org/os/licensing.
70N/A# See the License for the specific language governing permissions
70N/A# and limitations under the License.
70N/A#
70N/A# When distributing Covered Code, include this CDDL HEADER in each
70N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
70N/A# If applicable, add the following below this CDDL HEADER, with the
70N/A# fields enclosed by brackets "[]" replaced with your own identifying
70N/A# information: Portions Copyright [yyyy] [name of copyright owner]
70N/A#
70N/A# CDDL HEADER END
70N/A#
70N/A#
70N/A# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
70N/A# Use is subject to license terms.
70N/A#
70N/A
70N/APROG = svcs
70N/AOBJS = svcs.o explain.o
70N/ASRCS = $(OBJS:%.o=%.c)
70N/APOFILES = $(OBJS:.o=.po)
70N/A
424N/Ainclude ../../Makefile.cmd
70N/Ainclude ../../Makefile.ctf
70N/A
70N/APOFILE = $(PROG)_all.po
359N/ALDLIBS += -lcontract -lscf -luutil -lumem
359N/A
359N/Alint := LINTFLAGS = -ux
98N/A
321N/A.KEEP_STATE:
321N/A
213N/Aall: $(PROG)
304N/A
325N/A$(PROG): $(OBJS)
320N/A $(LINK.c) -o $@ $(OBJS) $(LDLIBS)
332N/A $(POST_PROCESS)
231N/A
98N/A$(POFILE): $(POFILES)
347N/A cat $(POFILES) > $(POFILE)
346N/A
324N/Ainstall: all $(ROOTPROG)
347N/A
310N/Aclean:
316N/A $(RM) $(OBJS)
290N/A
332N/Alint: lint_SRCS
332N/A
332N/Ainclude ../../Makefile.targ
210N/A