xref: /titanic_51/usr/src/cmd/powertop/i386/Makefile (revision b47b5b34b42fa8056577c43496cdb99a4c99f8d7)
1bcde4861SRafael Vanoni Polanczyk#
2bcde4861SRafael Vanoni Polanczyk# CDDL HEADER START
3bcde4861SRafael Vanoni Polanczyk#
4bcde4861SRafael Vanoni Polanczyk# The contents of this file are subject to the terms of the
5bcde4861SRafael Vanoni Polanczyk# Common Development and Distribution License (the "License").
6bcde4861SRafael Vanoni Polanczyk# You may not use this file except in compliance with the License.
7bcde4861SRafael Vanoni Polanczyk#
8bcde4861SRafael Vanoni Polanczyk# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9bcde4861SRafael Vanoni Polanczyk# or http://www.opensolaris.org/os/licensing.
10bcde4861SRafael Vanoni Polanczyk# See the License for the specific language governing permissions
11bcde4861SRafael Vanoni Polanczyk# and limitations under the License.
12bcde4861SRafael Vanoni Polanczyk#
13bcde4861SRafael Vanoni Polanczyk# When distributing Covered Code, include this CDDL HEADER in each
14bcde4861SRafael Vanoni Polanczyk# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15bcde4861SRafael Vanoni Polanczyk# If applicable, add the following below this CDDL HEADER, with the
16bcde4861SRafael Vanoni Polanczyk# fields enclosed by brackets "[]" replaced with your own identifying
17bcde4861SRafael Vanoni Polanczyk# information: Portions Copyright [yyyy] [name of copyright owner]
18bcde4861SRafael Vanoni Polanczyk#
19bcde4861SRafael Vanoni Polanczyk# CDDL HEADER END
20bcde4861SRafael Vanoni Polanczyk#
21*b47b5b34SRafael Vanoni# Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
22bcde4861SRafael Vanoni Polanczyk# Use is subject to license terms.
23bcde4861SRafael Vanoni Polanczyk#
24bcde4861SRafael Vanoni Polanczyk
25bcde4861SRafael Vanoni Polanczykinclude ../Makefile.com
26bcde4861SRafael Vanoni Polanczyk
27*b47b5b34SRafael VanoniMACH_OBJS	= pt_i386.o
28*b47b5b34SRafael VanoniSRCS		+= $(MACH_OBJS:%.o=%.c)
29*b47b5b34SRafael Vanoni
30*b47b5b34SRafael Vanoni.KEEP_STATE:
31*b47b5b34SRafael Vanoni
32*b47b5b34SRafael VanoniCLEANFILES	+= $(MACH_OBJS)
33*b47b5b34SRafael Vanoni
34*b47b5b34SRafael Vanoniall: $(PROG)
35*b47b5b34SRafael Vanoni
36*b47b5b34SRafael Vanoni$(PROG): $(MACH_OBJS) $(COMMON_OBJS)
37*b47b5b34SRafael Vanoni	$(LINK.c) -o $@ $(MACH_OBJS) $(COMMON_OBJS) $(LDLIBS)
38*b47b5b34SRafael Vanoni	$(POST_PROCESS)
39*b47b5b34SRafael Vanoni
40*b47b5b34SRafael Vanoni%.o: ../common/%.c
41*b47b5b34SRafael Vanoni	$(COMPILE.c) -o $@ $<
42*b47b5b34SRafael Vanoni
43bcde4861SRafael Vanoni Polanczykinstall: all $(ROOTPROG32)
44