Makefile revision 8ad60789b9913d5b2118fe76d8cd7a661d8ae8b6
168N/A#
168N/A# CDDL HEADER START
168N/A#
168N/A# The contents of this file are subject to the terms of the
168N/A# Common Development and Distribution License, Version 1.0 only
168N/A# (the "License"). You may not use this file except in compliance
168N/A# with the License.
168N/A#
168N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
168N/A# or http://www.opensolaris.org/os/licensing.
168N/A# See the License for the specific language governing permissions
168N/A# and limitations under the License.
168N/A#
168N/A# When distributing Covered Code, include this CDDL HEADER in each
168N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
168N/A# If applicable, add the following below this CDDL HEADER, with the
168N/A# fields enclosed by brackets "[]" replaced with your own identifying
168N/A# information: Portions Copyright [yyyy] [name of copyright owner]
168N/A#
168N/A# CDDL HEADER END
168N/A#
168N/A#
844N/A# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
168N/A# Use is subject to license terms.
168N/A#
168N/A# ident "%Z%%M% %I% %E% SMI"
168N/A#
168N/A
168N/APROG = cpustat
168N/AOBJS = $(PROG).o caps.o time.o setgrp.o strtoset.o
168N/ASRCS = $(OBJS:%.o=../common/%.c)
168N/A
168N/Ainclude ../../Makefile.cmd
586N/A
618N/ACFLAGS += $(CCVERBOSE) $(CTF_FLAGS)
168N/ACPPFLAGS += -D_REENTRANT -I$(SRC)/lib/libcpc/common
168N/ALDLIBS += -lcpc -lposix4 -lkstat
844N/A
844N/A.KEEP_STATE:
168N/A
1258N/Aall: $(PROG)
168N/A
168N/A$(PROG): $(OBJS)
168N/A $(LINK.c) $(OBJS) -o $@ $(LDLIBS)
168N/A $(POST_PROCESS)
168N/A $(CTFMERGE) -L VERSION -o $@ $(OBJS)
519N/A
519N/Ainstall: all $(ROOTUSRSBINPROG)
168N/A
168N/Aclean:
168N/A $(RM) $(OBJS)
168N/A
168N/Alint: lint_SRCS
168N/A
168N/Astrip: all
168N/A $(STRIP) $(PROG)
168N/A
168N/A%.o: ../common/%.c
168N/A $(COMPILE.c) $<
168N/A $(CTFCONVERT_O)
168N/A
168N/APOFILES = ../common/$(PROG).po ../common/caps.po
168N/APOFILE = $(PROG)_cmd.po
501N/A
168N/A$(POFILE): $(POFILES)
168N/A $(RM) $@
168N/A cat $(POFILES) > $@
168N/A
168N/Ainclude ../../Makefile.targ
485N/A