Makefile.com revision bcde4861cca9caf5cab2b710a3241b038fec477c
2605N/A#
2605N/A# CDDL HEADER START
2605N/A#
2605N/A# The contents of this file are subject to the terms of the
2605N/A# Common Development and Distribution License (the "License").
2605N/A# You may not use this file except in compliance with the License.
2605N/A#
2605N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
2605N/A# or http://www.opensolaris.org/os/licensing.
2605N/A# See the License for the specific language governing permissions
2605N/A# and limitations under the License.
2605N/A#
2605N/A# When distributing Covered Code, include this CDDL HEADER in each
2605N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
2605N/A# If applicable, add the following below this CDDL HEADER, with the
2605N/A# fields enclosed by brackets "[]" replaced with your own identifying
2605N/A# information: Portions Copyright [yyyy] [name of copyright owner]
2605N/A#
2605N/A# CDDL HEADER END
2605N/A#
2605N/A# Copyright 2008 Sun Microsystems, Inc. All rights reserved.
2605N/A# Use is subject to license terms.
6033N/A#
2605N/A
4070N/APROG = powertop
2605N/AOBJS = $(PROG).o display.o battery.o cpufreq.o cpuidle.o events.o util.o suggestions.o
2605N/ASRCS = $(OBJS:%.o=../%.c)
2605N/A
6033N/Ainclude ../../Makefile.cmd
2605N/A
2605N/ACFLAGS += $(CCVERBOSE)
2605N/ACFLAGS64 += $(CCVERBOSE)
6033N/A
2605N/ALDLIBS += -lcurses -ldtrace -lkstat
2605N/A
2605N/AFILEMODE = 0555
2605N/AGROUP = bin
6033N/A
3661N/ACLEANFILES += $(OBJS)
4070N/A
3778N/A.KEEP_STATE:
3778N/A
3996N/Aall: $(PROG)
3996N/A
3996N/A$(PROG): $(OBJS)
2605N/A $(LINK.c) -o $@ $(OBJS) $(LDLIBS)
2605N/A $(POST_PROCESS)
2605N/Aclean:
2605N/A $(RM) $(CLEANFILES)
2605N/A
2605N/Alint: lint_SRCS
2605N/A
2605N/A%.o: ../%.c
2605N/A $(COMPILE.c) $<
2605N/A
2605N/Ainclude ../../Makefile.targ
2605N/A